← All Tactics

Kingside Attack

Stage 2Tactic

A castled king looks safe. Three pawns stand guard, and the corner seems to leave no angle of approach. The kingside attack starts from the observation that this safety is conditional: the shield is only a shield while the pawns stay home. Batter a file open with your own pawns, or rip the shield off with a sacrifice, and the corner turns from a shelter into a cell with no exit.

Here is the cleanest version to calculate - the finish of a pawn storm in an opposite-side castling position. White's king lives on the queenside (b1), so White can throw the kingside pawns forward at no personal risk, and Black's advanced g6-pawn (a pawn like this is called a "hook") is already in contact with White's h-pawn. Step through with ►:

No captures+1
8
7
6
5
4
3
2
a1
b
c
d
e
f
g
h
Start(0/3)

1.hxg6 starts prying the h-file open. If Black recaptures with 1...hxg6, the file opens all the way and 2.Qh8# ends it. The queen can walk in only because the h1-rook backs her up, so the king cannot take her. Nor can it run: its own f8-rook and f7-pawn block two exits, and the queen on h8 covers g7 and h7. The other replies fail too. 1...fxg6 opens the seventh rank, and 2.Qxh7# mates at once. The most stubborn try, 1...Qxg6, runs into 2.Rdg1, which pins the queen to the king along the g-file, so Black gives up the queen for a rook. Leaving the pawn alone is no better: the white pawn on g6 bites into both f7 and h7 at once, so the shield collapses regardless.

How often does it show up

Of the 212,300 puzzles in this site's database, 14,749 (6.9%) carry the kingside attack tag (counted August 2026). That is about 3,100 fewer than the fork (17,829) and about 2,600 fewer than the sacrifice (17,332).

87.8% are tagged middlegame, the highest middlegame share of the 48 tags measured here; opening and endgame come to 6.1% each. 49.7% end in mate and 24.3% also carry the sacrifice tag. 32.6% sit below rating 1200 and 22.5% at 1900 or above (ratings 501-2689), so the tag is not confined to one end of the scale.

What a Kingside Attack Is

An attacking plan against a king castled short: open the shield, feed pieces in, and convert into mate or material. It's a multi-move plan rather than a single tactic, and it usually runs in three phases:

  1. Open - pawn advances (h4-h5, g4-g5) or a piece sacrifice crack the files and diagonals in front of the king.
  2. Invade - queen and rooks take the opened lines; knights take advanced posts.
  3. Finish - checks and forcing moves convert into mate or a decisive gain.

The order matters. Pieces that invade before a line is open get chased away; lines opened with no pieces ready give the defender time to regroup.

When You're Allowed to Start One

A kingside attack is only a plan when the preconditions hold. Check three things:

  1. Is there a hook? If the defender has advanced a shield pawn to h6 or g6, one pawn contact is enough to force a file open - that's exactly the role g6 plays in the example. With no hook, opening a file costs several extra moves.
  2. Is your own king safe? With opposite-side castling you can throw kingside pawns freely, since your own shield stays intact. Castled on the same side, every pawn push opens your own king too.
  3. Do you outnumber the defense? If the opponent's pieces are stuck on the queenside, your attackers on the kingside outnumber their defenders before the first blow.

Common Mistakes

  1. Sending the queen in alone. An unsupported queen gets kicked around after a check or two while the defender consolidates. Even Qh8 in the example only works because the h1-rook stands behind it.
  2. Pawn-storming in a same-side castling position. Pushing the pawns in front of your own king opens counter-lines at home. Same-side attacks usually go piece-first, not pawn-first.
  3. Opening a file and handing it to the opponent. A file belongs to whoever occupies it with heavy pieces first, not to whoever opened it. Before you open one, make sure your rooks and queen can reach it.

The Bishop-Sacrifice Version

Instead of a pawn storm, the shield can be ripped off directly with a piece - most famously the bishop sacrifice on h7 (or h2). If the king recaptures, a knight check and the queen's arrival follow. But this sacrifice has strict preconditions: the defender must be unable to bring a knight back to f6, the queen needs a clear route to the h-file, and follow-up pieces have to be ready. Thrown without checking those conditions, the h7 sacrifice is just a lost bishop.

How Chess Motif Stats Trains This

The kingside attack is tracked as one of 53 separate motifs. Its puzzles usually start with the shield already open (or one move from open), which concentrates the training on the finish phase - the concrete calculation at the end of open-invade-finish. Choosing an opposite-castling position for this page's example is deliberate, too: with your own king's safety removed as a variable, the skeleton of the attack (strike the hook, open the file, invade with support) shows up at its clearest.

Before You Move

  • Does the defender's shield have a hook (an advanced pawn) or an already-open file?
  • Is my own king safe from the side effects of this attack?
  • Are my heavy pieces and their support ready to occupy the lines I'm about to open?
  • Exposed King - the condition a successful kingside attack produces.
  • Sacrifice - the piece-powered way to rip the shield open.
  • Back Rank Mate - the opposite weakness: a shield so intact it suffocates its own king.

FAQ

Q. Kingside attack vs. exposed king - what's the difference? The kingside attack is a plan; the exposed king is a condition. When the opening phase of a kingside attack succeeds, the defender's king becomes exposed - and from there the exposed-king principles (chain the checks, feed in pieces, avoid trades) take over.

Q. No hook in the enemy shield - should I give up the attack? Not necessarily, but the attack gets more expensive. Without a hook you'll need deeper pawn pushes or a sacrifice to open lines, which costs time and risk. First check whether your pieces are active enough to justify that cost.

Q. Is a pawn storm always wrong when we're castled on the same side? Not always. If the center is locked and the opponent has no central counterplay, same-side storms can work. The test is the race: how fast is their counterattack versus how long your shield holds.

Q. How many attackers does a kingside attack need? There's no fixed number, but at the finish the attackers usually need to outnumber the defenders by at least one for the calculation to work. The example works because two pieces, queen and rook, share the h-file; without the rook, the king would simply take the queen.

References

  • Lichess, puzzle theme Kingside attack (the source of this site's puzzle tags). https://lichess.org/training/themes
  • Statistics produced by scripts/analyze-theme-stats.mjs --theme kingsideAttack; the run is recorded in docs/data/kingsideAttack-stats.md.

On Chess Motif Stats, the kingside attack is tracked as one of 53 separate motifs. The pattern of finding the hook, opening the file, and invading with support comes back for review through SM-2 spaced repetition.

Start training: Kingside Attack Training

Related: Exposed King · Sacrifice · All tactics