The Ruy Lopez: Classical Variation with O-O – Black's Guide

ECO C64 84,774 games Stockfish +0.43

You've reached an important crossroads in the Ruy Lopez. After 1.e4 e5 2.Nf3 Nc6 3.Bb5 Bc5 4.O-O, you've thrown a wrench in White's plans by playing the immediate 4...Nd4. This is known as the Classical Variation with kingside castling, and it's a sharp, principled way to fight for the centre. The position is lively but challenging — Stockfish assesses it at +0.43 in White's favour, meaning you are slightly worse as Black right out of the opening. Over 84,000 games on Lichess show White scoring 50.7%, but Black still wins 45.9% of the time. Let's see how to handle the critical replies below.

Play the Ruy Lopez: Classical Variation: O-O against the engine

Free, no signup — you play black, the engine adapts to your level.

Ready to test your skills? Try the interactive drill below — we'll adapt to your replies and show you exactly where you gain or lose an edge. Create a free Chez

Create a free account →

What You're Fighting For

By playing 4...Nd4, you're immediately challenging White's knight on f3 and threatening to trade on b5 or kick the bishop. Your move gains time and breaks the symmetry of the Spanish opening. You are fighting for control of the dark squares — your bishop on c5 already eyes f2 and g1, and the knight on d4 is a thorn. White would love to force you back with c3, but your idea is to make them either trade (Nxd4) or make a concession first. The engine says White holds a small edge here, but the position is far from sterile. You have active pieces and chances to equalise if White doesn't play accurately.

The Critical Tabiya: After Nxd4

White's most popular move (55,538 games) is 5.Nxd4, and it's also the engine's top choice. The forced continuation runs 5...Bxd4 6.c3 Bb6. After this sequence, the bishop retreats safely to b6, keeping pressure on the e4 pawn and the kingside. White has gained a tempo with c3, but your bishop is well-placed and your pawn structure is sound. From this position, White scores 53.2% — still a small edge, but you are very much in the game. The key is to develop rapidly: get your knight to f6 or e7, castle kingside, and prepare to contest the centre with d6 and possibly ...f5 later. Don't be afraid to let White have the bishop pair here; your piece activity and pawn breaks will compensate.

The Two Trappy Mistakes to Punish

Two moves by White are statistically poor, and knowing them gives you a chance to seize an early advantage. 5.Nxe5 (7,988 games) is an inaccuracy that costs White about 0.9 pawns. After 5...Qe7, Black threatens ...Nxf3+ winning the queen, or ...Qxe5 taking the knight. White's best follow-up is messy, and your score as Black jumps dramatically — White only wins 42.0% of the time here. Even better is 5.c3 (5,037 games), a full mistake costing ~1.4 pawns. After 5.c3 Nxf3+ 6.gxf3, not only do you trade knight for knight, but you ruin White's kingside pawns. Black wins an outright 61.1% of these games. If your opponent plays either of these, stay calm and take advantage.

What to Do Against the Other Replies

Besides Nxd4, White may try 5.Bc4 (8,973 games, White scores 51.7%) or 5.Ba4 (2,473 games, 52.2%) or 5.Nc3 (2,153 games, 49.3%). Against 5.Bc4, your knight on d4 is still a pest — White often can't avoid trading it off eventually. Against 5.Ba4, nothing changes much; continue developing with ...Nge7 or ...Nf6. And 5.Nc3 is actually a neutral move where Black scores slightly better than White. In all these lines, your plan is consistent: keep the knight on d4 for as long as possible, force White to commit to a trade, and then develop your kingside. The position remains double-edged but fully playable for Black.

Results across 84,774 Lichess games

50.7%
3.4%
45.9%
■ White 50.7% ■ Draw 3.4% ■ Black 45.9%
Most-played continuationGamesWhite wins
Nxd455,53853.2%
Bc48,97351.7%
Nxe57,98842.0%
c35,03738.9%
Ba42,47352.2%
Nc32,15349.3%

Frequently asked questions

Is 4...Nd4 a good move for Black in the Ruy Lopez?

Yes, it's a solid and principled reply. While Stockfish gives White a small edge (+0.43) after 4...Nd4, Black scores a respectable 45.9% in practical play across over 84,000 games. You're fighting for the centre actively and forcing White to make accurate moves.

What is the best move for White after 4...Nd4?

The engine's best move is 5.Nxd4, leading to 5...Bxd4 6.c3 Bb6. This is also the most popular move at the club level. White's other tries like 5.c3 and 5.Nxe5 are actually mistakes that give Black an advantage.

Why is 5.c3 a mistake for White?

After 5.c3 Nxf3+ 6.gxf3, Black trades knights and destroys White's kingside pawn structure. White's king becomes exposed, and Black scores 61.1% from this position. Avoid this line if you're playing White — it's a mistake costing White about 1.4 pawns.

How should Black develop after the forced Nxd4 line?

After 5.Nxd4 Bxd4 6.c3 Bb6, develop your kingside quickly: play ...Nf6 or ...Ne7, castle, and prepare ...d6 followed by ...f5 or ...Re8. Your bishop on b6 is safe and keeps pressure on the centre and kingside.