Ruy Lopez
- ECO code
- C60
- Moves
- 1. e4 e5 2. Nf3 Nc6 3. Bb5
Create a free account to add the Ruy Lopez to a repertoire and start drilling it. Already have one? Sign in.
About the Ruy Lopez
The Ruy Lopez, or Spanish Opening (1. e4 e5 2. Nf3 Nc6 3. Bb5), is one of the oldest and most deeply analyzed openings in chess.
White puts pressure on the knight that defends e5 and builds a slow, lasting initiative. Black's main defenses are the Morphy Defense with 3...a6, the Berlin Defense with 3...Nf6, and the Marshall Attack, a pawn sacrifice in the Closed lines.
Main ideas
For White
- Put pressure on the e5 pawn indirectly: Bb5 attacks its defender, the c6 knight.
- In the main lines, castle, play Re1, c3 and d4 to build a strong center, then maneuver the queenside knight via d2 and f1 to g3.
- Keep the light-squared bishop on the a2-g8 diagonal (Bb3); when ...Na5 chases it, retreat to c2, where it eyes Black's kingside along the b1-h7 diagonal.
- The Exchange Variation (4. Bxc6) gives Black doubled c-pawns and a simpler, endgame-oriented game.
For Black
- Hold the e5 pawn: the Morphy Defense (3...a6) and the Berlin (3...Nf6) are the main ways to do it.
- Gain queenside space with ...a6, ...b5 and ...c5, and use it to fight for d4.
- The Marshall Attack (8...d5) gives up a pawn for a dangerous kingside attack if White allows it.
- In the Berlin, accept a queenless middlegame with the bishop pair and a very solid position.
Pawn structure
1. e4 e5 2. Nf3 Nc6 3. Bb5 leads to a closed or semi-open center where both sides keep their e-pawns for a long time. White's aim is d4 with a strong center; Black's is to hold e5 and gain queenside space. The middlegames are long and strategic, and its theory is the most extensively developed of all the open games.
Traps and common mistakes
Noah's Ark Trap
1. e4 e5 2. Nf3 Nc6 3. Bb5 a6 4. Ba4 d6 5. d4 b5 6. Bb3 Nxd4 7. Nxd4 exd4 8. Qxd4 c5 9. Qd5 Be6 10. Qc6+ Bd7 11. Qd5 c4
After 4...d6 5. d4 b5 6. Bb3 Nxd4 7. Nxd4 exd4, the natural 8. Qxd4?? walks into it: 8...c5 and ...c4 trap the bishop on b3, and Black wins it for a couple of pawns. Capablanca won this way against Steiner at Budapest 1929. White should play 8. Bd5 or the gambit 8. c3 instead.
Grabbing e5 in the Exchange Variation
1. e4 e5 2. Nf3 Nc6 3. Bb5 a6 4. Bxc6 dxc6 5. Nxe5 Qd4 6. Nf3 Qxe4+
After 4. Bxc6 dxc6 the e5 pawn looks loose, but 5. Nxe5? Qd4! attacks the knight and e4, and Black wins the pawn back with the bishop pair. That's why White castles first in the Exchange Variation.
Who should play the Ruy Lopez?
Players with White who want a rich, strategic game and are ready to learn plans that last into the endgame. It is demanding but rewarding, and it remains one of the main ways top players try to win with 1. e4.
History
Named after the Spanish priest Ruy López de Segura, who wrote about it in his book of 1561, which is why it is also called the Spanish Game. Frank Marshall made his attack famous against Capablanca at New York 1918, and Vladimir Kramnik's use of the Berlin to neutralize Garry Kasparov's 1. e4 in their 2000 world championship match made that defense fashionable again.
Ruy Lopez statistics
The Ruy Lopez was reached in 826.2K master games (3.8% of all master games), and White scored 52% from there. On Lichess it comes up in 1.8% of games, most often among players rated 1001–1200 (2.3%).
Master games
826.2K
3.8% of games between players rated 2500+
Club games on Lichess
4.6M
1.8% of games between players rated up to 2400
White wins Draws Black wins
How often it comes up, by rating
- 0–1000 1.6%
- 1001–1200 2.3%
- 1201–1400 2.3%
- 1401–1600 2.0%
- 1601–1800 1.7%
- 1801–2000 1.4%
- 2001–2200 1.3%
- 2201–2400 1.1%
Most common next moves in master games
| Move | Games | Played | Results |
|---|---|---|---|
| 3... a6 | 499.9K | 61% | |
| 3... Nf6 | 219.3K | 27% | |
| 3... f5 | 31,748 | 3.8% | |
| 3... Nge7 | 23,868 | 2.9% | |
| 3... Bc5 | 19,349 | 2.3% |
Famous players with the most games here
- Daniel Naroditsky 4,951 games
- Hikaru Nakamura 2,833 games
- Chessbrah 1,105 games
- Fabiano Caruana 1,093 games
- Wesley So 925 games
- Alireza Firouzja 794 games
Master games from the Chessmont database (CC BY-SA 4.0). Club games from the Lichess open database.
Main variations
- Morphy Defense
C70 · 1. e4 e5 2. Nf3 Nc6 3. Bb5 a6
Black asks the bishop's intentions with 3...a6. It is the most common reply and leads to the main lines of the Ruy Lopez.
- Berlin Defense
C65 · 1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6
Black counterattacks e4 with 3...Nf6. The Berlin endgame became famous when Kramnik used it to hold Kasparov's 1. e4 in their 2000 World Championship match, which Kramnik won.
- Marshall Attack
C89 · 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
In the Closed Ruy Lopez Black gives up a pawn with ...d5 for a strong attack on White's king. Many top players avoid it with anti-Marshall moves.
- Exchange Variation
C68 · 1. e4 e5 2. Nf3 Nc6 3. Bb5 a6 4. Bxc6
White takes on c6, damaging Black's pawns in return for the bishop pair. White hopes to reach a favorable endgame.
Related openings
- Italian Game
C50 · 1. e4 e5 2. Nf3 Nc6 3. Bc4
The Italian Game (1. e4 e5 2. Nf3 Nc6 3. Bc4) aims the bishop at f7, Black's weakest square, and develops quickly towards castling.
- Scotch Game
C44 · 1. e4 e5 2. Nf3 Nc6 3. d4
The Scotch Game (1. e4 e5 2. Nf3 Nc6 3. d4) opens the center straight away instead of building up slowly as in the Ruy Lopez.
- Petrov's Defense
C42 · 1. e4 e5 2. Nf3 Nf6
Petrov's Defense (1. e4 e5 2. Nf3 Nf6) counterattacks White's e-pawn instead of defending Black's own, aiming for a solid, symmetrical game.
- King's Gambit
C30 · 1. e4 e5 2. f4
The King's Gambit (1. e4 e5 2. f4) offers a pawn to open the f-file and take the center.