Checkmate by castling

Castling is normally defensive, but here it develops the rook onto f1 with checkmate in the same move.

The position

White to move.

  1. 1.O-O#

Why does this work?

O-O# moves the king to g1 and rook to f1. The rook immediately checks the black king up the open f-file. Castling is legal because e1, f1 and g1 are unoccupied and none of the king’s transit squares is attacked.

Black’s rooks on e8 and g8 and pawns on e7 and g7 occupy every neighboring square. The bishop on c4 controls f7, so the king has no downward escape, and no piece can block or capture the rook’s file check.

Treat castling as a rook move as well as a king move. Rare positions allow it to create a discovered attack or even mate; always verify castling rights and the three king-safety conditions before using the idea.

Castling, or just the rook

Stockfish 18 lists two mates in one here: 1.O-O# and 1.Rf1#. Both put the rook on f1 and check up the open file, and Black cannot block or capture. The black king’s neighbours are e8 and g8, its rooks, e7 and g7, its pawns, and f7, which the c4-bishop covers. The white king’s move is not needed for the mate at all.

Why castling is legal

Castling is the lesson because it is easy to overlook as an attacking move. It is legal here: White still has the kingside right, f1 and g1 are empty, and the king is not in check and crosses no attacked square, since the black rooks are blocked by their own pawns. Treat castling as a rook move as well as a king move.

What else was playable?

Stockfish 18 at the starting position, from White’s side:

  • 1.O-O#: Mate.
  • 1.Rf1#: Mate as well; the king does not need to move.
  • 1.Be6: About −0.3. The chance is gone.

What to take away

  • Treat castling as a rook move: it can attack along a file the moment it is played.
  • When two moves mate, either will do; the instructive one is the one you would have missed.

Want a looping version of a position like this? Create an animated chess GIF with the Chess GIF Maker.