In short
To attack the king in chess, first make sure the position allows it: a lead in development, more pieces near the king than the defender has, and a safe centre. Then bring your pieces toward the king, open lines with pawn advances or exchanges, remove or drive away the defenders, and look for sacrifices such as the Greek gift on h7. With kings castled on opposite sides, both players storm with pawns and speed decides.
Attacking the king is the most direct way to win a chess game, and also the easiest way to lose one. A good attack brings more force to the king than the defender can bring to protect it. A bad one throws pieces and pawns forward, runs out of steam, and leaves your own position full of holes. The difference is almost always in the preparation, not the sacrifice at the end.
1When should you attack the king?
An attack needs reasons. The position has to give you an advantage near the king, or the attack will simply be beaten off. Before you start, look for these signs.
- More of your pieces can reach the king's area than the opponent's pieces can defend it. Counting attackers and defenders is a rough but useful guide.
- You are ahead in development, so you can bring pieces faster than the defender.
- The defender's king cover is weakened: a pawn moved in front of the king, a missing fianchetto bishop, or no knight on f6 (or f3).
- The centre is closed or stable. An attack on the wing can be answered by a break in the centre, so a locked or safe centre makes a wing attack much safer.
- You have a space advantage on the side where the king is, often from a pawn on e5 (or e4 for Black) that takes f6 away from the defending knight.
2How to start a kingside attack
Most attacks are made against a king castled short, on g1 or g8. A kingside attack has three stages, and they usually come in order.
- 1Bring pieces. Aim bishops at h7 or h2, put a knight on g5 or e5, lift a rook to the third rank, and bring the queen to the h-file or the g-file.
- 2Open lines. Pawn advances such as h4-h5 or g4-g5 attack the pawns in front of the king and open files for your rooks. Exchanges that remove defenders do the same job.
- 3Break through. Once your pieces are close and a line is open, look for checks, captures and sacrifices that rip the king's cover away.
Remove the defenders as you go. A knight on f6 is the castled king's best defender, so moves that pin it, trade it or chase it away with a pawn are often the start of an attack. The fianchetto bishop on g7 is the other key defender: trading it with a bishop on h6 leaves dark squares around the king that no black piece can cover.
3What is the Greek gift sacrifice?
The Greek gift is the bishop sacrifice on h7 (or h2 for Black), named after the Trojan horse. The bishop takes the h7 pawn with check, the king takes the bishop, a knight checks from g5, and the queen comes to h5 to threaten mate on h7. The idea goes back at least to Gioachino Greco in the early 1600s, and it is still one of the most common attacking patterns at every level.
The ingredients are the point. White has the bishop on the b1-h7 diagonal, a knight that can reach g5 with check, a queen that can reach the h-file, and a pawn on e5 that stops a black knight from coming to f6 to defend h7. Black has no knight on f6 and no dark-squared bishop to take on g5.
That is only one branch. After 2.Ng5+ Black can also play 2...Kg6, 2...Kh6 or 2...Kh8, or take the knight with 2...Qxg5, which the bishop on c1 answers with 3.Bxg5. Whether the sacrifice works depends on all of those lines, and on defences such as ...Re8 to free f8 for the king. Before you play Bxh7+ in a game, calculate the king's three main replies. The pattern tells you where to look; it does not do the calculating for you.
4Opposite side castling: who attacks first?
When the kings are castled on opposite sides, the game changes character. Each player can throw the pawns in front of the enemy king forward without weakening their own king, because those pawns are not sheltering anything. The result is a race: both sides storm, and whoever opens lines first usually wins.
Black's play comes on the other wing, along the half-open c-file and with ideas like ...Ne5-c4 and ...b5. In this kind of race, tempo is everything. A move that attacks something with gain of time is worth more than a slow improving move, and a defensive move is only worth making when it stops a direct threat.
- Push the pawns that open files toward the enemy king. A pawn that is exchanged for one of the king's shelter pawns is usually the quickest way to open a line.
- Do not push the pawns in front of your own king; they are your shelter.
- Count how many moves each side needs to open a line. If you are slower, you may need to defend first or block the opponent's storm.
- Sacrifice a pawn or even a piece if it opens a line a move sooner. In a race, time is often worth more than material.
5What is a pawn storm?
A pawn storm is an advance of several pawns, side by side, toward the enemy king. The pawns attack the king's shelter, force weakening pawn moves, and open files for your rooks and queen. Pawn storms are most natural with opposite side castling, but they also happen with both kings on the same side when the centre is locked, so the attacker's own king is not in danger from a central break.
In this structure White's play is on the queenside, where White pushes c4-c5 to open lines there, while Black attacks on the kingside. Because the centre is locked, neither side can punish the other's wing attack quickly through the middle, and the game becomes a race again even though both kings are castled short.
6How to defend when your king is attacked
- Counter-attack in the centre. A wing attack is classically met by a central break, which opens lines for your own pieces and pulls the attacker's pieces back.
- Trade attacking pieces, especially the queen. An attack without the queen usually has far less force.
- Keep a knight on f6 (or f3) and do not let it be traded cheaply. Avoid weakening pawn moves in front of your king unless they stop a concrete threat.
- Bring defenders before they are needed: a rook to f8 or e8, a bishop or knight to the kingside.
- Calculate the opponent's sacrifices for them. If Bxh7+ is coming, check whether it works now, and if it does, prevent it with a move such as ...Nf6 or ...h6.
7Common attacking mistakes
| Mistake | What goes wrong | Better habit |
|---|---|---|
| Attacking with one or two pieces | The defender meets each threat and the attack fizzles | Bring more pieces than the opponent can defend with |
| Starting a wing attack with an open centre | A central break hits your weakened position | Make sure the centre is closed or under control first |
| Pushing the pawns in front of your own king | You create the weaknesses you meant to attack | Storm with the pawns that are not sheltering your king |
| Sacrificing on pattern alone | One king move or defence refutes the sacrifice | Calculate every check and capture the defender has |
| Ignoring the opponent's counterplay | Their storm arrives first | Count tempi on both wings with opposite side castling |
8How to practise attacking the king
The puzzle themes page has a Kingside attack theme and an Exposed king theme, and attacking puzzles also appear under Sacrifice and under Mate in 2, 3 and 4. Solve them for the patterns, then play the attack out in real games against computer opponents on the Play page, where you can try attacking set-ups without risking a rating. After your games, a game review shows where an attack went wrong, and Key moments brings back the positions where you missed a winning attack so you can try them again.