The Ruy Lopez is 1.e4 e5 2.Nf3 Nc6 3.Bb5 — White’s most analysed and most trusted response to 1…e5. Named after 16th-century Spanish priest Ruy López de Segura, it has been played by every world champion from Steinitz to Carlsen and remains the backbone of elite 1.e4 play today.
This guide covers the four structures every Ruy Lopez player needs to understand: the Closed main line (the Spanish Torture), the Berlin Defense (the drawing weapon that ended Kasparov’s world title reign), the Exchange Variation, and the Marshall Attack. And it explains, through one of the greatest defensive battles in chess history, exactly what Capablanca saw that Frank Marshall did not.
What is the Ruy Lopez?
The Ruy Lopez is an opening for White that begins 1.e4 e5 2.Nf3 Nc6 3.Bb5, placing the bishop on b5 to attack Black’s c6 knight — the piece defending the e5 pawn. If the bishop succeeds in removing that knight, White’s e4 pawn gains long-term support; if Black defends the knight, the tension lingers for move after move.
What separates the Ruy Lopez from most other 1.e4 openings is that White does not resolve this tension immediately. 3.Bb5 does not capture on move three; it threatens to capture, creating a cloud of structural pressure that Black must navigate carefully for the next thirty moves. This slow, methodical quality — the bishop leaning on the knight, the knight forced to defend the pawn, the pawn forced to anchor the center — is why the opening earned its enduring nickname: the Spanish Torture.
The contrast with 3.Bc4 (the Italian Game) is instructive. The Italian bishop aims directly at f7 and invites quick tactical complications. The Ruy Lopez bishop aims at the knight behind the pawn and invites a long positional grind. Both are entirely sound; the difference is the kind of chess they produce. The Ruy Lopez has been the choice of almost every world champion who preferred long-term strategic control over short-term tactical excitement.
Why is it named after a Spanish priest?
The Ruy Lopez takes its name from Ruy López de Segura, a 16th-century Spanish priest and chess theorist who examined this and many other openings in his 1561 book Libro del Axedrez. According to Britannica’s profile of Ruy López de Segura, López argued that 3.Bb5 was superior to 3.Bc4, making him the opening’s intellectual champion even though the position had been recorded earlier: the Göttingen manuscript of around 1490 already contains it.
The opening did not become popular immediately. It languished for three centuries until Finnish-Russian theoretician Carl Jaenisch published a detailed analysis in the chess periodical Le Palamède in 1847. From that moment, the world’s best players took it up. Steinitz built his world championship play around it. Lasker used it for 27 years of his reign. Capablanca considered it the most correct of all openings for White. Fischer prepared it obsessively for the 1972 World Championship. Kasparov spent decades trying to crack the Berlin Defense as White.
As Wikipedia’s survey of the Ruy Lopez documents, no other opening has featured in more world championship matches. That is not a coincidence — it is a verdict rendered by 150 years of the best chess players who ever lived.
What are the four main Ruy Lopez families?
The Ruy Lopez divides cleanly into four main variations after 1.e4 e5 2.Nf3 Nc6 3.Bb5, each producing a completely different kind of game.
The Closed Ruy Lopez (3…a6 4.Ba4 Nf6 5.O-O Be7 6.Re1 b5 7.Bb3 d6 8.c3 O-O 9.h3) is the main line and the most deeply analysed continuation in all of chess. White plays a methodical build-up: after 9.h3 prevents …Ng4, the standard plan is d4, Nbd2, and a gradual buildup of central and kingside pressure. Black’s three main defensive systems are the Chigorin (9…Na5 10.Bc2 c5), the Breyer (9…Nb8, voluntarily retreating to reroute the knight to d7 and then f8–g6 or better squares), and the Zaitsev (9…Bb7, preparing …Re8 and …Bf8). Each system is associated with generations of world championship preparation: Karpov mastered the Zaitsev, Kasparov spent years trying to refute the Breyer, and Capablanca made the Chigorin his own.
The Berlin Defense (3…Nf6 4.O-O Nxe4 5.d4 Nd6 6.Bxc6 dxc6 7.dxe5 Nf5 8.Qxd8+ Kxd8) removes queens before move 10 and enters a technical endgame in which Black’s doubled c-pawns are more flexible than they look and White’s bishop pair provides limited winning chances. For most of chess history the Berlin was considered a dry, somewhat passive equaliser. Vladimir Kramnik turned it into the most important opening in modern chess.
The Exchange Variation (3…a6 4.Bxc6 dxc6) resolves the structural tension at once. White trades the bishop for the knight, gives Black the bishop pair, and fixes doubled pawns on c6 and c5. The resulting positions are quieter than the main line but still require exact handling of the endgame’s characteristic tension between White’s pawn majority and Black’s bishop pair.
The Marshall Attack (5.O-O Be7 6.Re1 b5 7.Bb3 O-O 8.c3 d5) is Black’s most aggressive gambit in the Ruy Lopez, introduced by Frank Marshall in the very game described below. Black sacrifices a pawn for active piece play and a lasting initiative against White’s king. The variation has been analysed to extraordinary depth and is still played at world championship level today.
The Marshall Attack — Capablanca’s great defensive masterpiece
The first Marshall Attack in a competitive game was played on October 23, 1918, at the Manhattan Chess Club Masters in New York. Frank Marshall had reportedly spent years preparing 8…d5, saving it specifically for Capablanca. The idea is direct: Black sacrifices the d5 pawn to accelerate piece development and point every piece at White’s kingside.
After 9.exd5 Nxd5 10.Nxe5 Nxe5 11.Rxe5 Nf6, Black’s initiative is obvious. The dark-squared bishop is heading to d6 and then to h2 if the king side is unguarded; the queen will jump to h4 and then h3 with devastating threats. Marshall had prepared a cascade of sacrifices — the bishop on h2, the knight on f2 — that looked overwhelming.
Capablanca saw all of it. His response was not to panic but to find quiet, precise defensive moves at every turn. Where Marshall expected 17…Bh2+ to overwhelm him, Capablanca played 18.Kf1 — the king steps into the corner, which looks alarming, and proves to be exactly right. When Marshall played 19.Rxf2 to recapture the knight and 19…Qh1+ followed, Capablanca walked his king to e2, and then to d3, and then to c2, using the king as an attacking piece rather than a liability.
What Capablanca found was not a refutation of the Marshall Attack — no such thing exists — but a series of precise moves that maintained coordination between his pieces while Marshall’s attack ran out of steam. By move 36, the White pawn on b7 was a move from queening, the bishop was landing on f7 with check, and Black resigned.
José Raúl Capablanca vs Frank Marshall, New York 1918
| 1. | ||
| 2. | ||
| 3. | ||
| 4. | ||
| 5. | ||
| 6. | ||
| 7. | ||
| 8. | ||
| 9. | ||
| 10. | ||
| 11. | ||
| 12. | ||
| 13. | ||
| 14. | ||
| 15. | ||
| 16. | ||
| 17. | ||
| 18. | ||
| 19. | ||
| 20. | ||
| 21. | ||
| 22. | ||
| 23. | ||
| 24. | ||
| 25. | ||
| 26. | ||
| 27. | ||
| 28. | ||
| 29. | ||
| 30. | ||
| 31. | ||
| 32. | ||
| 33. | ||
| 34. | ||
| 35. | ||
| 36. |
The game matters not only as a brilliant defensive performance but as a historical turning point. After this, Capablanca never played 8.c3 again without an anti-Marshall deviation (typically 8.a4 or 8.h3 before c3). The chess world had no choice but to follow. The Marshall Attack is still prepared and played at the top level in 2026, over a century after Marshall walked into that Manhattan chess club with a secret move he had been keeping for years.
If you want to step through every branch of Capablanca’s defence — the exact variations Marshall missed and the precise move order that holds for White — open this game in PGNBase and use the analysis tools to map the critical decision tree. The branching is dense enough that a database view reveals patterns invisible in the raw notation.
The Berlin Defense — why Kramnik used it to dethrone Kasparov
The Berlin Defense produces chess that initially looks like the last thing anyone would choose: queens come off the board before move 10, Black’s king is stuck in the centre, and the resulting endgame is technically demanding but rarely exciting. That is precisely the point.
Vladimir Kramnik and his seconds identified the Berlin before the 2000 World Championship in London as the ideal weapon against Kasparov. The Classical World Chess Championship 2000 Wikipedia article records that Kramnik played the Berlin in games 1, 3, 9, and 13 — every time as Black against Kasparov’s 1.e4 — and drew all four. Kasparov, one of the best-prepared players in history, could not find a meaningful advantage in any of them. Kramnik’s overall result: two wins, thirteen draws, and no losses.
The Berlin works because its endgame positions are structurally sound but unfamiliar. Kasparov’s preparation was geared for tactical complications; the Berlin endgame demanded long-term king activity, precise pawn play, and exactly the kind of patient technique at which Kramnik excelled. Black’s doubled c-pawns are compact in the endgame (they control d5 and prevent White from occupying it), and Black’s bishop pair provides enough activity to neutralise White’s space advantage.
The legacy is permanent. After 2000, the Berlin became the most studied line in Ruy Lopez theory. Today both sides invest weeks in their Berlin preparation for every major event. What had been a quiet equaliser for a century became the central battlefield of 1.e4 theory — because one player used it to become world champion.
How do the main plans work in the Closed Ruy Lopez?
The Closed Ruy Lopez squeezes Black through three recurring pressure mechanisms: the d4 central push, the e4–e5 space gain, and either the f4–f5 kingside attack or the a4–b4 queenside break. White’s pieces serve defined roles: the rook on e1 supports the e4 pawn and a future e4–e5 advance; the knight on d2 heads eventually to f1–g3–f5 (kingside attack) or b3–d4 (central control); the bishop on b3 eyes the f7 weakness. The plan is methodical and cumulative.
Black’s Chigorin system (9…Na5 10.Bc2 c5 11.d4) is the most direct challenge: the a5 knight attacks White’s bishop and supports the c5 break, forcing White to decide whether to exchange pawns (dxc5, opening the position) or maintain the tension. The Breyer (9…Nb8–d7) is the most positionally subtle — the knight retreats to reroute to better squares via f8 or e5, at the cost of a tempo that Black judges is well spent for the long-term improvement in piece placement. The Zaitsev (9…Bb7) prepares a bishop fianchetto on b7 to oppose White’s e5 pressure with counterplay on the long diagonal.
What unites all three systems is the eventual question of the pawn breaks. Can Black play …d5 to free the position? When is White’s f4–f5 feasible? Can Black’s b5–b4 advance unlock queenside counterplay before White’s kingside storm arrives? These questions have been debated for 150 years and are still not definitively answered — which is why the Closed Ruy Lopez remains one of the most productive areas of opening research at every level.
How do you actually study the Ruy Lopez?
You study the Ruy Lopez by mastering the plans before the lines. The most common mistake is memorising 15 moves of the Chigorin without understanding what the position is asking for — and then, when Black plays an unfamiliar 12th move, having no idea whether to advance with d5 or prepare with Nf1.
A practical method: take ten Karpov games in the Closed Ruy Lopez and play through them slowly, stopping at each structural decision to ask what both sides want. Karpov’s Ruy Lopez is instructive precisely because it makes the squeeze look effortless. Every move has a clear plan behind it: if the knight goes to f1 rather than b3, Karpov could explain exactly why. Import those games into PGNBase with the opening explorer active, and you will see the same positions appearing across different games and different opponents — the recurring structures that are the real foundation of Ruy Lopez knowledge.
For the Berlin, the study method shifts toward endgame technique. Learn the typical king routes (Kd8–c7–b6 to support the queenside, or Kd8–e7–f6 to activate toward the center), the knight manoeuvres (the typical Nf5–d4–b3 or Nh4 repositioning), and the bishop pair activity. The Berlin endgame is more like a series of king-and-pawn studies than an opening problem, and the analytical tools that help you in endgame study — tablebases, deep engine lines, comparative game analysis — are exactly what helps here.
The broader principles of building a repertoire around these openings — what to pair with the Ruy Lopez, how to choose between the Berlin and the Closed, when the Exchange Variation is the right call — are covered in full in Building Your First Opening Repertoire. If you want to understand the other side of the board and see how Black fights back against 1.e4 with maximum ambition, the Sicilian Defense is the natural companion. And if you want the opposite end of the opening spectrum — a White system that requires almost no theory and still produces winning chances at every level — the London System shows what a pure systems approach looks like.
Why the Ruy Lopez is still the defining 1.e4 opening
The Ruy Lopez remains the defining 1.e4 opening in 2026 because it poses a question on move 3 that has not been definitively answered in 165 years. Every generation of 1.e4 players tries something different — the Italian Game, the Scotch, the King’s Gambit — and eventually returns to the Ruy Lopez, because the alternatives either allow Black too easy a time of it or require tactical preparation that engines have largely exhausted. The Ruy Lopez sits at the intersection: positional enough that computer engines cannot resolve it to a forced outcome, rich enough that human understanding of its structures is still the deciding factor.
For the practical player, the Ruy Lopez is also the most educational opening in chess. Its themes — bishop vs knight, space versus counterplay, the queenside minority attack, the kingside pawn storm — recur across all four of its main variations and transfer directly into the middlegame and endgame positions that appear in real games. A player who deeply understands the Ruy Lopez understands chess more broadly, not just a narrow set of lines.
No other opening has been played in as many world championship matches, analysed by as many generations of the world’s best players, or produced as many genuinely great games. The Spanish Torture has been torturing Black since 1847 — and shows no signs of stopping.
Conclusion
The Ruy Lopez has outlasted every attempt to replace it, and for good reason: it is built on sound strategic ideas that no amount of computer preparation can fully neutralise. Whether you are drawn to the slow positional masterclass of the Closed main line, the cold technical precision of the Berlin endgame, the structural clarity of the Exchange Variation, or the tactical fireworks of the Marshall Attack, the Ruy Lopez offers a complete education in chess thinking — one pawn structure at a time.
Study the plans before the lines. Learn the structural decisions that define each variation. Import a collection of Karpov, Kasparov, Fischer, and Kramnik games into PGNBase, step through the moments where they chose one plan over another, and let the patterns accumulate until they are instinct rather than memory. The opening that has tested every generation of the world’s best players will test you the same way — and reward you the same way too.