What Is the Ruy Lopez?
The Ruy Lopez — also called the Spanish Opening — begins with the moves 1.e4 e5 2.Nf3 Nc6 3.Bb5. It is the most analyzed, most debated, and most played chess opening in history. That single bishop move to b5 has been studied for over 500 years and still generates new theoretical novelties at the highest level of play in 2026.
Named after the 16th-century Spanish priest Ruy López de Segura, who analyzed it in his 1561 book Libro de la invención liberal y arte del juego del Ajedrez, the opening embodies a deceptively simple idea: by placing the bishop on b5, White pins the knight on c6 that currently defends the e5 pawn. The immediate threat — 4.Bxc6 dxc6 5.Nxe5 — is easy to meet, but the long-term pressure on Black’s center is not.
Every world chess champion since Wilhelm Steinitz has had to master the Ruy Lopez. Bobby Fischer called 1.e4 the “best by test” and faced the Ruy Lopez from both sides of the board throughout his career. Garry Kasparov built a decade-long hegemony partly on the back of his Ruy Lopez preparation. Magnus Carlsen used the Morphy Defense to claim three World Championship titles. Vladimir Kramnik stunned the chess world by weaponizing the Berlin Defense to defeat Kasparov in 2000, triggering a theoretical revolution that continues to this day.
If you play 1.e4 as White, you will eventually need a Ruy Lopez repertoire. If you play 1…e5 as Black, you will eventually have to face one. This guide covers the four main variations — Morphy Defense, Berlin, Marshall Attack, and Chigorin — with positions, strategic ideas, and practical advice for club and online players.
Starting Position
Why 3.Bb5 Instead of 3.Bc4?
Before diving into variations, it’s worth understanding what White is really trying to accomplish. The Italian Game (3.Bc4) attacks f7 directly and aims for fast kingside play. The Ruy Lopez is subtler: the bishop on b5 doesn’t immediately threaten anything devastating, but it creates lasting structural pressure.
The logic unfolds over many moves. White’s ideal plan involves:
- Completing development with 4.Ba4 (if Black plays 3…a6), then 5.0-0, 6.Re1
- Pushing d4 to challenge Black’s center
- Rerouting the knight: Nf3 → d2 → f1 → g3 (or e3 → d5)
- Placing a bishop on b3, controlling the d5 square and the f7 diagonal
- Using the rook on e1 to support the center and prepare kingside play
This plan is slow but rock-solid. It is why the Ruy Lopez has been White’s most trusted weapon at the top level for over a century.
Variation Overview
1. Morphy Defense — Closed Variation
Moves: 1.e4 e5 2.Nf3 Nc6 3.Bb5 a6 4.Ba4 Nf6 5.0-0 Be7 6.Re1 b5 7.Bb3 d6 8.c3 0-0
Black’s 3…a6 — the Morphy Defense, named after Paul Morphy who popularized it in the 1850s — immediately questions the bishop. Rather than retreat with 4.Ba4 and abandon the pin immediately, White maintains pressure while preparing to castle. The sequence 4.Ba4 Nf6 5.0-0 Be7 6.Re1 b5 7.Bb3 d6 8.c3 0-0 defines the Closed Ruy Lopez, the most deeply analyzed position in all of chess.
Why This Position Is Unique
The position after 8…0-0 is called the tabiya — a central reference point from which dozens of sub-variations branch. Both sides have logical, long-term plans and neither is in immediate danger. This is what makes the Closed Ruy Lopez so strategically rich and why top grandmasters invest thousands of hours studying it.
White’s plan:
- Play 9.h3 to prevent …Bg4, then 10.d4 to challenge the center
- Reroute the knight via Nbd2 → f1 → g3 or e3, targeting the kingside
- Use the rook on e1 to support the e4 pawn and prepare e5 breaks
- Work toward a d5 knight outpost or a kingside pawn advance
Black’s counterplay:
- The …d5 break (often prepared with …Nd7 and …Nf8 first): Black strikes at the center when the time is right
- Queenside expansion with …Nc6-a5 to trade off the strong Bb3, then …c5-c4
- The …f5 break in some lines, launching a kingside counterattack
Key Sub-Variation: The Zaitsev System (9.h3 Bb7 10.d4)
After 9.h3, Black can develop the bishop to b7 with 9…Bb7, preparing to contest the d4 advance. White continues 10.d4, and now the game opens into sharp theoretical waters. The Zaitsev was a favorite of Garry Kasparov in his prime, leading to some of the most deeply prepared games of the 1980s and 90s.
Key Sub-Variation: The Breyer System (9.h3 Nb8)
One of the most counterintuitive moves in all opening theory: Black retreats the knight to b8 to reroute it to d7, then f8, then g6 or e6, achieving ideal piece placement. The Breyer is a hallmark of deep strategic understanding and is a favorite of Magnus Carlsen.
2. Berlin Defense
Moves: 1.e4 e5 2.Nf3 Nc6 3.Bb5 Nf6 4.0-0 Nxe4 5.d4 Nd6 6.Bxc6 dxc6 7.dxe5 Nf5 8.Qxd8+ Kxd8
Black’s 3…Nf6 develops with tempo — it attacks the e4 pawn immediately. After 4.0-0, Black’s critical response is 4…Nxe4, capturing a pawn. White must play 5.d4 to open the center before Black consolidates. The game then enters the Berlin Endgame after 5…Nd6 6.Bxc6 dxc6 7.dxe5 Nf5 8.Qxd8+ Kxd8.
The Berlin Wall
The resulting endgame — Black’s king stranded on d8, doubled pawns on c6 and c7, but solid structure and bishop pair — became the most famous endgame battleground in modern chess history when Vladimir Kramnik used it to defeat Garry Kasparov in the 2000 World Chess Championship match in London.
Kramnik scored 2 wins with the Berlin (games 2 and 10) and 13 draws, never losing. Kasparov, despite all his preparation and computer assistance, could not find a way through the Berlin fortress. The chess world was stunned — Kramnik’s score of 8.5–6.5 was widely seen as the biggest upset in Championship history.
“I had never seen anything so solid in my life. The Berlin endgame is like a wall — there are no weaknesses to attack.” — Garry Kasparov, reflecting on the 2000 World Championship match against Vladimir Kramnik
Why the Berlin Is So Effective
The Berlin endgame is theoretically drawn with best play, but the practical difficulties White faces are immense:
- Black has the bishop pair, which becomes powerful in open endgames
- White’s extra space is offset by Black’s solid structure
- Black’s doubled c-pawns are not as weak as they appear — the open d-file and bishop pair compensate
- Coordination is difficult for White: the knight on f3 often lacks good squares, while Black’s knights can reach strong posts
After the 2000 WCC, the Berlin became the weapon of choice for elite grandmasters who wanted a solid, reliable defense. Magnus Carlsen has frequently employed it in World Championship matches, using his endgame mastery to grind opponents down in the resulting technical positions.
The Rio de Janeiro Variation (4.d3)
Because the Berlin endgame is so drawish, many White players choose to avoid it with 4.d3 instead of 4.0-0. This Anti-Berlin line keeps the game in the middlegame and leads to a slower strategic battle more similar to the Italian Game. It has become extremely popular at club level and even in top GM play.
3. Marshall Attack
Moves: 1.e4 e5 2.Nf3 Nc6 3.Bb5 a6 4.Ba4 Nf6 5.0-0 Be7 6.Re1 b5 7.Bb3 0-0 8.c3 d5
The Marshall Attack is one of the most electric gambits in all of chess. On move 8, instead of the standard 8…d6, Black sacrifices a central pawn with 8…d5. After 9.exd5 Nxd5 10.Nxe5 Nxe5 11.Rxe5 c6, Black has surrendered a pawn but achieved extraordinary piece activity and a devastating kingside attack.
The Historical Context
American grandmaster Frank Marshall first unleashed this gambit against José Raúl Capablanca in New York in 1918, reportedly having saved it for years specifically for this occasion. The game — one of the most famous in chess history — ended in Capablanca’s favor, but Marshall’s attacking concept was validated in the decades that followed. The Marshall Attack was eventually recognized as fully sound and has been a weapon at the highest levels ever since.
“The Marshall Attack is one of those openings where if White doesn’t know what they are doing, they will simply get mated. It is one of the most dangerous weapons in all of chess.” — Fabiano Caruana, U.S. Chess Champion and 2018 World Championship Challenger
The Attack in Action
After 11…c6, Black threatens …Qh4 with enormous attacking potential. Typical continuations involve:
- 12.d4 — White tries to stabilize the center. Play continues 12…Bd6 13.Re1 Qh4 14.g3 Qh3, with Black generating vicious pressure on h2 and the kingside.
- Black’s bishops point menacingly at the kingside
- The queen on h3, bishops on d6 and c8 (often …Bg4), and rooks doubling on the e-file create overwhelming threats
The resulting positions require precise defensive technique from White. The Anti-Marshall (7.d3 or 8.a4, avoiding 8.c3 d5) has become White’s most common way to sidestep the gambit entirely at high levels.
Who Should Play the Marshall?
The Marshall Attack rewards players who:
- Love tactical complications and attacking chess
- Are comfortable sacrificing material for initiative
- Have memorized the key lines (theory is deep through move 20+)
- Want to put immediate pressure on White with Black
Players like Sergey Karjakin and Fabiano Caruana have used the Marshall at the World Championship level, testament to its enduring viability.
4. Chigorin Defense
Moves: 1.e4 e5 2.Nf3 Nc6 3.Bb5 a6 4.Ba4 Nf6 5.0-0 Be7 6.Re1 b5 7.Bb3 0-0 8.c3 d6 9.h3 Na5
The Chigorin Defense — named after Russian chess legend Mikhail Chigorin — is defined by Black’s 9…Na5, routing the knight to the queenside to trade off the strong Bb3 bishop. Black’s plan is to neutralize White’s bishop pair advantage and fight for the center with …c5-c4, while maintaining a solid pawn structure. The setup sidesteps many of the sharpest Morphy Closed sub-systems.
Strategic Character
Unlike the Morphy Closed, the Chigorin does not immediately commit to …Nf6, giving Black more flexibility. The typical Black setup involves:
- …d6: securing the e5 pawn and preparing to develop
- …Nge7: bringing the knight to a useful square without blocking the f-pawn
- …g6 in some lines, preparing a fianchetto on g7 for long-term pressure on the long diagonal
- The …f5 break: once the position is set, Black launches a kingside attack
The Chigorin was a favorite of Tigran Petrosian and remains popular at club level because it sidesteps enormous amounts of opening theory while still maintaining dynamic chances.
White’s Response
White typically continues with 5.0-0, then 6.Re1 and the standard Ruy Lopez build-up. The key difference is that Black has not yet committed to …Nf6, so some typical White plans (like the knight tour Nf3-d2-f1-g3) need adjustment. Play often transposes into Closed Ruy Lopez structures or takes on a character all its own.
Key Strategic Ideas
The Pin That Isn’t Really a Pin
The bishop on b5 (or a4 after …a6) is often called a “pin” on the c6 knight, but technically the knight can move — it just means losing the e5 pawn. Understanding this distinction is the first strategic insight in the Ruy Lopez. White’s real threat is long-term: chip away at Black’s center over many moves, not immediately win the e5 pawn.
The d4 Break
White’s central ambition is always d4. When White achieves d4 supported by c3, Black’s e5 pawn comes under direct pressure. Black must either exchange (opening the position, often favoring White’s bishop pair) or advance …e4 (which can overextend) or defend with …d6 and accept a slightly passive setup.
Black’s …d5 Break
Black’s most powerful counterattacking idea across all Ruy Lopez variations is the central break …d5. In the Marshall Attack it happens on move 8. In the Closed lines it is carefully prepared over many moves. When properly timed, …d5 equalizes Black’s chances and creates dynamic counterplay; mistimed, it can leave Black with structural weaknesses.
The Rook on e1
White’s 6.Re1 is not just development — it’s a strategic piece placement. The rook supports the e4 pawn, prepares d4, and in some lines can swing to e3 or e2 to double rooks. Understanding that this rook is a key piece in White’s attacking plans (not just a passive defender) is essential to playing the Ruy Lopez well.
The Bb3 Bishop
Once the bishop retreats to b3 (after …b5 kicks it from a4), it becomes a monster. It controls d5, exerts pressure on f7 throughout the game, and in many lines participates in direct attacks after Ng5 or Qd3-h3. Black frequently has to spend a tempo neutralizing it with …Na5 (trading) or …Be6.
Which Variation Should You Play?
Famous Games
| Year | White | Black | Event | Opening | Result | Notes |
|---|---|---|---|---|---|---|
| 1918 | Capablanca | Marshall | New York | Marshall Attack (C89) | 1–0 | Marshall’s debut of his gambit; Capa survived and won, but the Attack was born |
| 1972 | Fischer | Spassky | World Championship, Game 10 | Ruy Lopez, Breyer | 1–0 | Fischer’s positional masterpiece; won in 56 moves, one of the greatest Ruy Lopez games ever |
| 2000 | Kasparov | Kramnik | World Championship, Game 2 | Berlin Defense (C67) | 0–1 | Kramnik’s Berlin Wall debut at the WCC; revolutionized top-level theory |
| 2000 | Kasparov | Kramnik | World Championship, Game 10 | Berlin Defense (C67) | 0–1 | Kramnik’s second Berlin win; Kasparov never solved the Berlin in the match |
| 2013 | Carlsen | Anand | World Championship, Game 5 | Ruy Lopez Morphy (C84) | 1–0 | Carlsen converts a slight edge into a technical masterclass in the Closed Ruy |
| 2021 | Karjakin | Carlsen | Norway Chess | Marshall Attack (C89) | 0–1 | Carlsen defends the Marshall gambit brilliantly and turns the tables on Black |
Frequently Asked Questions
Is the Ruy Lopez still relevant in 2026?
Absolutely. The Ruy Lopez remains one of the most played openings at every level of chess, from online blitz to World Championship matches. While the Berlin Defense has made it harder for White to demonstrate a concrete advantage, new ideas continue to emerge in the Closed lines, the Zaitsev, and the Breyer. Engines like Stockfish and Leela Chess Zero have added new life to previously dismissed sidelines. As of 2026, the Ruy Lopez is as theoretically rich as it has ever been.
How long does it take to learn the Ruy Lopez?
Learning the basic ideas — the bishop pin, the d4 plan, and the typical pawn structures — takes a few hours of study. Getting comfortable in real games takes a few dozen games of practice. Mastering the deep theory of the Closed Ruy Lopez (Zaitsev, Breyer, Chigorin sub-systems) is a years-long project that even grandmasters pursue throughout their careers. Start with understanding the strategic plans before worrying about deep move-order theory.
What is the best response to the Ruy Lopez as Black?
There is no single “best” response — it depends on your style. The Berlin Defense (3…Nf6) is the most theoretically solid choice, used by Kramnik and Carlsen to avoid White’s long-term pressure. The Morphy Defense (3…a6) is the most flexible and leads to the richest strategic play, including the Marshall Attack option. The Chigorin (4…Nc6) is the most practical club choice for players who prefer to understand plans over memorizing theory.
Did Bobby Fischer play the Ruy Lopez?
Yes — Fischer played both sides. As White, he was a devotee of the Ruy Lopez, particularly in his 1972 World Championship match against Boris Spassky, where he won several games with deep Ruy Lopez preparation. As Black, Fischer faced the Ruy Lopez and developed his own ideas, including work in the Closed lines that influenced theory for decades. Fischer’s famous statement that 1.e4 is “best by test” reflects his confidence in open games built around the Ruy Lopez.