Every code lock in Rust asks for the same thing: four digits. That gives you 10,000 possible codes, yet a huge share of players reach for the same few. Raiders know this, which is why the first thing anyone tries on a locked door is 1234.
This Rust codes guide lists the most common code lock codes, ranked by real data, shows the patterns raiders guess first, and explains how the 8-try lockout works in 2026. There is also a free random code generator with a one-click copy button, and a checker that tells you if your current code is on the danger list.
- Top 20 Codes
- Patterns
- Keypad Shapes
- Code Generator
- Guessing & Lockout
- Raid Cost
- Set & Change
- Tips
- Other Rust Codes
- FAQ
The 20 Most Common Rust Code Lock Codes
These are the 20 most used 4-digit codes, ranked by how often people pick them. The percentage is the share of 3.4 million real 4-digit PINs that used each code. Rust players choose codes the same way people choose phone and bank PINs, so this is the list raiders work through first. If your door code is in this table, change it.
| Rank | Code | Share of real PINs | Why people pick it |
|---|---|---|---|
| 1 | 1234 | 10.713% | Straight run up the keys |
| 2 | 1111 | 6.016% | Same digit four times |
| 3 | 0000 | 1.881% | Feels like a default |
| 4 | 1212 | 1.197% | Pair repeated |
| 5 | 7777 | 0.745% | Lucky number repeated |
| 6 | 1004 | 0.616% | Sounds like “I love you” in Korean |
| 7 | 2000 | 0.613% | Year |
| 8 | 4444 | 0.526% | Same digit four times |
| 9 | 2222 | 0.516% | Same digit four times |
| 10 | 6969 | 0.512% | Meme code, very common in Rust |
| 11 | 9999 | 0.451% | Same digit four times |
| 12 | 3333 | 0.419% | Same digit four times |
| 13 | 5555 | 0.395% | Same digit four times |
| 14 | 6666 | 0.391% | Same digit four times |
| 15 | 1122 | 0.366% | Two pairs |
| 16 | 1313 | 0.304% | Pair repeated |
| 17 | 8888 | 0.303% | Same digit four times |
| 18 | 4321 | 0.293% | Run down the keys |
| 19 | 2001 | 0.290% | Year |
| 20 | 1010 | 0.285% | Pair repeated |
Put together, those 20 codes covered 26.8% of everyone in the data. If codes were picked at random, 20 codes would cover just 0.2%. That gap is the whole reason code guessing still exists in Rust.
More Codes Raiders Try: The Patterns
Past the top 20, raiders do not need a list. They guess by pattern, because almost every “memorable” code falls into one of six groups. If your code fits any of these, it is far easier to guess than a random one.
| Pattern | Example codes | How many codes |
|---|---|---|
| Repeats | 0000, 1111, 2222 … 9999 | 10 |
| Runs | 0123, 1234, 2345, 6789, 4321, 9876 | 14 |
| Pairs | 1212, 1313, 1010, 1122, 2211 | About 180 |
| Years | 1950 to 2026, especially 1990 to 2010 | About 77 |
| Meme codes | 6969, 4200, 0420, 1337, 6900, 8008 | A handful |
| Keypad shapes | 2580, 0852, 1470, 3690, 1379, 1397 | A few dozen |
Years are the sneaky one. In leaked PIN lists, many of the top 50 codes start with 19 or 20, because people use a birth year. In Rust, the current year and the year the game left early access are just as risky. Meme codes are the other trap that is worse in Rust than in real life: 6969, 4200 and 1337 are the first things a bored player tries on a stranger’s door.
Why Keypad Shapes Are Easy to Guess
The Rust code lock uses a phone-style keypad: 1, 2, 3 on top, 0 alone at the bottom. Codes that draw a line or a shape on that pad feel random but are not. 2580 runs straight down the middle column and shows up near the top of almost every code list. 1470 and 3690 run down the sides, and 1379 hits the four corners.
Shapes have a second problem. A player watching from a window or doorway can see which part of the pad your hand moves to, and a straight line is easy to read. Close the door behind you before you type a code into an inner lock.
Free Rust Code Generator and Code Checker
Click the button to get a random 4-digit code that avoids every pattern on this page, then hit Copy code to paste it into your team chat or notes. You can also type your current code into the checker to see if it is on the danger list.
Can You Guess a Code Lock? Code Raiding in 2026
You can try, but Rust makes it costly. Every wrong code gives you an electric shock, and the damage climbs with each wrong try in a row. After 8 failed attempts, the keypad locks you out for 15 minutes. Wait it out and you get another 8 tries.
Here is what that means in numbers. Against a random code, 8 guesses give 8 chances in 10,000, which is 0.08%. Against real-world codes, the top 8 from the table above covered 22.3% of people. So a raider who walks a street of bases trying 1234, 1111, 0000, 1212, 7777, 1004, 2000 and 4444 can expect to open roughly one door in five that uses a “normal” human code. That is why code guessing, sometimes called code raiding, never fully died.
The Lock Is Only as Strong as the Door
A good code stops guessers, but it does nothing against explosives. The code lock has no health of its own, so raiders destroy the door it is on. What they pay depends on the door, not the code.
| Door under the lock | HP | C4 | Rockets | Satchels |
|---|---|---|---|---|
| Wooden Door | 200 | 1 | 1 | 2 |
| Sheet Metal Door | 250 | 1 | 2 | 4 |
| Garage Door | 600 | 2 | 3 | 9 |
| Armored Door | 1,000 | 3 | 5 | 15 |
So the best setup is a random code on the best door you can afford. Check every wall and door in the Rust raid calculator, or see the full charts for C4 and satchel charges.
How to Set or Change a Code Lock Code
- Place the lock. Look at a door, box, hatch or tool cupboard with the code lock in your hand and place it. It costs 100 metal fragments and needs no workbench.
- Set the code. Look at the lock, hold E and choose to change the code, then type 4 digits. The light turns red and the lock is armed.
- Add a guest code if you need one. Unlock it first, hold E and set a separate 4-digit guest code, then lock it again. Guests can open the door but cannot change the code or remove the lock.
- Change it when a teammate leaves. Setting a new main code removes everyone else who was authorised, so only people you give the new code to get back in.
Anyone who enters the right code once is remembered, so your team does not have to type it every time. Since the September 2026 Breach and Clear update, code lock authorisations also count toward group upkeep once you pass four players, so clear out old teammates. The full rundown is in our code lock guide.
Tips for Picking a Safe Code
- Go random. Use the generator above. No repeats, runs, pairs, years or meme codes.
- Give friends a guest code. Keep the main code for your actual team.
- Lock the tool cupboard with its own code. If one door code leaks, raiders still cannot take your building privilege.
- Use different codes on key doors. A leaked front door code then opens one room, not the whole base.
- Change codes after a team split. Ex-teammates remember the old one.
- Type with the door shut. Shapes on the keypad are easy to read from a window.
- Pick a new code every wipe. Everything resets on the monthly force wipe, so there is no reason to reuse a code someone may have seen.
Other Rust Codes You Might Be Looking For
“Rust codes” can mean more than door codes. These are the other codes players search for, each with its own full guide on this site.
| Code type | What it does | Guide |
|---|---|---|
| CCTV codes | Watch monument cameras from a Computer Station | CCTV codes Rust |
| Crosshair codes | Import and export custom crosshairs | Crosshair codes Rust |
| Item IDs | Shortnames and IDs for spawn and give commands | Rust item IDs |
| Console commands | F1 commands for settings, binds and FPS | Rust console commands |
| Oil Rig camera codes | Check the rig before you take the boat out | Rust Oil Rig guide |
Rust Codes FAQ
What is the most common code lock code in Rust?
1234 is the most common 4-digit code. In a study of 3.4 million real PINs it made up 10.7% of them, followed by 1111 at 6.0% and 0000 at 1.9%. Raiders try these first.
What are the top 10 Rust door codes?
The top 10 are 1234, 1111, 0000, 1212, 7777, 1004, 2000, 4444, 2222 and 6969. Together with the next 10 they cover about 26.8% of people, so never use any of them.
How many codes are there on a Rust code lock?
There are 10,000 possible codes, from 0000 to 9999, because the lock takes exactly 4 digits.
How many wrong codes can you enter on a Rust code lock?
After 8 failed attempts the keypad locks you out for 15 minutes. Every wrong code also shocks you, and the damage goes up with each wrong try.
Is code raiding still possible in Rust?
Yes, but only against bad codes. With 8 tries per 15 minutes, a random code gives a guesser a 0.08% chance, while the top 8 common codes covered about 22% of people in real PIN data.
What is a good code for a Rust code lock?
Any 4 random digits with no repeats, runs, pairs, years, meme numbers or keypad lines. Use the generator on this page to make one and copy it with one click.
Why is 2580 a common Rust code?
2580 runs straight down the middle column of the keypad, so it feels random but is one of the first shapes people pick. 1470, 3690 and 1379 are other keypad shapes raiders try.
Does changing the code remove other players?
Yes. Setting a new main code removes everyone else who was authorised on that lock, so only people you give the new code to can get back in.
Can you raid a code lock without guessing the code?
Yes. The lock has no health, so raiders destroy the door it is on. A wooden or sheet metal door takes 1 C4, a garage door 2 C4 and an armored door 3 C4.
Sources and Further Reading
- PIN frequency data: Nick Berry, DataGenetics, PIN number analysis of 3.4 million 4-digit PINs (reported by HuffPost UK, Popular Science and Gigazine)
- Rust code lists built on the same data: Rusttips, top Rust door lock codes and Rustly, Rust code raid list
- Wrong code shock and 8-try, 15 minute lockout: Rust Wiki, Code Lock and Pro Game Guides, Can you still code raid in Rust
- Door raid costs: this site’s door guides and raid calculator
