How to Play the Berlin Defense
The Berlin Wall — the Ruy Lopez sideline that Vladimir Kramnik used to dethrone Garry Kasparov in 2000 and that every top player in the world plays today. A guide to the famous Berlin endgame, the Anti-Berlin with 4.d3, and the ideas that make this opening the most resilient defense against 1.e4 in modern chess.
TL;DR — Quick Answer
- Moves: 1.e4 e5 2.Nf3 Nc6 3.Bb5 Nf6 — develop the knight to f6 against the Ruy Lopez instead of 3...a6
- Black's plan: Reach the Berlin endgame, deploy the bishop pair, activate the king on b7 or c8, hold the queenless middlegame
- Key idea: Static weaknesses (doubled c-pawns, lost castling) are outweighed by dynamic compensation (bishops, king activity, d-file pressure)
- Main lines: Berlin Endgame 4.O-O Nxe4 5.d4 (main theory), Anti-Berlin 4.d3 (Carlsen's line), Rio de Janeiro 5.Re1 (sideline)
- Best for: Intermediate+ players who want a serious Ruy Lopez weapon with minimum theory and maximum solidity
- Critical line: 4.O-O Nxe4 5.d4 Nd6 6.Bxc6 dxc6 7.dxe5 Nf5 8.Qxd8+ Kxd8 — the Berlin endgame, the wall itself
What Is the Berlin Defense?
The Berlin Defense is a reply to the Ruy Lopez for Black. The starting moves are:
1. e4 e5
2. Nf3 Nc6
3. Bb5 Nf6
The defining move is 3...Nf6. Instead of playing 3...a6 (the Morphy Defense — the main Ruy Lopez line), Black immediately develops the king's knight to its best square and prepares to challenge White's e4 pawn. The Berlin sidesteps the hundreds-of-years-old Closed Ruy Lopez theory tree (Chigorin, Breyer, Marshall Attack, Zaitsev, anti-Marshall, Closed Spanish main lines) and forces White into a binary choice: enter the famous Berlin endgame with 4.O-O Nxe4 5.d4, or play the slower Anti-Berlin with 4.d3.
The mainline continues:
4. O-O Nxe4
5. d4 Nd6
6. Bxc6 dxc6
7. dxe5 Nf5
8. Qxd8+ Kxd8
This is the position known as the Berlin endgame or, more famously, the Berlin Wall. Black has lost the right to castle and has doubled c-pawns, but holds the bishop pair, controls the half-open d-file, and has an active king that often marches to c8 then b7 with full safety. Engines and human practice both confirm the position is balanced — Black has full equality despite the ugly static features.
The Berlin's modern reputation was built in a single event: the 2000 Brain Games world championship in London between Vladimir Kramnik and Garry Kasparov. Kramnik, the challenger, prepared the Berlin endgame as his entire answer to 1.e4 and played it in every game where Kasparov opened with the king's pawn. Kasparov — the best attacking player in chess history — could not crack the position once. The Berlin held to four straight draws as Black; Kramnik won the match 8.5–6.5 and took the world championship. Kasparov essentially abandoned 1.e4 in serious play for years afterward to avoid the Berlin.
The Berlin is now one of the most popular Black weapons at the elite level. Magnus Carlsen, Fabiano Caruana, Ian Nepomniachtchi, Wesley So, Anish Giri, and Hikaru Nakamura all play it regularly at world-championship and super-tournament level. The line works the same trick on White's Ruy Lopez theory that the Petrov Defense works on the entire 1.e4 e5 repertoire: it eliminates an enormous body of theory with a single move.
Main Variations — How White Tries to Beat the Berlin
After 1.e4 e5 2.Nf3 Nc6 3.Bb5 Nf6, White's realistic choices narrow to four. The Berlin Endgame and Anti-Berlin cover roughly 95% of practical games:
Berlin Endgame (Main Line) — 4.O-O Nxe4 5.d4
1.e4 e5 2.Nf3 Nc6 3.Bb5 Nf6 4.O-O Nxe4 5.d4 Nd6 6.Bxc6 dxc6 7.dxe5 Nf5 8.Qxd8+ Kxd8
The famous Berlin endgame — the line that built the Berlin's reputation. White trades queens on move 8 to inflict doubled c-pawns and revoke Black's castling rights, expecting an easy technical win. Instead, Black's bishop pair, half-open d-file, and active king (which often goes to c8 then b7) make the position remarkably resilient. Kramnik used this exact endgame to draw four games (and win the match) against Kasparov in London 2000 — the most famous defensive achievement in modern chess. The key concept: Black accepts a slightly worse static position because the dynamic resources (bishops, king activity, queenside pawn breaks) outweigh White's structural edge. Engines confirm Black is fine.
Anti-Berlin — 4.d3
1.e4 e5 2.Nf3 Nc6 3.Bb5 Nf6 4.d3
White's modern attempt to dodge the Berlin endgame. By playing 4.d3 (instead of 4.O-O), White keeps the queens on the board and reaches a slow positional middlegame similar to the Italian Game with a3+Re1+Nbd2 plans. The mainline continues 4...Bc5 5.Bxc6 dxc6 6.Nbd2 (or 6.h3), where Black has the bishop pair but doubled pawns. Magnus Carlsen popularized 4.d3 in his 2014 and 2016 world championship matches as a way to avoid Berlin-endgame draws — he wanted positions where he could outplay Karjakin and Caruana technically with the queens still on. For Black: same easy development as the main Berlin, just keep an eye on the d4 break and don't let White get e4-e5 in for free.
Rio de Janeiro Variation — 5.Re1
1.e4 e5 2.Nf3 Nc6 3.Bb5 Nf6 4.O-O Nxe4 5.Re1
A sharp anti-Berlin that avoids the queen trade. After 5.Re1 Nd6 6.Nxe5 Be7 7.Bf1 Nxe5 8.Rxe5 O-O, White has slightly more space and Black has a clean developmental setup with no doubled pawns. The Rio de Janeiro is less ambitious than the Berlin endgame line for White but it gives more middlegame chances. The downside is Black equalizes very comfortably — there's no theoretical reason to avoid 5.d4. The Rio de Janeiro is mostly seen at the club level where White wants 'Ruy Lopez positions' without committing to either the Berlin endgame or the main Closed Ruy. Black needs to know about 5...Nd6 (best) but the line is forgiving.
l'Hermet / 4.Qe2
1.e4 e5 2.Nf3 Nc6 3.Bb5 Nf6 4.Qe2
A rare sideline supporting e4 with the queen instead of castling. The idea is to play 5.Bxc6 followed by c3+d3 with a quiet middlegame — basically an Italian-style structure where White hopes to use the e-file pressure later. After 4...a6 5.Bxc6 dxc6 6.O-O Bd6 7.d3, Black gets the bishop pair and easy development. This line is exclusive to the club level — no elite player has used it seriously in decades because Black equalizes with no effort. The Berlin player just treats it like an Exchange Ruy Lopez and uses standard endgame technique with the bishop pair.
Practical tip: At elite level, the Anti-Berlin 4.d3 has overtaken the Berlin endgame line because top players have decided the endgame is too drawn to play for a win. At the club level you'll see both — split your study 60/40 Berlin endgame / Anti-Berlin. The Rio de Janeiro and l'Hermet lines deserve only basic familiarity.
The Berlin Endgame — Move by Move
The Berlin endgame is the line that built the opening's reputation. Both sides race through forced exchanges to reach a queenless middlegame with sharply defined plans:
1. e4 e5 2. Nf3 Nc6
3. Bb5 Nf6 4. O-O Nxe4
5. d4 Nd6
6. Bxc6 dxc6
7. dxe5 Nf5
8. Qxd8+ Kxd8
9. Nc3 (or 9. h3, 9. Rd1+)
The critical moves are 4...Nxe4 (grabbing the e4 pawn — without this, the Berlin loses its point), 5...Nd6 (the only correct retreat — 5...exd4 transposes into a dubious gambit), 6...dxc6 (recapturing with the d-pawn, not the b-pawn — Black wants the open d-file), 7...Nf5 (rerouting the awkward d6-knight to a useful square), and 8...Kxd8 (the king accepts permanent loss of castling rights — the entire opening hinges on this trade being acceptable). After move 8 the queens are off, the structure is set, and both sides know exactly what they're playing for.
- WhiteTry to exploit Black's weakened pawn structure and lack of castling. Standard plans: Nc3-e2-f4 (or Nc3-e4) to put a knight on a great central square, Rd1+ followed by Bg5/Bf4 to develop with tempo, and the c4+b3 setup to clamp the queenside. White's long-term hope is to force Black into a passive endgame where the doubled c-pawns become weaknesses rather than central control.
- BlackActivate the bishop pair, route the king to b7 (via c8) or sometimes d7, and use the d-file with the rook. Standard plans: ...Be7 + ...Re8 + ...Kc8 + ...b6 + ...Kb7, then ...c5 or ...h6 + ...Bd7 + ...c5. The key is to never enter passive defense — Black always has resources because of the bishops and the active king. Aim for queenless middlegames where Black's structural problems matter less than piece activity.
Berlin vs Other Black Defenses — When to Choose Which?
The Berlin is one of several mainstream Black choices against 1.e4 e5. Each has a distinct personality:
Berlin Defense — this article
The Ruy Lopez sideline. Minimum Ruy theory, maximum solidity, world-championship pedigree. Best for intermediate+ players who want a serious 1.e4 e5 weapon and don't mind playing endgames.
Berlin vs Closed Ruy Lopez (Morphy Defense, 3...a6)
Same root opening, different decision. 3...a6 (the Morphy Defense) keeps the queens on the board and enters the rich Closed Ruy Lopez middlegame — hundreds of years of theory but maximum winning chances. The Berlin (3...Nf6) trades winning chances for safety and minimal prep. Choose Morphy if you want to play for the win; Berlin if you want to neutralize and outplay technically.
Berlin vs Petrov Defense
Both have a reputation as drawing weapons. The Petrov (2...Nf6) eliminates White's entire 1.e4 e5 opening tree with one move — no Italian, Scotch, Vienna, King's Gambit, or Ruy Lopez. The Berlin (3...Nf6 after 3.Bb5) only eliminates the Closed Ruy Lopez. Choose Petrov if you want a single solution to the entire White repertoire; Berlin if you want the option to allow Italian Game or Scotch positions.
Berlin vs Italian Game (as Black)
Both arise from 1.e4 e5 2.Nf3 Nc6 — White's move 3 decides which opening. The Italian Game (3.Bc4) gives Black the bishop pair quickly (Bc5) and rich middlegame play. The Berlin only arises if White plays 3.Bb5 (the Ruy Lopez) and Black responds 3...Nf6. The Berlin is not a choice Black makes alone — it's a response to White's Ruy. Players who hate the Ruy Lopez often play the Berlin specifically to drag White out of preparation.
Berlin vs Caro-Kann Defense
Both are solid Black defenses with endgame-friendly reputations. The Caro-Kann (1...c6) avoids the Ruy Lopez entirely by not playing 1...e5. The Berlin accepts the Ruy Lopez branch but reroutes into a drawn endgame. The Caro-Kann gives more middlegame winning chances; the Berlin gives more theoretical safety. Many top players use the Berlin against certain opponents and the Caro-Kann against others to keep their preparation broader.
Berlin vs Sicilian Defense
Opposite philosophies. The Sicilian (1...c5) creates immediate imbalance and plays for the win at the cost of losing more games. The Berlin neutralizes the position and plays for safety with low winning chances. Choose Sicilian if you want full points; Berlin if you want stable Black results and rating protection.
Key Strategic Themes
Master these four concepts and any Berlin position becomes navigable:
The Berlin endgame — bishops outweigh structure
After 8.Qxd8+ Kxd8, Black has lost castling rights and has doubled c-pawns. Static evaluation says White is better. Why is Black fine? Because Black has the bishop pair, a half-open d-file for the rook, and an active king that often marches to c8 → b7 with full safety. The doubled c-pawns aren't weak — they actually control important central and queenside squares (c5 and d5 are over-defended). White's natural plans (Rd1+, Nc3-e4, Bf4 / Bg5) bump into Black's solid setup again and again. This is the lesson every Berlin player learns the hard way: ugly positions can be excellent if the active pieces compensate for the static problems. Kramnik proved it across four world-championship games.
King activity in the Berlin
Because castling rights are gone in the main Berlin endgame, Black's king is a fighting piece from move 9 onwards. The standard plan is ...Kc8 → ...Kb7 (or sometimes ...Kd7 → ...Kc6 in queenless middlegames) to put the king on a safe square that also contributes to the queenside. White cannot generate a quick attack because the queens are off the board, so king activity is risk-free. Many Berlin games feature Black's king on b7 supporting a c5 break or defending the queenside while the rooks dominate the d-file. The concept is upside-down from normal chess: usually you castle to safety and attack with pieces; in the Berlin you use the king as an extra piece because there's no attack to fear.
Why 5...Nd6 (not 5...exd4)
After 4.O-O Nxe4 5.d4, the natural-looking 5...exd4 actually transposes into an unclear gambit where White has good compensation. The correct move is 5...Nd6 — retreating the knight to the awkward d6 square. Why? Because 5...Nd6 forces 6.Bxc6 (otherwise the knight on e4 is permanently lost), and 6.Bxc6 leads to the famous Qxd8+ Kxd8 trade that defines the Berlin. The knight on d6 isn't pretty but it controls e4, b5, and c4, and reroutes via ...Nf5 (after dxe5) to either e7 or h4 in some lines. Memorize 5...Nd6 as automatic. The other reason it works: it threatens ...Nxe5 in some Anti-Berlin move orders where White can't take on c6 immediately.
Berlin as anti-prep — same problem White had with the Petrov
The Berlin sidesteps almost all of White's Closed Ruy Lopez preparation. By going 3...Nf6 instead of 3...a6 (the Morphy Defense), Black eliminates the need to learn the Chigorin, Breyer, Marshall Attack, Zaitsev, anti-Marshall, and Closed Ruy main lines — all that theory simply doesn't apply. White is left with a binary choice: the Berlin endgame (which requires deep technical preparation to play for a win) or the Anti-Berlin 4.d3 (a slower positional game). Both lines are well-understood and Black holds easily with one prepared system. This is structurally the same trick the Petrov Defense plays against the entire 1.e4 e5 White repertoire — one move that neutralizes a giant body of opening theory. Top players love it for the same reason.
How to Learn the Berlin Defense (Step by Step)
- Memorize the Berlin endgame entry through move 9. The sequence 1.e4 e5 2.Nf3 Nc6 3.Bb5 Nf6 4.O-O Nxe4 5.d4 Nd6 6.Bxc6 dxc6 7.dxe5 Nf5 8.Qxd8+ Kxd8 should be automatic. After move 8 you'll see one of three ninth moves from White (9.Nc3, 9.h3, or 9.Rd1+) — know the typical Black response for each (...Ke8, ...Bd7, ...Bg4 are the standard ideas). These nine moves cover roughly 50% of all the Berlin positions you'll see.
- Learn the Anti-Berlin 4.d3 setup. Carlsen revived 4.d3 in his world-championship matches and now it's more common at the elite level than the Berlin endgame line. The standard reply is 4...Bc5 (active development with the bishop pair) followed by a Carlsen-style positional middlegame with ...d6, ...O-O, ...h6 — basically Italian Game positions where Black is fine. Spend roughly 40% of your Berlin study time here.
- Practice the Berlin endgame king-walk. The Black king's journey from d8 to b7 is the soul of the Berlin endgame. The typical route is ...Ke8 (sometimes skipped) → ...Kc8 → ...b6 (preparing) → ...Bb7 (development) → ...Kb7. Practice this in training games or against the engine. You'll feel very uncomfortable with the king on c8 the first 10 games you play — by game 20 it's second nature and the king becomes a real piece on the queenside.
- Analyze your Berlin games for free. The Berlin endgame is the most subtle endgame in opening theory — small move-order details decide whether you hold the draw or drift into a lost position. Engine review catches the exact point where you went from balanced to slightly worse. Export your PGN and use chess.rodeo for full Stockfish analysis — no account, no paywall, unlimited games. Berlin games are often long (50–70 moves) so 15 minutes of analysis covers the whole game.
Frequently Asked Questions
What is the Berlin Defense?
The Berlin Defense is a Black reply to the Ruy Lopez beginning 1.e4 e5 2.Nf3 Nc6 3.Bb5 Nf6. Instead of the traditional 3...a6 (Morphy Defense), Black plays 3...Nf6 and prepares to challenge White's e4 pawn. The mainline leads to the famous Berlin endgame with queens off the board after move 8. The Berlin is considered one of the most theoretically sound Black defenses in chess.
Why is the Berlin called the "Berlin Wall"?
The "Berlin Wall" nickname refers to the Berlin endgame's impenetrable defensive qualities. The name became famous after Vladimir Kramnik used the endgame to draw every game as Black against Garry Kasparov in the 2000 world championship in London, winning the match. Kasparov, the strongest attacker in chess history, could not break the Berlin once across the entire match.
Is the Berlin Defense good for beginners?
The Berlin is best for intermediate players (1400+). The opening moves are simple but the resulting queenless endgame requires real technique to handle. Beginners often struggle with the king-walk plans and the unusual piece coordination the Berlin demands. For pure beginners, the Italian Game as Black is an easier first choice.
What's the difference between the Berlin and the Petrov?
Both are solid Black drawing weapons but they react to different White moves. The Petrov (2...Nf6) is played on move 2 and sidesteps all of White's 1.e4 e5 openings (Italian, Scotch, King's Gambit, Vienna, Ruy Lopez). The Berlin (3...Nf6 after the Ruy Lopez 3.Bb5) is played only against the Ruy Lopez. Choose Petrov for a universal solution; Berlin to allow other 1.e4 e5 openings but neutralize the Ruy.
How did Kramnik beat Kasparov with the Berlin in 2000?
Kramnik played the Berlin Defense in every Black game where Kasparov opened 1.e4 during the 2000 London world championship. Kasparov could not generate winning chances against the Berlin endgame — all the relevant games ended in draws — and Kramnik won the match 8.5–6.5. Kasparov essentially abandoned 1.e4 in serious play afterward to avoid the Berlin. The match is widely considered the most influential opening match in chess history.
Analyze your Berlin Defense games — free, no account
The Berlin Wall lives or dies in subtle endgame technique — one wrong rook lift or king move and the wall has a hole. Engine analysis catches the exact moment your position changed from balanced to worse, and shows the correct king-walk and rook-placement sequences. Export your PGN and use chess.rodeo for full Stockfish analysis. No account, no paywall, unlimited games. The Berlin's long, technique-driven endgames make engine review unusually valuable — 15 minutes of analysis often reveals a single critical move you can immediately add to your repertoire.