When may you castle?
Only if the king and that rook have not moved yet, nothing stands between them and the king does not have to cross an attacked square. In castling the king moves two squares towards a rook on its first rank, and the rook goes to the square the king has just crossed. This is only possible if neither the king nor that rook has moved yet, all squares between them are empty and neither the king’s square, nor the square it crosses, nor its destination square is attacked.
Fédération Internationale des Échecs (FIDE), Art. 3.8.2, 4.4.1–4.4.3, 4.7.2 · Adopted by the FIDE General Assembly on 7 August 2022 (93rd FIDE Congress, Chennai), effective from 1 January 2023 · checked on 2026-12-02
Explanation
The Laws distinguish two cases. The castling right is gone for good once the king has moved, or only on one side once the rook on that side has moved. Castling is ruled out just for the moment while an opposing piece attacks the king’s square, the square it passes over or the square it lands on, or while any piece still stands between king and rook. So a king in check may not castle on that move; later it may again, provided it has not moved.
Example
White has not moved king or rook, the squares between them are empty, but a black bishop attacks the square the king would have to cross. White may not castle on that side now.
Special cases and common myths
- How to do it: If you deliberately touch the rook first and then the king, castling on that side is off for this move, and the rook has to move if it can. That is why you take hold of the king first when castling.
- Castling not possible: If you touch the king and then a rook, but castling on that side is illegal, you must make another legal king move; this may be castling on the other side. If the king has no move, any legal move is allowed.
- Completed: Castling is only made once the rook has been released on the square the king crossed.
Source
- Publisher
- Fédération Internationale des Échecs (FIDE)
- Rulebook
- FIDE Laws of Chess (FIDE Handbook E.01)
- Reference
- Art. 3.8.2, 4.4.1–4.4.3, 4.7.2
- Version
- Adopted by the FIDE General Assembly on 7 August 2022 (93rd FIDE Congress, Chennai), effective from 1 January 2023
- Checked on
- 2026-12-02
Something wrong? Report an error. We review every report within a week.