The Exchange Ruy pin trap

A chess trap in the Ruy Lopez, for White. Found in real games and checked with Stockfish.

The pin... is a mistake! Queen takes g7... and the bishop falls!

How often it works: White won 77% of these games. (24,115 games after 7…Bg4 · Lichess, 1600-2199, blitz/rapid/classical)

The moves

1.e4 e5 2.Nf3 Nc6 3.Bb5 a6 4.Bxc6 dxc6 5.O-O Bd6 6.d4 exd4 7.Qxd4 Bg4 8.Qxg7 Qf6 9.Qxg4

  1. 1.e4 — Start by pushing your king's pawn two squares. It grabs the center and opens the way for your queen and bishop.
  2. 1...e5
  3. 2.Nf3 — Black copied you, so bring your knight out and attack that pawn on e5 right away.
  4. 2...Nc6
  5. 3.Bb5 — Their knight defends e5. Put your bishop on b5 and attack that defender. This is the Ruy Lopez.
  6. 3...a6
  7. 4.Bxc6 — When they play a6, you can also just take the knight: the Exchange Variation.
  8. 4...dxc6
  9. 5.O-O — They took back toward the middle. Castle, and now e5 is hanging.
  10. 5...Bd6
  11. 6.d4 — If they develop the bishop to d6 instead, strike in the center with d4.
  12. 6...exd4
  13. 7.Qxd4 — They took, so take back with your queen. It's aiming at g7.
  14. 7...Bg4?? — The pin... is a mistake!
  15. 8.Qxg7 — They pinned your knight with the bishop. Ignore it and grab g7, hitting the rook.
  16. 8...Qf6
  17. 9.Qxg4 — Their queen came to f6 to cover the rook. Just take the bishop on g4 instead: a piece and a pawn up.

Also known as: ruy lopez exchange, ruy exchange.

How to avoid it

16% of Black players at this point play 7…Bg4. Most play 7…f6 instead (42% of games) and score 44% with it. (Lichess games, 1600-2199)

Questions

What is the The Exchange Ruy pin trap?

A chess trap for White in the Ruy Lopez, Exchange: 1.e4 e5 2.Nf3 Nc6 3.Bb5 a6 4.Bxc6 dxc6 5.O-O Bd6 6.d4 exd4 7.Qxd4 Bg4 8.Qxg7 Qf6 9.Qxg4. The pin... is a mistake! Queen takes g7... and the bishop falls!

How often does it work?

White won 77% of these games. (24,115 games after 7…Bg4 · Lichess, 1600-2199, blitz/rapid/classical).

How do you avoid it?

16% of Black players at this point play 7…Bg4. Most play 7…f6 instead (42% of games) and score 44% with it.

Play it yourself: find the winning move on the board, then learn the whole Ruy Lopez line by line, free.

More traps in the Ruy Lopez

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

Opening Lab