Openings · Improver

Ruy Lopez Variations (Berlin, Closed, Exchange & More)

A tour of the major Ruy Lopez variations — the Morphy and Closed, the Berlin Wall, the Exchange, the Open, and the Marshall Attack — with the moves, the core idea, and who each one favors.

The Ruy Lopez isn’t one opening so much as a sprawling family — its ECO range runs all the way from C60 to C99, which is huge. Black gets to pick the character of the game right at move three or four, and each major variation has its own personality. Here’s the map.

The variations at a glance

VariationKey movesPersonalityWho it favors
Morphy Defence3…a6 4.Ba4The main roadBalanced, rich
Closed Ruy…Nf6, …Be7, …b5, …d6, …0-0Slow strategic squeezeSlight edge, White
Exchange4.Bxc6 dxc6Structural endgame battleRoughly equal
Berlin Defence3…Nf6Solid, drawish “Wall”Very balanced
Open Variation…Nxe4 (after 5.0-0)Sharp, piece playDouble-edged
Marshall Attack8…d5 (pawn sac)Black’s big counterattackDynamic, equalish

The Morphy Defence (3…a6) — the main road

After 3…a6, White retreats with 4.Ba4 to keep the pin. This is the launchpad for most of Spanish theory.

The Morphy Defence after 3...a6 4.Ba4.

From here the game most often flows into the Closed Ruy below — but the Open Variation and several sidelines branch off too. The little …a6 nudge is the most-played move in the entire opening for good reason: it keeps every option open.

The Closed Ruy Lopez — the strategic heavyweight

This is the main line. Black builds a sturdy fortress with …Nf6, …Be7, …b5, …d6, …0-0 and White answers with c3, d4, h3 — then the slow maneuvering begins.

Move Player

Step through the line

Move by move — press Next to advance, Back to rewind.

Move 0 / 23 Press Next to begin

A typical Closed Ruy with the Chigorin ...Na5 and White's signature Nbd2 regroup.

The core idea: White wants the Nbd2–f1–g3 knight tour to perfect the pieces, then play in the center or against the king. This is the Spanish Torture — patient pressure over 40 moves. It’s a small but durable edge for White and an absolute schooling in strategy for both sides. (See the move-by-move guide for the step-by-step.)

Black has several named setups inside the Closed:

  • Chigorin (9…Na5) — knight to c4, queenside play with …c5.
  • Breyer (9…Nb8) — reroute the knight via d7; ultra-solid.
  • Zaitsev (9…Bb7) — develop the bishop and pressure e4.

The Exchange Variation (4.Bxc6)

White just trades on c6: 4.Bxc6 dxc6. White surrenders the bishop pair, but Black gets doubled c-pawns and a slightly compromised structure.

The Exchange Variation after 4.Bxc6 dxc6 — Black has the bishop pair, White has the better pawn majority.

White’s dream is a favorable endgame: if all the pieces come off, White’s healthy 4-vs-3 kingside majority can make a passed pawn, while Black’s doubled c-pawns can’t. Fischer revived this line by inserting 5.0-0 before grabbing at the structure. The trade-off (bishop pair vs. structure) keeps it roughly equal but very playable.

The Berlin Defence (3…Nf6) — the Wall

Black ignores the threat to c6 and counterattacks e4 immediately. After 4.0-0 Nxe4 5.d4, the famous queen trade often follows, heading into the “Berlin Wall” endgame.

Move Player

Step through the line

Move by move — press Next to advance, Back to rewind.

Move 0 / 16 Press Next to begin

The Berlin Wall — queens come off early and Black's king sits on d8, but the position is rock-solid.

It looks scary for Black — king stuck on d8, can’t castle — but it’s incredibly hard to break down. Black has the bishop pair and a solid structure; White has a kingside majority and a slight pull. Kramnik used the Berlin to frustrate Kasparov into a drawn match in 2000, and it’s been a top-level drawing weapon ever since.

The Open Variation (…Nxe4)

In the Morphy, Black can grab the e4-pawn after castling: 5…Nxe4. White hits back with 6.d4, and the game opens up into lively piece play.

Move Player

Step through the line

Move by move — press Next to advance, Back to rewind.

Move 0 / 16 Press Next to begin

The Open Ruy Lopez — Black takes on e4 and accepts a sharper, more open game.

Black gets active pieces and a freer game than in the Closed, but White’s lead in development and pressure keep it sharp and double-edged. It’s a great choice if you (as Black) hate being slowly squeezed and would rather fight tactically.

The Marshall Attack (8…d5)

The boldest line of all. In the Closed move order, Black sacrifices a pawn with 8…d5!? to rip open the center and launch a kingside attack.

Move Player

Step through the line

Move by move — press Next to advance, Back to rewind.

Move 0 / 22 Press Next to begin

The Marshall Attack — Black gives up a pawn for a raging initiative against White's king.

Black is down a pawn but gets a long-lasting initiative and dangerous attacking chances. It’s so respected that many White players sidestep it entirely with “Anti-Marshall” moves like 8.a4 or 8.h3 instead of allowing 8.c3 d5. Theory says White is holding the extra pawn, but over the board the Marshall has scored plenty of scalps.

So which variation should you study?

  • Playing White and want the full experience? Learn the Closed Ruy — it’s the heart of the opening.
  • Want fewer headaches? The Exchange Variation sidesteps a ton of Black’s theory.
  • Playing Black and want solidity? The Berlin is the gold-standard equalizer.
  • Playing Black and want to attack? The Marshall or the Open are your fighting choices.

Curious how to actually beat the Spanish from the black side? See how to beat the Ruy Lopez. And don’t miss the traps page — some of these lines hide nasty tricks.

FAQ

What is the most popular Ruy Lopez variation? The Morphy Defence (3…a6 4.Ba4) leading into the Closed Ruy Lopez is the most common at every level.

Is the Berlin Defence really that drawish? At elite level it has a strong drawing reputation thanks to the solid “Berlin Wall” endgame. Below master level, plenty of winning chances remain for both sides.

What’s the difference between the Closed and Open Ruy Lopez? In the Closed, Black keeps the center intact and gets slowly squeezed; in the Open, Black captures on e4 (5…Nxe4) for a sharper, more open, piece-driven game.

Why do some White players avoid the Marshall Attack? The Marshall (8…d5) gives Black a strong, well-analyzed initiative for a pawn. Many White players prefer “Anti-Marshall” moves like 8.a4 or 8.h3 to dodge that theory.

Keep climbing

If the names are blurring together, anchor yourself with the Ruy Lopez overview and the broader opening principles. Then return to the openings hub to compare the Spanish with its cousins like the Italian Game.


Written and fact-checked by the Chess Lab Academy Editorial Team (AI-assisted, human-edited) · Lines checked against mainstream opening theory and verified with Stockfish 17 · ECO C60–C99 · Last verified 2026-06-25 · Sources · How we verify content.

About this lesson — Chess Lab Academy's editorial team researches, writes, and fact-checks every lesson. Content is drafted with AI assistance and every move is engine-verified before publishing — see our methodology. Read our methodology →
Verification — engine-verified (Stockfish 17) + mainstream opening theory; ECO C60–C99 · Last verified June 25, 2026
Puzzles — from the Lichess open database (CC0), each engine-verified at the source.
Samurai Warlords ChessLive 3D chess with skins & rewards
Get the app