← All openings

Opening guide · for White

The Ruy Lopez: how to play it, and the trap to know

The Ruy Lopez, also called the Spanish Opening, is the opening where White puts a bishop on b5 on move three. The bishop hits the knight on c6, the piece that defends the pawn on e5. It has been played for more than 400 years and it is still a favorite of world champions, from Capablanca and Fischer to Carlsen.

White’s score
54% → 56%
from under 1000 to 2200+ Elo
Most played next
3...Nf6
26% of the games

Not sure this is your opening? Take the opening quiz: the best chess openings for beginners, picked for your style.

The Ruy Lopez explained: why the bishop goes to b5, and the pressure it puts on e5.

Ruy Lopez: how does it go in your games?

Ask about it and get a short video on your own positions, checked with Stockfish.

In this guide
  1. Is the Ruy Lopez good?
  2. 1. The Morphy Defense: 3...a6, the closed main line
  3. 2. The Berlin Defense: 3...Nf6
  4. 3. The Exchange Variation: 3...a6 4.Bxc6
  5. A famous trap: Noah’s Ark
  6. The mistakes club players really make in the Ruy Lopez
  7. Plans to remember
  8. Real results, by rating
  9. The most played next moves
  10. Related chess openings
  11. Frequently asked questions

Is the Ruy Lopez good?

Yes, it is one of the best openings for White. Stockfish rates the bishop move to b5 as White’s best third move, ahead of the Italian and the Scotch.

  • The edge is small, as in every serious opening, but it lasts: White keeps a bit more space and easy plans for a long time.
  • It suits players who like to build up slowly.
  • One thing to know early: it does not win the e5 pawn yet. If White takes on c6 and then on e5, Black gets the pawn back with a queen move.

1. The Morphy Defense: 3...a6, the closed main line

By far the most popular answer: Black asks the bishop what it wants with a6, and White usually keeps it on the same diagonal on a4.

  • Both sides develop: the knight to f6, castling and the bishop to e7 for Black, a rook on e1 to guard e4 for White.
  • When Black plays b5, the bishop drops back to b3, where it aims at f7.
  • After d6, c3 and castling, White plays h3 to keep the bishop off g4 and gets ready for d4. This is the Closed Ruy Lopez: a slow, rich game where Stockfish keeps White’s small edge.
The Morphy Defense: Black kicks the bishop, and White plays c3 and h3 to prepare d4.

2. The Berlin Defense: 3...Nf6

Black ignores the bishop and attacks e4 at once. After White castles, Black can take the pawn, and White wins it back with d4.

  • The famous main line trades everything, queens included. This is the Berlin endgame, also called the Berlin Wall.
  • Black’s king ends up on d8, but Black has the two bishops and a very solid position. Stockfish calls it close to equal.
  • Kramnik used it to beat Kasparov for the world title in 2000.
The Berlin: Black takes on e4, White wins it back, and the queens come off.

3. The Exchange Variation: 3...a6 4.Bxc6

Here White simply gives the bishop for the knight. Black’s pawns are doubled, but Black gets the two bishops and open lines.

  • The trap for White: taking on e5 right away looks like it wins a pawn, but the black queen comes to d4, hits the knight and e4 at the same time, and Black gets the pawn back with a slightly better game.
  • The right move is to castle first (5.O-O): now the threat on e5 is real. Black defends, and Stockfish calls the game equal.
  • White hopes for an endgame where the extra healthy pawn on the kingside counts.

Trap

A famous trap: Noah’s Ark

This one catches White players. In the Morphy Defense, Black trades a knight on d4, and the pawn left on d4 looks free. It is bait.

  • If the white queen takes it (8.Qxd4??), Black chases her with the c-pawn, and the pawns on a6, b5 and c4 then trap the bishop on b3: that is the ark.
  • White can get a pawn or two for the bishop at most, and Stockfish gives Black a winning advantage (about -4.6).
  • The safe way is to attack b5 with the a-pawn instead. Stockfish calls the game equal.
Noah’s Ark: the free pawn on d4, and the pawns that trap the bishop on b3.

From real games

The mistakes club players really make in the Ruy Lopez

We went through the Ruy Lopez games in the club games analyzed by Chess X-Ray (most players between 550 and 1850 Elo) and checked every common move with Stockfish. These are the four positions where the most players go wrong, and how often.

  • Grabbing e5 in the Exchange Variation (White): 39% of players take with the knight, the most played move here. The queen comes to d4, and Black wins the pawn back with the better game (Stockfish: -0.5). Castle first, and only then is the threat on e5 real.
  • The same capture against the bishop on c5 (White): after trading on c6, almost half of the players (49%) take on e5, and they score only 46%. The queen move to d4 is even stronger here, because the bishop joins the attack on f2 (Stockfish: -0.9). Castling or d3 keeps the game level.
  • Playing d6 while the knight can be pinned (Black): against c3, a quarter of players answer d6. White pushes d4 and d5, and the pinned knight is attacked (Stockfish: +2.7). The knight to f6, hitting e4, keeps the game close to equal (+0.4). Kicking the bishop with a6 is also a mistake (20%): White takes on c6, then on e5, and wins a pawn.
  • Kicking the bishop at the wrong moment in the Berlin (Black): after White castles, 13% play a6, and they score 41%. With the knight on f6 instead of guarding e5, White takes on c6 and wins a pawn (Stockfish: +1.6). Taking on e4 is the most accurate (+0.2): White gets the pawn back, but Black has an easy game.

Three of the four are about the same pawn. In the Ruy Lopez, before you take on e5 or leave it alone, count who really defends it.

Cheat sheet

Plans to remember

White

keep the pressure on e5, castle quickly, put a rook on e1, then prepare d4 with c3 (and h3 to stop Bg4).

Black

kick the bishop with a6 and b5 at the right moment, keep e5 solid with d6, and look for counterplay on the queenside.

Both sides

count the pawns on the queenside before the bishop retreats to b3. If a6, b5 and c4 can close the door, the bishop is in danger.

Chess X-Ray data

Real results, by rating

We took the games of the players Chess X-Ray analyzed (blitz, rapid and daily) that reach the position after 1.e4 e5 2.Nf3 Nc6 3.Bb5, whatever the move order. Here is how they end, by the average rating of the two players. Under 1000, White scores 54% of the points; at 2200+, 56%.

Average ratingWhite winsDrawBlack wins
Under 100051%5%44%
1000-139951%4%45%
1400-179952%4%44%
1800-219949%5%46%
2200+51%10%39%
Results of the games after 1.e4 e5 2.Nf3 Nc6 3.Bb5, Chess X-Ray data (October 2026).

The most played next moves

After 1.e4 e5 2.Nf3 Nc6 3.Bb5, the most played move is 3...Nf6 (26% of the games). White’s score counts a win as 1 point and a draw as a half: 50% means the line is even in practice.

Moves played after 1.e4 e5 2.Nf3 Nc6 3.Bb5, all ratings, Chess X-Ray data (October 2026).

If you play 1.e4 e5 2.Nf3 Nc6 3.Bb5, you will also meet these openings, which start the same way:

Frequently asked questions

What are the most common mistakes in the Ruy Lopez?

In club games, the most common is taking the e5 pawn after 4.Bxc6 dxc6: 5.Nxe5 is answered by 5...Qd4, which wins the pawn back. Against 3...Bc5, half of White players make the same capture. On Black’s side, 3...Bc5 4.c3 d6 lets White pin and attack the knight with d4 and d5, and 4...a6 in the Berlin loses the e5 pawn.

Is the Ruy Lopez good for beginners?

Yes, as long as you learn the ideas and not only the moves. The plans are clear (castle, Re1, c3 and d4), but the positions are slow. Just remember that 3.Bb5 does not win e5 yet: after Bxc6 and Nxe5, Black gets the pawn back with Qd4.

What is the best defense against the Ruy Lopez?

Stockfish rates 3...a6 (the Morphy Defense) and 3...Nf6 (the Berlin) close together, both with only a small edge for White. 3...a6 is the most popular at club level; the Berlin is the choice of top players who want a solid, drawish game.

Why is it called the Ruy Lopez?

It is named after Ruy López de Segura, a Spanish priest who analysed it in a chess book in 1561. That is why it is also called the Spanish Opening or the Spanish Game.

Ruy Lopez or Italian Game?

Both start 1.e4 e5 2.Nf3 Nc6. The Italian (3.Bc4) aims the bishop at f7 and leads to quicker attacks. The Ruy Lopez (3.Bb5) puts slow pressure on e5. Stockfish slightly prefers the Ruy Lopez, but both are excellent.

What is the Classical Defense in the Ruy Lopez?

It is 1.e4 e5 2.Nf3 Nc6 3.Bb5 Bc5: Black develops the bishop to c5 instead of playing a6 or Nf6. Stockfish gives White the same small edge as against 3...a6. White’s best replies are castling or c3, which prepares d4 and gains time on the bishop. After 4.c3, Black should play Nf6: 4...d6 lets d4 and d5 hit the knight.

More chess openings

How do you really play it?

A short video on the moments your opening went wrong, and what to play instead.