Tera Chess My training

How to Use Key Squares in Chess Pawn Endgames

Find the king move that wins with a central pawn. Then see what changes on the fifth rank and at the edge of the board.

The exact starting position from Board A. White king c5 and pawn d4 face Black king e7.
Board A’s checked starting position, placed over a generated tabletop.

A key square in a king and pawn ending is a square the attacking king can occupy to force promotion with accurate play. Start by naming the pawn’s rank. A white pawn on d4 has three targets two ranks ahead on c6, d6 and e6. The defending king may control several of them. Choose one you can reach without losing the pawn, then use the king to protect its advance.

In the first position, play White with king c5 and pawn d4 against the black king on e7. The only winning first move is Kc6. You can also push the pawn to d5 or move the king there. Both give Black a draw. Try all three before reading the explanations. The next positions show why standing just one rank ahead works better when the pawn has already reached the fifth rank, and why the a-file needs its own calculation.

How to choose a key square for your king

Use the following targets for a central pawn in a three-piece ending, provided the pawn stays safe. The colors in the diagrams show the targets for that pawn. Some squares may be closed off by the defender on your turn.

Second to fourth rank
Look two ranks ahead. Use the square on the pawn’s file and the square on either side of it. A white pawn on d4 points to c6, d6 and e6.
Fifth or sixth rank
For the central pawns in this guide, the three squares on the next rank become targets too. A pawn on f5 points to e6, f6, g6, e7, f7 and g7.
On the a-file or h-file
Check the promotion corner first. For the advanced a-pawn below, the useful targets are b7 and b8. The defender can draw if it gets a secure hold on a8.

Start the count from the pawn’s side of the board. White moves toward rank eight, and Black moves toward rank one. For example, Black’s d5-pawn has targets c3, d3 and e3 in the same geometry as White’s d4-pawn. With a b-pawn or g-pawn near the corner, check for stalemate and whether the pawn can be captured before trusting the general pattern. Lichess’s early-rank key-square lesson · Lichess’s advanced-pawn lesson

  1. See whether the pawn can run on its own. If the defender cannot catch it, calculate the straight pawn race first. You may have time to promote without moving the king. Check the rule of the square.
  2. Name all three early-rank targets. If a key square is legal and the opponent cannot take the pawn, try that move. Scan the side squares even when you are already beside the pawn.
  3. If the direct route is closed, name a second route. Move toward a target you can reach on the following turn. Ask which reply Black would use to stop you. Taking opposition can help a king get through when both want the same square. Play the opposition examples.
  4. Recheck the targets before each pawn push. The next rank may change the targets, and moving the pawn can leave it beyond your king’s reach. Write out the first capture or the first safe promotion if the race is close.

Play five checked positions

White moves first on every board. Play any legal first move to see its win-or-draw verdict with best play, then step through one checked continuation. Compare Fourth rank and Fifth rank for the same relative layout at two distances from promotion. Compare Rook pawn in the corner and Rook pawn cut-off to see what changes when only the black king moves.

Board A · The king can reach c6 right now

White king c5 and pawn d4, Black king e7. The pawn’s key squares c6, d6 and e6 are highlighted.
Black’s king attacks d6 and e6. White can step to c6 from c5.

Count two ranks ahead of d4 and include the neighboring files. Black’s king on e7 covers e6 and d6. The c6 square is open, and White’s king can reach it in one move. It is one file to the left of the pawn, which lets White keep the route up the d-file clear.

Show why Kc6 wins and the two d5 moves draw

1.Kc6! wins. In the replay, Black retreats with 1…Kf8. White can play 2.d5 Kg8 3.d6 Kh8 4.d7 Kh7 5.d8=Q. The king on c6 covers d6 and d7 as the pawn comes up. Black has other choices, and White still has a forced win after every legal reply to Kc6. This is one way to finish.

1.Kd5? puts the king directly in front of the pawn. Black plays 1…Kd7, controls the sixth-rank entry squares, and can mirror 2.Ke5 with 2…Ke7. White owns a square just ahead of the pawn and has lost access to the squares that win.

1.d5? Kd7 2.d6 Kd8 3.d7 Kxd7 shows the early push going wrong. White’s king on c5 can guard d6. It is too far away to guard d7. The defender lets the pawn run until it reaches the square where it can be taken.

Work through the defender’s active reply

After 1.Kc6, Black can move forward with 1…Ke6. The black king now occupies another of the d-pawn’s targets. White can play 2.d5+. The pawn is protected by the king on c6, and from d5 it attacks e6. Black has to answer the check. Try 2…Ke7 3.Kc7 Ke8 4.d6 Kf7 5.d7 Ke7. White can play 6.d8=Q+. Black’s king reaches e7 in time to attack the promotion square, and White’s king on c7 protects the new queen.

Stop before promotion and move White’s king from c7 back to c6 on an analysis board. Leave Black’s king on e7 and White’s pawn on d7. Now a queen on d8 can be taken. White’s king still guards the pawn on d7 and is a rank too far from d8. Play Kc7 first. It is the only move that preserves the win in this changed position. Reaching a key square earlier in the ending gives you a way to win. Advancing the pawn safely still means checking the next destination.

Start one square back and find a second route

Move White’s king from c5 to c4 and keep the other pieces fixed. Now c6 takes two king moves to reach. Play 1.Kc5. If Black replies 1…Kd7, that king now attacks c6. Continue 2.Kd5 Ke8 3.Ke6. White lands on a different key square. The square you initially choose helps you decide where to go, and the defender’s reply can change your route.

Board B · The same arrangement a rank farther up

Fourth-rank case. White king f5 and pawn f4, Black king f7. Key squares e6, f6 and g6 are highlighted.
Fourth-rank pawn. White’s king is short of the target rank.
Fifth-rank case. White king f6 and pawn f5, Black king f8. The key squares on the sixth and seventh ranks are highlighted.
Fifth-rank pawn. White’s king is already on f6, a key square.

In the first diagram, White has Kf5 and f4 against Kf7. Black controls e6, f6 and g6. If White sidesteps with 1.Ke5, Black can play 1…Ke7 and keep taking away the next rank. The line 2.f5 Kf7 3.f6 Kf8 4.f7 Kxf7 shows how Black can wait in front of the pawn. With White to move, all four legal king moves draw against accurate defense.

Move every piece up one rank. Now White has Kf6 and f5 against Kf8. Black still has direct opposition because White has to move. White already occupies a key square for the f5-pawn. Moving sideways to another sixth-rank key square keeps the win. Try 1.Ke6 Kg8 2.f6 Kh8 3.Ke7 Kh7 4.f7 Kh8 5.f8=Q+.

Compare 1.Ke5? in the fifth-rank position. Black steps to 1…Kf7 and holds the draw. White had access to three key squares across the sixth rank and gave it up by moving backward. Before moving a king that already stands on a key square, identify where you will guard the pawn after the next push.

Board C · The corner can decide a rook-pawn ending

White king b6 and pawn a5, Black king a8. The typical targets b7 and b8 are highlighted but are controlled by Black.
The black king occupies a8 and controls both entry squares.
White king b6 and pawn a5, Black king d8. The rook-pawn key squares b7 and b8 are highlighted.
With Black’s king on d8, White can occupy b7 and cut off c7 and c8.

White has the same king and a-pawn in both diagrams. On the first board the black king is already on a8. If White pushes 1.a6 Kb8 2.a7+ Ka8, the black king can block the promotion square. After 3.Ka6, there are no legal black moves and no check. Moving away with 3.Kc7 permits 3…Kxa7. This is a draw with best play from the original position.

Move Black’s king to d8. White can now reach 1.Kb7!. From b7 White’s king controls both c7 and c8, the immediate routes Black needs to head for the corner. It also protects a7 and a8 for the pawn. Follow 1…Ke8 2.a6 Kf8 3.a7 Kg8 4.a8=Q+. 1.a6 also wins here. The king move demonstrates how occupying b7 solves the problem.

Try 1.Kc6? in the winning diagram. Black can play 1…Kc8 and regain access to b8 and a8. White’s king has moved toward the defender and left b7 unoccupied. When you are considering a trade into a rook-pawn ending, ask who reaches the promotion corner or cuts it off first. Lichess’s rook-pawn key-square drill · Practise spotting stalemate

Check for a stalemate trap with a b-pawn or g-pawn

Put White’s king on c6 and pawn on b6, with Black’s king on a8. It’s White to move. The tempting 1.Kc7 reaches the seventh rank and seems to clear the pawn’s path. Count Black’s replies. White’s pawn covers a7, and White’s king covers b7 and b8. The black king on a8 is outside check. The move is stalemate.

White’s other moves also draw with best play in this exact setup. For example, 1.b7+ lets Black go to 1…Kb8. White’s king on c6 is too far away to take away b8. The file next to the edge gives the defender a corner to hide in. Use this as a cue to count legal moves near the edge, especially before the last quiet king move.

In an ending with extra pawns, first check whether one of them can move while its own king is boxed in. If so, play continues, and the tempo may change your promotion plan. For the three-piece exercises here, the black king’s mobility and the safety of the pawn settle the issue. When you review a larger ending, calculate the actual recaptures before assuming a trade reaches one of these positions.

Turn an ending from a completed game into a test

Find the position before the last pawn or piece exchange. Draw the pawn ending that would result and keep the actual side to move. Name its nearest key square or the promotion corner. Check whether the defender can reach that square before you do. Then work through the next two moves on a board. Positions that look identical at a glance can have different results once you account for the recapture and whose turn follows it.

Retest your choice one move earlier in the original game. Perhaps your king needed to start a square closer before you traded. Perhaps the pawn could already run and you could use the king elsewhere. Record the square you underestimated and set up the position again later. You can use the practice card to compare the two routes to a key square before testing a position of your own.

For a second attempt, cover the answers and name two squares before touching a piece. Name the best square you can reach immediately and the square you would take if the defender blocked that route. Then replay your candidate as Black and try to prevent both entries. That shows whether your plan survives the reply you were expecting.

If both sides still have a rook, see how a rook can support or stop the passed pawn from the same file.

Download the key-square practice cardReview your own completed games

How the positions and the cover were checked

These positions were composed for the lesson. Python-chess checked legality and Syzygy verified the exact result after each of the 28 legal first moves and at each step of the replays. The cover uses the same Board A position as the playable lesson. The piece placement comes from the checked position, and the tabletop underneath is generated. Lichess tablebase documentation