How to attack a castled king
An attack on the castled king is a plan to break through the pawn shelter of a king that has castled. The classical sacrifices against it are not intuition. Each one is a pattern with preconditions, and the difference between a brilliancy and a thrown-away piece is whether the preconditions were checked.
When is a sacrifice against the castled king justified?
Before any sacrifice, three things should be true: your pieces outnumber the defenders near the king, you have a way to open a line, and the opponent cannot bring a defender across in time. If any one is missing, the sacrifice is a donation.
This is a judgement made before calculation, not after. Calculation then confirms it — checks, captures and threats only, as far as the forcing moves run.
The Greek gift, item by item
The bishop sacrifice on h7 is the model case, and its checklist is worth memorizing verbatim: the b1–h7 diagonal is clear, a knight reaches g5 in one move, the queen has a route to h5, there is no black knight on f6, and — the item most often missed — nothing covers g5.
In the Greek gift example that last item is what decides it. With Black’s bishop on d7 the sacrifice is close to winning by force; with the same bishop on e7 instead, the reply simply takes the knight and Black is two pawns better. One piece placement, and the identical sacrifice goes from best move to refuted.
Run the checklist before you play the sacrifice, not after. Every item is load-bearing, and the one you skip is the one that refutes you.
The Greek gift, move by move
The sacrifice is Bxh7+ Kxh7 Ng5+, and the black king has three answers. After ...Kg8, Qh5 threatens Qh7 mate, and Black has one move to find a defence. After ...Kg6 or ...Kh6, the king is pulled into the open, where checks from the queen and knight usually decide. Each line needs its own calculation, so check all three before you give the bishop.
Opposite-side or same-side castling?
When the kings have castled on opposite sides, a pawn storm is the fastest attack. Pushing the pawns in front of the enemy king does not weaken your own, so both sides race, and the first to open a file usually wins. When both kings are on the same side, pushing those pawns exposes your own king as well. There, attacks are carried by pieces: a rook lift, a knight on g5 or f5, a queen on the h-file.
How should the defender respond?
- Counter in the centre. A flank attack is best met by action in the centre, which pulls the attacker’s pieces back.
- Trade the attackers. Every exchange of an attacking piece takes one unit off the count.
- Keep a knight on f6. It covers h7 and h5 at once and blocks most sacrifices before they start.
- Leave the pawns in front of the king alone unless a concrete threat forces a move. Each pawn move creates a hole the attacker can use.
Count attackers and defenders
Before sacrificing, count the pieces that can reach the king’s area within two moves, for both sides. Three attackers against one defender is a strong signal. Two against two is usually not enough, whatever the position looks like. The count takes ten seconds and saves the calculation for positions that deserve it.
Count the defenders that can arrive in time, not only those already there. A knight two moves from f6, or a rook that can swing along the second rank, counts as a defender if it arrives before the mate.
Open a line, then bring a third piece
Two attackers rarely mate a castled king; three usually do. The standard sequence is to open a file or diagonal with a pawn or a sacrifice, then bring the last piece — a rook lift, a knight to g5 or f5, the queen to the h-file. Sacrifice and rook lift is the compact version.
A pawn on e5 is worth mentioning separately: it is an attacking piece, because it denies f6 to every defending knight that wants to come back.
Know the mating patterns you are steering towards
An attack is easier to conduct when you know what it is aiming at. Anastasia’s mate (knight and rook against a king on the edge) and Boden’s mate (two bishops on crossing diagonals) are two of the shapes worth holding in mind, and both are collected in the Mate Sequences category.
What happens when the attack does not work?
If the forcing moves run out and the king is still alive, you are simply down material. That risk is the reason for the checklist. Record your attempts — including the ones that failed — with the Brilliant Move template, which marks the key move and plays each defence as a branch, so the refutation is visible next to the idea.
Try it yourself. No account required.
Read next: Common mating patterns, The tactical motifs, Brilliant Moves in the Chess Library and Brilliant Move template.