Castling is a special move in chess involving the king and one rook. It is the only move in chess where two pieces move simultaneously. The king moves two squares toward a rook on the same rank, and the rook moves to the square the king passes over. Castling serves two strategic purposes: to protect the king and to activate the rook.
In algebraic notation, kingside castling is written as O-O, and queenside castling as O-O-O. These are sometimes also represented as 0-0 and 0-0-0 using zeros instead of the letter “O.”
Rules and Conditions
Castling is only allowed when all the following conditions are met:
- Neither the king nor the rook involved has previously moved.
- All squares between the king and the rook are unoccupied.
- The king is not in check, and the move does not pass through or end on a square under attack.
In summary, a player cannot castle out of, through, or into check.
There are two types of castling:
- Kingside castling (short castling): The king moves to g1 (White) or g8 (Black); the rook moves to f1 (White) or f8 (Black).
- Queenside castling (long castling): The king moves to c1 (White) or c8 (Black); the rook moves to d1 (White) or d8 (Black).
Purpose and Strategy
Castling is a key objective in the opening phase of chess. It relocates the king to a safer position—away from the central files—and brings the rook closer to the center, preparing it for active play.
- Kingside castling is generally safer and faster to execute.
- Queenside castling allows quicker rook centralization but may expose the king to attacks on the queenside.
When both players castle on opposite sides, the result is often a sharp, tactical battle where pawn storms occur on opposing flanks.
Players may sometimes delay or avoid castling when the center is closed, or when it is safer to keep the king central during the endgame.
Tournament and Touch-Move Rules
According to FIDE and USCF regulations, castling is considered a king move. The player must touch the king first, not the rook. If the rook is touched first, the player must move the rook instead. The move must be completed with one hand, and if castling is illegal, the player must make a legal king move instead.
Castling Rights and Repetition
In chess notation and analysis, an unmoved king retains castling rights with an unmoved rook, even if castling is not currently possible due to position. In threefold repetition, two identical positions that differ only in castling rights are not considered identical, as seen in the famous Karpov vs. Miles (1986) case.
Historical Development
Castling evolved from an earlier move known as the king’s leap, which allowed the king to move two squares in one direction. This rule, practiced in medieval Europe between the 14th and 15th centuries, gradually transformed into the modern castling rule by the 17th century.
Different regions once had distinct rules:
- In Italy and Germany, various forms of “free castling” existed, where the king and rook could move to flexible positions.
- The modern rule of moving the king two squares and the rook beside it was standardized in France (1620) and England (1640).
- The notation 0-0 and 0-0-0 was popularized in the 19th century by theorists such as Johann Allgaier and Aaron Alexandre.
Tactical Examples
Castling can create or prevent tactical opportunities:
- In Mattison–Millers (1926), the move O-O-O+ delivered a check while attacking a rook.
- In Karjakin–Carlsen (2007), castling was used to create a double attack, forcing material gain.
- Edward Lasker (1912) missed a checkmate by castling, choosing Kd2# instead.
Illegal or mistaken castling has also occurred among masters, including Viktor Korchnoi, Gata Kamsky, and Yasser Seirawan, highlighting the rule’s subtle complexity.
Castling in Variants
In chess variants, castling rules often differ:
- In Chess960 (Fischer Random), the king and rook end up on standard squares (g1/f1 or c1/d1), regardless of their starting positions.
- In Capablanca Chess (10×8 board), the same principle applies, but the distances vary.
- Wildebeest Chess (11×10) allows flexible king movement during castling.
- Some variants, such as Grand Chess, eliminate castling entirely.
Former World Champion Vladimir Kramnik proposed a variant of chess without castling in 2019 to encourage more dynamic play. Viswanathan Anand defeated him 2½–1½ in a no-castling exhibition in 2021.
Artificial and Vertical Castling
Artificial castling (or castling by hand) occurs when a player manually achieves a castled setup by moving the king and rook separately, usually through moves like Rf1 and Kg1.
Vertical castling, also known as Staugaard castling, appeared in novelty chess problems, where the king and a newly promoted rook “castle” along a file. Though never legal in standard chess, it remains a creative theme in problem composition.
Symbolism and Language
In most European languages, the term for castling derives from the Persian word rukh (meaning “rook”). The move is referred to as “short” and “long” castling depending on the side—reflecting the king’s shorter or longer travel distance.
In summary, castling in chess is both a defensive maneuver and a positional strategy that enhances the coordination of the king and rook. Its evolution and rules reflect centuries of refinement in chess theory, merging safety with active play.








