Castling

A special move in which the king moves two squares toward a rook and that rook crosses to the king's other side.

Explanation

Castling counts as one move but moves two pieces. The king travels two squares toward a rook, and that rook moves to the square the king just crossed.

Short and long castling

  • In , also called short castling, White's king moves from e1 to g1 and the rook from h1 to f1.
  • In , also called long castling, White's king moves from e1 to c1 and the rook from a1 to d1.
  • Black makes the equivalent moves on the eighth row.

Castling usually takes the king away from the center, where attacks may open, and brings a rook closer to the center. One move can therefore improve king safety and rook activity.

When castling is legal

  • The king has not moved earlier.
  • The chosen rook has not moved earlier.
  • No piece stands between the king and that rook.
  • The king is not in check, and its starting, crossing, and destination squares are not attacked by an enemy piece. Check means that the king is attacked and must be made safe.

The king cannot travel through danger. The rook, however, may be under attack, and a square crossed only by the rook may also be attacked.

Common confusions

Returning to the starting square

Once the king has moved, it cannot castle later. Once a rook has moved, castling with that rook is unavailable even if the piece returns.

Attacked squares near the rook

For attacks, only the king's starting, crossing, and destination squares matter. A square crossed only by the rook may be attacked.

Sources

  1. 1.Article 3: The Moves of the Pieces, FIDE Rules Commission
  2. 2.Portable Game Notation Specification and Implementation Guide, Steven J. Edwards and rec.games.chess contributors
  3. 3.Castling, Chess.com

Related terms

© 2026 MindZug