Ruy Lopez (Spanish Opening)
- Moves
- 1.e4 e5 2.Nf3 Nc6 3.Bb5
- Chosen by
- White
- Suits
- Players who enjoy long-term pressure and want an opening they can keep for life
The Ruy Lopez, also called the Spanish Opening, is one of the oldest and most respected openings in chess. White develops a bishop to b5, where it attacks the knight that defends Black's e5 pawn. The threat isn't immediate, but the pressure lasts the whole game, and that slow squeeze is what makes the Ruy Lopez so popular from club level to world championship matches.
It starts with 1.e4 e5 2.Nf3 Nc6 3.Bb5.
How to reach it, move by move
- 1.e4 e5 both sides take a share of the centre.
- 2.Nf3 attacks e5. 2...Nc6 defends it.
- 3.Bb5 attacks the defender. If the bishop ever takes on c6, the e5 pawn loses its guard.
A common beginner question: does 3.Bb5 threaten to win a pawn right away? Not yet. If White plays Bxc6 and Nxe5 immediately, Black has ...Qd4, hitting the knight and the e4 pawn, and wins the pawn back. That is why the main lines are about pressure, not a quick grab.
Who it suits
The Ruy Lopez suits patient players who like to build up and squeeze. White usually castles quickly, plays c3 and d4, and slowly improves. You need a bit more understanding than in the Italian Game, but the ideas repeat from game to game. It is a lifetime opening: what you learn at 1000 still matters at 2000.
Main variations
1. Morphy Defence, closed main line: 3...a6
Black asks the bishop a question straight away. White retreats to a4, keeping the pin idea alive.
In plain language: White castles, protects e4 with the rook, and prepares d4 with c3. The move h3 stops ...Bg4, which would pin the f3 knight and pressure d4. Black has gained space on the queenside with ...a6 and ...b5, and keeps e5 solid with ...d6. This is the classic "closed" Spanish, a slow manoeuvring game.
2. Exchange Variation: 4.Bxc6
White gives up the bishop pair to damage Black's pawns.
White's idea is long-term: Black has doubled c-pawns, so in an endgame White's healthy kingside majority can make a passed pawn while Black's queenside majority can't. Black has the two bishops and open lines in return. This is a good choice for White players who like simple positions and endgames.
3. Berlin Defence: 3...Nf6
Black counter-attacks e4 instead of asking the bishop a question.
Queens come off early and Black's king loses the right to castle, but Black has the bishop pair and a very solid position. Vladimir Kramnik used it to take the world title from Garry Kasparov in 2000, and since then it has been called the "Berlin Wall". For beginners this endgame is hard to play well for either side; if you play White, 4.d3 is a simpler way to meet the Berlin.
4. Open Ruy Lopez: 5...Nxe4
In the Morphy Defence, Black can take the e4 pawn on move five.
Black's knight sits actively in the centre and Black gets free piece play; in return the pawn structure is looser. It is a good choice for Black players who prefer activity to the slow closed lines.
Plans for White
- Castle, Re1, c3 and d4. This is the backbone of almost every line: a strong pawn centre supported by pieces.
- Keep the light-squared bishop. After ...a6 and ...b5 it retreats to b3 and later c2, where it supports the centre and aims at the kingside.
- Knight manoeuvre Nb1-d2-f1-g3. The standard route to bring the queen's knight towards Black's king in the closed lines.
- Play on the queenside with a4 when Black has played ...b5, to open the a-file for the rook.
Plans for Black
- Keep e5 solid. Most Ruy Lopez losses start with Black giving up the centre for nothing. ...d6 and ...Re8 hold it.
- Gain space with ...a6 and ...b5. It removes the pin and gives Black queenside play.
- Free the game with ...d5 or ...c5 at the right moment, usually after castling.
- Watch for Bxc6 followed by Nxe5. Whenever the e5 pawn is defended only by the c6 knight, check whether that trade wins it.
Common beginner mistakes
- White grabs the e5 pawn too early. After 3...a6 4.Bxc6 dxc6 5.Nxe5? Qd4 the queen attacks the knight and e4 at once, and Black gets the pawn back with a good game.
- Black plays ...d6 and leaves the knight pinned. If White's bishop pins the c6 knight to the king, a pawn push to d5 can win the knight. Unpin with ...a6, ...Bd7 or by castling.
- Black plays ...Bg4 too early. With White's h3 and later g4 the bishop can be chased into trouble; in the closed lines most players delay it.
- Forgetting about the Fishing Pole. In the Berlin, ...Ng4 and ...h5 is a real trick: if White takes the knight with hxg4, the h-file opens towards the white king.
A short history
The opening is named after Ruy López de Segura, a Spanish priest who wrote about it in his 1561 chess book. It became the main battleground of 1.e4 e5 in the 1800s and has stayed there ever since: almost every world champion has played it from both sides.
Traps to know in the Ruy Lopez (Spanish Opening)
Step through each trap move by move on its own page, with the final position and when it fails.
Frequently asked questions
Is the Ruy Lopez good for beginners?
Yes, if you are willing to learn its ideas rather than memorise long lines. The first moves follow the opening principles, White castles quickly, and the plans (c3, d4, Re1) are the same in many variations. If you want something more direct to start with, try the Italian Game first.
What is the best reply to the Ruy Lopez for Black?
There is no single best move. 3...a6 (the Morphy Defence) is the most common and leads to rich positions. 3...Nf6, the Berlin, is very solid. Choose the one whose middlegames you enjoy.
Why doesn't 3.Bb5 win the e5 pawn right away?
Because after Bxc6 and Nxe5, Black's queen comes to d4 (or g5) with a double attack and wins the pawn back. White plays for long-term pressure instead.
Ruy Lopez or Spanish Opening: is there a difference?
No. They are two names for the same opening, 1.e4 e5 2.Nf3 Nc6 3.Bb5.