ECO C78 · Best studied as White
Spanish: 5.O-O b5
- Central
- Positional
- Counter
What is the Spanish: 5.O-O b5?
The Ruy Lopez, or Spanish Game, is one of the most respected openings in chess history. White aims for long-term central control and pressure on Black's structure, while Black uses flexible defenses to fight for counterplay.
1. e4 e5 2. Nf3 Nc6 3. Bb5 a6 4. Ba4 Nf6 5. O-O b5
The lesson
Play through the Spanish: 5.O-O b5, move by move
Scroll the moves and watch the board follow along. Every move comes with the idea behind it.
1. e4 e5 2. Nf3 Nc6 3. Bb5 a6 4. Ba4 Nf6 5. O-O b5
Before the first move
The Ruy Lopez, or Spanish Game, is one of the most respected openings in chess history. White aims for long-term central control and pressure on Black's structure, while Black uses flexible defenses to fight for counterplay. This specific line explores the Morphy Defense, where Black expands on the queenside to challenge White's light-squared bishop early on.
1. e4White · your move
Push your pawn to e4. This classic opening move claims space in the center, controls the d5-square, and immediately opens pathways for your queen and light-squared bishop to enter the game.
1... e5Black
Black replies e5, the most direct way to challenge White's ambitions. This leads to Open Games where both sides fight for central dominance. Other common tries like the Caro-Kann with c6 or the Scandinavian with d5 lead to very different pawn structures.
Other paths here: f6 (Barnes Defense) · g5 (Borg Defense) · h6 (Carr Defense) · f5 (Duras Gambit)
2. Nf3White · your move
Develop your knight to f3. This is an ideal square for the knight, as it attacks the e5-pawn and prepares for kingside castling. You are following the principle of developing minor pieces toward the center.
Other paths here: Ke2 (Bongcloud Attack) · d4 (Center Game) · c4 (English Opening: The Whale) · Ne2 (King's Pawn Game: Alapin Opening)
2... Nc6Black
Black plays Nc6, the most common defense. You'll have to watch out for sharp alternatives like the Petroff Defense with Nf6 or the Elephant Gambit with d5, but Nc6 remains the gold standard for solid development.
Other paths here: d5 (Elephant Gambit) · Qe7 (Gunderam Defense) · Bc5 (King's Pawn Game: Busch-Gass Gambit) · f6 (King's Pawn Game: Damiano Defense)
3. Bb5White · your move
Slide your bishop to b5. This defines the Ruy Lopez. You aren't just developing; you are indirectly attacking the e5-pawn by pinning or threatening the knight that defends it.
Other paths here: Nxe5 (Irish Gambit) · g3 (King's Knight Opening: Konstantinopolsky) · c4 (King's Pawn Game: Dresden Opening) · b4 (King's Pawn Game: Pachman Wing Gambit)
3... a6Black
Black plays a6, forcing White to make a decision about the bishop. While the Berlin Defense with Nf6 is very popular at the top level, a6 remains the most frequent choice, followed by the Cozio Defense with Nge7 or the Fianchetto with g6.
Other paths here: Bb4 (Ruy Lopez: Alapin Defense) · g5 (Ruy Lopez: Brentano Gambit) · a5 (Ruy Lopez: Bulgarian Variation) · Nge7 (Ruy Lopez: Cozio Defense)
4. Ba4White · your move
Retreat your bishop to a4. You maintain the pressure on the knight while keeping your bishop on the board. This preserve the 'Spanish Bishop' which is often your most important attacking piece in this opening.
Other paths here: Bxc6 (Ruy Lopez: Exchange Variation) · Bc4 (Spanish: 3...a6 4.Bc4)
4... Nf6Black
Black plays Nf6, continuing development and eyeing the e4-pawn. You might also see the Classical Defense with Bc5 or the Bird's Defense with Nd4, but developing the knight is the most robust path toward the middlegame.
Other paths here: Nd4 (Ruy Lopez: Bird's Defense Deferred) · Bb4 (Ruy Lopez: Morphy Defense, Alapin's Defense Deferred) · b5 (Ruy Lopez: Morphy Defense, Caro Variation) · Bc5 (Ruy Lopez: Morphy Defense, Classical Defense Deferred)
5. O-OWhite · your move
Castle kingside now. This tucks your king away to safety and brings your rook closer to the center. In the Spanish, the rook often moves to e1 later to support the e4-pawn.
Other paths here: d3 (Ruy Lopez: Morphy Defense, Anderssen Variation) · Bxc6 (Ruy Lopez: Morphy Defense, Bayreuth Variation) · c3 (Ruy Lopez: Morphy Defense, Jaffe Gambit) · d4 (Ruy Lopez: Morphy Defense, Mackenzie Variation)
5... b5Black
Black plays b5, kicking the bishop and expanding on the queenside. This is a critical moment. Instead of b5, you could have tried the Open variation with Nxe4 or the solid d6, but b5 is the hallmark of the main line Spanish.
Other paths here: g6 (Ruy Lopez: Brix Variation) · d5 (Ruy Lopez: Central Countergambit) · Bc5 (Ruy Lopez: Morphy Defense, Neo-Arkhangelsk Variation) · d6 (Ruy Lopez: Morphy Defense, Steinitz Deferred)
Where you stand
The opening has reached a classic Spanish structure. White will likely retreat the bishop to b3 and prepare a central strike with c3 and d4. Black has successfully expanded on the queenside and will look to castle and challenge the center, often by placing a bishop on b7 or e7. Both sides have a wealth of strategic plans in this rich and deeply studied position.
- a4-b3 Secure the bishop on the b3-f7 diagonal
- c2-c3 Prepare d4 to challenge the center
- c8-b7 Develop the bishop to the long diagonal
- f8-e7 Prepare to castle and connect the rooks
Your games
Related Spanish lines
- C68Spanish: 3...a6 4.Bc41. e4 e5 2. Nf3 Nc6 3. Bb5 a6 4. Bc4
- C70Spanish: 4.Ba41. e4 e5 2. Nf3 Nc6 3. Bb5 a6 4. Ba4
- C70Spanish: 4.Ba4 Be71. e4 e5 2. Nf3 Nc6 3. Bb5 a6 4. Ba4 Be7
- C70Spanish: Brentano Variation1. e4 e5 2. Nf3 Nc6 3. Bb5 a6 4. Ba4 g5
- C76Spanish: Modern Steinitz, Bronstein Variation1. e4 e5 2. Nf3 Nc6 3. Bb5 a6 4. Ba4 d6 5.…
- C77Spanish: Morphy Defence1. e4 e5 2. Nf3 Nc6 3. Bb5 a6 4. Ba4 Nf6
- C85Spanish: Closed, Exchange1. e4 e5 2. Nf3 Nc6 3. Bb5 a6 4. Ba4 Nf6 5…
- C90Spanish: Closed, 8...d61. e4 e5 2. Nf3 Nc6 3. Bb5 a6 4. Ba4 Nf6 5…
- C78Ruy Lopez: Brix Variation1. e4 e5 2. Nf3 Nc6 3. Bb5 a6 4. Ba4 Nf6 5…
- C78Ruy Lopez: Central Countergambit1. e4 e5 2. Nf3 Nc6 3. Bb5 a6 4. Ba4 Nf6 5…
- C78Ruy Lopez: Morphy Defense1. e4 e5 2. Nf3 Nc6 3. Bb5 a6 4. Ba4 Nf6 5…
Free game review
Do you leak rating in the Spanish?
Chessiro reviews your real games move by move, shows your win rate in every opening you play, and turns the exact positions you misplayed into training puzzles with plain-English coaching.