Home/Openings/Ruy Lopez
1.e4 e5 2.Nf3 Nc6 3.Bb5 · ECO C60-C99

Ruy Lopez

The most important of the open games, and the most deeply analyzed. Nearly every master has played the Spanish at some point, often with both colors.

1.e4 e5 2.Nf3 Nc6 3.Bb5
First moves1.e4 e5 2.Nf3 Nc6 3.Bb5
ECO codesC60-C99
Also known asThe Spanish Opening / Spanish Game
CharacterStrategic, slow-building, deeply mapped
Best forPlayers who want a lifetime opening with 1.e4

Tap a move to see it on the board. Open any line on the analysis board, or play it out against a bot from where it ends.

Related openings

What 3.Bb5 actually threatens

The bishop attacks the knight that defends e5, but the immediate does not win a pawn, because forks the knight and e4. So the first thing to know about the Spanish is that the threat is positional: White is building long-term pressure on e5 and gaining time.

After , Black can play whenever the bishop's pressure on the c6 knight becomes a nuisance. That push loosens Black's queenside, and the trade-off runs through the whole opening.

The main branches

  • Closed Spanish: after , White's signature plan is the knight tour (or e3), which regroups behind the pawn chain before White plays on the kingside. Black expands on the queenside with and .
  • Berlin Defense (): reaches the famous Berlin endgame. The queens are off by move eight, Black's king sits on d8, and Black's doubled c-pawns face White's kingside majority. Kramnik used it to take the world title from Kasparov in 2000.
  • Exchange Variation (): White gives up the bishop pair to double Black's c-pawns. That leaves White a 4-3 kingside majority, while Black's queenside majority is crippled. White then plays for the endgame. It is a practical choice that needs little theory.
  • Marshall Attack: Black sacrifices a pawn with for a long-lasting attack. It is sound but takes a lot of memorizing, so White often sidesteps it with an Anti-Marshall such as or .

Learning the Spanish without drowning

The Ruy Lopez has more theory than any other opening, but you do not need it to start. Learn the first six moves, the reason for , and one plan for the middlegame (the regrouping for White; and for Black). You can pick up the rest game by game.

Replay a classic Spanish on the analysis board (Karpov's games are a good place to start) and stop at each branch to check the explorer for what is played today.

Frequently asked questions

Why is it called the Ruy Lopez?

After Ruy Lopez de Segura, a 16th-century Spanish priest who analyzed in a 1561 book on chess. It is also simply called the Spanish Opening.

Is the Ruy Lopez good for beginners?

The first moves are natural and instructive (develop, attack a defender, castle), so it teaches good habits. The deep theory only matters once your opponents know it too. The Italian Game is a slightly gentler start with the same open-game principles.

What is the Berlin Wall?

The endgame after . Black has the bishop pair and a very solid position but a displaced king and damaged pawns; it is extremely hard for White to break down, hence the nickname.