How to Lock Doors in RUST

How to lock doors in RUST

Locking Doors in RUST

In RUST, we build bases to secure our loot and have a safe staging area to prepare for roaming and raiding. Or, whatever dark business you get up to in RUST. It’s also where you will do the bulk of your crafting and building.

Last but not least, your base is a reprieve from the dangers of RUST. So it makes sense that to keep players out, you’re going to need some way to secure your doors so that you can come and go as you please while keeping undesirables at bay. 

There are two main ways of locking a door and a third way of securing a door that players often miss.

The three main locking mechanisms in RUST

  1. Crafting a Key Lock
  2. Using a Code Lock
  3. Blocking a door with another door

Doors in RUST are curious because they can be locked when they are open and closed. However, locked does not mean you cannot open the door. Instead, only approved players can interact with the door.

Players without the key cannot close a locked door. In the same way, they cannot open one, and an open door is by default also in the locked state. Therefore, if you have permission to use the door, you do not need to lock and unlock it to open and close the door.

By having the key or code, you have permission to control the door.

Keep in mind that the keys and code locks aren’t limited to standard singular doors. All of the following information pertains to locking, hatches, double doors, and garage doors.

KEY LOCK DOOR RUST
A wooden door locked by a keylock

Using a key lock in RUST

A key lock is a default blueprint that you can craft for 100 x wood. It is a good idea to prepare a key lock before you finish building the first ‘secure’ room of your base. 

As soon as you have four wooden walls surrounding a foundation and you place a door, it is time to deploy the key lock. Fortunately, the key lock only needs wood to craft.

Place the key lock on your hot bar and mouse over the door you wish to lock. Press left click to place the lock, which will appear automatically locked. 

If you hold the E key while looking at the lock, you will see a ringed interface open with the options to unlock the door. Once you unlock the door, the door’s little red marker will change to green. This green light means all players can interact with the door and the lock.

Creating a key in RUST

Hold the E key and look at it while it is unlocked, and you will see the advanced controls. You can choose to relock the door in this menu, make a new key, or remove the lock.

Once you place the lock, only you can freely open and close the door. However, if you want to let teammates use the door, you will have to craft a copy of the key.

Fair warning, your teammates can lose that key to another player. If anybody finds the key, they can now open and close the door themselves.

If a key is lost, you can unlock the door, remove the lock, and place it back down to create a new lock that will need new keys to open.

RUST keylock options
Options for locking a keylock

Using a code lock in RUST

The code lock is also a default blueprint. However, it costs a more substantial 100 cooked metal fragments. Its price increase reflects its improvement in terms of quality of life for a group of players.

The key lock means that only the person who placed the lock or players given a key can use the door. The code lock means these players can use the door without carrying a key on their person.

Unlike the key lock, the code lock will require metal fragments. Meaning you’ll have to progress to a smelter or melt your leftover cans in the fireplace.

To deploy a code lock, place it on your hot bar, mouse over the door, and press the left click. Unlike a key lock, the code lock appears unlocked by default. While the lock is lit green, hold the E key while looking at the lock and select the option ‘change code lock.’

You now have to set the code lock to a four-digit code. You can set this code by pressing the keypad on the screen. You can also use the number keys on your keyboard or your keyboard’s Numpad.

RUST Code Lock Options
Options for the Codelock

Setting a key code for the code lock

You can choose any four-digit code you like. But, it’s wise to avoid predictable codes such as 1-1-1-1 or 1-2-3-4. Any combination that isn’t the same number four times or an ascending or descending pattern will do.

If you tell your teammates the code, they can enter it and use the door freely. However, it’s a good idea to set a guest code that you give out rather than the main code you selected. 

Much like the key lock, while the door is in the unlock state, you can hold the E key to see the extra options.

You can change the lock, remove it, or set a guest code. Any player with the main code can unlock the door, change the code or remove the lock. If you set the guest code and keep the main code to yourself, only you can change these settings.

RUST Code Lock Panel
Setting a codelock’s master code

Locking doors with doors in RUST

Using triangle and square foundations, you can place a door so that its open state blocks access to the next door.

Place the door you wish to block with its hinge nearest to the corner it shares with the doorway you want to block. 

Lock the doors with either key locks or code locks, and now the doors can be locked while in the open position. This allows you to look outside without giving other players access to either of the doors. 

It’s not great to leave your base open like this while you’re away or offline. But, it does allow limited interaction with players without letting them inside your base.

Triangle Lock
A door block airlock

Locking up

There are only a few ways to lock your doors in RUST, but there are pros and cons to each of them. In addition, you are likely to use both code locks and key locks as you progress through a wipe, so it’s a good idea to come to grips with how they both work.

So lock your enemies out, and lock your stashed goodies in, and most importantly, get some rest from the trials and tribulations of the RUST open world. Whichever method works best for you will boil down to the needs of you and your group.

Don’t be afraid to experiment with different ways of doing things when it comes to securing your base.

About Gal

Gal is a writer and editor of Corrosion Hour; A RUST community Website dedicated to helping server owners with administration and navigation and creating useful how-to guides and information for new and veteran players. Gal is a survival crafter veteran with qualifications in video game development and design and spends much of his time finding ways to bring new people into the world of survival crafters.

View all posts by Gal →