Ruy Lopez
Updated
Key takeaways
- The Ruy Lopez starts 1. e4 e5 2. Nf3 Nc6 3. Bb5, and the bishop attacks the knight that defends Black’s e5 pawn.
- The Ruy Lopez builds quiet, lasting pressure: White castles, prepares d4 and tries to make Black’s position slowly uncomfortable.
- The Ruy Lopez, also called the Spanish Game, is named after Ruy López de Segura, a 16th-century Spanish priest who wrote a chess book in 1561[2].
- The Morphy Defense, 3... a6, is by far the main reply to the Ruy Lopez, played in about two thirds of all games that start with it[2].
- The Berlin Defense, 3... Nf6, has a reputation as a solid drawing weapon[2], and Kramnik used it in the 2000 Classical World Championship against Kasparov[2].
- The Ruy Lopez rewards players who like to understand a plan rather than memorise tricks, because its middlegames are slower than in many other openings.
The Ruy Lopez starts 1. e4 e5 2. Nf3 Nc6 3. Bb5. The bishop attacks the knight that defends Black’s e5 pawn, which builds quiet, lasting pressure rather than an instant threat. White castles, prepares d4 and tries to make Black’s position slowly uncomfortable. It is also called the Spanish Game, after the Spanish priest it is named for.
After 5... Be7 (10 of 10)
What does each move do in the Ruy Lopez?
The Ruy Lopez main line is 1. e4 e5 2. Nf3 Nc6 3. Bb5 a6 4. Ba4 Nf6 5. O-O Be7, and the table gives the job of each move.
| Move | What it does |
|---|---|
| 1. e4 (White) | White claims the centre and frees the queen and the bishop on f1. |
| 1... e5 (Black) | Black takes an equal share of the centre and frees the bishop on f8. |
| 2. Nf3 (White) | The knight develops and attacks the pawn on e5. |
| 2... Nc6 (Black) | Black defends e5 with a developing move. |
| 3. Bb5 (White) | The bishop attacks the knight that guards e5. This is the move that makes it the Ruy Lopez. |
| 3... a6 (Black) | The Morphy Defense: Black asks the bishop to decide straight away[2]. |
| 4. Ba4 (White) | White keeps the bishop and keeps the pressure on the knight on c6. |
| 4... Nf6 (Black) | Black develops and attacks the pawn on e4. |
| 5. O-O (White) | White castles first; the e4 pawn can be defended or won back later. |
| 5... Be7 (Black) | Black prepares to castle and keeps the position solid. This is the start of the Closed Ruy Lopez[1]. |
What is White aiming for in the Ruy Lopez?
White’s main aims in the Ruy Lopez are these.
- Keep pressure on e5. The bishop on b5, and later on a4 or b3, makes Black think about the knight on c6 every move.
- Castle early, then build the centre with c3 and d4. White wants two pawns in the middle supported by pieces, not a quick knockout.
- Retreat the bishop to a4 and b3 when it is asked, rather than giving it up. On b3 it aims at f7, the weakest point near Black’s king.
- Play the long game. A rook on e1, a knight that travels from b1 to d2, f1 and g3, and a slow kingside push are typical plans.
What is Black aiming for in the Ruy Lopez?
Black’s main aims in the Ruy Lopez are these.
- Ask the bishop a question with 3... a6. It costs nothing, because White can’t simply win the e5 pawn yet.
- Develop with ...Nf6 and ...Be7, castle, and keep the pawn on e5 as long as you can. It is Black’s share of the centre.
- Gain space on the queenside with ...b5 once the bishop has gone to a4, then put the queen’s bishop on b7 where it eyes the centre.
- Be patient. Black’s position is solid but a little cramped, and the player who lashes out first usually regrets it.
What are the plans in the Ruy Lopez?
The Ruy Lopez plans shown here are “White’s set-up in the Closed Ruy Lopez” and “Black’s counterplay on the queenside”.
White’s set-up in the Closed Ruy Lopez
The Closed Ruy Lopez after 9. h3[1]. White prepares d4 with c3, and h3 stops a bishop from pinning the knight from g4. The knight on b1 heads for d2 and f1, and the bishop on b3 keeps aiming at f7.
Black’s counterplay on the queenside
From the same position Black usually plays ...Na5 to chase the bishop off b3, then ...c5 to gain space on the queenside and lean on d4 before White can settle a pawn there.
What is 3. Bb5 really doing in the Ruy Lopez?
At first sight White threatens to take on c6 and then win the e5 pawn, because the knight that guarded it is gone. In fact White’s third move carries no immediate threat, and that apparent pawn win is an illusion[2]. The Exchange Variation below shows why.
The real point is long-term. The bishop keeps a piece trained on Black’s queenside and on the knight that holds the centre together. Black usually has to spend time dealing with it, and White uses that time to castle and prepare d4.
Who was the Ruy Lopez named after?
The Ruy Lopez is named after Ruy López de Segura, a 16th-century Spanish priest who wrote a chess book, Libro del Axedrez, in 1561[2]. He preferred 3. Bb5 to 3. Bc4, but the move is older than his book: it already appears in the Göttingen manuscript from around 1490[2].
Because Black often has a hard time reaching full equality, players also call it the Spanish Torture[2]. It has long been regarded as the most important of the open games at master level, and it is still played regularly at the top[2].
What is the Morphy Defense in the Ruy Lopez?
The Morphy Defense, 3... a6, is named after Paul Morphy, who played it in his 1858 match against Adolf Anderssen, although he didn’t invent it; its first mention is credited to Ercole del Rio in 1750[2]. It is by far the main reply, played in about two thirds of all games that start with the Ruy Lopez[2].
The idea is simple. Black makes the bishop decide straight away: take on c6, or retreat to a4 and keep the tension. After 4. Ba4 Black can later drive the bishop again with ...b5, gaining space on the queenside with tempo.
Is the Ruy Lopez good for beginners?
Yes, the Ruy Lopez is good for beginners if you like to understand a plan rather than memorise tricks. The first moves are pure opening principles: develop, castle, fight for the centre. The middlegames are slower than in many other openings, so you have time to think.
The catch is that the positions reward patience. If you want early attacking chances, the Italian Game with 3. Bc4 gets the bishop to f7’s diagonal at once, and it is a fine place to start before moving on to the Ruy Lopez.
Which Ruy Lopez positions should you know?
The three key Ruy Lopez positions below come from the main line, in move order.
What are the main Ruy Lopez variations?
The main Ruy Lopez variations covered here are “Berlin Defense” and “Exchange Variation”.
Berlin Defense
1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6
Black ignores the bishop and attacks e4 straight away. The Berlin has a reputation as a solid drawing weapon[2]: Kramnik used it in the 2000 Classical World Championship and held four of Kasparov’s eight games with White to a draw with it[2]. Both traps below start from this position.
Exchange Variation
1. e4 e5 2. Nf3 Nc6 3. Bb5 a6 4. Bxc6 dxc6
White gives up the bishop for the knight and doubles Black’s c-pawns. Grabbing the e5 pawn now with 5. Nxe5 doesn’t work, because 5... Qd4 attacks the knight and the e4 pawn at the same time and wins the pawn back[2]. White usually castles first and plays for the better pawn structure in the endgame.
Which Ruy Lopez traps should you know?
The Ruy Lopez traps to know are “Fishing Pole Trap” and “Discovered check on the e-file”, each shown move by move.
Fishing Pole Trap
1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Ng4 5. h3 h5 6. hxg4?? hxg4 7. Nxe5 Qh4 8. f4 g3 9. Qh5 Qxh5 10. Bxc6 Qh1#
Black’s 4... Ng4 is the bait and 5... h5 is the hook[3]. Taking the knight with 6. hxg4 is the blunder, because it opens the h-file toward White’s king[3]. After 6... hxg4 the knight on f3 is attacked, and retreating it with 7. Nh2 runs into 7... Qh4 and a winning attack on White’s king[3]. Grabbing a pawn with 7. Nxe5 is no better: after 7... Qh4 mate can’t be stopped, and here it ends with the queen landing on h1, backed by the rook. The safe answer to 4... Ng4 is simply to leave the knight alone.
Discovered check on the e-file
1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Nxe4 5. Re1 Nd6 6. Nxe5 Nxb5?? 7. Nxc6+ Be7 8. Nxd8
In the Berlin, Black takes on e4 and White’s rook arrives on the open e-file. With the knight on e5 standing between the rook and Black’s king, taking the bishop with 6... Nxb5 is a mistake: 7. Nxc6+ moves the knight out of the way with check from the rook and attacks the queen on d8 at the same time. Black has to deal with the check, and the queen falls. Leaving the bishop and playing 6... Be7 keeps everything protected.
Practise with Professor Hoot
Professor Hoot’s style weights reward developing moves, castling and moves into the centre, and he avoids sacrifices, so his games look like the calm, principled positions the Ruy Lopez aims for. He plays at about 1300, which leaves room to try the plans above and see whether your pressure on e5 leads anywhere.
Our bots don't play from an opening book, so they won't steer into this line on their own. Play the first moves yourself and see how they answer.
Professor Hoot · ~1300
Related openings
- Italian GameWhite’s bishop goes to c4 on move three and points straight at f7.
- Scotch GameWhite opens the centre on move three with d4 and gets free, active pieces.
- Ponziani OpeningWhite plays 3. c3 to prepare d4 and a two-pawn centre, with an early queen to a4 in mind.
- King’s GambitWhite offers the f-pawn on move two to open lines and race for the centre.
Lessons that help
- Castling in chessKing two squares toward a rook, rook hops over. Not out of, through or into check.
- What is a discovered attack in chess?Move one piece aside to uncover an attack by the piece behind it.
- What is a pin in chess?A piece can’t move safely, because something more valuable stands behind it.
Questions people ask
- Why is it called the Ruy Lopez?
- It is named after Ruy López de Segura, a Spanish priest who wrote a chess book in 1561 and recommended 3. Bb5. That is also why it is called the Spanish Game.
- Is the Ruy Lopez good for beginners?
- Yes, if you enjoy slow plans. The first moves follow the opening principles exactly, and the positions give you time to think. Beginners who want faster attacks often start with the Italian Game instead.
- What is the difference between the Ruy Lopez and the Italian Game?
- Both start 1. e4 e5 2. Nf3 Nc6. The Ruy Lopez continues 3. Bb5 and pressures the knight that guards e5. The Italian Game continues 3. Bc4 and aims the bishop at f7 near Black’s king.
- Can White win the e5 pawn with Bxc6 and Nxe5?
- Not straight away. After 4. Bxc6 dxc6 5. Nxe5 Black plays 5... Qd4, attacking the knight and the e4 pawn, and wins the pawn back.
- What is the Berlin Defense?
- It is 3... Nf6, attacking e4 instead of chasing the bishop. It has a reputation as a very solid defence, hard for White to break down.
Sources
- Lichess opening table (lichess-org/chess-openings), C60 to C99, checked 6 November 2026
- Ruy Lopez, Wikipedia, checked 6 November 2026
- Fishing Pole Trap, Wikipedia, checked 6 November 2026