The Ruy López (Spanish Opening): A Complete Guide for Club Players

The oldest opening still played at the top level — the Berlin Defense, Marshall Attack, Chigorin Variation and Exchange Variation, explained move by move with interactive boards.

The Ruy López, also known as the Spanish Opening, begins with 1.e4 e5 2.Nf3 Nc6 3.Bb5 and is the oldest opening in chess still played at the highest level — named after a 16th-century Spanish priest, Ruy López de Segura, who analyzed it in a 1561 manuscript. More than four and a half centuries later, it remains the main weapon of choice against 1...e5 for players from club level to World Champions, precisely because 3.Bb5 asks Black the most fundamental question in the position: how do you defend the e5-pawn's defender, the knight on c6, without weakening your own structure?

Unlike the Sicilian, where Black immediately unbalances the position, the Ruy López keeps the game symmetrical for longer — and that is exactly what makes it so rich. Small differences in move order lead to completely different middlegames: a drawish, technical endgame in the Berlin, a piece sacrifice for a ferocious attack in the Marshall, or a long strategic maneuvering battle in the Chigorin. This guide walks through the four systems you are most likely to meet or want to play, plus the modern Anti-Marshall move orders top players use to sidestep the sharpest theory.

See which side of the Ruy López you already play — free, instant Stockfish 18 analysis of your games.

Why 3.Bb5 is such a strong move

After 1.e4 e5 2.Nf3 Nc6, White's knight already attacks the e5-pawn, and Black's knight on c6 is its only defender. Instead of trading immediately or developing another piece, White plays 3.Bb5 — pinning the c6-knight to the e8-king along the a4-e8 diagonal (or rather, threatening to remove its defensive duty by eventually taking on c6). This single move creates lasting pressure on e5 and on the long-term health of Black's pawn structure, without committing White to any single plan. That flexibility — the ability to choose between a quiet strategic game, a sharp tactical fight, or a simplified endgame, all from the same third move — is why the Ruy López has survived unbroken at the elite level for over a century and a half.

1. e4 e5 2. Nf3 Nc6 3. Bb5

The starting position of the Ruy López. White has not yet committed to any specific plan — everything from a quiet maneuvering game to a direct attack is still on the table, which is exactly the point of 3.Bb5.

1. The Berlin Defense — the "Berlin Wall" that changed elite chess

After 3...Nf6, Black counter-attacks the e4-pawn instead of defending e5. The critical line runs 4.O-O Nxe4 5.d4 Nd6 6.Bxc6 dxc6 7.dxe5 Nf5 8.Qxd8+ Kxd8, and the queens are already off the board by move eight. For decades this endgame was considered slightly better for White but drawish and unambitious — until Vladimir Kramnik used it as his primary defense to neutralize Garry Kasparov's 1.e4 in their 2000 World Championship match. Kasparov, one of the greatest attacking players in history, could not break down the position even once in that match, and the "Berlin Wall" has been a top-level mainstay ever since.

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 Berlin Wall endgame: Black has lost the right to castle but has an extremely solid pawn structure and the bishop pair is neutralized by White's doubled c-pawns being matched by Black's own doubled c-pawns. This position has been played thousands of times at the top level and is notoriously difficult to win against with either color.

2. The Closed Ruy López (Chigorin Variation) — the main strategic battleground

If Black plays the far more common 3...a6 4.Ba4 Nf6 5.O-O Be7 6.Re1 b5 7.Bb3 d6, both sides castle and reach the Closed Ruy López. After 8.c3 O-O 9.h3 (preventing ...Bg4 pinning the knight) Black often plays 9...Na5, a move that looks strange — retreating the knight to the rim — but it serves a precise purpose: it attacks the bishop on b3 and prepares ...c5, gaining queenside space and challenging White's center. This is the Chigorin Variation, named after the great Russian player Mikhail Chigorin, and it produces some of the richest, most strategically complex middlegames in chess — long maneuvering battles where a single well-timed pawn break decides the game.

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 9. h3 Na5 10. Bc2 c5 11. d4 Qc7

The Chigorin Variation tabiya: Black has played ...Na5, ...c5 and ...Qc7, preparing to challenge White's center and expand on the queenside. White typically continues with Nbd2-f1-g3, maneuvering pieces toward the kingside for a long-term attacking plan.

3. The Marshall Attack — a pawn sacrifice for permanent initiative

Instead of 7...d6, Black can play the sharp 7...O-O 8.c3 d5!? — the Marshall Attack, a genuine pawn sacrifice first played by Frank Marshall against José Raúl Capablanca in 1918 (an ambush that Capablanca famously survived over the board). After 9.exd5 Nxd5 10.Nxe5 Nxe5 11.Rxe5, Black is down a pawn but gets a huge lead in development and dangerous, long-lasting attacking chances against the White king with moves like ...Bd6, ...Qh4 and ...Bb7, often for 15-20 moves at a time. It remains a fully sound, high-level weapon today — Grandmasters happily play both sides of it.

1. e4 e5 2. Nf3 Nc6 3. Bb5 a6 4. Ba4 Nf6 5. O-O Be7 6. Re1 b5 7. Bb3 O-O 8. c3 d5 9. exd5 Nxd5 10. Nxe5 Nxe5 11. Rxe5 c6

The Marshall Attack tabiya after 11.Rxe5 c6: Black is a pawn down but has an enormous initiative and a lasting attack. White must defend precisely for many moves before the extra pawn becomes relevant — a single inaccuracy can hand Black a winning attack.

4. The Exchange Variation — trading the bishop pair for a simpler game

After 3...a6, White can simply play 4.Bxc6, giving up the bishop pair immediately to damage Black's pawn structure with doubled c-pawns (4...dxc6). This is the Exchange Variation, made famous as a devastating weapon by Bobby Fischer, who used it to beat several strong grandmasters by steering the game toward a simplified position where Black's doubled pawns become a long-term liability, especially in the endgame. A common continuation is 5.O-O f6 (protecting e5 and preparing development) 6.d4 exd4 7.Nxd4, reaching a position where White's healthy majority of kingside pawns typically outweighs Black's bishop pair once most of the pieces are traded off.

1. e4 e5 2. Nf3 Nc6 3. Bb5 a6 4. Bxc6 dxc6 5. O-O f6 6. d4 exd4 7. Nxd4

The Exchange Variation: White has traded the bishop pair for a structural advantage — Black's doubled c-pawns cannot easily be repaired and become more significant the more pieces come off the board. This is a favorite choice of players who want a simpler, technical game with a small but very real long-term edge.

5. Anti-Marshall systems — how White avoids the Marshall Attack entirely

Because the Marshall Attack gives Black such reliable attacking chances, most elite players today avoid allowing it. Instead of the immediate 8.c3, White plays an Anti-Marshall move like 8.a4 (immediately challenging Black's queenside pawn chain) or 8.h3, both of which prevent Black from reaching the standard Marshall pawn sacrifice while keeping most of the Closed Ruy López's strategic ideas intact. These systems have become the main practical battleground of the Ruy López at the very top level — precisely because so few players want to face a well-prepared Marshall Attack over the board.

1. e4 e5 2. Nf3 Nc6 3. Bb5 a6 4. Ba4 Nf6 5. O-O Be7 6. Re1 b5 7. Bb3 O-O 8. a4

The Anti-Marshall move order: by playing 8.a4 instead of 8.c3, White sidesteps the Marshall Attack entirely while keeping a rich, strategic middlegame in prospect — the modern main line at elite level.

General plans: what each side is actually trying to do

  1. As White: keep the long-term pressure on e5 and the queenside — The bishop on b3 (after ...a6, Ba4-b3) eyes the f7-square for the whole game, and central breaks with d4 are usually prepared, not rushed.
  2. As Black: time your ...d5 or ...c5 break carefully — Passive play lets White consolidate the bishop's pressure and slowly improve every piece. A well-timed central or queenside break is how Black seizes the initiative.
  3. Both sides: learn the resulting pawn structures, not move lists — The Ruy López rewards understanding typical plans — knight reroutes, pawn breaks, rook lifts — far more than memorizing forced sequences, unlike sharper openings such as many Sicilian lines.
  4. Decide your Marshall policy in advance — As White, know whether you are playing 8.c3 (accepting the Marshall) or an Anti-Marshall (8.a4/8.h3) before the game starts — this single decision shapes your entire opening repertoire against 1...e5.

Which system should you actually learn?

If you want the lowest-maintenance, safest way to meet 1.e4 as Black, learn the Berlin Defense — a handful of moves gives you a rock-solid position against any World Champion. If you enjoy long strategic battles and patient maneuvering, the Closed Ruy López / Chigorin rewards that style directly. If you like sharp attacking chess and are willing to prepare in depth, the Marshall Attack is one of the most rewarding gambits in chess. And if you play White and want a safe, technical edge with less to memorize, the Exchange Variation is an excellent practical choice.

Import your games and see exactly which side of the Ruy López you already play — free Stockfish 18 analysis, no sign-up.