- Home
- Guides
- S.T.A.L.K.E.R. 2: Heart of Chornobyl
- S.T.A.L.K.E.R. 2: Cost of Hope - the apartment code in Shadows of the Past
S.T.A.L.K.E.R. 2: Cost of Hope - the apartment code in Shadows of the Past
In brief
During the Shadows of the Past mission in the Cost of Hope DLC, you find yourself trapped in a building with corridors that loop back on themselves. The only way out is through a locked apartment door whose code, 2469, is scrawled on the nearby wall — but you first need to follow the right path through the floors to reach it.
This happens during Shadows of the Past, the mission that sends you back to Lymansk in the Cost of Hope DLC for S.T.A.L.K.E.R. 2. Following Tachenko's group, you end up trapped in a building whose corridors loop back on themselves. The objective then changes to "find a way out", and the only way out is through an apartment door locked with a 4-digit keypad.
Nothing tricky once you know where to look. But if you keep going in circles in this building without understanding what you need to do, you can lose a good amount of time there. Here's the step-by-step, in order.

Breaking the loop: the right path
First mistake to avoid: staying stuck around the locked door searching the surrounding rooms hoping to stumble on the code hidden like optional loot. That's simply not where it happens.
- Go down the stairs and through the door leading to a flooded corridor.
- Halfway down the corridor, turn right. You'll loop back toward the locked apartment area - that's normal, it's intentional.
- This time, go up the stairs to reach a new area.
- Go to the end of the corridor and climb up the broken staircase. You'll come back once again toward the apartment area.
On this last return, the place won't be quiet anymore: enemies will spawn and you'll need to clear them out before you can move forward. Once the fight is settled, approach the apartment door.

The code: where to find it and which one to enter
Look at the wall near the door. Numbers scrawled on it give the answer, but to save you from squinting in the dim light: the correct code is 2469.
Enter it on the keypad and the loop breaks. You finally get out of this maze-like building and the mission continues as normal.
Share this article
Did you find the code through natural exploration or did you struggle with the loop?
Frequently asked questions
Why do I keep going in circles in this building without finding the exit?
Where exactly is the apartment code located?
Are there enemies to fight before entering the apartment?
Can I miss the code or optional loot elsewhere?
Key takeaways
- Don't waste your time searching the surrounding rooms: the code isn't optional loot.
- First go down to the flooded stairwell, then climb back up through the broken floors to reach the actual apartment area.
- On your last return, enemies will spawn: clear them before approaching the door.
- The correct code is 2469, visible as digits scrawled on the wall near the door.
Comments
No comments yet. Be the first to react!
Leave a comment
Similar guides
Latest articles
Rate S.T.A.L.K.E.R. 2: Heart of Chornobyl
Click a star to rate
Android
iOS
Mac
Meta Quest 3
Nintendo Switch
Nintendo Switch 2
PC
PlayStation 4
PlayStation 5
PS VR2
Steam Deck
SteamVR
Xbox One
Xbox Series