For White· ECO C60–C99· advanced

Ruy Lopez

The king of 1.e4 openings. Deep theory, long-term pressure, grandmaster-tested.

1.e4 e5 2.Nf3 Nc6 3.Bb5

Ruy Lopez starting position after 1.e4 e5 2.Nf3 Nc6 3.Bb5

What is the Ruy Lopez?

Named after the 16th-century Spanish priest Ruy López de Segura, the Ruy Lopez starts with 1.e4 e5 2.Nf3 Nc6 3.Bb5, attacking the c6 knight that defends e5. It's the most respected of all 1.e4 openings, deep strategic theory, rich middlegame plans, and unmatched staying power at the top level. Fischer, Kasparov, Anand, and Carlsen have all used it as their primary White weapon. But the theory load is steep: you need preparation against the Berlin Defense, Marshall Attack, Closed Variation, and Breyer System. If you have 2000+ ELO and time to study, the Ruy Lopez rewards you with the deepest positional chess in any 1.e4 opening.

Main variations

Each variation below comes with a diagram and the main plan. Click "Train this opening" to drill every line with spaced repetition.

Closed (Morphy Defense)

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

Ruy Lopez Closed (Morphy Defense) after 3...a6 4.Ba4 Nf6 5.O-O Be7 6.Re1 b5 7.Bb3 d6 8.c3
Main line: 8...O-O 9.h3 Na5 10.Bc2 c5 11.d4

The main line. White prepares d4, maneuvers Nb1-d2-f1-g3, and plays for a slow kingside attack. Rich positional battles with many branches (Breyer, Chigorin, Zaitsev).

Berlin Defense

1.e4 e5 2.Nf3 Nc6 3.Bb5 3...Nf6

Ruy Lopez Berlin Defense after 3...Nf6
Main line: 4.O-O Nxe4 5.d4 Nd6 6.Bxc6 dxc6 7.dxe5 Nf5 8.Qxd8+ Kxd8

The 'Berlin Wall'. After 4.O-O Nxe4 5.d4 Nd6 6.Bxc6 dxc6 7.dxe5 Nf5 8.Qxd8+ Kxd8, we reach a queenless middlegame requiring endgame precision. Kramnik's weapon against Kasparov in 2000.

Marshall Attack

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

Ruy Lopez Marshall Attack after 3...a6 4.Ba4 Nf6 5.O-O Be7 6.Re1 b5 7.Bb3 O-O 8.c3 d5
Main line: 9.exd5 Nxd5 10.Nxe5 Nxe5 11.Rxe5 c6 12.d4 Bd6

Black sacrifices a pawn for a massive attack on the kingside. After 9.exd5 Nxd5 10.Nxe5 Nxe5 11.Rxe5 c6, Black gets dangerous attacking chances.

Exchange Variation

1.e4 e5 2.Nf3 Nc6 3.Bb5 3...a6 4.Bxc6 dxc6

Ruy Lopez Exchange Variation after 3...a6 4.Bxc6 dxc6

White gives up the bishop pair for a better pawn structure. Fischer's favorite Anti-Ruy weapon when he wanted to avoid Marshall theory.

How deep should you study this?

Below 1800

Consider the Italian Game instead. The Ruy Lopez demands too much preparation for the rating you face, your time is better spent on tactics.

1800–2000

Start with the Exchange Variation (4.Bxc6). Low theory, solid positional edge, sidesteps the Berlin and Marshall.

2000+

Invest in the Closed Ruy Lopez. Learn your response to Berlin, Marshall, Breyer, and Chigorin. The opening rewards deep study.

Frequently asked questions

Is the Ruy Lopez good for beginners?

No, the Ruy Lopez has the deepest theory of any 1.e4 opening. Black's defenses (Berlin, Marshall, Closed, Breyer) each require separate preparation. Beginners should play the Italian Game or Scotch Game until they reach 1800+ ELO.

What is the Berlin Wall?

The Berlin Defense (3...Nf6) leads to a queenless middlegame after 4.O-O Nxe4 5.d4 Nd6 6.Bxc6 dxc6 7.dxe5 Nf5 8.Qxd8+ Kxd8. Black has the bishop pair but lost castling rights. Kramnik used it to neutralize Kasparov's 1.e4 in the 2000 World Championship. Requires deep endgame technique.

How do I avoid the Berlin Defense?

Play 4.d3 instead of 4.O-O (Anti-Berlin). This sidesteps the queenless middlegame and leads to a slower, strategic game. Alternatively, play the Italian Game or Scotch Game if you want to avoid Berlin theory entirely.

Is the Ruy Lopez better than the Italian Game?

At the top level: yes, the Ruy Lopez is considered theoretically superior. At club level: not necessarily, the Italian Game gives faster practical results with less study time. Choose based on your rating and study budget.

Who plays the Ruy Lopez at the top level?

Everyone. Carlsen, Caruana, Ding, Nepomniachtchi, Anand, and Kasparov have all used the Ruy Lopez as a primary White weapon. It's played in almost every World Championship match.

Deep dive
Read our full Ruy Lopez guide →

Ready to train the Ruy Lopez?

Every variation above is a drill on ChessAtlas. Spaced repetition schedules each move so you never forget a line again. Free to start — no credit card.