Skip to main content
ChessCue

Chess opening

Ruy Lopez

The Ruy Lopez starts 1. e4 e5 2. Nf3 Nc6 3. Bb5. ChessCue's opening catalogue lists 235 named lines for it, under ECO C60 to C99.

At a glance

ECO codes
C60 to C99
Variations
34
Catalogued lines
235
Next to move
Black

Main line

The Ruy Lopez is usually reached by these moves. Its variations are listed below with their shortest catalogued line.

1. e4 e5 2. Nf3 Nc6 3. Bb5

Position after 1. e4 e5 2. Nf3 Nc6 3. Bb5. Black to move.

Ideas behind the Ruy Lopez

Opening idea
White pressures the knight that defends e5 and builds long term central pressure.
White's plan
Castle, prepare d4, and improve the pieces before deciding where to open the position.
Black's plan
Protect the center, gain queenside space when appropriate, and free the position with d5.

Variations

34 named variations in ECO order. Each row shows the shortest catalogued line of the variation and how many lines the catalogue lists for it.

VariationECOMovesLines
Alapin DefenseC601. e4 e5 2. Nf3 Nc6 3. Bb5 Bb42
Brentano GambitC601. e4 e5 2. Nf3 Nc6 3. Bb5 g51
Bulgarian VariationC601. e4 e5 2. Nf3 Nc6 3. Bb5 a51
Cozio DefenseC601. e4 e5 2. Nf3 Nc6 3. Bb5 Nge73
Fianchetto DefenseC601. e4 e5 2. Nf3 Nc6 3. Bb5 g62
Lucena VariationC601. e4 e5 2. Nf3 Nc6 3. Bb5 Be71
Nürnberg VariationC601. e4 e5 2. Nf3 Nc6 3. Bb5 f61
Pollock DefenseC601. e4 e5 2. Nf3 Nc6 3. Bb5 Na51
Retreat VariationC601. e4 e5 2. Nf3 Nc6 3. Bb5 Nb81
Rotary‑Albany GambitC601. e4 e5 2. Nf3 Nc6 3. Bb5 b61
Spanish CountergambitC601. e4 e5 2. Nf3 Nc6 3. Bb5 d53
Vinogradov VariationC601. e4 e5 2. Nf3 Nc6 3. Bb5 Qe71
Bird VariationC611. e4 e5 2. Nf3 Nc6 3. Bb5 Nd42
Steinitz DefenseC621. e4 e5 2. Nf3 Nc6 3. Bb5 d65
Schliemann DefenseC631. e4 e5 2. Nf3 Nc6 3. Bb5 f59
Classical VariationC64 to C651. e4 e5 2. Nf3 Nc6 3. Bb5 Bc58
Classical DefenseC641. e4 e5 2. Nf3 Nc6 3. Bb5 Bc5 4. c3 Qe73
Berlin DefenseC65 to C671. e4 e5 2. Nf3 Nc6 3. Bb5 Nf631
Halloween AttackC651. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. Nxe51
Closed Berlin DefenseC661. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O‑O d6 5. d4 Nd71
Open Berlin DefenseC671. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O‑O Nxe4 5. d4 Nd6 6. dxe52
Exchange VariationC68 to C691. e4 e5 2. Nf3 Nc6 3. Bb5 a6 4. Bxc610
ExchangeC681. e4 e5 2. Nf3 Nc6 3. Bb5 a6 4. Bxc6 dxc6 5. d4 exd4 6. Qxd4 Qxd4 7. Nxd4 Bd71
Morphy DefenseC70 to C801. e4 e5 2. Nf3 Nc6 3. Bb5 a639
Bird's Defense DeferredC701. e4 e5 2. Nf3 Nc6 3. Bb5 a6 4. Ba4 Nd41
Noah's Ark TrapC71, C881. e4 e5 2. Nf3 Nc6 3. Bb5 a6 4. Ba4 b5 5. Bb3 d6 6. d4 Nxd4 7. Nxd4 exd4 8. Qxd4 c52
Wormald AttackC771. e4 e5 2. Nf3 Nc6 3. Bb5 a6 4. Ba4 Nf6 5. Qe2 b5 6. Bb3 Be7 7. d4 d6 8. c3 Bg41
Brix VariationC781. e4 e5 2. Nf3 Nc6 3. Bb5 a6 4. Ba4 Nf6 5. O‑O g61
Central CountergambitC781. e4 e5 2. Nf3 Nc6 3. Bb5 a6 4. Ba4 Nf6 5. O‑O d51
Rabinovich VariationC781. e4 e5 2. Nf3 Nc6 3. Bb5 a6 4. Ba4 Nf6 5. O‑O b5 6. Bb3 d6 7. Ng5 d5 8. exd5 Nd4 9. Re1 Bc5 10. Rxe5+ Kf81
Steinitz Defense DeferredC791. e4 e5 2. Nf3 Nc6 3. Bb5 a6 4. Ba4 Nf6 5. O‑O d6 6. Bxc6+ bxc6 7. d4 Bg42
OpenC80 to C831. e4 e5 2. Nf3 Nc6 3. Bb5 a6 4. Ba4 Nf6 5. O‑O Nxe433
ClosedC72, C84 to C88, C90 to C991. e4 e5 2. Nf3 Nc6 3. Bb5 a6 4. Ba4 Nf6 5. O‑O Be753
Marshall AttackC891. e4 e5 2. Nf3 Nc6 3. Bb5 a6 4. Ba4 Nf6 5. O‑O Be7 6. Re1 b5 7. Bb3 O‑O 8. c3 d59

Play the Ruy Lopez in ChessCue

Every ChessCue game is against Stockfish, set from about 500 to about 2000 Elo. Try the moves above at your level and find out where the engine leaves the line.

During the game, the opening badge names the line you are in, with its ECO code and the last catalogued move. For many openings it also explains the idea behind it, and for the most popular ones a plan for you and your opponent.

Play a game

Sources

Opening names, ECO codes, and move orders come from the Lichess chess openings dataset, released under CC0. ChessCue uses the same catalogue to name the openings in your games.

Lichess chess openings dataset

Your next move can teach you.

Take the lesson into your next game.

Start playing free