Ruy Lopez: The Complete Guide
The Ruy Lopez (the Spanish Opening) — its main lines, the plans for both sides, and how to tell whether it fits your style.
Starting position and moves
The Ruy Lopez (also known as the Spanish Opening) is an opening for White, classified under ECO codes C60–C99. It begins with:
The idea behind the Ruy Lopez
White pins pressure on the c6-knight that defends the e5-pawn, aiming to undermine Black's centre while keeping a long-term positional grip. The Ruy Lopez is the most respected 1.e4 e5 opening — its main lines have been the battleground of World Championship matches for over a century.
Main lines and key variations
| Variation | Moves |
|---|---|
| Morphy Defence (Closed) | 1.e4 e5 2.Nf3 Nc6 3.Bb5 a6 4.Ba4 Nf6 5.O-O Be7 6.Re1 b5 7.Bb3 d6 8.c3 O-O |
| Berlin Defence | 1.e4 e5 2.Nf3 Nc6 3.Bb5 Nf6 4.O-O Nxe4 |
| Exchange Variation | 1.e4 e5 2.Nf3 Nc6 3.Bb5 a6 4.Bxc6 dxc6 |
Morphy Defence (Closed): The classical main line. Black kicks the bishop with ...a6/...b5 and builds a solid centre; White plays for a slow d4 with a knight manoeuvre Nbd2–f1–g3.
Berlin Defence: The rock-solid "Berlin Wall" — Black heads for an endgame that neutralised Kasparov in 2000 and remains a top-level drawing weapon.
Exchange Variation: White trades on c6 to damage Black's pawns, banking on a superior kingside majority in the endgame.
Plans for both sides
White's plans
- Maintain the bishop pin, then release it to c2 to support e4 and a d4 break.
- Manoeuvre the knight Nb1–d2–f1–g3 toward the kingside.
- In the Exchange, steer toward an endgame where Black's doubled c-pawns tell.
Black's plans
- Gain space and the bishop pair with ...a6 and ...b5.
- Choose between the solid Closed set-up and the drawish Berlin.
- Break with ...d5 or generate play on the queenside.
Typical pawn structure
The Closed Ruy revolves around the e4/e5 tension and the famous knight tour to g3. Black's ...c6/...d6 chain is solid but slightly passive; White's space edge is real but hard to convert.
Famous practitioners
The Ruy Lopez has been championed by Every World Champion from Steinitz to Carlsen, Bobby Fischer (a lifelong devotee), Garry Kasparov. Kasparov–Kramnik, London 2000: Kramnik's Berlin Defence blunted Kasparov's 1.e4 for an entire match and helped him take the title.
Strengths and weaknesses
Who should play the Ruy Lopez?
Ambitious 1.e4 players from about 1500 up who want a long-term positional weapon. Below that, the Italian is an easier entry point to the same 1.e4 e5 world.
See how you actually play the Ruy Lopez
Reading about an opening is one thing; knowing whether you handle it well is another. Chess DNA analyzes your real Chess.com and Lichess games with Stockfish, then shows you exactly where you go wrong — including which openings and pawn structures cost you the most rating. Instead of guessing whether the Ruy Lopez suits you, you get a data-backed answer from your own games, plus targeted drills on the specific mistakes you keep repeating. It is free to analyze your first games.
Frequently Asked Questions
Why is it called the Ruy Lopez?
It is named after Ruy López de Segura, a 16th-century Spanish priest who analysed 3.Bb5 in a 1561 book. English speakers often call it the "Spanish Opening" or simply "the Spanish".
Is the Ruy Lopez too advanced for club players?
You can play it at any level if you focus on plans over memorisation. Learn the Closed main-line ideas — the a6/Ba4 bishop retreat, the knight tour to g3, the d4 break — and you will get playable positions without knowing 20 moves of theory.
What is the Berlin Wall?
The Berlin Defence (3...Nf6) leads after 4.O-O Nxe4 to an early queen trade and a famous endgame where Black's structure is sound despite a slightly awkward king. It is one of the hardest openings to beat at elite level.