Skip to content

Queen vs Rook: The Second-Rank Defense

A queen beats a lone rook, but a pawn that has not left its second rank can change that, and the drawing setup is the second-rank defense: the king and rook stand guard over the pawn and wait. In the setup below, with the king and rook on the f and g files, the rook side loses every time without a pawn, and draws in 8 of the 9 placements with a pawn on e2, f2 or g2. There, a pawn on b2 or h2 loses in every placement, and a pawn on c2 or d2 helps only when the king and rook stand on the third rank. The pattern in the table: keep the king and rook next to a pawn on its second rank. A rook pawn holds in far fewer setups than a pawn one file in.

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)

Is there a fortress against the queen without a pawn?

No. In the setup checked here, a rook beside its king loses on the first, second, third and fourth rank alike. The queen needs between 30 and 32 moves, but it wins.

King and rook side by side, queen side to win, the number of moves to mate with best play
Rank of the king and rookKing f, rook gThe queen wins in
First rankking f1, rook g130 moves
Second rankking f2, rook g232 moves
Third rankking f3, rook g332 moves
Fourth rankking f4, rook g432 moves

Every row uses one setup: Black has a king on h7 and a queen on d8, and White is to move. Lifting the pair off the first rank adds two moves, and on the second, third and fourth ranks the win takes 32 moves each. Here is the third-rank case, with the first moves of the best play.

The king and rook protect each other on the third rank, and the tablebase still gives Black a win in 32 moves

The queen and king drive the rook side back while the rook stays within two files of its king: 1. Ke3 Qh4 2. Rf3 Kg6 3. Rf4 Qh1 4. Rf3 Kg5 5. Ke2 Qb1 6. Kd2 Qb5

In the line the rook stays within two files of its king, and the queen still has to maneuver for many moves before the pair breaks. That is a slow defeat, not a fortress.

What does a pawn on the second rank change?

A pawn still on its second rank gives the rook side something to protect and something to build around, and with the king and rook beside it, it can change the result. The table keeps the same Black pieces and adds a white pawn on its second rank, one file at a time. White is to move in each cell.

The same setup with one white pawn on its second rank, the result for each file and each placement of the king and rook
Pawn onKing f1, rook g1King f3, rook g3King f4, rook g4
b2queen wins in 32queen wins in 35queen wins in 35
c2queen wins in 50drawqueen wins in 50
d2queen wins in 43drawqueen wins in 51
e2drawdrawqueen wins in 53
f2drawdrawdraw
g2drawdrawdraw
h2queen wins in 39queen wins in 39queen wins in 40

Read the table by columns as well as by rows. In this setup the f and g pawns hold the draw in every column, the e pawn holds with the king and rook on the first or third rank, and the c and d pawns hold only on the third rank. The b and h pawns lose in every cell, though they make the win slower: with the pawn on h2 and the king and rook on f1 and g1, the queen needs 39 moves where without a pawn it needed 30.

Those are facts about this setup, not about the files. The pawn on b2 loses because the king and rook stand far from it. In the mirror image of the g2 setup, with White's king on c3, rook on b3 and pawn on b2, and Black's king on a7 and queen on e8, the b-pawn draws just as the g-pawn does. The rook pawn is weaker. In a wider check, with White's king and rook on squares near the pawn and two placements of Black's king and queen (positions where White simply takes the queen left out), a pawn on h2 held in 28 of 102 setups and a pawn on g2 in 77 of 102.

How does one rank decide it?

Take the pawn on e2 and move the king and rook up one rank. In the first position they are on the third rank and the result is a draw. In the second they are on the fourth, and the queen wins in 53 moves.

With the king and rook on the third rank, the pawn on e2 is covered and the tablebase calls it a draw
One rank higher the pawn on e2 is out of reach of the king, and the queen wins in 53 moves

When the king and rook are close to the pawn, the queen cannot attack it and the pieces together without giving something up. When they leave it behind, the pawn becomes one more piece for the queen to attack.

Which moves keep the draw?

Even in a drawn position, some moves lose. In the position with a pawn on f2 and the king and rook on the third rank, White has 14 legal moves. Ten of them draw: the king can step to e2, g2, e3, e4, f4 or g4, and the rook can move to g1, g2, h3 or g4. The other four lose: the rook goes to g5, g6, g7 or g8, and on each of those squares it is captured next move (Qxg5, Kxg6, Kxg7, Qxg8).

Ten of White's 14 moves hold the draw; moving the rook up the g-file to g5, g6, g7 or g8 loses

The practical rule follows from the position. Keep the rook next to the king and the pawn, and never leave it on a square where the queen or the king can take it.

What does this mean in a real game?

When you reach an ending with a queen against your rook, check first whether you still have a pawn on its second rank. If you do and it is not a rook pawn, bring the king and rook next to it and wait. A rook pawn holds in far fewer setups. With no pawn at all, the best you can do is slow the queen and hope for a mistake, so avoid trading into this ending without one.

If you have the queen, the table shows what to aim for (the idea is the same in the ending with a rook and a bishop): win the pawn if you can, and drive the rook side's king and rook away from each other. Against a rook that stays beside its king, the win is long, and it is worth knowing the number before you start.

Endings of this kind are part of the coaching George Li gives as an International Master (FIDE profile), because the result depends on a count that a player can learn. The chess lessons for kids page sets out how he teaches them, and a first lesson begins with an ending from your own game.

Frequently asked questions

Is a queen against a rook always a win?

With no other pieces, almost always: the tablebase shows a win for the queen in every setup checked here. The exceptions include positions where the rook can capture the queen at once. With a pawn on its second rank, the rook side can draw, depending on the pawn and the squares of the king and rook.

Which pawns draw against a queen?

In this setup, a pawn on the f or g file draws in all three placements, an e pawn draws with the king and rook on the first or third rank, and a c or d pawn draws only with the king and rook on the third rank. The pawns on b2 and h2 lose in every placement here. With the king and rook next to it, a b-pawn draws as well as a g-pawn, but a rook pawn holds in far fewer setups.

How many moves does the queen need?

It depends on the setup. Without a pawn the queen wins in 30 to 32 moves here, and with a pawn it takes 32 to 53 moves.

Does this hold for every position?

No. The table is for one fixed setup, with Black's king on h7 and queen on d8. A different setup can change a cell, so use the table to learn the pattern, not as a rule for every position.

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

Know which endings to avoid and which to steer for

A first lesson with George Li goes through an ending from your own game and shows the result the tablebase gives.

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.