Chess tournaments Chess strategy Computer chess Chess players FIDE Chess variants Chess rules and history

King and pawn versus king endgame

The chess endgame with a king and a pawn versus a king is one of the most important and fundamental endgames, other than the basic checkmates (Lasker 1915). It is important to master this endgame, since most other endgames have the potential of reducing to this type of endgame via exchanges of pieces. It is important to be able to tell quickly whether a given position is a win or a draw, and to know the technique for playing it. The crux of this endgame is whether or not the pawn can be promoted (or queened), so checkmate can be forced.

In the first paragraph of one of his books on endgames, Peter Griffiths emphasized the importance of this endgame:

There is simply no substitute to a clear understanding of when and how these positions are won or drawn, not only so that one can play them accurately, but in order to recognize in advance what the correct result should be. If you can do that, you can exchange off quite confidently from a more complex position (Griffiths 1976:1).

In the positions in which the pawn wins, at most nineteen moves are required to promote the pawn (with optimal play) and at most nine more moves to checkmate, assuming that the pawn was promoted to a queen (Levy & Newborn 1991:144).

Except for the section on defending and some actual games, it will be assumed that White has a king and pawn and Black has a lone king. In general, Black should place his king in the path of the pawn to try to prevent its promotion.

Rule of the square

a b c d e f g h
8
8
7 7
6 6
5 5
4 4
3 3
2 2
1 1
a b c d e f g h
Rule of the square

The first thing to realize is that the pawn may be able to queen unassisted by his king, simply by advancing to the queening square before the opposing king can capture or block the pawn. The rule of the square is useful in determining whether the pawn can queen unassisted, or whether the king can stop the pawn. In this position, the pawn is on the fifth square from the queening square (counting the queening square itself). A square of five by five squares with the queening square in one corner and the pawn in an adjacent corner can be imagined. (Often, the easiest method of constructing the square is to draw a diagonal mentally from the pawn to the last rank; this is the diagonal of the square). If the black king can move into this square, he can stop the pawn, otherwise the pawn wins the race. In this position, if it is Black's move, he can move to b4 and enter the square, therefore he can stop the pawn. If it is White's move, the pawn advances, the square shrinks to four by four, and the king cannot move into the square, so the pawn queens (Müller & Lamprecht 2007:15). See Wikibooks - Chess/The Endgame for further discussion on the rule of the square.

From Fishbein
a b c d e f g h
8
8
7 7
6 6
5 5
4 4
3 3
2 2
1 1
a b c d e f g h
Black to move. Black can move inside the square of the pawn, but the white king can block it.

Even if the defending king can move inside the square of the pawn, the attacking king may be able to block it, as in the diagram from Fishbein.

1... Ke4 (moving into the square)
2. Kb4! Kd5
3. Kb5! Kd6
4. Kb6! Kd7
5. Kb7! Kd6
6. a5 Kc5
7. a6 Kb5
8. a7 and the pawn promotes (Fishbein 1993:2).
Study by Richard Réti, 1921
a b c d e f g h
8
8
7 7
6 6
5 5
4 4
3 3
2 2
1 1
a b c d e f g h
White to move draws

Note that in some cases, the king can catch a pawn when he is outside the square by creating threats that must be parried, and gain a tempo. In the Réti endgame study (by Richard Réti, 1921), the white king is outside the square of the black pawn, two tempi short of catching the pawn. However, White can draw by "going after two birds at once".

1. Kg7! h4
2. Kf6! Kb6

If 2...h3 then 3.Ke7 or 3.Ke6 and the pawns promote together.

3. Ke5! Kxc6

If 3...h3 then 4.Kd6 h2 5.c7, draw.

4. Kf4, resulting in a draw (Dvoretsky 2011:29).

Key squares

Read main article: Key square

If the defending king is within the "square", then the pawn cannot queen without the help of its own king. The first concept that needs to be introduced is that of the key square, also known as a critical square. A key square is a square such that if White's king occupies it, White can force the pawn to promotion, regardless of where the black king is and regardless of which side is to move, and against any defense. The key squares are relative to the position of the pawn. Whether or not the white king can reach a key square depends on the position of the pieces. Of course, even if the white king occupies a key square, accurate play is still required in order to promote the pawn (Müller & Lamprecht 2007:20-22).

Note that the key square is in front of the pawn. Endgame expert Yuri Averbakh said, just as a father leads his child across the road rather than pushing the child in front, the king should also lead the pawn to the queening square.

Rook pawn

a b c d e f g h
8
8
7 7
6 6
5 5
4 4
3 3
2 2
1 1
a b c d e f g h
Dots are key squares for a rook pawn. In addition, Black stops the pawn if the black king gets to any of the squares marked with "X".

A rook pawn (on the a-file or h-file) has much less chance of promoting than other pawns. The reason is that if the opposing king can get to any square in front of the pawn, it cannot be driven away from the file, and the pawn cannot queen. Black can always draw if he can reach the c8 square for an a-pawn (pawn on the a file) or the equivalent f8 for an h-pawn, except for the position in the next diagram, with White to move. Therefore, an advanced rook pawn generally has two key squares: b7 and b8 for an a-pawn, and g7 and g8 for an h-pawn. The key squares are indicated by the black dots in the position in the diagram on the right:

a b c d e f g h
8
8
7 7
6 6
5 5
4 4
3 3
2 2
1 1
a b c d e f g h
White to move wins because the pawn promotes after 1. h7

If White's king can reach either of the two key squares, he can keep Black's king away and the pawn will promote. If the Black king can reach any of the squares marked with a dot or an "X", it stops the pawn (Silman 2007:105-6).

The pawn can also promote in the position on the right (if White is to move), after

1. h7

However, in practice most of the time the black king can stop a rook pawn because it is usually close enough that the white king can not prevent it from getting in front of the pawn (or capturing it).

Examples from games

Panno vs. Najdorf
a b c d e f g h
8
8
7 7
6 6
5 5
4 4
3 3
2 2
1 1
a b c d e f g h
Position after 58... Kb7, White wins by reaching a key square (dots)

This 1968 game between Oscar Panno and Miguel Najdorf continued

59. Kg4 Kc7
60. Kg5

and White won because the white king can reach the key square of g7. Black resigned in light of

60... Kd7
61. Kg6 Ke7 (if 61... Ke6 then 62. h4, not 62. Kg7?? because 62... Kf5! wins the pawn)
62. Kg7 (moving to a key square, the only move to win) Ke6
63. h4 Kf5
64. h5 (the only move to win)

and the king protects the pawn as it promotes.

If Black was to move in this position, he would draw by reaching the f8 square and preventing the white king from getting to a key square, and the pawn cannot promote (Müller & Lamprecht 2007:22).

Barcza vs. Fischer, 1959
a b c d e f g h
8
8
7 7
6 6
5 5
4 4
3 3
2 2
1 1
a b c d e f g h
Position after 95...Kxa4, draw

This position from a game between Gedeon Barcza and future World Champion Bobby Fischer was a draw. (White's 96. Kd2 followed by 97. Kc1 draws.)

Pawns other than rook pawns

a b c d e f g h
8
8
7 7
6 6
5 5
4 4
3 3
2 2
1 1
a b c d e f g h
Dots indicate key squares for a pawn on the second and third ranks

a b c d e f g h
8
8
7 7
6 6
5 5
4 4
3 3
2 2
1 1
a b c d e f g h
Dots indicate key squares for a pawn on the fourth and fifth ranks

a b c d e f g h
8
8
7 7
6 6
5 5
4 4
3 3
2 2
1 1
a b c d e f g h
Dots indicate key squares for a pawn on the sixth and seventh ranks

Pawns other than rook pawns have a much better chance of promoting. If the pawn is on the second, third, or fourth rank, there are three key squares - the square two squares in front of the pawn and the squares to the left and right of that square. The key squares are indicated by the black dots, for example see the diagram on the left. If the pawn is on the fifth or sixth rank, there are six key squares: the square in front of the pawn and the squares to the left and right, as well as the square two squares in front of the pawn, and the squares to the left and right of it, see the diagram in the middle. When the pawn is on the seventh rank, the key squares are the squares on the seventh and eighth rank that touch the pawn's square (see the diagram on the right).

An easy way to remember the key squares is to note that if the pawn is not beyond the midpoint of the board, there are three key squares that are two ranks ahead. If the pawn is on the fifth or sixth rank there are six key squares on the two ranks in front of the pawn. If the pawn is on the seventh rank, the adjoining squares on the seventh and eighth ranks are key squares.

Once White's king occupies a key square he can keep the opposing king from blocking the advance of the pawn, as will be shown below (Müller & Lamprecht 2007:16-18).

Knight pawn exception

a b c d e f g h
8
8
7 7
6 6
5 5
4 4
3 3
2 2
1 1
a b c d e f g h
Exception to key squares - stalemate with Black to move if the white king is on the square indicated or the square marked with an "x"

There is an exception to the key squares rule with a knight pawn, the black king in the corner, and Black to move. In the diagram on the right, with the white king on either the square indicated or the square marked by "x", the position is stalemate if Black is to move.

Golombek vs. Pomar, 1946
a b c d e f g h
8
8
7 7
6 6
5 5
4 4
3 3
2 2
1 1
a b c d e f g h
White to move

In this position, the best move is 1. Kh6!. If

1. Kf6?! Kh7

Now if 2. g6+? 2... Kh8! draws, or

2. Kf7 Kh8

does not work for White because 3.g6?? is stalemate. White must play

3. Kg6

getting back to the original position, followed by 4. Kh6 (Hawkins 2012:35).

This position came up in a game between Harry Golombek and Arturo Pomar. White made a different move which takes longer to win and has to avoid the exceptional position:

1. Kf6 Kh7!
2. Kf7 Kh8
3. Kg6 Kg8 (back to the original position)
4. Kh6! Kh8
5. g6 Kg8
6. g7 Kf7
7. Kh7 1-0 (Makarov 2007:14-15).

Any key square by any route

Jan Drtina, 1908
a b c d e f g h
8
8
7 7
6 6
5 5
4 4
3 3
2 2
1 1
a b c d e f g h
White gets to a winning position by getting to the key square at b5

It is important that White wins if he gets his king to any key square and the path to a key square is not always direct. For instance, in the diagram on the right, the key squares for White are b5, c5, and d5. However, Black can prevent the white king from reaching a key square directly, e.g.:

1. Kd2 Ke7
2. Kd3 Kd7
3. Kc4 Kc6 (taking the opposition, see below).

However the white king can reach a key square (b5) by going on the other side of the pawn:

1. Kc2! Ke7
2. Kb3 Kd6
3. Kb4 Kc6
4. Kc4 (opposition, and Black is in zugzwang)
4...Kd6
5. Kb5

or

4... Kb6
5. Kd5

and the white king has occupied a key square and has a winning position (Müller & Lamprecht 2007:20).

Opposition

Read main article: Opposition (chess)

a b c d e f g h
8
8
7 7
6 6
5 5
4 4
3 3
2 2
1 1
a b c d e f g h
White wins by simply marching to a key square via c5. Taking the opposition only draws.

The second concept needed is opposition - when two kings face each other with only one square in between, the side with the move may have to move the king away and allow the opposing king to advance. The other king has the opposition.

However, Averbakh pointed out that the opposition is a means to an end; the end is penetration to a key square. If you can penetrate without the opposition, then do so. In this diagram, White should seize a key square by playing:

1. Kc5

and moving to a key square on the next move (e.g. 1... Kd7 2. Kb6). Taking the opposition by 1. Ke4 draws (as do any other moves).

Rules

a b c d e f g h
8
8
7 7
6 6
5 5
4 4
3 3
2 2
1 1
a b c d e f g h
Exception to rule 1, White to move wins.

If the pawn is not a rook pawn some rules apply:

Rule 1: With one exception, if the black king can get to the square in front of the pawn or the square in front of that (which are key squares), he draws. The reason is that if the black king alternates between those two squares, he can keep the white king from getting to a key square. The exception is the position in the diagram, and only if White is to move because of

1. d7 Ke7 (Black was in zugzwang)
2. Kc7,

followed by

3. d8Q.

Otherwise, if the black king stays on one of those two squares, he keeps the white king from occupying a key square (Müller & Lamprecht 2007:16,21).

Rule 2: White wins if at least any two of the following conditions are met:

In positions in which fewer than two of the conditions are met, it may or may not be possible to get to a position meeting at least two of the conditions, depending on the position of the pieces and who is to move. In such positions, if the attacker can get to a position that meets two conditions, he wins. On the other hand, the defender may be able to prevent the attacker from getting to such a position. Recall that rule 1 above gives a condition which draws for Black.

There are three cases to be considered. In any of these three cases, the white king is able to force his way onto a key square and thus reach a winning position. Accurate play from that position is still needed to win the game.

Case 1, conditions (b) and (c) are met

a b c d e f g h
8
8
7 7
6 6
5 5
4 4
3 3
2 2
1 1
a b c d e f g h
White wins if Black is to move

Conditions (b) and (c) are met in this diagram, if it is Black's move. Black cannot prevent the white king from reaching the key square d7.

1... Ke8
2.e7 Kf7 (Black was in zugzwang)
3. Kd7 (a key square)

followed by

4. e8Q,

and White wins (Müller & Lamprecht 2001:22).

This position illustrates an important rule of thumb: If the White king is on its sixth rank, the pawn must be advanced to the seventh rank without giving check (Müller & Lamprecht 2001:22). (If White's king is on the sixth rank and the pawn checks the Black king when it advances to the seventh rank, the black king can move in front of the pawn, resulting in a draw. In that case White has to either give up the pawn or move the king behind the pawn into stalemate.)

Case 2, conditions (a) and (c) are met

a b c d e f g h
8
8
7 7
6 6
5 5
4 4
3 3
2 2
1 1
a b c d e f g h
White wins with either side to move

Conditions (a) and (c) are met in this diagram, with either side to move.

If it is Black's move in this diagram, the game could go

1... Kg8
2. Kh6 Kh8 (Black was in zugzwang)
3. g6 Kg8
4. g7 Kf7
5. Kh7

and White wins because the pawn advanced to the seventh rank without giving check, as in the position in the diagram in the previous section.

If it is White's move in this diagram,

1. Kf7 (a key square)

and Black cannot prevent the pawn from queening (Müller & Lamprecht 2001:22-23).

White must take a little more care with a knight pawn. If White moves 1. Kf6, Black can reply 1... Kh7 and White must back up with 2. Kf7 Kh8 and proceed as above, because 2. g6+? Kh8! 3. Kf7 is stalemate (Müller & Lamprecht 2001:22).

Case 3, conditions (a) and (b) are met

a b c d e f g h
8
8
7 7
6 6
5 5
4 4
3 3
2 2
1 1
a b c d e f g h
White wins if Black is to move.

Conditions (a) and (b) are met in this diagram, if Black is to move. The game could continue

1... Kd6
2. Kf5 Kd7
3. Kf6 Kd8
4. e4 Kd7
5. e5 Ke8
6. Ke6 White takes the opposition. White's king has reached the sixth rank before the pawn; 6. e6?? Kf8 draws.
6... Kd8
7. Kf7

and White wins (Fine & Benko 2003:9). There are several other variations, depending on Black's moves.

Example from Maróczy versus Marshall

Maróczy vs. Marshall, 1903
a b c d e f g h
8
8
7 7
6 6
5 5
4 4
3 3
2 2
1 1
a b c d e f g h
Black to move wins

In this example from Géza Maróczy versus Frank Marshall, Black to move gets his king in front of the pawn with the opposition:

1... Kg4!
2. Kh2 Kf3
3. Kh3 g4+
4. Kh2 Kf2!
5. Kh1 Kg3
6. Kg1 Kh3!

and the game could continue:

7. Kh1 g3
8. Kg1 g2 0-1 (Matanović 1982:19, 21).

Case 4, all three conditions are met

From Flear, page 21
a b c d e f g h
8
8
7 7
6 6
5 5
4 4
3 3
2 2
1 1
a b c d e f g h
White wins, the ideal situation

Of course, the ideal situation is when all three conditions are met. In this diagram, if Black is to move all three conditions are met and White wins easily:

1... Kd8
2. Kb7 and the pawn will promote (e.g. 2... Kd7 3.c6+ followed by 4. c7 and 5. c8).

If White is to move in this position, then conditions (a) and (c) are met, so White wins:

1. Kd6 Kd8
2. c6 Kc8
3. c7 Kb7
4. Kd7, etc, as above.

This emphasizes the importance of getting the king to the sixth rank in front of the pawn. If this configuration is achieved, White wins no matter which side is to move (Flear 2004:21).

Exception - rook pawn

For a rook pawn, it is possible for Black to draw even if all three conditions are met.

a b c d e f g h
8
8
7 7
6 6
5 5
4 4
3 3
2 2
1 1
a b c d e f g h
Draw, no matter who is to play.

In the diagram, all three conditions are satisfied (opposition is satisfied if it is Black's turn) but it is a draw no matter whose move it is. If it is Black to move:

1... Kb8
2. Kb6 Ka8
3. a6 Kb8
4. a7+ Ka8 leads to either stalemate or White giving up the pawn.

Or if

1... Kb8
2. Kb5 Ka8
3. Kb6 Kb8
4. a6 Ka8 leads to a draw.

If it is White to move:

1. Kb6 Kb8
2. a6 Ka8
3. a7 is stalemate.

Or:

1. Kb6 Kb8
2. Kb5 Ka8
3. Kb6 Kb8
4. a6 Ka8 leads to either White giving up the pawn or stalemate.

In both cases with White to move or Black to move, all Black needs to do is shuffle between a8 and b8 and White's King can never reach the key square b7 or b8.

a b c d e f g h
8
8
7 7
6 6
5 5
4 4
3 3
2 2
1 1
a b c d e f g h
Draw, no matter who is to play.

In the second diagram, it is again a draw no matter whose turn it is.

If it is White's turn:

1. Kh8 Kf8
2. h7 Kf7 and this time it is White who is stalemated.

If it is Black's turn:

1...Kf8
2. Kg6 Kg8

and the position in the previous diagram is reached which is a draw no matter who is to play. (Nunn 2009)

Defending drawn positions

Now consider defending positions when only one of the conditions of Rule 2 is met, which is not sufficient to win if the defender is able to prevent the attacker from getting a position that meets at least two of the conditions.

The king is in front of the pawn

ECO vol 1, #17 (reversed)
a b c d e f g h
8
8
7 7
6 6
5 5
4 4
3 3
2 2
1 1
a b c d e f g h
King in front of pawn, White to move draws

If the king is in front of the pawn and neither of the other two conditions is met, the defense is easy (Matanović 1982:19).

In this diagram, with White to move, Black's king is in front of the pawn, but it is not on its sixth rank and it does not have the opposition. White draws by

1. Kb2

taking the opposition and preventing the black king from getting the opposition or advancing to its sixth rank. (Indeed, this is the only move that draws. Sometimes this position is reached after Black has captured a pawn. To draw, White must be in a position to move his king to take this direct opposition.) Then if the black king steps to the side, White simply maintains the opposition:

1. ... Kc4
2. Kc2.

If the pawn now advances, White gets to a drawn position by moving in front of the pawn. (Recall that if the opposing king is on the square in front of the pawn or the square in front of that, the position is a draw, with one exception.)

2. ... b4
3. Kb2, see the next diagram.
a b c d e f g h
8
8
7 7
6 6
5 5
4 4
3 3
2 2
1 1
a b c d e f g h
Position after 3. Kb2, Black to move, draw

Note that 3. Kb1 would lose to 3. ... Kb3 because Black now has satisfied all three conditions of rule 2.

Black to move cannot make any progress from this position; the white king simply stays on b2 or b3, unless Black advances the pawn again, in which case the king moves between b1 and b2. Black cannot disrupt this without stalemate, for instance 3. ... b3 4. Kb1 Kc3 5. Kc1 b2+ 6. Kb1 Kb3 stalemate.

The king has the opposition

ECE vol 1, #8 (reversed)
a b c d e f g h
8
8
7 7
6 6
5 5
4 4
3 3
2 2
1 1
a b c d e f g h
Draw with White to move

In this diagram, with White to move Black's king has the opposition, but neither of the other conditions. White to move simply moves

1. Kd2

and black cannot promote the pawn, for example:

1. .. d3
2. Kd1 (the defending king must drop back vertically) Ke3
3. Ke1 d2+
4. Kd1

and now either the king must move away from the pawn and allow it to be captured or move 4. ...Kd3 resulting in a draw by stalemate (Matanović 1982:18).

The king is on the sixth rank

ECE vol 1, #2 (reversed)
a b c d e f g h
8
8
7 7
6 6
5 5
4 4
3 3
2 2
1 1
a b c d e f g h
Draw with Black to move

In this diagram the black king is on its sixth rank, but with Black to move it does not have the opposition. If the Black king moves, the white king simply goes to d2 (best) or d1. If the pawn advances, the white king moved to d1 and a draw results as above (Matanović 1982:18).

A player should be familiar with both the attacking and defending roles, since a wrong move by the defender may allow the attacker to get to a winning position and a wrong move by the attacker may give up one of the conditions of rule 2, resulting in a draw.

Example from Gligorić versus Fischer

Gligorić vs. Fischer, 1959
a b c d e f g h
8
8
7 7
6 6
5 5
4 4
3 3
2 2
1 1
a b c d e f g h
Black to move, draw. (The position is also a draw with White to move.)

In the game between Svetozar Gligorić and Bobby Fischer, White can get his king in front of the pawn, but he does not have the opposition and is not on the sixth rank. Black must make sure that White does not get the opposition or get the king to the sixth rank:

1... Kb8!

Any move by Black to the seventh rank loses because White can take the opposition and reach a key square. (The move 1... Kd8 allows the white king to reach the key square a6.) After 1... Kb8, Black draws by taking the opposition if the white king advances, e.g. 2. Kc5 Kc7! draws or 2. Kb5 Kb7! draws (Matanović 1982:19, 21), (Fischer 2008:86).

Guidelines

From Mednis
a b c d e f g h
8
8
7 7
6 6
5 5
4 4
3 3
2 2
1 1
a b c d e f g h
White to move draws; Black to move loses

Edmar Mednis gave these guidelines:

Examples

From Averbach
a b c d e f g h
8
8
7 7
6 6
5 5
4 4
3 3
2 2
1 1
a b c d e f g h
Black to move, White wins by moving to a key square

With Black to move, White wins by first occupying a key square and then by getting two of the conditions above:

1... Kb5
2. Kd4 (key square) Kc6
3. Kc4 (opposition) Kb6
4. Kd5 (turning maneuver) Kc7
5. Kc5 (opposition) Kd7
6. Kb6

the white king is on the sixth rank (condition c) ahead of the pawn (condition a) and White can advance the pawn.

If White is to move, Black draws:

1. Kb3 Kb5 (opposition)
2. c4+ Kc5
3. Kc3 Kc6 (...Kd6 and ...Kb6 also draw)
4. Kd4 Kd6
5. c5+ Kd7
6. Kd5 Kc7
7. c6 Kc8! (if 7...Kd8 then 8. Kd6, taking the opposition, wins)
8. Kd6 Kd8!

and Black draws (Averbakh 1993:36-37).

Kamsky vs. Kramnik

Kamsky vs. Kramnik, 2009
a b c d e f g h
8
8
7 7
6 6
5 5
4 4
3 3
2 2
1 1
a b c d e f g h
position after 125. Kxc6

This position from a 2009 game between Gata Kamsky and Vladimir Kramnik was reached after the exchange of rooks in a rook and pawn versus rook endgame. Black draws easily:

125... Ke7 (Ke8 also draws)
126. Kd5 Ke8
127. Kd6 Kd8 (taking the opposition)
128. e7+ Ke8
129. Ke6, stalemate (Nunn 2010:92).

Read more:

COMMENTS