All COD MW4 Codes: Every Keypad, Safe, and Container Code in Modern Warfare 4
Complete list of COD MW4 codes for every keypad, safe, toolbox, and shipping container in the campaign, with map coordinates and puzzle solutions.
If you've hit a locked door, a stubborn safe, or a shipping container that won't budge, you're in the right place. Getting the right COD MW4 codes saves you from aimless wandering, and in a sandbox mission like Stranded, that can eat up an hour of your playthrough. Below you'll find every code in the campaign, from the early toolbox to the final safe. Consider this your one-stop cheat sheet for all COD MW4 codes, whether you're chasing 100% completion or just want to grab the intel and move on.
Quick Reference: Every COD MW4 Code at a Glance
If you just need the numbers and don't care about the how or why, this table has you covered. Each entry matches a specific mission, location, and lock type so you can jump straight to the one you need. Bookmark this section — it's the fastest way to grab any COD MW4 codes you might be missing.
| Mission | Lock Type | Coordinates | Code |
|---|---|---|---|
| Following Orders | Toolbox | First house, kitchen | 214 |
| Assassins | Door 1 | Library stairs | 5523 |
| Assassins | Door 2 | Kitchen corridor | 7632 |
| Assassins | Door 3 | Statue bunker base | 9103 |
| Stranded | Shipping Container | 644, 158 | 0024 |
| Stranded | Shipping Container | 667, 125 | 8609 |
| Stranded | Shipping Container | 652, 187 | 0078 |
| Stranded | Shipping Container | 646, 149 | 0600 |
| Stranded | Shipping Container | 634, 136 | 1234 |
| Stranded | Shipping Container | 618, 132 | 6789 |
| Stranded | Hidden Bunker 1 | 631, 127 | 0330 |
| Stranded | Hidden Bunker 2 | 615, 169 | 0008 |
| Escape | Safe | Office hallway | 8410 |
That's 13 codes total across four missions. Most of them are optional, but a few unlock achievements, contraband items, and intel that count toward full completion.
Following Orders: The Toolbox Code
The first locked item in the campaign shows up in the very first mission. Inside the house, head into the kitchen and open the first cabinet door on your left. You'll find a note called the Baekseolgi-Tteok Recipe, which lists ingredients and their amounts:
- 2kg rice flour
- 5mL salt
- 1L water
- 4 packs of golden raisins
The trick is to read the numbers in order — flour, then water, then raisins — and skip the salt entirely. That gives you 214. The toolbox itself is in the living room, through the sliding doors nearest the entrance. Open the cabinet and punch in 214 to grab the Medicine contraband item and the second note.
This is one of the gentlest COD MW4 codes to solve, and it doubles as a tutorial for how the game's note puzzles work. If you understand this one, you'll breeze through Stranded.
Assassins: All Three Door Codes
The Assassins mission is more linear than Stranded, and the good news is that Lt. Ko calls out each code in real time. The catch? Combat noise and subtitles can make them easy to miss. Here's the full sequence so you're never stuck staring at a keypad.
| Order | Location | Code | Notes |
|---|---|---|---|
| 1 | After library stairs | 5523 | Entered after climbing to the upper floor |
| 2 | Kitchen area | 7632 | Given after the stealth section begins |
| 3 | Statue bunker base | 9103 | Real-time entry — clear enemies first |
The third door is the one to watch. You enter the code in real time, and if any guards are still alive and alerted, they'll swarm you mid-entry. Take out every enemy in the area before you touch that keypad. Player experience suggests this is the single most common spot where people fail the stealth run.
Stranded: Every Shipping Container and Bunker Code
Stranded is the tenth mission and the biggest time sink for completionists. There are eight locked keypads scattered across the open map, each with a note that hides a number puzzle. Since it's a sandbox, order doesn't matter — but knowing the coordinates saves a ton of driving.
Where to Find Each Container
Each shipping container has a note on the door hinting at the next code in a sequence. Once you crack one, a map inside marks the remaining locked containers on your tacmap. Here's the full breakdown of COD MW4 codes for this mission:
| Container Location | Coordinates | Code | What's Inside |
|---|---|---|---|
| Base Camp | 644, 158 | 0024 | Supplies and intel map |
| South of Jamming Station | 667, 125 | 8609 | Yellow supply crate |
| South East Village | 652, 187 | 0078 | X-Void SMG with subsonic rounds |
| Cliff Near Base Camp | 646, 149 | 0600 | Yellow supply crate |
| Big Sign | 634, 136 | 1234 | Armor Plates and supplies |
| Small Island | 618, 132 | 6789 | Yellow supply crate |
A quick tip: the Base Camp container is hard to miss — it's just past the old bridge near the blue-and-white radio tower — so start there. Opening it reveals the intel map that makes the other five much easier to locate.
How the Number Puzzles Work
You don't have to solve these puzzles to use the codes, but understanding the logic helps if you're replaying or want to verify a code. Community reports describe the patterns as simple arithmetic sequences:
- Base Camp (0024): add 6 to the previous number.
- South of Jamming Station (8609): adjust each digit individually based on the hint note.
- South East Village (0078): add 22 to the last two digits.
- Cliff Near Base Camp (0600): subtract 2900 from the prior value.
- Big Sign (1234): add a 4 in the final digit slot.
- Small Island (6789): the digits "scroll" left, dropping the first number.
None of them require heavy math. The notes practically hand you the answer once you spot the pattern.
The Two Hidden Bunkers
The bunkers are the highlight of Stranded and the part most players search for. There are two of them, and each hides a note, supplies, and a unique reward.
Farm Field Hidden Bunker (631, 127): Located on a snowy cliff face near the northeast section of the river, this one is partially visible from the road. The note on top of the keypad tells you the code is the sum of the Logistics Stations' numbers. Those numbers — 10, 20, 100, and 200 — appear on your tacmap after you clear each outpost. Add them up and you get 0330. Inside, you'll find supplies and a second note on the desk next to the radio.
Hidden Island Bunker (615, 169): Across the river in the southeast corner, near the base of a large cliff, this bunker's note says the code equals the total number of outposts along the river. Count them after clearing the map, and you land on 0008. Once the door opens, drop through the trapdoor to explore below — a YouTube walkthrough from the channel TGR also points out a Heartbeat Sensor down there.
These two are the most valuable COD MW4 codes in the mission because they're the easiest to overlook. The island bunker in particular sits between the river and the airstrip, so if you're flying past, you'll miss it entirely.
Escape: The Final Safe Code
The last code in the campaign shows up in Escape, the thirteenth mission. You'll reach a section where an enemy soldier is in an office with a large window. Crouch beneath the overhanging bench and wait for him to take a call — he'll leave in a hurry.
Once he's gone, slip into the office and read the Updated Code note. The new safe code is 8410. Later in the mission, after you fight through the barracks, look for an unlocked door on the right side of the hallway. Open the safe with 8410 to collect the Dogtags, which unlocks the Never Forgotten achievement and trophy.
If you're a completionist, this is one of the COD MW4 codes you absolutely cannot skip — it's tied directly to an achievement.
Tips for Tracking Down Every Code
A few habits make hunting these codes much faster:
- Clear outposts first. The bunker codes in Stranded depend on outpost numbers that only appear after you clear them.
- Read every note. Even when you know the code, notes often reveal map intel or point to nearby containers.
- Use the tacmap coordinates. Coordinates are visible by moving your cursor around the map — they're far more reliable than landmark descriptions.
- Check the official Call of Duty site for patch notes in case codes or mission layouts change after updates.
For a broader look at the campaign, major gaming outlets like IGN maintain ongoing walkthroughs that pair well with this list. But for pure code lookups, the tables above should be all you need.
Frequently Asked Questions
How many COD MW4 codes are there in the campaign? There are 13 total across four missions: one toolbox code in Following Orders, three door codes in Assassins, eight keypad codes in Stranded, and one safe code in Escape.
Do I need to solve the number puzzles to use the codes? No. You can enter the correct COD MW4 codes directly at any keypad. The puzzles are only there for players who want to figure them out themselves or verify a solution.
Which code unlocks an achievement? The Escape mission safe code, 8410, unlocks the Never Forgotten achievement and trophy when you collect the Dogtags inside.
Are any of the Stranded codes missable? The mission is a sandbox, so you can grab them in any order. However, the two bunker codes require you to clear Logistics Outposts first, since their numbers only appear on the tacmap afterward. Clear the outposts early and you won't have to backtrack.