Description During castling, the king is shifted two squares toward a rook of the same color on the same rank, and the rook is transferred to the square crossed by the king. There are two forms of castling: • Castling (
short castling) consists of moving the king to g1 and the rook to f1 for White, or moving the king to g8 and the rook to f8 for Black. • Castling (
long castling) consists of moving the king to c1 and the rook to d1 for White, or moving the king to c8 and the rook to d8 for Black.
Requirements Castling is permitted provided all of the following conditions are met: • Neither the king nor the rook has previously moved. • There are no pieces between the king and the rook. • The king is not currently in
check. • The king does not pass through or finish on a square that is attacked by an enemy piece. Conditions 3 and 4 can be summarized by the
mnemonic: Castling rules often cause confusion, even occasionally among high-level players.
Alexander Beliavsky and
Viktor Korchnoi both had to consult the arbiter during tournaments on whether castling was legal when the rook was on or passed over an attacked square,
Yuri Averbakh once mistakenly thought that Black queenside castling was illegal when b8 was attacked, and
Nigel Short once attempted to castle queenside as Black when d8 was under attack (this was not allowed). Illegal castling has also occasionally occurred in serious games between top players (including
Gata Kamsky, Viktor Korchnoi, and
Richard Réti) when they forgot that the king or rook had previously moved and returned to its home square, and has not always been noticed by the opponent.
Yasser Seirawan once accidentally castled queenside as White with his queen's rook on b1 (which was not allowed), and
Alexander Alekhine once "castled his queen" (moving his queen from d1 to b1 and his rook from a1 to c1, which was also not allowed). To clarify: • The rook can be under attack. • The rook can pass through an attacked square. (White can castle queenside even if Black is attacking b1; Black can castle queenside even if White is attacking b8.) • The king can have been in check earlier in the game.
Tournament rules Under FIDE rules and USCF rules, and enforced in most
tournaments, castling is considered a king move, so the king must be touched first; if the rook is touched first, a rook move must be played instead. As usual, the player may choose another legal destination square for the king until releasing it. When the two-square king move is completed, however, the player is committed to castling if it is legal, and the rook must be moved accordingly. The entire move must be completed with one hand. A player who attempts to castle illegally must return the king and rook to their original squares and then make a legal king move if possible (which may include castling on the other side). If there is no legal king move, the touch-move rule does not apply to the rook. These tournament rules are not commonly enforced in nor commonly known by casual players.
Castling rights An unmoved king has
castling rights with an unmoved rook of the same color on the same rank, even if castling is not legal in that particular position. In the context of
threefold and fivefold repetition, two otherwise identical positions with different castling rights are considered to be different positions. In a 1986 game between
Anatoly Karpov and
Tony Miles, play continued from the diagrammed position as follows: :
22. ... Ra4 :
23. Nc3 Ra8 :
24. Nb5 Ra4 :
25. Nc3 Ra8 :
26. Nb5 With his 26th move, Karpov attempted to claim a draw by threefold repetition, thinking that the positions after his 22nd, 24th, and 26th moves were the same. It was pointed out to him, however, that the position after his 22nd move had different castling rights than the positions after his 24th and 26th moves (the rook being unmoved prior to 22. ... Ra4, meaning Black still had castling rights in that position), rendering his claim illegal. As a result, Karpov was penalized five minutes on his clock. After thinking for about ten minutes, Miles decided to
agree to a draw anyway (even an incorrect claim of threefold repetition is also a draw offer). ==Notation==