Openings · Improver

Ruy Lopez: The Main Line Move by Move

Walk through the Ruy Lopez main line one move at a time — why 3.Bb5, why 4.Ba4, why c3 and d4, and how White reaches the classic Closed Spanish tabiya.

So you want to actually play the Ruy Lopez, not just nod along to it. Good. The opening has a deserved reputation for depth, but the main line is wonderfully logical — every single move has a clear job. Let’s walk the classic Closed Spanish from move one to the famous move-9 tabiya, with the why behind each move.

The line we’re learning: 1.e4 e5 2.Nf3 Nc6 3.Bb5 a6 4.Ba4 Nf6 5.0-0 Be7 6.Re1 b5 7.Bb3 d6 8.c3 0-0 9.h3 This is the Closed Ruy Lopez — the backbone of Spanish theory.

Move Player

Step through the line

Move by move — press Next to advance, Back to rewind.

Move 0 / 17 Press Next to begin

The Closed Ruy Lopez main line all the way to the classic move-9 tabiya.

Move by move

1.e4 e5 — staking the center

Both sides plant a pawn in the middle and free their bishops. Classic, principled, open-game stuff. Nothing fancy yet.

2.Nf3 — develop with a threat

White’s knight hops out and immediately attacks the e5-pawn. Developing with a threat is exactly what good opening play looks like — you make Black react.

2…Nc6 — defend and develop

Black’s most natural reply: the knight defends e5 and develops toward the center. One move, two jobs.

3.Bb5 — the move that names the opening

Here it is. The bishop attacks the c6-knight — and that knight is the only thing defending e5. White is leaning on Black’s center indirectly.

A crucial point for beginners: this does not win a pawn. If White ever grabs it with Bxc6 and Nxe5, Black plays …Qd4 or …Qg5 to fork the loose pieces and win the material straight back. The bishop is here for pressure, not a quick snack.

The Ruy Lopez starting position after 3.Bb5 — the bishop pins down the e5-pawn's defender.

3…a6 — the Morphy Defence

Black pokes the bishop: “commit or back off.” This is the most popular move at every level. It’s named after Paul Morphy, and it’s the gateway to the main lines.

4.Ba4 — keep the pin alive

White slides back to a4 instead of trading. The bishop still rakes the a4–e8 diagonal and still eyes c6. (White can trade with 4.Bxc6 — that’s the Exchange Variation, covered in our variations guide — but 4.Ba4 is the main move.)

4…Nf6 — counterattack e4

Black develops the kingside knight and hits White’s e4-pawn. Now both sides have a target, and the tension is real.

5.0-0 — king safety first

White castles, calmly ignoring the “threat” to e4. Why is that safe? Because if Black grabs the pawn with 5…Nxe4 (the Open Variation), White gets fast development and a strong center with 6.d4 in return. Castling is the higher-priority move.

5…Be7 — solid and flexible

Black develops the bishop to a quiet but sturdy square, preparing to castle. (The greedy 5…Nxe4 leads to the sharp Open Ruy — a perfectly good but different game.)

6.Re1 — reinforce the center

The rook lifts to e1, adding a defender to the e4-pawn so White is ready for …b5 next without any tactical hiccups on the e-file.

6…b5 — kick the bishop, gain space

Now that the pin matters less, Black gains queenside space and chases the bishop off the a4–e8 diagonal.

7.Bb3 — the bishop finds its diagonal

The bishop retreats to b3, where it now stares down the a2–g8 diagonal at Black’s f7 and king. Far from being a sad retreat, b3 is one of the bishop’s best homes in the whole opening.

7…d6 — shore up e5

Black supports the e5-pawn with the d-pawn, opens a path for the light-squared bishop, and prepares to complete development.

8.c3 — preparing the big break

This quiet little move is the heart of White’s plan. The pawn on c3 prepares d4, building the broad center White craves, and gives the bishop a possible retreat square on c2.

8…0-0 — Black tucks the king away

Black completes castling. Both kings are safe; now the real strategic battle begins.

9.h3 — the little luft move

A famously useful “small” move. 9.h3 prevents Black from pinning White’s f3-knight with …Bg4 (which could become annoying once White plays d4). It also gives the white king a breathing square. It looks like nothing — it’s pure Spanish prophylaxis.

The classic Closed Ruy Lopez tabiya after 9.h3 — White is fully prepped to play d4 and start the squeeze.

The tabiya — and where it branches

That move-9 position is a genuine tabiya: a key crossroads that thousands of master games have reached. From here, Black chooses a setup and White starts the famous maneuvering:

  • 9…Na5 hits the b3-bishop and heads toward c4 (the Chigorin).
  • 9…Nb8 is the patient Breyer regroup, rerouting the knight to d7.
  • 9…Bb7 develops first (the Zaitsev), eyeing e4 down the long diagonal.

And White’s signature plan kicks in: d4 to grab the center, then the knight tour Nbd2–f1–g3 to bring the queen’s knight to a dream square. This slow, grinding buildup is the Spanish Torture in action.

For the full tour of all these branches — plus the Berlin, Exchange, Open, and Marshall — head to our variations guide. New to all of this? Start gentle with the Ruy Lopez for beginners.

FAQ

What’s the main line of the Ruy Lopez? The Closed Ruy: 1.e4 e5 2.Nf3 Nc6 3.Bb5 a6 4.Ba4 Nf6 5.0-0 Be7 6.Re1 b5 7.Bb3 d6 8.c3 0-0, usually followed by 9.h3 and d4.

Why does White play 9.h3? To stop Black from pinning the f3-knight with …Bg4. The pin would get annoying once White plays d4, so White spends a tempo to rule it out — classic prophylaxis. It also gives the king a luft square.

Do I have to memorize all nine moves? You should understand the ideas (pressure c6, build with c3+d4, reroute the knight). The exact move order then feels natural rather than memorized.

What if Black doesn’t play 3…a6? Then you’re likely in the Berlin (3…Nf6) or a sideline — see our variations page for those.

Keep climbing

Want the reasoning behind moves like “develop with a threat” and “castle early”? Read the opening principles — the Ruy Lopez main line is a textbook example of every one of them. And loop back to the Ruy Lopez overview or the openings hub any time.


Written and fact-checked by the Chess Lab Academy Editorial Team (AI-assisted, human-edited) · Lines checked against mainstream opening theory and verified with Stockfish 17 · ECO C60–C99 · Last verified 2026-06-25 · Sources · How we verify content.

About this lesson — Chess Lab Academy's editorial team researches, writes, and fact-checks every lesson. Content is drafted with AI assistance and every move is engine-verified before publishing — see our methodology. Read our methodology →
Verification — engine-verified (Stockfish 17) + mainstream opening theory; ECO C60–C99 · Last verified June 25, 2026
Puzzles — from the Lichess open database (CC0), each engine-verified at the source.
Samurai Warlords ChessLive 3D chess with skins & rewards
Get the app