All openings

How to play the Ruy Lopez

Pressure the e5 pawn, castle, and build a big center.

Your bishop goes to b5 and attacks the knight that guards Black’s e5 pawn, so Black is under quiet pressure from move three. You castle, protect e4 with a rook, then play c3 and d4 to build a big center. If Black gets careless about e5, taking on c6 and then on e5 wins a pawn.

Learn the Ruy Lopez free on Chester →

You play as White. Chester teaches it move by move with the reason for each one, then reviews it with you until it sticks.

The main line

1.e4 e5 2.Nf3 Nc6 3.Bb5 a6 4.Ba4 Nf6 5.O-O Be7 6.Re1 b5 7.Bb3 d6 8.c3 O-O 9.h3 Na5 10.Bc2 c5 11.d4 Qc7 12.Nbd2

Why each move is played

The plan once the opening is over

Next: Nf1 and Ng3. From g3 the knight eyes f5 and supports your kingside. If Black swaps on d4, take back with the c-pawn. If Black’s knight comes back to c6, push d5. Before every move, check for checks, captures and threats.

What you’ll learn: 12 lines

The Closed Ruy Lopez

Your bishop on b5 puts pressure on the knight that guards e5. You castle, protect e4 with a rook, then build the classic center with c3, h3 and d4 while your bishop retreats to b3 and c2.

1.e4 e5 2.Nf3 Nc6 3.Bb5 a6 4.Ba4 Nf6 5.O-O Be7 6.Re1 b5 7.Bb3 d6 8.c3 O-O 9.h3 Na5 10.Bc2 c5 11.d4 Qc7 12.Nbd2

The Open Ruy Lopez and Other Fifth Moves

When Black grabs your e4 pawn with 5...Nxe4, d4 opens the center and you win the pawn back. Against Black’s other fifth moves you keep the same plan: c3, Re1 and d4. Watch out for the fishing pole trap.

1.e4 e5 2.Nf3 Nc6 3.Bb5 a6 4.Ba4 Nf6 5.O-O Nxe4 6.d4 b5 7.Bb3 d5 8.dxe5 Be6 9.c3 Be7 10.Nbd2 O-O 11.Bc2

The Berlin Defense

Against 3...Nf6 you protect e4 with a calm d3, then play c3 and castle. Keep an eye on e5: when nothing but the knight on c6 guards it, Bxc6 and Nxe5 win a pawn. Two traps to know: the Mortimer trap and the fishing pole.

1.e4 e5 2.Nf3 Nc6 3.Bb5 Nf6 4.d3 Bc5 5.c3 O-O 6.O-O d6 7.h3

The Classical and Bird Defenses

Against 3...Bc5 you prepare d4 with c3, castle, and push d4 with gain of time. Against 3...Nd4 you swap knights, castle, and attack Black’s d4 pawn. Both lines have traps that win material.

1.e4 e5 2.Nf3 Nc6 3.Bb5 Bc5 4.c3 Nf6 5.O-O O-O 6.d4 Bb6 7.Re1 d6 8.h3

The Steinitz and Schliemann Defenses

Against 3...d6 the knight on c6 is pinned, so you strike with d4 at once and punish Black’s slips with tactics on c6. Against the sharp 3...f5 you stay calm with d3, castle, and go after the e5 pawn.

1.e4 e5 2.Nf3 Nc6 3.Bb5 d6 4.d4 Bd7 5.Bxc6 Bxc6 6.Nc3 Nf6 7.Qe2 exd4 8.Nxd4

Other Fourth Moves

After 3...a6 4.Ba4, Black can try ...d6, ...b5, ...Bc5, ...f5 and more. Your answers stay simple: c3 to give the bishop a home on c2, d4 to take the center, and Nxe5 whenever Black forgets to guard e5. This chapter also shows the Noah’s Ark trap.

1.e4 e5 2.Nf3 Nc6 3.Bb5 a6 4.Ba4 d6 5.c3 Bd7 6.d4 Nf6 7.Nbd2

Other Third Moves

Rarer replies to 3.Bb5, like 3...g6, 3...Nge7, 3...Bb4, 3...Qf6 and 3...d5, are met with the same simple plan: build the center with c3 and d4, castle, and watch for a loose e5 pawn.

1.e4 e5 2.Nf3 Nc6 3.Bb5 g6 4.c3 Bg7 5.d4 exd4 6.cxd4 Nge7 7.d5

Other Second Moves

When Black skips 2...Nc6, you grab the center against the Philidor (2...d6), take on e5 and dodge the traps against the Petrov (2...Nf6), and punish the weakened king after 2...f6.

1.e4 e5 2.Nf3 d6 3.d4 exd4 4.Nxd4 Nf6 5.Nc3 Be7 6.Be2 O-O 7.O-O

Against the Sicilian: the Alapin

Against the Sicilian (1...c5) you play 2.c3 and build the same c3 and d4 center as in the Giuoco Piano.

1.e4 c5 2.c3 d5 3.exd5 Qxd5 4.d4 Nf6 5.Nf3 Bg4 6.Be2 e6 7.O-O

Against the French and Caro-Kann: the Advance

Against 1...e6 and 1...c6 you push e5, build a d4–e5 pawn chain, support it with c3 and Nf3, and learn which pawn moves Black uses to attack it.

1.e4 e6 2.d4 d5 3.e5 c5 4.c3 Nc6 5.Nf3 Qb6 6.Be2 cxd4 7.cxd4

Against the Scandinavian

When Black hits e4 at once with 1...d5, you take the pawn and develop your pieces while chasing Black’s queen.

1.e4 d5 2.exd5 Qxd5 3.Nc3 Qa5 4.d4 Nf6 5.Nf3 c6 6.Bc4 Bf5 7.Bd2

Everything Else

One simple plan (center pawns, knights out, a bishop out, castle) handles rarer first moves like 1...d6, 1...g6, 1...Nc6, 1...b6 and 1...Nf6.

1.e4 d6 2.d4 Nf6 3.Nc3 g6 4.Nf3 Bg7 5.Be2 O-O 6.O-O

Traps in the Ruy Lopez

Learn it on Chester

Chester is a chess-openings coach for players under 1000. It shows each move with a green arrow and the reason behind it, then asks you to play the line from memory, and brings each move back for review just before you'd forget it. Connect your chess.com or Lichess account and it shows where your real games left the line.

Start the Ruy Lopez →

Other openings for White

Italian GameAim at f7, castle fast, build the center.London SystemOne setup against everything: d4, Bf4, e3, Nf3, c3.Queen's GambitOffer the c-pawn, win the center, press on the queenside.Scotch GameOpen the center on move three, then develop fast.Vienna GameKnight to c3, then attack with f4.English OpeningStart with c4, fianchetto the bishop, fight for d5.