Queen vs Pawn Endgame: When the Seventh-Rank Pawn Draws

Queen vs Pawn Endgame cover: a king on yellow, the Chess4pro endgame guide

In a queen vs pawn endgame with the pawn one step from promotion, the queen wins against a centre or knight pawn by forcing the king in front of it, but a bishop or rook pawn draws by stalemate unless the attacking king is already close.

The queen vs pawn endgame in one rule

The queen vs pawn endgame usually appears after a pawn race. One side promotes first, and the other has a pawn on its seventh rank, one step from queening, supported by its own king. A queen is worth far more than a pawn, so you would expect an easy win, but the result depends on which file the pawn stands on.

The classical rule, set out in endgame manuals such as Fine and Benko's Basic Chess Endings and Jesús de la Villa's 100 Endgames You Must Know, is this. Against a centre pawn or a knight pawn, the queen wins. Against a bishop pawn or a rook pawn, the defender can often draw by stalemate, unless the attacking king is close enough to help.

In the examples below the black pawn is on the second rank, its seventh, and White has the queen. Every position and every line has been checked against the Lichess endgame tablebase, which knows the exact result of every position with this material.

The staircase against a centre pawn

Take the position with the white king on a8, the queen on g7, the black king on e2 and the pawn on d2. White to move. The white king is as far away as it can be, yet the tablebase gives mate in 25 with best play from both sides.

Queen vs pawn endgame: white king a8, white queen g7, black king e2, black pawn d2, White to move
White to move wins: mate in 25 with best play, according to the Lichess tablebase.

The method is to give checks, or attack the pawn while controlling the promotion square, until the black king is forced to stand on d1, in front of its own pawn. At that moment the pawn cannot advance, and White has one free move to bring the king closer. The opening sequence shows the pattern: 1.Qg4+ Ke1 2.Qe4+ Kf1 3.Qd3+ Ke1 4.Qe3+ Kd1. The black king is on d1, blocking its pawn, and White uses the free tempo: 5.Kb7.

The queen's path looks like a staircase, which is why the technique is often taught under that name. Each check gains ground diagonally and the black king is driven back to the promotion square. Black then tries to escape the other way: 5...Kc2 6.Qe2 Kc1 7.Qc4+ Kb1 8.Qb3+ Kc1 9.Qc3+ Kd1 10.Kc6. The queen move to e2, which watches d1, and the checks from c4, b3 and c3 force the same result from the other side, and the white king takes a second step.

Finishing the job: the king walks in

The rest of the game repeats the cycle until the king arrives. With best play the line continues 10...Ke2 11.Qc2 Ke1 12.Qe4+ Kf1 13.Qd3+ Ke1 14.Qe3+ Kd1 15.Kd5 Kc2 16.Qe2 Kc1 17.Qc4+ Kb1 18.Qb3+ Kc1 19.Qc3+ Kd1 20.Ke4 Ke2 21.Qe3+ Kd1 22.Kd3. Now the white king is close enough to win the pawn: 22...Kc1 23.Qxd2+ Kb1 24.Kc3 Ka1 25.Qb2#.

Two details are worth noticing. White never allows the pawn to promote, because every queen move either gives check or controls the promotion square. And the king only moves when Black's king is in front of the pawn; otherwise White would lose control and the pawn would queen.

The same technique works against a knight pawn. With the black king on c2 and the pawn on b2, and White's king and queen on a8 and g7 again, the tablebase gives mate in 20. The final mate with king and queen against a bare king follows the same idea as the box method in our guide to the king and rook checkmate, only faster.

For the desk where you set up endgame positions: the Queen's Gambit desk mat (16×32 in, $42) shows the opening's name, the board diagram of the position after 1.d4 d5 2.c4, its main line and the ECO code D06.

Why the bishop pawn draws

Now move the pawn to c2, with the black king on b2, the white queen on g6 and the white king far away on h8. The staircase seems to work at first, but Black has a resource that does not exist with a centre pawn: the corner.

A sample line shows it: 1.Qb6+ Ka1 2.Qd4+ Kb1 3.Qb4+ Ka1 4.Qc3+ Kb1 5.Qb3+ Ka1. The black king has walked into the corner and left the pawn unprotected. But if White takes it with 6.Qxc2, Black has no legal move and the game is drawn by stalemate.

Bishop pawn stalemate defense: black king a1, black pawn c2, white queen b3; capturing the pawn would be stalemate
After 5...Ka1 the pawn is loose, but 6.Qxc2 would be stalemate.

White never gets the free tempo needed to bring the king closer: instead of stepping in front of the pawn, the black king goes to the corner, where capturing the pawn is stalemate. The tablebase confirms that this position is a draw. Precision still matters for Black: on move four, 4...Kb1 is the only move that holds, and the alternative loses.

The rules on stalemate are covered in more detail in our guide to chess draw rules.

Why the rook pawn draws

With a rook pawn the defense is even simpler, because the king can hide directly in front of its pawn. Put the pawn on a2, the black king on b2, the white queen on h4 and the white king on h8.

White tries the usual checks: 1.Qd4+ Kb1 2.Qb4+ Kc2 3.Qa3 Kb1 4.Qb3+ Ka1. Now the black king sits on a1 in front of its pawn. Black has no legal move at all, so any White move that keeps the queen on b3 is stalemate. To avoid it, White has to release the king, and the cycle starts again without progress.

This line also shows how narrow the defense can be. According to the tablebase, 1...Kb1, 3...Kb1 and 4...Ka1 are all the only moves that draw. Every alternative lets White gain a tempo and win.

When the king is close enough

The draws with bishop and rook pawns depend on the attacking king being far away. If it is already near the pawn, White has time to use it, either to support a mating net or to meet the promotion with a decisive check.

Go back to the bishop pawn with the black king on b2, the pawn on c2 and the white queen on g8, White to move. With the white king on e3 the tablebase gives mate in 8: 1.Qg2 Kb3 2.Qc6 Kb2 3.Kd2. If Black now promotes with check, the queen on c6 captures the new queen on c1 with check, and mate follows four moves later. Even here White must be precise: 1.Qg1 only draws.

Move the white king one file further away, to f3, and the same position is a draw. The table summarises where the white king must stand, in this setup, for White to win.

Pawn and black king White queen White wins with the king on
Pawn on c2, king on b2 g8 a4, b4, c4, d3, e3, d2, e2 or e1
Pawn on a2, king on b2 g8 a5 to d5, a4 to e4, d3, e3, d2, e2, d1 or e1
Pawn on d2, king on e2 g7 Wins even with the king on a8

The squares come from the tablebase for these exact positions, with White to move. Change the queen's square or the side to move and the zone changes slightly, so treat the table as an illustration of the principle: the closer the king, the better White's chances.

A pair for players who like clear structures: the Queen's Gambit for White and the Caro-Kann for Black, each with the name and the diagram of its key position. Two mugs are 10% off automatically at checkout, three or more 15%.

A practical checklist

When a pawn race is heading towards a queen vs pawn endgame, run through three questions before you commit. Which file is the enemy pawn on? If it is a centre or knight pawn, queening first is usually enough to win. If it is a bishop or rook pawn, where will your king be when you promote? If it is far away, the result may be a draw by stalemate.

For the defender, the questions are reversed. With a bishop or rook pawn, head for the corner at the right moment and make White prove that the king is close enough. With a centre pawn, keep the king next to the pawn and force White to find every check.

Finally, remember that these endings are decided by king activity, just like pawn endgames. The ideas of opposition and tempo in our guide to opposition and triangulation apply here too, and our guides to the Lucena and Philidor positions and to why endgames decide games complete the basic set.

Questions

Does a queen always beat a pawn?

No. Against a centre or knight pawn on its seventh rank the queen wins, but a bishop or rook pawn supported by its king often draws by stalemate when the attacking king is far away.

What is the staircase technique?

It is the method of giving checks, or attacking the pawn while controlling the promotion square, until the defending king has to stand in front of its pawn. That gives the attacker a free move to bring the king closer, and the cycle repeats until the pawn falls.

Why does a bishop pawn draw against a queen?

Because the defending king can go into the corner next to the pawn. If the queen then captures the pawn, the king has no legal move and the game is stalemate.

How close does the attacking king need to be?

It depends on the exact position. In our example with the pawn on c2, White wins with the king on e3 but only draws with it on f3, according to the Lichess tablebase.