Skip to content
Powered by Pagefind
English
Getting Started

Locking Doors & Safehouse Permissions in Build 42 — Keys, Keypads, Claims

How locking works in Build 42: per-building keys, keypad doors, padlockable crates, and the multiplayer safehouse permissions that protect your base.

42.20 Last updated: 3 min read

FAQ

Can you lock doors in Project Zomboid Build 42?
Yes — the door right-click menu carries Lock/Unlock options, and Build 42 buildings spawn their own keys that open their own locked doors. A 42.17 bug report about missing menu options and a 42.20.4 report about basement doors not accepting building keys show the system is real but still being patched.
Does locking a door stop other players on a multiplayer server?
Not reliably. Player-versus-player protection comes from the safehouse system and its sandbox options (SafehouseAllowTrespass, SafehouseAllowLoot and friends) — and community testing in September 2026 showed AllowLoot=false still lets others move furniture. Treat locks as zombie/time management, safehouse claims as the real protection.
What is a safehouse claim in Build 42?
A vanilla multiplayer feature: right-click a residential building and claim it as a safehouse, which enables per-owner sandbox rules around trespass, looting and destruction. Some buildings are bugged as non-residential and cannot be claimed — community reports track this as an ongoing issue.

⚠️ Content Pending Full Verification

Single-player lock mechanics and the multiplayer safehouse option set below were assembled from official-forum threads (developer and community bug reports, April–September 2026) — our own in-game verification pass is still pending, and several adjacent questions are explicitly marked as untested.

The Short Version Cross-Verified

  • Doors lock. The right-click menu on doors includes Lock/Unlock (a 42.17.0 bug report about missing options documents the intended behavior).
  • Keys are per-building. Build 42 spawns keys belonging to a building’s own locked doors; they can live on a keyring. Basement/high-floor door compatibility was an open bug at 42.20.4.
  • Some doors you cannot buy your way into. Red keypad doors (police stations and similar) are a distinct category — how players can legally open them is still on our verification list.
  • Containers: 42.21’s own release notes reference padlocked containers and locked crates (Rosewood’s gun shop is described as “barricaded and locked”).
  • Multiplayer: protection = safehouse claim + sandbox permission options, not padlocks. Details below.

Multiplayer: What Actually Guards Your Base

Vanilla B42 servers use a safehouse claim: right-click a residential building and claim it, which switches on the owner-scoped sandbox rules. The relevant server options surfaced across official-forum threads:

Option (server sandbox) What community testing reports
SafehouseAllowTrespass whether non-owners can enter
SafehouseAllowLoot whether non-owners see/loot containers — but a 12 Sep 2026 repro shows furniture can still be moved with it off
AllowDestructionBySledgehammer / SledgehammerOnlyInSafehouse hammer protection toggles; a 42.20.3 report says the safehouse-only variant “breaks the function entirely”
DisableSafehouseWhenOwnerConnected / SafetyDisconnectDelay when protection lapses around logouts

If you run a server, the full setup walk-through is in the dedicated server guide; the protection mindset (why walls beat alarms) is in the base building guide.

Practical Reading for Now

Use building keys to control zombie flow and storage rooms inside your base, not to wage door-lock wars with other survivors — on multiplayer, only the safehouse layer and sane server settings do that (see survival basics for the day-one version of this discipline).

Related Articles

Was this helpful?