Ruy Lopez: Moves, Plans, the Exchange Variation and Traps
Ferzika Editorial Team · updated · 8 min

The Ruy Lopez, also called the Spanish Game, starts with 1.e4 e5 2.Nf3 Nc6 3.Bb5. White attacks the knight that defends the e5 pawn and keeps pressure on the center for many moves. Black usually replies 3...a6 and 4...Nf6. The game turns long and strategic: pawn structure and piece maneuvers decide it. There is usually more theory than in the Italian Game.
- The move 3.Bb5 doesn't win the e5 pawn at once: after 3...a6 4.Bxc6 dxc6 5.Nxe5 Black answers 5...Qd4.
- The main line: 3...a6 4.Ba4 Nf6 5.O-O Be7 6.Re1 b5 7.Bb3 d6 8.c3 O-O 9.h3.
- White prepares d4 and maneuvers a knight via d2 and f1; Black fights for the center with ...c5 or ...d5.
- A beginner as Black needs only the main reply 3...a6 and an understanding of the Noah's Ark and Tarrasch traps.
What the Ruy Lopez is and where the name comes from
The opening is named after Ruy Lopez de Segura, a Spanish priest who analyzed it in a book published in 1561. The moves are mentioned earlier too, in the Gottingen manuscript from the late 15th century.
The logic is simple. The c6 knight defends e5, and the b5 bishop attacks that defender. There is no direct threat yet, but there is long pressure: at any moment after d4 the e5 pawn will come under fire. Compare it with the Italian Game, where the bishop looks at f7 right away. There tactics start sooner; here the fight for the center lasts longer.
- 1The c6 knight defends e5
- 2Bb5 attacks the defender
- 3After d4 the e5 pawn is under fire
The main line of the Ruy Lopez
1. 2. 3. 4. 5. 6. 7. 8. 9.
From here the big systems branch off, named after players. It is useful to recognize the names, but a beginner doesn't need to learn them all.
| Variation | Moves | Idea | Eval |
|---|---|---|---|
| Chigorin System | 9...Na5 10.Bc2 c5 11.d4 Qc7 | Black chases the bishop and attacks the center | about +0.7 |
| Breyer System | 9...Nb8 10.d4 Nbd7 | The knight regroups to d7 so the c-pawn is free | about +0.5 |
| Open Variation | 5...Nxe4 6.d4 b5 7.Bb3 d5 8.dxe5 Be6 | Black takes e4 and develops fast | about +0.4 |
| Berlin Defense | 3...Nf6 4.O-O Nxe4 5.d4 Nd6 6.Bxc6 dxc6 7.dxe5 Nf5 8.Qxd8+ Kxd8 | A queenless endgame, solid for Black | about +0.1 |
| Marshall Attack | 7...O-O 8.c3 d5 9.exd5 Nxd5 10.Nxe5 Nxe5 11.Rxe5 c6 | A pawn sacrifice for an attack on the king | about +0.5 |
White's plan
- Finish development: O-O, Re1, c3, h3. Only then d4.
- The b1 knight goes via d2 to f1 and then to g3 or e3. It comes closer to the kingside and strengthens e4.
- If Black has closed the center, bring a knight via g3 to f5 or prepare the a4 break on the queenside.
- After ...Na5, retreat the b3 bishop to c2, where it keeps looking at the kingside.
Black's plan
- Castle first and play ...b5, ...d6: that way the bishop can't pin the knight and the e5 pawn is protected.
- The move ...Na5 chases the bishop with tempo and opens the road for the c-pawn, which fights for d4.
- The bishop goes to b7 or d7, the rook to e8, and the e7 bishop prepares to go to f8. Pressure on e4 forces White to keep pieces there.
- Don't fear the trade on c6: you get the bishop pair, even though your pawns are doubled.
Black's first moves with diagrams are shown in the lessons 1...e5: ideas and first moves and the plan up to move 8.
Plans matter more than moves, but you can only check that on your own games. A review shows where you lose evaluation after leaving the opening.
The Exchange Variation of the Ruy Lopez
The line 3...a6 4.Bxc6 dxc6 is usually chosen by those who don't want much theory. White gives up the bishop for the knight and gets a healthier pawn structure: Black's doubled c-pawns make a passed pawn hard to create, and after the center is traded White has a majority on the kingside. But Black has two bishops.
1. 2. 3. 4. 5. 6.
White's most common mistake here is thinking the e5 pawn simply hangs after the trade, since its defender is gone.
Ruy Lopez traps
The Ruy Lopez has many traps for both sides, because the opening is long and the c, d and e pawns are under tension. Here are four classics, each checked by an engine.
Noah's Ark Trap: the bishop in a cage
White simply took the pawn on d4 and forgot that the b3 bishop is hemmed in by the a6 and b5 pawns. More about shots like this in the article chess opening traps.
Show the answer
c5 Qd5 Be6 Qc6+ Bd7 Qd5 c4
8...c5! The queen is attacked and has to move, and then 9...c4 traps the bishop on b3. The classic course: 9.Qd5 Be6 10.Qc6+ Bd7 11.Qd5 c4. The right move on move eight is 8.c3 or 8.Bd5.
The Tarrasch Trap
The Open Variation: Black played 5...Nxe4, then 6.d4 b5 7.Bb3 d5 8.dxe5 Be6 9.c3 Be7 10.Re1 O-O. Castling itself is fine here: the evaluation is close to equal. The trap springs on the next move, if after 11.Nd4 Black answers 11...Qd7?.
Show the answer
Rxe4 dxe4 Qxd7
13.Rxe4! The rook takes the knight and can't be captured: the d5 pawn is pinned to the queen on d7, and after 13...dxe4 14.Qxd7 Black loses the queen. White is left a piece up: the evaluation is about +5.
The Mortimer Trap
The move 4...Ne7 after 3...Nf6 4.d3 looks like a strange waste of time and of the e5 pawn. It is inaccurate in itself, but the bet that White will take the pawn often pays off.
Show the answer
c6
5...c6! The bishop is attacked, and 6...Qa5+ is threatened next, hitting the e5 knight. After 6.Nc4 Black has 6...Ng6, while the immediate 6...cxb5?? allows a smothered mate, 7.Nd6#. Black has the edge: about -1.5.
The Fishing Pole: why you shouldn't take the knight on g4
After 3...Nf6 4.O-O Black sometimes plays 4...Ng4 and meets 5.h3 with 5...h5. Objectively this is bad: if White doesn't take the knight and plays, say, 6.c3, White's edge is about +1.7. But taking opens the h-file, and then the queen and rook decide everything. The trick is called the Fishing Pole.
1. 2. 3. 4. 5. 6. 7. 8. 9.
Where to start studying
- As White. Master 3.Bb5 a6 4.Ba4 Nf6 5.O-O Be7 6.Re1 and the Exchange Variation as a simplified backup plan.
- As Black. The basis: 3...a6 and 4...Nf6. Leave the Berlin Defense for later: its endgames take experience in the endgame.
- How to learn. Ideas and the plan first, then only the moves that came up in your games. More on this in the article how to study chess openings.
- Related. Choosing a variation and the structure are covered in the repertoire topic and pawn structure.
If you have only just started playing, the Ruy Lopez isn't required. First play something simpler from the list of best chess openings for beginners and come back when you understand the plan.
FAQ
How is the Ruy Lopez different from the Italian Game?
By White's third move: in the Ruy Lopez the bishop on b5 pressures the c6 knight, in the Italian the bishop on c4 looks at f7. The Ruy Lopez is usually longer and more strategic; the Italian gets tactical sooner and has less theory to start.
What does the Exchange Variation of the Ruy Lopez mean?
It is 3...a6 4.Bxc6 dxc6: White trades the bishop for the knight. Black has two bishops and doubled pawns, White has the better structure. White can't take on e5 at once: 5.Nxe5 Qd4 gets the pawn back.
What should a beginner play as Black in the Ruy Lopez?
The clearest line: 3...a6 4.Ba4 Nf6 5.O-O Be7, then ...b5, ...d6, ...O-O. These moves are logical and appear in almost all systems of the Closed Variation.
Does White win the e5 pawn after 3.Bb5?
Not at once. To take e5, White has to trade off the defender on c6, but then 5.Nxe5 Qd4 gets the pawn back. The real threat appears later, once White has castled and the king is no longer on the e-file.
How often is the Ruy Lopez played?
We don't give an exact share here: it depends on the level and the time control.




