Mate in Two: The Queen Finishes in the Middlegame

Solve the puzzle

8765432a1bcdefgh

White to move

Find checkmate in 2 moves.

Interactive puzzle: enable JavaScript to play your move on the board.

Study notes

The position

White has a king, a queen, a rook, a bishop and 6 pawns; Black has a king, a queen, 2 rooks, a bishop, a knight and 4 pawns.

Material count (pawn 1, knight and bishop 3, rook 5, queen 9): 23 against 29.

Themes: Mate in 2.

Show the full solution and analysis

What to notice first

Before the first move, the queen on d3 is attacked by the knight on c5.

Before the first move, the rook on g6 is attacked by the queen on f6, the pawn on f7 and the king on h7.

Before the first move, the pawn on a3 is attacked by the pawn on b4.

Undefended Black pieces: the queen on f6, the rook on a5 and the rook on b8.

Solution move by move

  1. 1.Rg7+ The rook moves from g6 to g7, giving check. It also opens the line of the queen on d3, which now attacks the king on h7.
  2. 1...Kxh6 The king on h7 takes the pawn on h6.
  3. 2.Qh7# The queen moves from d3 to h7, giving checkmate.

Why it works

Final position: checkmate. Black's king on h6 is in check from the queen on h7, and every square around it is unavailable:

  • g5: covered by the rook on g7
  • h5: covered by the queen on h7
  • g6: covered by the rook on g7 and the queen on h7
  • g7: the rook there is defended by the queen on h7
  • h7: the queen there is defended by the rook on g7

No other piece can capture the checking piece or block the check, so the king has no legal move.

The pattern to remember: Mate in 2

In a mate in two, the first move must leave the opponent without a defence against mate on the next move, whatever they reply. Look at forcing moves first, checks, then captures and threats, and for each candidate check every sensible reply. Sometimes a quiet first move that takes squares away from the king is stronger than a check.

More puzzles like this

Source and verification
Source
Lichess puzzle 00ZEc (https://lichess.org/training/00ZEc), Lichess open puzzle database
Engine check
Stockfish 19 WASM, depth 22, 2026-11-19