📖 Ruy LopezIntroduction
Preparing puzzle...

Ruy Lopez: Complete Guide

What is the Ruy Lopez?

The Ruy Lopez, also called the Spanish Game or the Spanish Opening, is one of the oldest and most respected ways for White to play 1. e4. It begins 1. e4 e5 2. Nf3 Nc6 3. Bb5, pinning the knight that guards Black’s e5-pawn. Where the classical Ruy Lopez slowly maneuvers, this trainer teaches a sharper, low-maintenance version: against almost every Black reply White breaks the center open with an early d4. That single recipe turns the Spanish into trap-rich, attacking chess instead of a long theory tree. The opening underneath needs no defending: 3. Bb5 has been a main road for White since the nineteenth century and is still played at the very top.

Black’s third move names the branch, and that is where the Spanish Game earns its reputation for theory. The four defenses you meet most at club level are the Berlin (3...Nf6), the Steinitz (3...d6), the Morphy (3...a6) and the Cordel, also called the Classical Defense (3...Bc5). The rarer tries carry names too: the Schliemann, or Jaenisch Gambit (3...f5), Bird’s Defense (3...Nd4) and the Cozio (3...Nge7). After the Morphy 3...a6 4. Ba4 Nf6 5. O-O the classical roads open up, and this trainer teaches none of them: the Closed Ruy Lopez, 5...Be7 6. Re1 b5 7. Bb3 d6 8. c3 O-O, whose Chigorin, Breyer and Zaitsev systems are the long theory the opening is famous for; the Open Spanish, 5...Nxe4; the Marshall Attack, 5...Be7 6. Re1 b5 7. Bb3 O-O 8. c3 d5, where Black hands over a pawn for a lasting attack; and the Exchange Variation, 4. Bxc6, the classical way to duck all of it. What follows plays 5. d4 at that same fork instead, so the center opens early and the study list stays short.

How to reach it

Every line starts the same way: 1. e4 e5 2. Nf3 Nc6 3. Bb5, the move that gives the opening its name and aims the bishop at the c6-knight. From there Black chooses a defense and White answers each one with a fast d4. The four common replies at club level are nearly even in popularity: 3...d6 (the Steinitz, about one in five games), 3...Nf6 (the Berlin, about one in five), 3...a6 (the Morphy, about one in five), and 3...Bc5 (the Cordel, about one in ten). White meets 3...d6 with 4. d4, the Berlin with 4. O-O and a later d4, the Cordel with 4. c3 and d4, and the Morphy with 4. Ba4 Nf6 5. d4, the Center Attack. One idea, applied four ways, covers the large majority of your games.

Pros & cons

Strengths

  • One consistent early-d4 plan handles every Black defense, so you study ideas and traps instead of memorizing a separate theory tree for each line.
  • The Bb5 pin pressures Black’s defense of e5 from move three, creating concrete targets rather than a slow buildup.
  • A fast d4 opens the center before Black has finished developing, leading to sharp, attacking positions with real winning chances.
  • Built-in traps and tactical shots punish opponents who play greedily or passively, from the fork-trick mate against the Berlin to the rook-winning Qxa8 against the Cordel.
  • Sound from beginner level to grandmaster practice; the Ruy Lopez has been a main weapon in world-championship matches for over a century.

Drawbacks

  • It needs a tailored answer to each major defense, so there is more to learn up front than a single setup-based opening.
  • A few rarer third moves fall outside the pure d4 recipe and need their own reply: Bird’s Defense (3...Nd4), the Cozio (3...Nge7) and the early 3...Qf6.
  • The Berlin endgame is genuinely solid for Black and steers the game toward dry, technical play rather than an attack.
  • Opening the center early cuts both ways; sloppy move orders can hand Black easy counterplay in the resulting open positions.

Main variations

Steinitz Defense with the early d4

1. e4 e5 2. Nf3 Nc6 3. Bb5 d6 4. d4

Black props up e5 with the solid 3...d6, the most popular reply at club level. White strikes at once with 4. d4. After 4...a6 5. Bxc6+ bxc6 6. dxe5 Black cannot safely recapture, and an early queen trade leaves White a clean extra pawn in a risk-free endgame. It is the simplest free win in the whole repertoire.

Berlin fork-trick and the mating net

1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Bc5 5. Nxe5 Nxe5 6. d4

Against the Berlin’s 3...Nf6 White castles and waits to break with d4. When Black tries the fork trick with 4...Bc5, 5. Nxe5 Nxe5 6. d4 regains the piece with a dominant center. If Black grabs greedily on the kingside, the line ends in a forced checkmate; if Black declines into the endgame, White keeps a lasting development lead and a stuck black king.

Morphy Center Attack with e5

1. e4 e5 2. Nf3 Nc6 3. Bb5 a6 4. Ba4 Nf6 5. d4 exd4 6. O-O

The Morphy 3...a6 is met by 4. Ba4 Nf6 5. d4, the Center Attack. After 5...exd4 6. O-O White ignores the pawn and slams e5 into Black’s position. The knight is kicked, the kingside comes under fire with Ng5 and Qh5, and the loose f7-square is the standing target. The most common 6...b5 and 6...Bc5 both walk into a direct attack.

Cordel c3-d4 clamp and the Qxa8 trap

1. e4 e5 2. Nf3 Nc6 3. Bb5 Bc5 4. c3 d6 5. d4 exd4 6. cxd4

Against the active 3...Bc5, the Cordel or Classical Defense, White builds a big pawn center with 4. c3 and 5. d4. The Cordel hides a famous trap: after the natural 6...Bb4+ 7. Kf1 and a later d5, White’s pawns fork the queenside and a sequence ending in Qxa8 wins a whole rook. The honest main lines simply give White a strong, space-gaining center.

Playing against the Ruy Lopez

As Black against the Ruy Lopez, the first decision is which defense to commit to: the solid Steinitz with ...d6, the rock-hard Berlin with ...Nf6, the flexible Morphy with ...a6, or the active Cordel with ...Bc5. Then notice which fights an early-d4 White simply refuses. Because 3...a6 4. Ba4 Nf6 is met by 5. d4 rather than 5. O-O, the Closed Ruy Lopez never appears, and neither does the Marshall Attack, so a Black player whose preparation starts on move eight of the Closed lines is out of the book on move five. Against an early-d4 White the danger is opening the center while behind in development, so develop quickly, do not grab pawns that cost you time, and be ready for the typical e5 thrust that kicks the f6-knight. The Berlin endgame is the most reliable equalizer at every level, trading queens early and relying on a sound structure, though it asks Black to be comfortable in a long technical game rather than a sharp attacking one.

Plans

For White

Pin the c6-knight with 3. Bb5, then break with d4 against whatever Black plays: 4. d4 versus the Steinitz, 4. O-O and d4 versus the Berlin, 4. c3 and d4 versus the Cordel, and 4. Ba4 Nf6 5. d4 versus the Morphy. Once the center opens, look for the standard attacking ideas: the e5 push that displaces the f6-knight, the Ng5 and Qh5 battery against f7 and h7, and the tactical shots that punish a greedy or slow defender.

For Black

Choose one defense and learn its plan. Support e5, complete development before the center opens, and avoid pawn-grabbing that surrenders time to White’s attack. Meet the e5 thrust with an accurate knight retreat, trade off White’s attacking pieces where you can, and steer toward the sound endgames the Spanish structure offers, the Berlin being the most dependable route to equality.

History

The opening takes its name from Ruy López de Segura, a sixteenth-century Spanish cleric whose 1561 treatise examined 3. Bb5, which makes it one of the oldest documented openings still in regular use. In much of Europe it is known simply as the Spanish Game. It became the proving ground of classical chess in the nineteenth century, refined by Steinitz, Morphy and the players whose names its variations carry. It has been a fixture of world-championship play from Lasker and Capablanca through Fischer, Kasparov and Carlsen, and remains one of the most-played answers to 1...e5 in online chess.

Frequently asked questions

What is the Ruy Lopez in chess?
It is White’s classical way of meeting 1. e4 e5, and it runs 1. e4 e5 2. Nf3 Nc6 3. Bb5. The bishop pins the knight that defends the e5-pawn, so White puts a question to Black’s center on move three instead of building up slowly. It is also called the Spanish Game or the Spanish Opening, after Ruy López de Segura, whose 1561 treatise examined 3. Bb5. Black’s third move decides which Ruy Lopez you get: the Berlin (3...Nf6), the Steinitz (3...d6), the Morphy (3...a6) or the Cordel, also called the Classical Defense (3...Bc5). This trainer answers all four with an early d4.
How do you play the Ruy Lopez?
Play 1. e4 e5 2. Nf3 Nc6 3. Bb5, then break the center with d4 against whatever Black chooses. That is the whole recipe here: 4. d4 against the Steinitz 3...d6, 4. O-O and a later d4 against the Berlin 3...Nf6, 4. c3 and d4 against the Cordel 3...Bc5, and 4. Ba4 Nf6 5. d4, the Center Attack, against the Morphy 3...a6. Once the center opens the attacking ideas repeat: the e5 push that kicks the f6-knight, the Ng5 and Qh5 battery against f7 and h7, and the tactics that punish greedy defense. The classical alternative is to castle instead of pushing d4 and steer into the Closed Ruy Lopez, which is sound but costs far more theory.
How do you beat the Ruy Lopez as Black?
You do not refute it, you equalize, and the Berlin Defense, 3...Nf6, is the most dependable route. Kramnik used it to blunt Kasparov in their 2000 title match, and it has been the top level’s standard answer since. If you would rather keep queens on the board, the Morphy 3...a6 makes White declare the bishop’s intentions, and the Steinitz 3...d6 is solid if passive. Against an early-d4 White the practical rules are the same whichever you pick: finish developing before the center opens, refuse pawns that cost you time, and have a square ready for the f6-knight when the e5 push arrives. Each of those defenses is answered move by move in this course.
What is the Berlin Defense in the Ruy Lopez?
It is 3...Nf6, the reply that ignores the pin and counterattacks e4, and it is the reason the Spanish is so hard to break at the top. The famous continuation is the Berlin endgame, nicknamed the Berlin Wall: 4. O-O Nxe4 5. d4 Nd6 6. Bxc6 dxc6 7. dxe5 Nf5 8. Qxd8+ Kxd8, where Black gives up castling and doubles the c-pawns but keeps the bishop pair in a queenless middlegame that has held up for decades. This trainer meets 3...Nf6 with 4. O-O and holds d4 back until Black commits, and its Berlin chapter is built on punishing the fork trick 4...Bc5 with 5. Nxe5 Nxe5 6. d4.
Should beginners play the Ruy Lopez?
Yes, with one caveat. The 3. Bb5 pin is a model of sound opening play, develop, pressure the center, castle, and you get a real target from move three rather than a slow buildup. The caveat is that the classical Ruy Lopez is one of the most theory-heavy openings in chess, which is why beginners are so often pointed at the Italian instead. The early-d4 version taught here is the way around that: one plan against all four common defenses, plus a short list of traps, so the study goes into ideas rather than recall. Expect more work than a setup opening like the London, and expect the Berlin to give you a technical game instead of an attack.