Ruy Lopez, the Spanish Game
The Ruy Lopez starts 1.e4 e5 2.Nf3 Nc6 3.Bb5. White pressures the c6 knight, which guards the e5 pawn, and builds a long positional game.
The Ruy Lopez, also called the Spanish Game, is the opening 1.e4 e5 2.Nf3 Nc6 3.Bb5: the white bishop attacks the knight that defends the e5 pawn. It is one of the best studied and most respected openings, played at every level from beginners to champions. It is named after a 16th century Spanish priest, Ruy Lopez. If you are still picking, first pick an opening, and play it yourself in chess online.
The idea behind the Ruy Lopez
White does not threaten the e5 pawn directly: if the bishop takes the knight, Black recaptures with ...dxc6 and wins the pawn back. But the bishop on b5 questions the knight that guards e5 and ties Black down. White's long-term plan: castle, play c3 and d4 to build a centre and play on the kingside. Later the bishop retreats to a4 or b3 and keeps pressing along the diagonal.
Main lines in one row each
| Line | Moves | Idea |
|---|---|---|
| Morphy Defense (main) | 3...a6 4.Ba4 Nf6 5.O-O Be7 | Black questions the bishop and develops |
| Berlin Defense | 3...Nf6 4.O-O Nxe4 5.d4 Nd6 | a solid position for Black, often queens are traded |
| Closed system | 5...Be7 6.Re1 b5 7.Bb3 d6 8.c3 O-O | the classical plan, many ideas |
| Marshall Attack | 8...d5 | Black sacrifices a pawn for an attack |
| Exchange Variation | 3...a6 4.Bxc6 dxc6 | White breaks the structure, Black needs a plan |
A plan for each side
White: finish development and castle, play c3 and d4, build up in the centre and trade the bishop for a knight when it helps.
Black: protect the centre with pawns, develop the f8 bishop, play ...b5 and ...d6 and look for counterplay. Do not hurry ...d5 before it is prepared.
A common beginner mistake
After 3...a6 4.Bxc6 dxc6 the greedy 5.Nxe5? Qd4 6.Nf3 Qxe4+ gives Black the pawn back with a good game. Taking e5 does not work here: the queen hits two pawns at once and White's king is still in the centre. Play 5.O-O or 5.d4.
There are traps in other openings too: the main ones are collected on the page about chess opening traps, including the Noah's Ark, which arises in this very opening.
Ruy Lopez or Italian Game?
The Italian (3.Bc4) is simpler and quicker: the bishop aims at f7, with more traps. The Spanish (3.Bb5) is slower and deeper, with the plan mattering more than tactics. For a start, the Italian Game is easier, and the Ruy Lopez can come later.
As a rare idea Black can play 3...g6 with a fianchetto on g7; see what a fianchetto is.
Frequently asked questions
What is the Ruy Lopez?
The opening 1.e4 e5 2.Nf3 Nc6 3.Bb5, also called the Spanish Game.
Why is it called the Ruy Lopez?
After the 16th century Spanish priest Ruy Lopez, who wrote about it in his chess book.
How does Black play against it?
The most common reply is 3...a6 (the Morphy Defense): after 4.Ba4 Nf6 5.O-O Be7 Black has a reliable position.
Is it good for a beginner?
Yes if you like positional play. If you want a fast attack, choose the Italian Game.
What is the Berlin Defense?
The line 3...Nf6 4.O-O Nxe4 5.d4 Nd6: Black gets a solid structure without weaknesses, often after a queen trade.