C65Opening
Ruy Lopez:Berlin Defense
1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6
White to move
- Legal moves
- 32
- Games in the next 4 moves
- 842,304
- Different positions among them
- 287,278
- Named lines from here
- 37
An old defence made famous by Vladimir Kramnik, who used it to take the world title from Garry Kasparov in 2000. Its quiet endgame lines earned it the nickname “the Berlin Wall”.
It is reached after 6 moves: 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6. It is a line of the Ruy Lopez.
White is to move and has 32 legal moves. Over the next four moves — two for each side — the game can branch into 842,304 different games. Those games reach 287,278 different positions: most positions can be reached in more than one way, 2.9 on average.
The Lichess opening list names 37 further lines after this position, such as Anti-Berlin Variation (4. d3) and Halloween Attack (4. Nxe5).
The same moves can be played in 18 different legal orders that all reach this position. For example 1. Nf3 e5 2. e4 Nc6 3. Bb5 Nf6, which starts as the Zukertort Opening.

What Stockfish says
Stockfish 19 scores this position at +0.19 for White: the game is level. The search looked at 5 million positions (nodes) and reached depth 32. Its best line: 4. O-O Nxe4 5. d4 Nd6 6. Bxc6 dxc6 7. dxe5 Nf5.
| Reply | Name | Score |
|---|---|---|
| 4. O-O engine’s choice | Berlin Defense | +0.19 |
| 4. d3 | Anti-Berlin Variation | +0.18 |
| 4. d4 | — | −0.01 |
| 4. Nxe5 | Halloween Attack | −3.79 |
Scores are from White’s point of view, in pawns: + means White is better. The other replies are scored with 2 million nodes each, the engine’s choice with the 5 million of the position above, so differences under about 0.3 are within the engine’s noise.
Move by move
- 1. e4King's Pawn Game
- 1... e5King's Pawn Game
- 2. Nf3King's Knight Opening
- 2... Nc6King's Knight Opening: Normal Variation
- 3. Bb5Ruy Lopez
- 3... Nf6Ruy Lopez: Berlin Defense
Named lines from here
- Berlin DefenseC654. O-O
- Anti-Berlin VariationC654. d3
- Halloween AttackC654. Nxe5
- Nyholm AttackC654. d4 exd4 5. O-O
Related openings
- Ruy LopezC601. e4 e5 2. Nf3 Nc6 3. Bb5
- Ruy Lopez: Morphy DefenseC701. e4 e5 2. Nf3 Nc6 3. Bb5 a6
- Ruy Lopez: Schliemann DefenseC631. e4 e5 2. Nf3 Nc6 3. Bb5 f5
- Ruy Lopez: Steinitz DefenseC621. e4 e5 2. Nf3 Nc6 3. Bb5 d6
- Ruy Lopez: Classical VariationC641. e4 e5 2. Nf3 Nc6 3. Bb5 Bc5
Chess by the numbers
FEN
r1bqkb1r/pppp1ppp/2n2n2/1B2p3/4P3/5N2/PPPP1PPP/RNBQK2R w KQkq - 4 4