Code Lock

The code lock is used to lock doors, hatches, and storage crates. Players may set a new four-digit PIN if the lock is unlocked. Once locked, an LED on the keypad will change to red, indicating its status. Other players may attempt to gain access to a locked item by typing in a PIN in the keypad. If they are correct, a short beep will emit from the lock, and the player will subsequently have permanent access to the locked item (assuming the code isn't changed). If the player guesses incorrectly, a failure beep will play alongside an electric arc animation on the keypad, and the player will take increasing increments of damage until they wait long enough or die. Guest codes may be set on unlocked locks (make sure it's locked after setting the code!), which allows other players access to the locked item without the ability to unlock, remove, or change the code. Unlocked Code Locks may be removed or have a new password set by any player.

Code Lock
  1. Craft
  2. Blueprint
  3. Recycling
  4. Locks
  5. Tips
Blueprint Ingredients Time Workbench Level
Code Lock Blueprint Code Lock Blueprint

Known by Default

Metal Fragments×100 7–30 sec -
Tool Requirements Scrap Total
Research Table Research Table Code LockScrap×10>Code Lock Blueprint 10
Recycler Yield Efficiency
Safe Zone Recycler Metal Fragments×40 40 %
Recycler Metal Fragments×60 60 %
Item Category
Sheet Metal Double Door Sheet Metal Double Door Construction
Armored Double Door Armored Double Door Construction
Wood Double Door Wood Double Door Construction
Sheet Metal Door Sheet Metal Door Construction
Armored Door Armored Door Construction
Wooden Door Wooden Door Construction
Ladder Hatch Ladder Hatch Construction
Triangle Ladder Hatch Triangle Ladder Hatch Construction
High External Stone Gate High External Stone Gate Construction
High External Wooden Gate High External Wooden Gate Construction
Prison Cell Gate Prison Cell Gate Construction
Chainlink Fence Gate Chainlink Fence Gate Construction
Garage Door Garage Door Construction
Shop Front Shop Front Construction
Frankenstein Table Frankenstein Table Items
Fridge Fridge Items
Large Wood Box Large Wood Box Items
Locker Locker Items
Tool Cupboard Tool Cupboard Construction
Wood Storage Box Wood Storage Box Items
Wooden Frontier Bar Doors Wooden Frontier Bar Doors Construction
Carvable Pumpkin Carvable Pumpkin Items
Coffin Coffin Misc

the phreshmaker[contributor] 492 pts. 4 years ago

Can be placed on boxes when you cannot reach the lock! This will prevent you from locking the lock and also preclude you from removing the lock and, in turn, the box.
When you initially equip a box, the side facing you will be where a lock would go.

Visual aids when placing a box:

  • For the large box, the lock goes in the thin rectangular bevel centerline below the lid.
  • For the small box, it goes on the side clockwise from where two gaps can be seen in the planks on the shorter side.

ElitSamurai 10 pts. year ago

You can use the R key to re-enter the last password.

AKO 52 pts. year ago

A pretty much must have for a group of 2 or more. Note that when you use a code lock, it signals to others that there is more than just a solo living in the base (solo being a player who just plays alone). This also means that the base is usually juicier to raid with good loot.
Never type your code in chat or share through in-game voice chat. Only share through private messages.
People try to code lock, but the damage increases dramatically with each wrong code.
100 metal frags to craft, so recycle items or smelt ore.

SNOW GHOST 7 pts. year ago

use hard code and dont use ez code like 2222 or 6556 is ez cuz maybe some code raid you by use code keylock at google so watch out survivor!

wickeD^ 6 pts. 5 years ago

Now, this might not be relevant but who nows! I'm new played around 30hrs at this very moment i'm posting this! AND i can say this much to the newcommers out there! if you don't play solo get this lock ASAP, the key lock is so annoying! Code Lock <3
Identifier 1159991980
Stack Size ×10
Despawn time 5 min