ChessShelf

Ruy Lopez

Major opening

The Ruy Lopez begins 1.e4 e5 2.Nf3 Nc6 3.Bb5, and it has been the single most studied opening in chess for longer than almost any other. The name comes from Ruy López de Segura, a Spanish priest who analyzed the move in a treatise published in 1561 — which makes it one of the very few openings whose origin can be traced to a specific, dated document rather than to gradual practice. It is also called the Spanish Game for the same reason, and both names are used interchangeably in chess literature.

What the pin on c6 is actually for

A newer player often assumes 3.Bb5 is simply a developing move that happens to attack the c6 knight. Its real purpose is more specific: the bishop ties the knight to the defense of e5, so that if Black ever moves that knight or allows it to be captured, White can consider taking on c6 and picking up the e5 pawn afterward. This is not usually a threat that lands immediately — Black has time to defuse it — but it shapes the entire opening. Almost everything White does in the first ten moves, from a4 and Ba4 to the eventual retreat Bb3, exists to keep that pressure on e5 and c6 alive for as long as possible while completing development, rather than to win material outright in the short term.

Closed, Open, Exchange, and the Berlin Wall

Black's replies split the opening into genuinely different games. The most common path, 3...a6 4.Ba4 Nf6 5.O-O Be7, leads to the Closed Ruy Lopez, a slow strategic buildup where both sides maneuver for years of established theory before the center even opens. Inside that same position, Black can instead play 5...Nxe4, the Open Ruy Lopez, trading the e5 pawn back but grabbing central activity and a freer game immediately rather than accepting the long positional squeeze. White can also choose 4.Bxc6, the Exchange Variation, handing Black doubled c-pawns in return for the bishop pair and a simpler, more direct plan built around a healthy kingside pawn majority in the resulting endgame. And instead of 3...a6 at all, Black can play 3...Nf6, the Berlin Defense, which after 4.O-O Nxe4 5.d4 often leads straight into an endgame with queens traded off the board — a structure so difficult for White to make progress in that it earned the nickname the Berlin Wall.

0 / 10

Starting position. Ruy Lopez, Closed main line: both sides finish development before the center opens.

The main line of the Closed Ruy Lopez: both sides complete development before the central tension is resolved.

The structures behind the theory

In the Closed Ruy Lopez, the central pawns on e4 and e5 usually stay locked for a long time while both sides build up around them — White typically prepares d4 with c3 and Re1, and Black meets it with ...Re8 and ...Bf8, retreating pieces to more flexible squares before the center actually opens. In the Exchange Variation, the position is defined instead by White's healthy kingside pawn majority (four pawns to three) against Black's queenside majority made less useful by the doubled c-pawns — White's long-term plan is often to trade pieces and push that kingside majority in an endgame, while Black leans on the bishop pair for compensation in the middlegame. The Marshall Attack, a gambit Black can spring inside Closed Ruy Lopez lines with 8...d5, sacrifices a pawn for a long-term initiative and open lines against White's king, and is sharp enough that many White players specifically avoid the main line just to sidestep it.

Less common replies worth knowing

Not every Black player heads for the Closed main line, the Open Variation, or the Berlin. The Schliemann Defense (3...f5) throws a pawn forward immediately to rip open the position before White finishes developing, accepting real structural risk for early activity — it is a favorite of players who want to force sharp, unbalanced fights rather than long theoretical grinds. The Steinitz Defense (3...d6) goes the opposite direction, giving up any pretense of quick activity in favor of a cramped but solid setup that is hard to attack directly, though it concedes White a comfortable long-term space advantage. Both are far less common than the main tries, but preparation limited only to 3...a6 and 3...Nf6 leaves a White player genuinely caught off guard by either rarer choice.

White: don't cash in the pin early

  • Maintain the pin's pressure on e5 and c6 for as long as it's useful, rather than cashing it in for a small, premature gain.
  • In Closed lines, build toward d4 with c3 and Re1 before releasing the central tension, not before.
  • In the Exchange Variation, aim to trade down toward an endgame where the healthy kingside pawn majority can advance freely.

Black: the choice on move three is the real decision

  • Meet the pin with ...a6 and, once the bishop retreats to a4 or b3, continue normal development rather than treating the pin as an emergency.
  • Choose deliberately between the Closed main line, the sharper Open Variation (...Nxe4), and the Berlin's early simplification — these lead to very different kinds of games.
  • In the Exchange Variation, use the bishop pair actively in the middlegame rather than letting the position drift straight into the endgame White wants.

From a 1561 treatise to the defining World Championship weapon

After its documented 16th-century origin, the opening fell out of fashion for long stretches before being revived by 19th-century analysts, and it grew into the dominant weapon of serious 1.e4 e5 play through most of the 20th century — used at the very top level by Bobby Fischer, Anatoly Karpov, and Garry Kasparov, among many others, as their primary answer to 1...e5. Its most famous recent chapter came in the 2000 World Championship match, when Vladimir Kramnik used the Berlin Defense specifically to neutralize Garry Kasparov's attacking chances with the white pieces, drawing game after game from a position considered nearly unbreakable and winning the match. That result changed how seriously the Berlin Defense is taken at every level below the world championship as well.

Two specific ways this opening decides club games early

The first is a pure preparation gap: a White player who has never studied 8...d5 walks straight into the Marshall Attack's forcing complications with no idea which moves are even reasonable, and a well-drilled Black opponent can win material or the initiative before White has made a single independent decision. The second is the opposite problem in spirit — a White player who reaches the Berlin endgame, sees the queens have already come off, and simply drifts for thirty moves with no concrete winning try, treating a genuinely rich technical position as an automatic draw instead of a real fight. Both come from the same root cause: arriving at a well-known structure without having actually decided, in advance, what to do once it's on the board.

The pin is patience, not a threat

Unlike a direct tactical shot, the pin on c6 rewards a player who keeps it alive through normal development rather than one who tries to cash it in immediately. Most Ruy Lopez plans are really about preserving options, not forcing anything.

Black's sharpest reply inside the main line, the Marshall Attack, and the endgame-oriented Berlin Defense, represent opposite philosophies for meeting 3.Bb5 — one seeks maximum complications, the other seeks maximum simplification.

For a direct look at how the Ruy Lopez compares move by move with the other classical answer to 1...e5, see the Italian Game versus Ruy Lopez comparison, which lines up their structures side by side.

Frequently Asked Questions

Why is the Ruy Lopez also called the Spanish Game?

Both names refer to the same opening. "Ruy Lopez" honors the 16th-century Spanish priest who first documented it in writing; "Spanish Game" (or Spanish Opening) is simply the descriptive name used more often in some countries and older literature. Neither name implies a different set of moves.

Is the Berlin Defense boring to play against as White?

It can feel that way if White has no specific winning try, since the queens often come off early and Black's structure is very hard to crack directly. Strong players who enjoy the challenge treat it as a long technical grind rather than a dull draw, but it is fair to say the Berlin removes most of White's sharpest attacking chances.

Do club players actually need to know Marshall Attack theory?

If playing the main line Closed Ruy Lopez as White, yes, at least well enough to either meet the Marshall's early complications safely or to sidestep it with an alternative move order (such as 8.a4 or 8.h3). Ignoring it entirely and hoping Black doesn't know it is a common source of quick club-level losses.

Why does the bishop retreat to a4 and then often to b3 instead of just staying on b5?

After 3...a6, staying on b5 loses the bishop for nothing, so it must move. Ba4 keeps the pin on the knight (through the a6 pawn) for a few more moves; Bb3 later gives up that pin but keeps the bishop safely aimed at the long diagonal toward f7, which stays useful for the rest of the game.

Still deciding?

A side-by-side look at how this opening compares to a close rival, and who each one suits.