Ruy Lopez

The Ruy Lopez is a chess opening for White: 1.e4 e5 2.Nf3 Nc6 3.Bb5. Players rated about 1600-2199 on Lichess reach it in 2.3% of their games (55 million games), and White scores 53.7% there.

1.e4 e5 2.Nf3 Nc6 3.Bb5 · played by White · 162 named lines · most common next move: a6 (29.7%)

White pressures the knight that defends e5, then builds a big center with c3 and d4.

The Ruy Lopez, every move explained

Closed Ruy

c3, h3 and d4 build the center; the bishop tucks into c2.

  1. 1.e4 Start with your king's pawn, two squares.
  2. 2.Nf3 Black copied you, so bring your knight out and attack e5.
  3. 3.Bb5 Their knight defends e5. Put your bishop on b5 and attack that defender. This is the Ruy Lopez.
  4. 4.Ba4 They asked your bishop with a6. Keep it: step back to a4.
  5. 5.O-O Their knight is attacking e4, but don't worry. Castle: if they take it, your rook will win it back.
  6. 6.Re1 They're developing calmly, so rook to e1 guards e4. Now you really threaten to win e5.
  7. 7.Bb3 They chased your bishop with b5, so drop back to b3. From there it still aims at f7.
  8. 8.c3 They've locked in e5 with d6. Play c3 to prepare d4 and give your bishop a home on c2.
  9. 9.h3 Black castled, so play h3 first. That keeps their bishop off g4, so d4 can come safely.
  10. 10.Bc2 Their knight hits your bishop, so tuck it away on c2.
  11. 11.d4 They pushed c5, and now it's time: d4! You have the big center. Next your knight travels to d2, f1 and g3.

Against the Berlin

The quiet d3 keeps e4 safe and the game rich.

After 1.e4 e5 2.Nf3 Nc6 3.Bb5 Nf6:

  1. 4.d3 Sometimes they skip a6 and attack e4 with the knight: the Berlin. Keep it simple and guard with d3.
  2. 5.c3 Their bishop came to c5, so play c3: it prepares d4 and gives your bishop a way back.
  3. 6.O-O They castled, so castle too.
  4. 7.Nbd2 They supported e5, so bring your knight to d2. It's heading for f1 and g3.
  5. 8.Ba4 They finally asked your bishop. Keep it with a4.

Against the Marshall

Take the pawn, then defend the kingside calmly.

After 1.e4 e5 2.Nf3 Nc6 3.Bb5 a6 4.Ba4 Nf6 5.O-O Be7 6.Re1 b5 7.Bb3 O-O:

  1. 8.c3 If they castle here instead of d6, the Marshall Attack may be coming. Play c3 as usual.
  2. 9.exd5 There it is: d5, a pawn sacrifice to attack your king. Accept it.
  3. 10.Nxe5 Their knight took back, so take a second pawn on e5.
  4. 11.Rxe5 They traded knights. Take back with your rook. You're a pawn up, and now you defend.
  5. 12.d4 They supported their knight with c6. Play d4: it frees your bishop and closes the long diagonal.
  6. 13.Re1 Their bishop hits your rook, so bring it back to e1, guarding the back rank.
  7. 14.g3 Their queen jumped to h4, so push it away with g3. Stay calm and bring pieces over to defend.

Exchange

Give the bishop, aim for an endgame with the better pawns.

After 1.e4 e5 2.Nf3 Nc6 3.Bb5 a6:

  1. 4.Bxc6 When they play a6, you can also just take the knight: the Exchange Variation.
  2. 5.O-O They took back toward the middle. Castle, and now e5 is hanging.
  3. 6.d4 They guarded it with f6, so open the center with d4.
  4. 7.Nxd4 They took, so take back with your knight. You have four pawns against three on the kingside.
  5. 8.Nb3 Their pawn kicks your knight, so step back to b3.
  6. 9.Rxd1 They traded queens. Take back. That kingside majority is your trump in this endgame.

The Qh5 check (trap)

f6 opened the diagonal; check, then take the bishop.

After 1.e4 e5 2.Nf3 Nc6 3.Bb5 a6 4.Bxc6 dxc6 5.O-O f6 6.d4 exd4 7.Nxd4 Bc5:

  1. 8.Qh5+ If their bishop comes to c5 to hit your knight, check from h5. The f6 push opened that diagonal to their king.
  2. 9.Qxc5 They blocked with g6. Now slide your queen across and take the bishop on c5.

Against the Open

Win back the pawn and press on e5.

After 1.e4 e5 2.Nf3 Nc6 3.Bb5 a6 4.Ba4 Nf6 5.O-O Nxe4:

  1. 6.d4 If they grab your e4 pawn, that's the Open Ruy Lopez. Don't rush: hit the center with d4.
  2. 7.Bb3 They chased your bishop, so go back to b3.
  3. 8.dxe5 They held their knight with d5, so take on e5. Now material is level, and that pawn cramps them.
  4. 9.c3 Their bishop guards d5, so play c3 to give your bishop a way back to c2.
  5. 10.Nbd2 Their bishop came to c5, so challenge the strong knight on e4 with your knight.
  6. 11.Bc2 They castled, so put your bishop on c2, aiming at their king.

The g7 grab (trap)

Ignore the pin and take g7; the bishop falls next.

After 1.e4 e5 2.Nf3 Nc6 3.Bb5 a6 4.Bxc6 dxc6 5.O-O Bd6:

  1. 6.d4 If they develop the bishop to d6 instead, strike in the center with d4.
  2. 7.Qxd4 They took, so take back with your queen. It's aiming at g7.
  3. 8.Qxg7 They pinned your knight with the bishop. Ignore it and grab g7, hitting the rook.
  4. 9.Qxg4 Their queen came to f6 to cover the rook. Just take the bishop on g4 instead: a piece and a pawn up.

Against the Steinitz Deferred

c3 and d4, a classical center.

After 1.e4 e5 2.Nf3 Nc6 3.Bb5 a6 4.Ba4 d6:

  1. 5.c3 If they play d6 first, play c3, getting ready for d4.
  2. 6.d4 They broke the pin with their bishop, so take the center with d4.
  3. 7.O-O Their knight came out, so castle. You have the bigger center.

The rook on h8 (trap)

Check, sacrifice on g6, and the rook falls.

After 1.e4 e5 2.Nf3 Nc6 3.Bb5 a6 4.Bxc6 bxc6:

  1. 5.Nxe5 If they take back with the b-pawn, nothing guards e5 anymore. Grab it.
  2. 6.Qh5+ They kicked your knight with f6. Leave it there and check from h5.
  3. 7.Nxg6 They blocked with g6. Sacrifice your knight on g6!
  4. 8.Qxh8 They took it and opened the h-file. Your queen takes the rook on h8.

Against 3...Bc5

c3 and d4 hit the bishop and take the center.

After 1.e4 e5 2.Nf3 Nc6 3.Bb5 Bc5:

  1. 4.c3 If their bishop comes to c5 instead, play c3, getting ready to hit it with d4.
  2. 5.O-O They developed the knight, so castle first.
  3. 6.d4 They castled too. Now d4, gaining time on the bishop.

Against Bird's 3...Nd4

Trade knights, then undermine the d4 pawn.

After 1.e4 e5 2.Nf3 Nc6 3.Bb5 Nd4:

  1. 4.Nxd4 If they offer a knight trade on d4, just take it.
  2. 5.O-O Now castle.
  3. 6.Bc4 They kicked your bishop, so move it to c4, aiming at f7.
  4. 7.Re1 Their knight came out, so rook to e1, supporting e4 and getting ready for e5.
  5. 8.c3 They stopped e5, so hit their d4 pawn with c3.

Against the Schliemann

Nc3 and active pieces beat the early ...f5.

After 1.e4 e5 2.Nf3 Nc6 3.Bb5 f5:

  1. 4.Nc3 If they hit back with f5, that's the Schliemann. Develop your knight and guard e4.
  2. 5.Nxe4 They took, so take back. Your knight looks great in the center.
  3. 6.Nxe5 They kicked it with d5. Instead of retreating, grab the e5 pawn!
  4. 7.Nxc6 They took your knight, so take on c6. Now your knight attacks their queen.
  5. 8.Qe2 Their queen made a double attack, so put your queen on e2. It defends everything.
  6. 9.f4 Then push f4 to drive their queen away. Their king is still in the middle.

Against 3...g6

c3 and d4 before the fianchetto bites.

After 1.e4 e5 2.Nf3 Nc6 3.Bb5 g6:

  1. 4.c3 If they prepare a fianchetto with g6, play c3 and get ready for d4 before their bishop gets to g7.
  2. 5.Ba4 They asked your bishop, so keep it on a4.
  3. 6.d4 They supported e5, so take the center now with d4.
  4. 7.O-O Then castle. You have the bigger center.

Traps in the Ruy Lopez

Guides

Lines

Questions

How popular is the Ruy Lopez?

It is reached in 2.3% of Lichess games between players rated about 1600-2199: 55 million games, by any move order (Lichess games, players rated about 1600-2199, blitz, rapid and classical, counted October 2026).

How does White score in the Ruy Lopez?

White scores 53.7% (a win is 1, a draw a half) and 4.8% of games are drawn, in games between players rated about 1600-2199 on Lichess.

What is played next in the Ruy Lopez?

Most often a6 (29.7%), d6 (23%), Nf6 (16.1%), in games between players rated about 1600-2199 on Lichess.

What traps are there in the Ruy Lopez?

The Mortimer Trap, The Exchange Ruy pin trap, The Qh5 check, The rook on h8. Each is on Opening Lab with every move explained.

Numbers: Lichess games, players rated about 1600-2199, blitz, rapid and classical, counted October 2026. More opening statistics.

Learn the Ruy Lopez free on Opening Lab: every move explained, practice with spaced repetition, and spar against the moves real players make.

Updated November 2026. Opening Lab (openinglab.app).

Opening Lab