Castling rights

A position state showing whether a player still retains the legal right to castle with each rook.

This page is temporarily shown in English. Complete localization will be added in a later stage.

Explanation

Castling rights record part of a position’s history. Castling is the special move in which the king moves two squares toward a rook and that rook moves to the other side of the king. At the start of a game, each player has one right on the side where the king begins and one on the side where the queen begins.

A right is permanently lost once the king has moved, once the corresponding rook has moved, or when that rook is captured on its original square. Returning either piece to its starting square does not restore the right. This is why the visible placement of the pieces alone does not always show whether remains available.

A retained right can still be unusable now

A player may retain the right but be unable to castle on the current move. Castling is temporarily prevented when pieces stand between the king and rook, when the king is in check, meaning under immediate attack, or when the king would cross or finish on an , meaning a square an enemy piece could capture on. Those obstacles may disappear later; a lost right does not return.

Castling rights also matter when positions are compared for a repetition claim, which allows a player to claim a draw when the same position appears for the third time. Two boards with identical pieces on identical squares are not the same legal position if castling is still possible in one but not the other.

Usage and context

Chess software and position formats store castling rights separately because they cannot always be reconstructed from the visible board.

Common confusions

A castling right versus a legal castle now

Retaining the right only means the king and rook have not lost it through their history. The attempted castle must still satisfy every current condition.

Sources

  1. 1.Article 3: The Moves of the Pieces, FIDE Rules Commission
  2. 2.Article 9: The Drawn Game, FIDE Rules Commission
  3. 3.Castling Rights, Chess Programming Wiki

Related terms

© 2026 MindZug