KnightyLearnChess
TacticsPlay as White

Opposite-Side Castling

Kings on opposite wings mean a pawn-storm race. Learn to push into the hook, pay material for time, and know the one moment to stop and defend.

Try Interactive Lesson

Introduction

When both kings castle on the same side, pushing the pawns in front of your king is a risk: every step forward loosens your own shelter. When the kings castle on opposite sides, that brake is gone. The pawns in front of the enemy king have no king of your own behind them, so they are free to run. They run for one reason: to open a file or a diagonal, because rooks, queens and bishops need open lines to reach a king and mate it. Your opponent is doing the same on the other wing, so the game becomes a race — and in a race one move, a tempo, is worth more than a pawn, and sometimes more than a rook. A storm needs a target. That target is the hook: a pawn that has stepped forward in front of its king, to g6 or h6, b6 or a6. Your pawn can attack it, and once pawns meet there, a line opens. This lesson gives you four working rules: push into the hook, pay material for time, check your opponent's fastest threat before every attacking move, and defend only when that threat is real. The positions come from grandmaster games in the Sicilian Dragon and from Lichess puzzles.

Lesson Content

Try this position

White has just castled long; Black castled short two moves earlier. The kings stand on opposite wings, on c1 and g8. Look at White's pawns on g2 and h2. No white king sits behind them, so they can advance two, three, four squares, and White's king is no less safe for it. Their target is the pawn on g6. It stepped forward to let the bishop out, and that makes it a hook: once the h-pawn reaches h5 it attacks g6, and after a capture on g6 or h5 White's own h-pawn is out of the way and the rook on h1 looks straight down the file at h7. A queen and a rook that meet on h7 give mate. A king behind three pawns that never moved offers no hook, and a storm against it takes far longer. Black has the mirror plan: the a- and b-pawns can run at c1, and the c-file, already half-open because Black has no c-pawn, points at c2. Both sides attack. So the question behind every move is the same: whose attack lands first?

King AttackTempo
Try this position
16. h5

Your e5-pawn is attacked and nothing defends it. Black's hook stands on g6. Choose: save the pawn, or spend the move on the attack.

h5 lets the e5-pawn go and attacks the hook. Black cannot take the bait: after ♘︎xe5 hxg6 the h-file is open, and whichever pawn recaptures, the queen mates on the h-file next move. Taking the h-pawn fails as well: gxh5 ♖︎xh5 threatens ♕︎xh7#, and Black must give up the queen to delay it. Shirov pushed his g-pawn past instead to keep the file shut, and lost that pawn with check two moves later. One move against the hook was worth more than the pawn on e5: White is winning.

King AttackTempo
Alternative Moves
f4 — f4 saves the pawn and loses the race. Black's attack gets the free move: ♖︎xb3 gives a rook to rip open your king, and after axb3 ♕︎xc3 the queen threatens a check on a1 that drives the king into the open. Black is winning. The pawn on e5 was never the point — the move was.
Try this position
23. ♖︎1xh5

Black's knight has shut the h-file, your rook on h7 is attacked by the king, and Black is about to open the b-file. Keep the file open, whatever it costs.

♖︎1xh5 gives a rook for a knight to keep the attack at full speed. The knight had shut the h-file, and behind that block the rook on h7 was open to capture by the king. Now the file is yours again: Black has to take back with gxh5, or White has won a knight for nothing. Look at the queenside too. White's pawn on a3 is a hook for Black, the b-pawn already bites it, and a capture there opens the b-file at your king. A rook retreat would have cost the one thing you cannot win back in a race: the move.

SacrificeKing AttackTempo
Alternative Moves
♖︎h6 — ♖︎h6 saves the rook and hands Black the move. bxa3 opens the b-file at your king, and after ♖︎xg6+ ♔︎f7 the rook on b8 is ready to take on b2. Both kings are now under fire and White keeps only a small edge. White's winning attack needed the h-file at once.
Try this position
24. g6

You are the exchange down, and Black threatens to open the b-file. Make a threat that is bigger and faster.

g6 protects the rook on h7 and threatens mate. Black's own break is one move too slow: after bxa3 ♖︎h8+ ♔︎xh8 ♕︎h6+ ♔︎g8 ♕︎h7+ ♔︎f8 the queen mates with ♕︎f7#. The only defence was to trade down: ♖︎xc2+ ♕︎xc2 ♕︎xc2+ ♔︎xc2, and after b3+ wins the knight back Black is left in a rook endgame a pawn down, against a rook on the seventh rank and a pawn on g6. Relange resigned a move later. White was the exchange down when the pawn went to g6. It did not matter, because White's threat was mate and Black's was not.

King AttackTempo
Alternative Moves
b3 — b3 stops to defend, and the tempo goes to Black. ♕︎b5 brings the queen across; from e5 it will cover h8, and the mate is gone. With no mate, the count decides: Black is the exchange up and winning.
♘︎xb4 — ♘︎xb4 takes a pawn and loses a piece. ♖︎xb4 takes the knight, and the rook cannot be taken back: axb4 ♕︎a1# is mate. Black is a rook up.
Try this position
20. ♔︎b1

You are one move from pushing the h-pawn into the hook. First find Black's fastest threat against your king — and take it away.

♔︎b1 takes one move off the attack and wins the race with it. On c1 the king stood on the c-file, in line with the rook on c8, and the pawn on a2 had no defender. Pushing the h-pawn at once would have lost to a bishop capture on c2. From b1 the king guards a2 and has left the c-file, so the sacrifice no longer works: ♗︎xc2+ ♘︎xc2, and when Black opens the b-file with the pawn, axb3 ♖︎xb3 ♕︎d2 leaves White a knight up for a pawn. Jianu took the d-pawn instead, his bishop was driven back, and two moves later the h-pawn went forward after all. Defend when the threat is real, with the cheapest move that stops it — then go back to the attack.

King SafetyProphylaxisTempo
Alternative Moves
h5 — h5 is the move you want, one tempo too early. ♗︎xc2 takes the pawn in front of your king. If hxg6, ♗︎xg6+ is a discovered check from the rook on c8, and Black's attack arrives first. If ♘︎xc2, the b-pawn advances and tears the king's cover apart. Black is winning either way.
♘︎c6 — ♘︎c6 blocks the c-file with the knight, but Black just takes it: ♖︎xc6 dxc6 ♗︎xc6. You have won a rook for a knight and a pawn, and lost the initiative — the bishop now attacks f3, Black's play against your king goes on, and the game is level.
Try this position
22. ♕︎xh7+

You are a bishop and a pawn down, and Black's queen is one check away from your king. The hook on g6 is waiting — but first put the black king where the capture will hurt most.

♕︎xh7+ gives the queen to drag the king to h7, right next to the hook. Nothing protects the queen, and the knight on e7 covers g8, so the king has to take: ♔︎xh7. Now the h-pawn has its capture, with the rook on h1 behind it. You were a bishop and a pawn down before the sacrifice. None of that will matter.

SacrificeDouble CheckKing Attack
Alternative Moves
hxg6 — hxg6 takes the hook, but it is not check, so Black moves first. ♕︎a2+ starts a run of checks that chases your king up the board and ends by trading queens. The mate is gone, and Black is a piece up and better.
Try this position
23. hxg6#

The king has been dragged to h7. Finish the game in one move.

hxg6# is checkmate, and a double check: the pawn checks from g6 and the rook from h1, down the file the pawn has just left. The king cannot take the pawn, because the knight on e7 protects it, and the same knight covers g8. This is what the hook is for. The pawn that attacked it opened the file and joined the mating attack in one move.

Double CheckKing Attack
Try this position

White is a pawn up. The bishop on g7 is the black king's best defender, and White would like to trade it off or start the pawn storm. But Black's queen, the rook on c8 and the bishop on f5 are aimed at a2 and c2. What should White play?

King SafetyProphylaxis
Try this position

Black has just taken a knight on c3, and the bishop attacks your queen. For the moment Black is a rook and a pawn up. But no pawn covers the black king on the g-file, and your f-pawn stands on f5. Which move wins?

King AttackTempo
Try this position

White is a pawn down, with the queen already on h6 and a pawn on h4. Black's queen on a5 looks at a2, which the knight on c3 defends. What is White's plan?

King AttackTempo

Key Takeaways

  • Kings on opposite wings: the pawns in front of the enemy king are free to run, because your own king is not behind them.
  • Aim the storm at the hook — a pawn on g6 or h6, b6 or a6. Where pawns meet, a file opens.
  • Count tempo before material: a pawn or an exchange is well spent if it opens a line one move sooner.
  • A threat of mate outranks any other threat. Ask whose attack lands first.
  • Before every attacking move, find the opponent's fastest threat. Defend only when it is real — with one cheap move, like ♔︎b1.

Now play it through

Step through every move on a real board, try the wrong ones, and ask Knighty why they fail.

Practice Interactively

Related Lessons

Summary

With kings on opposite wings, the pawns in front of the enemy king are attackers, not shelter. Push them into the hook — a pawn that has stepped forward in front of its king — because that is where a file opens, and open lines are how rooks and queens reach a king. Both sides do this, so count moves, not points: a pawn, an exchange, even a queen is well spent if your threat is mate and lands first. Before each attacking move, find your opponent's fastest threat. If it is real, stop it with the cheapest move you have, such as a king step off the open file, and go back to the attack. If it is not, do not spend the move.

Ready to Practice?

Next in this course

Mate in Five

Take this lesson with you

Free account required

With every variation — opens in Lichess & ChessBase