Square One
    Opening Walkthrough
    8
    7
    6
    5
    4
    3
    2
    1a
    b
    c
    d
    e
    f
    g
    h
    Opening Coach

    Ruy Lopez

    C70You play white
    1/9
    Your move

    Claim the center and free your bishop and queen. Every Ruy idea starts with this pawn.

    Your line9 to go

    Play the moves — your line builds here as you go.

    The Tarrasch Trap

    3.Bb5 threatens nothing. Eight moves later his most natural recapture opens a file he cannot close — and the pawn he takes back costs him a knight.

    The Ruy Lopez does not attack anything. That is the point — and it is why club players walk into it. The bishop leans on the knight that holds e5, you build the centre with c3 and d4, and every trade you offer looks like a fair one. In the Steinitz line the trade on c6 is where it bites: he recaptures with the bishop 76% of the time because it keeps his pawns clean, and that single move unplugs the d-file his own bishop was blocking. Queens come off, the knight lands on e5 hitting his bishop, and then he does the most human thing available — he takes his pawn back on e4. One of the two ways to do that loses a piece on the spot. You will also learn the shot after 4...b5 that wins a rook by move ten, and which branches of this opening have no trap in them at all, because forcing one that is not there is how you lose the games you should win.

    The line, move by move

    1. e4 e5 2. Nf3 Nc6 3. Bb5 d6 4. d4 Bd7 5. Nc3 Nf6 6. O-O Be7 7. Re1 O-O 8. Bxc6 Bxc6 9. dxe5 dxe5 10. Qxd8 Raxd8 11. Nxe5 Nxe4 12. Nxc6 bxc6 13. Nxe4

    1. 1. e4 (you) Standard start.

    2. 1... e5 (opponent) He mirrors. Now the move that names the opening.

    3. 2. Nf3 (you) Nf3 — attack e5. He has one natural way to hold it.

    4. 2... Nc6 (opponent) …Nc6. The knight defends e5, and it is now the only thing doing so.

    5. 3. Bb5 (you) Bb5. Nothing is threatened — Bxc6 dxc6 followed by Nxe5 famously loses to …Qd4. The bishop is not there to win a pawn today. It is there so that in eight moves' time, trading on c6 rearranges his whole position.

    6. 3... d6 (opponent) …d6 — the single most common answer at this level, 23%. Solid, and it buries his own bishop on c8 behind the pawn chain.

    7. 4. d4 (you) d4! 21% of White players choose it (27% trade on c6 first). Now e5 is attacked twice and defended twice, and every developing move he makes has to keep that count.

    8. 4... Bd7 (opponent) …Bd7, 38%. He defends the knight so the pin does nothing. Remember the square: d7. It is directly in front of his queen, and it is plugging the file your queen will want.

    9. 5. Nc3 (you) Nc3. Only 9% of White players pick it — d5 (28%), dxe5 (27%) and Bxc6 (19%) are all more popular, and all three release the tension. Nc3 keeps every pawn on the board, and the trap needs the pawn on e5 alive.

    10. 5... Nf6 (opponent) …Nf6, 12%. Develop, hit e4, castle next. Nothing wrong with it — it is simply the move order the trap needs.

    11. 6. O-O (you) O-O, 11% of White moves here (32% grab on e5 instead and the tension is gone). Castle and keep everything aimed at the middle.

    12. 6... Be7 (opponent) …Be7, 16%. The honest developing move. 45% play 6…exd4 here and the trap dies on the spot — there is no pawn left on e5 to win. Be7 keeps it loaded.

    13. 7. Re1 (you) Re1, 19%. The rook stares down the e-file. Every capture you are about to make happens on lines this rook already owns.

    14. 7... O-O (opponent) …O-O, 37% — and this is the mistake, though nothing about it looks like one. (41% play 7…exd4 and stay completely healthy.) Both his rooks are now on the back rank with no air.

    15. 8. Bxc6 (you) Bxc6! Hand over the good bishop on purpose. Which way he takes back decides the entire game.

    16. 8... Bxc6 (opponent) …Bxc6, 76%. The natural one — keep the pawns clean, keep the bishop pair. And the bishop has just stepped off d7. Take the b-pawn recapture instead (24%) and Qxd8 is flatly illegal three moves from now: the bishop is still standing in the way. Board-checked both ways.

    17. 9. dxe5 (you) dxe5. Open the d-file for real.

    18. 9... dxe5 (opponent) …dxe5, 91%. He takes back and the d-file is now a clear road from your queen to his.

    19. 10. Qxd8 (you) Qxd8! This trade exists only because the bishop left d7 two moves ago.

    20. 10... Raxd8 (opponent) …Raxd8, 87%. The a8 rook comes across. Sensible — and it leaves the f8 rook alone on the back rank, which decides a line four moves from here.

    21. 11. Nxe5 (you) Nxe5! A clean extra pawn, and the knight on e5 attacks his bishop on c6. Nothing on the board defends the knight and nothing attacks it. His bishop has to move — and the free-looking pawn on e4 is what he is staring at.

    22. 11... Nxe4 (opponent) …Nxe4, 7%. He takes the pawn back with the knight. Material level, minor pieces heading off, a quiet endgame — that is the whole thought, and it loses a piece.

    23. 12. Nxc6 (you) Nxc6! 67% of players get this right. Do not start with 12.Nxe4 (32% do): after 12…Bxe4 the material is level again and the win is gone — and if you then take with 13.Rxe4 he plays Rd1+, your ONLY legal answer is Re1, and Rxe1 is checkmate. That is a real forced mate, not a figure of speech.

    24. 12... bxc6 (opponent) …bxc6, 62%. The b-pawn is the only thing on the board that can recapture. His queenside is wrecked and his knight on e4 is still hanging.

    25. 13. Nxe4 (you) Nxe4! 79% find it. Count the black pieces attacking e4: zero. And because your rook never stepped off e1, the back-rank shot from the other branch does not exist — his rook cannot even reach d1 with check, and Rxd1 answers it anyway.

    Every branch cashes out

    8 coached branches in this family. Engine-checked finishes:

    • d6 / Bd7 / Nf6 / Nxe4+5.0 by force

      A whole knight, +5.0, on move thirteen — and the only thing he did wrong was take his pawn back the natural way. Every capture before that was obvious or forced. That is the Spanish: nothing ever looks like a threat until the piece is already off the board.

    • d6 / Bd7 / Nf6 / Bxe4Sound line

      Material is level after he recaptures — and the engine still says +2.9. Tarrasch's line does not win a piece, whatever the books imply: it wins the exchange, and it wins it by force. Bg5, Be7, c4, and one of his rooks comes off for a bishop.

    • d6 / Bd7 / exd4Sound line

      +1.0 and completely comfortable — no trap, because he never offered one. You have the centre, the safer king and a lead in development; he has a queen on d7 and two pieces still on their starting squares. Half of what this opening earns you looks exactly like this.

    • d6 / a6Sound line

      +2.1 — a pawn up, doubled c-pawns he will nurse all game and a king that will never castle. He spent move four kicking a bishop that wanted to be traded anyway.

    • a6 / Nf6Sound line

      +1.3, queens off, your rook on the open file, his knight crawling home and his bishop on g4 pinning a knight against nothing at all. No trap in this branch — just the squeeze doing its job while he plays every natural move.

    • a6 / Nd4+3.6 by force

      +3.6 — a rook for a bishop by move ten, his king stuck on e8 and one rook left on the board. His crime was centralising a knight on move five. Nothing else.

    • Nf6Sound line

      +1.2 against the Berlin, which is more than it usually gives anyone. Worth knowing why we got here the long way: the Berlin's famous "trap", 4…Nxe4 5.Re1 Nd6 6.Nxe5 Nxe5 7.Rxe5+, gets played like it wins material. It measures +0.1. Dead level. The pawn on e5 is the real edge.

    • Bc5Sound line

      +0.5 and a clean, easy position: pawns on d4 and e4, both knights coordinated, nothing to memorise. Not every branch of the Spanish hides a trap — and knowing which ones do not is what stops you hunting for one that was never there.

    Why it works

    The Ruy Lopez threatens nothing, and that is the mechanism. 3.Bb5 does not even threaten the e5 pawn: the greedy Bxc6 followed by Nxe5 famously loses material to ...Qd4. The bishop is there so that eight moves later one routine trade rearranges Black's whole position. In the Steinitz line the moment is 8.Bxc6. Black recaptures with the bishop 76 percent of the time because it keeps his pawns clean, and that single natural move unplugs the d file his own bishop had been blocking from d7. Queens come off down that file, a knight lands on e5 hitting his bishop, and the pawn on e4 starts looking free.

    It is not free. Take it with the knight and Nxc6 first wins a whole piece, +5.0 on move thirteen, because the b pawn is the only thing that can recapture and the e4 knight still hangs. Take it with the bishop, the line Tarrasch himself wrote about, and the backwards retreat Nd3 cages the knight and wins the exchange by force at +2.9. Order is everything: 67 percent of players start with the correct capture, and the 32 percent who take on e4 first watch the win vanish. Worse than vanish: in that line the greedy Rxe4 is checkmate in two for Black, Rd1+ followed by Rxe1. A real forced mate, checked on the board, not a figure of speech.

    The measuring also killed some folklore, which is worth as much as the trap. The Berlin trick everyone plays like it wins material, 4...Nxe4 5.Re1 Nd6 6.Nxe5 Nxe5 7.Rxe5+, measures +0.1, dead level. The 3...f6 punishment 4.Nxe5 is -3.8 for White. Meanwhile the sideline shot that is real goes almost entirely unfound: after the Morphy move order, 5...Nd4 loses a rook to Bxf7+ and the Qh5+ Qd5+ ladder, a sequence only 2 percent of White players see, worth +3.6 against the +1.4 of the quiet alternative.

    How to punish the Ruy Lopez

    The tree names its own antidotes, and the biggest is a single pawn trade: ...exd4. Release the central tension and the Tarrasch machinery has nothing left to bite on; 44 percent of players do it at the critical moment and reach a slightly worse but completely healthy game. The other defusal is the recapture itself: after Bxc6, taking with the b pawn, which 24 percent choose, keeps a bishop on d7 and makes the queen trade on d8 flatly illegal. Doubled pawns are a smaller bill than a knight.

    And once the position is loaded, treat e4 as bait. Both natural ways of taking the pawn back lose material to the rook already sitting on e1, so if you find yourself calculating which recapture is safe, the answer measured on this tree is neither. Three of Black's five common replies leave the pawn alone, and they are the ones that keep the game.

    How to avoid falling into it

    The Spanish does not announce its traps, so the warning signs are structural. When a white rook owns the e file and the d file is opening, every obvious recapture deserves a second look, because the entire Tarrasch Trap is assembled from captures that are individually automatic. The specific tell is your own bishop leaving d7: the moment it steps off, the file behind it becomes White's property, and the queen trade that follows is the door closing behind you.

    The other habit is cheaper: do not centralise pieces onto squares a tactic can question. 5...Nd4 in the Morphy line attacks two pieces at once and gets a rook lifted for it, and the Berlin knight that hops to d5 gets asked by Nc3 with not a single defender in sight. In this opening the punishment arrives through f7 and down the long light diagonal, and it starts the moment a piece lands somewhere undefended.

    Questions people actually ask

    What is the Tarrasch Trap in the Ruy Lopez?
    A piece winning sequence in the Steinitz line. After the trade on c6 and the queen trade down the opened d file, White's knight lands on e5 and Black takes his pawn back on e4. The knight recapture loses a whole piece to Nxc6 first, +5.0 on move thirteen; the bishop recapture loses the exchange by force after the retreat Nd3. Every Black move on the way looks normal, which is the point.
    Is the Berlin Defence trap real?
    No. The line that gets played like a trap, 4...Nxe4 5.Re1 Nd6 6.Nxe5 Nxe5 7.Rxe5+, measures +0.1. Dead level. This tree plays the Berlin the slow way instead, squeezing with c3 and d4, and comes out at +1.2, which is more than the famous line ever earns anyone.
    Can White win the e5 pawn with an early Bxc6 and Nxe5?
    Not on move four: after ...dxc6 and Nxe5 the counter ...Qd4 famously wins the material straight back. The Steinitz version of the same grab works only because the queens have already been traded off first, which is exactly what the ...Bxc6 recapture makes possible.
    What is the best defence to the Ruy Lopez?
    At this level four answers cover 76 percent of games: d6, a6, Nf6 and Bc5. The measured defusals are unglamorous: release the tension with ...exd4 before the position loads, and recapture on c6 with the b pawn. Branches where Black does that end between +0.5 and +1.3 for White, an ordinary opening edge rather than a lost piece.
    At what rating do these Ruy Lopez traps work?
    The numbers come from 86.5 million blitz and rapid games at 1000 to 1600 after 3.Bb5. In that band 37 percent castle into the loaded Steinitz position, 76 percent recapture into the trap with the bishop, and only 2 percent of White players know the Bxf7+ shot against 5...Nd4, so carrying it is close to a private weapon. Higher rated opponents release the tension earlier, and you keep the sound plus one positions instead.

    Drill the Ruy Lopez against a real opponent

    The trainer above plays every branch with a coach explaining each move. When you are ready, take it into a live game, or paste your Chess.com or Lichess username and see which openings actually cost you rating.

    More opening weapons

    New to openings? Learn openings without memorizing explains the approach behind every walkthrough here, and the free AI chess coach guide covers what the rest of the app does without a card.