Ruy Lopez

The Ruy Lopez, or Spanish Opening, comes after 1.e4 e5 2.Nf3 Nc6 3.Bb5. White attacks the knight that guards e5, and a long strategic fight begins.

Main line1.e4 e5 2.Nf3 Nc6 3.Bb5ECO codes: C60–C99
Play a game

Ruy López de Segura, a Spanish priest, analysed the opening in his chess book of 1561, and it still carries his name. Its reputation came centuries later. In the nineteenth and twentieth centuries it turned into the main battleground of classical chess, nearly every world champion played it with both colours, and elite events still see it more than almost any other answer to 1...e5.

White’s pressure is indirect. Bb5 doesn’t threaten to win e5 right away, because after Bxc6 and Nxe5 Black gets the pawn back, but it keeps Black busy defending the centre. White normally castles, plays Re1, c3 and d4 for the ideal centre, and reroutes the queen’s knight via d2 and f1 to g3. The light-squared bishop often drops back to c2, where it backs up a kingside attack.

Most players answer with the Morphy Defense 3...a6, asking the bishop what it intends to do. After 4.Ba4 Nf6 5.O-O Black chooses between the Closed Spanish with 5...Be7 and the Open Spanish with 5...Nxe4, which gives livelier piece play. The Berlin Defense 3...Nf6 became famous as a drawing weapon in the 2000 world championship match, and its main line goes into a queenless middlegame. If Black wants a fight, there is the Schliemann 3...f5, or the Marshall Attack, where Black gives a pawn with 8...d5 for a strong initiative.

In the typical structure White’s pawns stand on d4 and e4 against Black’s e5 and d6, and there is play on both wings. White aims at the kingside, while Black looks for counterplay with ...c5, ...b4 or a well-timed ...d5. In the Exchange Variation 4.Bxc6 White gives up the bishop for a healthier pawn majority in the endgame. A well-known trap is Noah’s Ark. After an early d4 and a careless Qxd4, Black wins the bishop on b3 with ...c5 and ...c4.

Nobody takes up the Ruy Lopez as a quick weapon. People keep it for decades, and the more games you play with it, the more you learn about chess in general, because the long manoeuvring battles force you to understand pawn structures and piece placement. Club players can start with the simpler lines and the Exchange Variation and leave the Closed systems, where the theory goes on and on, for later.

Main variations

Questions and answers

Is the Ruy Lopez good for beginners?

It is one of the best openings for learning classical principles. Start with the basic plans and the simpler lines, and add theory bit by bit as your understanding grows.

What is the main line of the Ruy Lopez?

It is the Closed Spanish, 3...a6 4.Ba4 Nf6 5.O-O Be7 6.Re1 b5 7.Bb3 d6 8.c3 O-O 9.h3, after which Black picks one of several well-known systems.

How do I play against the Ruy Lopez as Black?

Most players go for the Morphy Defense 3...a6. The Berlin Defense 3...Nf6 is a very reliable alternative, and for sharper play there are the Marshall Attack and the Schliemann.

All openings