Skip to content

A Prison for the King: Locking It Out of the Endgame

A king prison is a barrier of rooks, pawns or other pieces that keeps a king away from the real fight. Build one around your opponent's king in an endgame and you are often playing with an extra piece. Build one around the stronger side's king when you are worse, and you may rescue half a point.

Want to improve faster? International Master George Li starts a first lesson from your own games and sends a written plan after it: $150 for 60 minutes.

Book your first lesson ($150)

Why do endgames break the rules you learned first?

Many newer players find endgames the hardest part to learn. One reason is that several habits from the opening and middlegame stop working, or even turn upside down. Early on you fight for the centre, so a central pawn feels precious. With few pieces left, a faraway passer can matter much more. This outside passed pawn is often a rook pawn or a knight pawn, standing well away from the other pawns. It drags the enemy king to the edge while your king feasts on the other side.

Opening and middlegame habits against endgame habits
SubjectEarlier in the gameIn the endgame
Your kingTuck it away behind pawnsMarch it toward the centre and use it
Best pawnsCentral pawns control spaceA distant passed pawn can pull defenders away
Your rookFind it an open fileAlso use it to fence off the enemy king
Example position (constructed). White's a-pawn is an outside passer: to catch it, the black king must head toward the a-file, away from the pawns on f5 and g6. The diagram shows the idea, not a result.

Can a king really walk into battle?

Bringing the king forward often sounds reckless to a young player, who was taught to hide it. Once the queens and most other pieces are gone, there is much less that can hunt it down, and a king that gets active attacks pawns, escorts passers and covers key squares.

Long king walks before the endgame do happen, but rarely. The celebrated example is Nigel Short against Jan Timman, commonly given as Tilburg 1991, where Short's king strolled far up the board to join his own attack while it was still a middlegame. Treat it as a marvel to enjoy, not a plan to copy on Saturday. In endgames, by contrast, king marches are everyday business. That is exactly why a king that cannot march is such a handicap.

How do you build a prison?

The most common builder is a rook. A rook on an open rank or file attacks every square along it, and a king may never step onto an attacked square. So the king cannot cross. Coaches call the technique a king cut-off.

Four kinds of barrier
BarrierWhat it doesHow it can break
Rook on a rankHolds a king back on one side of the lineThe rook is attacked, blocked or traded
Rook on a fileKeeps a king away from one wingAn enemy rook challenges it or checks from elsewhere
PawnsCover squares the king needsA pawn advance or capture opens a gap
The king's own menOccupy the escape squaresOne of them moves or is exchanged
Example position (constructed). Black to move: the rook on a7 owns the seventh rank, so the king has only f8 and h8 and cannot leave the back rank while the rook keeps that line.
Example position (constructed). The rook on d1 walls the black king off from White's b-pawn. Black can challenge the wall at once with the rook move to d8. The diagram shows the barrier only, not who wins.

In the second diagram, no empty square of the d-file is open to the black king, so while the rook holds d1 the pawn is out of reach. A wall lasts only while its builder stays put.

What does a fully locked cell look like?

Sometimes the king has no legal move at all, yet the game goes on because other men can still move.

Example position (constructed). Black to move: g8 and g7 are covered by the rook and h7 is filled by Black's own pawn, so the king cannot move. Black still has pawn moves.

Pushing the h-pawn gives the king some air, but only along the h-file. It stays shut on that file unless it gets close enough to take the rook, something blocks the g-file, or the rook moves or leaves the board.

What happens when strong players miss it?

Experienced players rarely pass up a chance to shut a king out, which is why the exceptions stick in the mind. In one blitz game, Grandmaster Dominguez missed such an opportunity and went on to lose. Blitz leaves little time to think, so be kind: the lesson is that even superb players can overlook a quiet barrier when the clock is running.

Magnus Carlsen had a share of luck in that episode. He knows the value of a barrier: he had already used the same weapon himself in an earlier game against Grandmaster Aronian.

Can a prison save a lost game?

Yes. Locking up the stronger side's king can be your only road to survival. In the position below White has an extra pawn one step from queening, and the white king sits in front of it.

Example position (constructed). Black to move. The white king sits in the corner, in front of its own pawn.

Black shuts the door: 1... Kf7

After this move White has no legal move and is not in check, which is stalemate, a draw. Moving the black king to f8 does the same. Every other king move lets White step out. If White were to move first in the diagram, the king could slip to g7 and the pawn would promote next. One tempo separates a draw from a new queen.

What can studies and real games teach you?

Composed endgames, called studies, stretch this theme to its limit. The great study composer Alexey Troitsky created a well-known drawing task built on imprisoning a king, and it is considered very hard. Solving one like it is real calculation training: ask which squares the enemy king needs, then which of your men can take them away, even at the cost of material.

Do not file this under puzzle tricks. The same defensive idea has turned up in a real game between two grandmasters.

Two habits are enough to start with. First, remember that the king becomes a fighter once the endgame arrives, so get yours moving. Second, look for a way to fence in the other king, and before each move, check that yours cannot be fenced in. Next, see which endgames a beginner should learn first.

Frequently asked questions

What does it mean to cut off a king?

It means placing a piece, usually a rook, so that the enemy king cannot cross a rank or a file. The king may keep moving on its own side of the line but cannot get to the action beyond it.

Is a trapped king the same as checkmate?

No. A boxed-in king that is not attacked is not mated. If its side has another legal move, play continues. If there is no legal move at all and no check, the game is drawn by stalemate.

How can a child practise this idea at home?

Put a white king and rook on the board, and let a parent steer the only black piece, the king. Before each move, the child points to every square that king can use. Then they look for a rook move that shrinks that area without leaving the rook open to capture.

How do you escape a king prison?

Attack the piece that forms the wall, offer to exchange it, check the other king to gain time, or move a pawn that is blocking your own king. Calculate the ending that follows before you trade.

Want a coach to go through this with you? See chess coaching with International Master George Li or online chess lessons.

Find the moments where a king could be shut in

Go through your own endgames with George Li in a first lesson and practise cutting off a king before your opponent does it to you.

Cancel or reschedule a lesson up to 24 hours ahead by replying to the email that set it up, and it stays on your package.