Trespassing
If you walk into a building that isn’t open to outsiders, you are first asked to leave. It only counts as trespassing if you refuse to go and the owner has already locked the door. The crime itself carries a bounty of only 100 cats, but trespassing often comes with other trouble: picking the door is recorded separately as Lockpicking, and refusing to leave gets you attacked by the guards.
For when shops close and when residents go home, see Opening Hours and Private Buildings. This page covers the legal half: when it really counts as a crime, who has to see it for a bounty, and how to avoid it.
What counts as private
Link to the “What counts as private” sectionOnly a building in town that has occupants and isn’t letting outsiders in at the moment counts as private:
- Most homes and noble houses. Some homes are open for people to come and go during the day and only close at nightfall.
- Places closed to the public, such as barracks, police stations, and prisons.
- Shops that have closed and locked their doors.
These don’t count. Walking in doesn’t get you sent away or recorded:
- Town walls and gates (they have no interior).
- Empty buildings and ruins where nobody lives, and run-down houses occupied only by squatting vagrants.
- Buildings in the wild that belong to no town; the same goes for the buildings inside a town that has been reduced to ruins.
- Bars. They are always open.
- Standing on a roof or crawling into a tunnel under a building is not being inside it.
Being asked to leave
Link to the “Being asked to leave” sectionAs soon as you walk into a private place, chat tells you whose place it is and why you can’t stay: for example, that this is someone’s private home, not open to outsiders, and that you should leave within 36 seconds; or that this shop is closed, opens at 6 in the morning, and that you should leave within 60 seconds. At the same time the building’s outline turns red, a countdown reading “Trespassing in a private home - Time left:” appears at the top of the screen, and the action bar reads “Trespassing - Private home”. Walk out of the door, the outline disappears, the screen shows “You left the home”, and that is the end of it.
Anyone awake in the building usually walks over and says “This place is private. Leave.”, once every ten seconds or so, three times at most. If you are still there after the third: civilians, merchants, and nobles call the guards, while guards and mercenaries attack directly. Chat spells out the reason, for example that X calls the guards because you broke into someone’s home and didn’t leave when asked.
How much time you have:
- An owner walks over to send you away: until he has spoken three times, about 36 seconds.
- Nobody comes to send you away: 10 seconds.
- A closed shop: always 60 seconds.
If that opening line in chat ends only with a request to leave, with no seconds given, staying isn’t a crime at this hour; you are merely unwelcome. The owner still tries to send you away, and still calls for help if you don’t go.
When it really counts as trespassing
Link to the “When it really counts as trespassing” sectionOnce the time allowed has passed and you are still there, one more hard rule has to be met before it is a crime: the owner has already locked the door.
- Homes not open to outsiders: it counts as soon as the owner locks the door. Homes lock at 8 in the evening and open at 8 in the morning, so breaking in during the day mostly just gets you sent away. After nightfall it is a crime.
- Shops, and buildings normally open during the day: besides the locked door, it also has to be between 11 at night and 7 in the morning.
Whether it is a crime also depends on whether anyone sees it, and the one who sees it has to be a lawman: a town guard, police officer, or guard of the owner’s faction (or one that shares its laws and is on good terms with it). The bounty is issued by their faction. If a merchant, an occupant, or a noble sees you, they only send you away and call for help, with no bounty. Someone asleep can’t see you. Don’t relax just because nobody sees you right now: as long as you are still inside, a lawman who wakes up, or walks in on patrol and sees you, adds the bounty all the same. Waking a sleeping guard amounts to having him see you on the spot.
Using other people’s things counts too
Link to the “Using other people’s things counts too” sectionYou don’t have to wait for a door to be locked; two actions count as trespassing by themselves:
- Using a shop’s or residents’ crafting table, Cooking Stove or lectern: the crosshair says “(illegal - Trespassing)”. Anyone of the owner’s side within 16 blocks who can see you first warns “Private property. Hands off.”; if you are seen using it again within 5 minutes, it is recorded as Trespassing. The same goes for your squad members, with the crime falling only on that squad member. See Every Work Block in the World Can Be Used.
- Sleeping in an inn bed without paying, or lying in one while hostile with the owner: a “Someone else’s bed” confirmation comes first, lying down counts as trespassing, anyone who sees it may attack, and an awake Barman throws you out. See Sleep and Rest.
Doors at night
Link to the “Doors at night” sectionAfter nightfall, the doors of private buildings are locked. Push one from outside and chat gives the reason: “The door is locked: night has fallen and X have locked up” or “The door is locked: this shop has closed for the night”.
- Leaving from the inside isn’t affected by the lock. You can’t be locked in.
- A locked door can be picked, but if the owner’s faction sees you, what is recorded is Lockpicking at 1,000 cats, ten times heavier than Trespassing. A picked door opens and closes normally for 60 seconds, and trespassing once you are inside is counted separately. For the lockpicking formula and times, see Lockpicking.
- Iron doors have no such night lock; they need a lever to open in the first place.
Town guards on the night shift check wooden doors that have been left open. If nobody is inside, he closes the door as he passes. If he sees an outsider inside, he is the witness himself: he rules it trespassing on the spot and attacks, and chat tells you that X attacked because “you were caught inside a closed building at night”. If the time allowed hasn’t passed, or it isn’t a crime at this hour, he only speaks up and doesn’t turn on you. After slipping in, remember to close the door.
When it isn’t trespassing
Link to the “When it isn’t trespassing” section- You passed out inside, or were carried through. You didn’t walk in yourself. If you wake up still inside, you are asked to leave first and given the usual time.
- A paying guest entering the room he has rented.
- You are allied with the owner’s faction (relations of +50 or more), or your origin makes you a native of this town.
- Your disguise fooled everyone of the owner’s faction who can see you. Once you are seen through, it is recorded as usual.
- The owner’s faction already treats you as an enemy. Nobody asks you to leave then; they attack directly.
Going down in someone else’s building
Link to the “Going down in someone else’s building” sectionIf you pass out in someone else’s building, the owner deals with you. Where there are cages (police stations, prisons, slave shops, and the like), you are locked in a cage first. Where there are none, you are carried outside the door and put down. In a few towns the patrols also carry outsiders who have gone down in town out through the gate, and chat reads “Carried out of town by X”. When you have a bounty and a lawman is nearby, the owner doesn’t get a turn: the lawman arrests you first. See Arrest.
What to do
Link to the “What to do” section- Head for the door as soon as the outline turns red. If an owner asks you to leave during the day, go at the first request.
- Before going into a shop in the middle of the night, think it through: there is only an opening if the shopkeeper is asleep and you haven’t been seen. For the consequences of stealing, see Thievery.
- Once inside someone else’s building, close the door behind you.
- Other people’s outposts have a separate set of visitor rules; see Visitors, Inn and Shop Counter.
| Situation | Number | Notes |
|---|---|---|
| Bounty for trespassing | 100 cats (Trespassing) | Only if a lawman of the owner’s faction sees it |
| Bounty for picking a door | 1,000 cats (Lockpicking) | If anyone of the owner’s faction who upholds its law sees it |
| How long you can stay when nobody comes to send you away | 10 seconds | Same when you wake up inside someone’s building |
| How long you can stay when the owner comes to send you away | 3 requests about 12 seconds each, about 36 seconds | After that civilians call the guards and guards attack |
| How long you can stay in a closed shop | 60 seconds | Whether or not the owner sends you away |
| When it counts as trespassing in shops and buildings open by day | 23:00–06:59 in-game | And the door must already be locked |
| How soon a lawman records it afterwards | About every 5 seconds | If you’re still inside, it’s added as soon as a lawman sees you |
| How long a picked door stays usable | Opens and closes normally for 60 seconds | |
| Which doors night-shift guards close | Open wooden doors within 16 blocks | At night only |
| How often the same incident is recorded | Once per 60 seconds |
| Place | Locks at | Opens at |
|---|---|---|
| Homes (those that lock) | 20:00 | 08:00 |
| General shops | 00:00 | 06:00 |
| Food stores such as farms | 22:00 | 07:00 |
| Warehouses, armouries | 23:00 | 08:00 |
| Bars, robotics workshops, Hive traders | Never locks | — |
All hours are in-game time (the clock on the scoreboard).
See also
Link to the “See also” sectionOfficial siteHow to joinWorld mapFAQ
DustMoon.net is not an official product of Mojang Studios or Microsoft, and is not approved or endorsed by them.
DustMoon is inspired by the world of Kenshi and is not affiliated with Lo-Fi Games.
© 2026 DustMoon.net