Skip to content
Golinder Press

A closer read of the original

Menu
The Rulebook Margin

What the Chess Rulebook Checks Before Castling

The white king stands on e1 in the International Chess Federation's before diagram. In the after diagram it has moved toward the corner to g1, and the rook from h1 stands at its shoulder on f1. FIDE counts both pieces' travel as a single move of the king. Castling requires an empty gap between the pieces and a king's route free of attack. Both pieces must be on their starting squares without having moved earlier in the game.

A pale wooden chess king and rook stand on a brown table beside a softly blurred chessboard.

The diagrams sit beneath the rule for how a king moves in the FIDE Laws of Chess. One line gives the king its ordinary move to an adjoining square. The International Chess Federation describes castling in its Laws of Chess: "This is a move of the king and either rook of the same colour along the player’s first rank, counting as a single move of the king and executed as follows: the king is transferred from its original square two squares towards the rook on its original square, then that rook is transferred to the square the king has just crossed." That wording gives the player a starting point even on a board with no letters printed along the edge.

Where do the king and rook land when castling?

The names come from the starting arrangement. On a standard board the king starts on the e-file, the vertical column marked e, and the queen starts beside it on the d-file. In FIDE's diagrams the kingside rook is the corner rook on the king's side of that pairing; the queenside rook is the one across the queen's starting side. The pieces that give the sides their names may be elsewhere by the time castling comes up. The names still refer to the ends of the board where they started.

FIDE's kingside pair shows the gap on White's back rank, the row nearest White. The king crosses f1 on its way to g1. The rook has a fixed place to go as soon as the king arrives: f1. The king ends up nearer the edge, with the rook just inside it. A reader can check the result by looking for the empty corner where the rook began and the pair of occupied squares immediately beside it.

The queenside diagram shows why the rule is written from the king's point of view. White's king starts farther from that corner, yet it still moves two squares, this time from e1 through d1 to c1. The rook travels from a1 to d1. So the king covers the same distance in either diagram, while the queenside rook has farther to travel than the kingside rook.

Where the pieces land on White's back rank
Castling sideKing startsKing crossesKing landsRook travels
Kingsidee1f1g1h1 to f1
Queensidee1d1c1a1 to d1

There is a second move drawn into each pair of pictures. The captions describe separate cases: the same boards that show White's kingside move also show Black's queenside move. The other pair shows White going queenside and Black kingside. Since the diagrams keep White's end at the bottom, the file letters keep the same orientation throughout. What changes for Black is the rank, the number that marks the row.

At the top of the first pair, Black's king crosses d8 on its way from e8 to c8. The rook comes from a8 to d8. It is the same footprint as White's queenside move, drawn on the far edge of the board. The file letters on the two edges match, so both queenside kings finish on the c-file and both queenside rooks on the d-file.

The difference starts with the original lineup. FIDE's starting diagram has a bishop and a knight between the king and its kingside rook. The queenside gap has a bishop and a knight as well, plus the queen. Each of those pieces starts on a square the rule requires to be empty before castling. On a real board, the clear strip in the diagrams takes some work to make.

Which earlier moves take away the right to castle?

Just below the drawings, FIDE puts both earlier moves under one heading: “The right to castle has been lost:” The king belongs to either version of castling, so any earlier move of that king takes away the right on both sides. A rook belongs to only one version. An earlier move by that rook takes away the right on its side and leaves the other side to be assessed on its own.

A rook that has moved out and returned to its corner can look exactly as it did before. FIDE's test is whether it has ever moved in this game. The same distinction applies to the king: its original square matters as a point of departure, and its return there leaves the earlier move on the record. The diagram gives the starting address. The game supplies the answer about who has left it.

How far the loss of castling rights reaches
Earlier moveEffect on castling rights
King movedThe right is lost on both sides
Kingside rook movedThe right is lost with that rook
Queenside rook movedThe right is lost with that rook

FIDE's sample game in Appendix C shows how the gaps open. Black's kingside knight goes out near the beginning. The kingside bishop waits longer: in the first version of the sample, White's queen gives check along the e-file, and Black meets it by placing the bishop on that file. The bishop's old square is the one Black's king will cross. On the other end of the board, White finishes clearing the queenside by developing the knight that began beside the rook. The king and rook on each chosen side have stayed home while the other pieces moved.

Black castles kingside. White castles queenside on the following turn. Then the appendix ends the sample with White playing Kb1, a king move one square farther toward the queenside corner. The spare notation is enough to trace the king from its home square to the square reached by castling and then to its next stop. Once the king has left home by castling, the other rook has lost its chance to castle with it too.

The distinction reaches beyond a player's choice of move. FIDE's rule on repeated positions compares the pieces on the squares, whose turn it is, and what moves are possible. It specifically calls out a castling right that existed earlier and was lost during the intervening play. So a return of the pieces to the same squares can produce a different position for repetition purposes. The example explains why a photograph of a board can leave out something the rulebook needs to know.

Which squares have to be clear of attack?

The next heading in FIDE's rulebook reads “Castling is prevented temporarily:” The distinction matters when a bishop is still at home or an enemy piece covers the route. A piece can clear the gap, and an attack can go away. The right can be exercised on a later turn if the obstacles disappear and the king and the rook involved have stayed on their starting squares.

FIDE's attack rule follows the king from the square it stands on through the square it crosses to the one where it lands. An attack on the starting square puts the king in check: an opposing piece attacks the square it occupies. An attack on the square in the middle matters even though the king ends the move elsewhere. As with an ordinary king move, the king must finish on a square free of attack.

White's king squares that must be free of attack
  • Kingside: e1 at the start, f1 in transit, g1 on arrival
  • Queenside: e1 at the start, d1 in transit, c1 on arrival

An attack, in the rulebook's sense, can come from a pinned piece, one shielding its own king from an opposing piece. It must avoid moves that would expose its king to attack. FIDE still treats that piece as attacking the squares its movement covers, subject to the ordinary movement rules for that piece. That makes looking for attacks on the king's route a different task from listing the moves the opponent could make on the next turn.

Those movement rules give a player a way to trace where an attack comes from. A bishop works along a diagonal, and a piece in its way cuts that line short. A knight's attack comes from the shape of its jump, so the same intervening piece cannot screen the king from a knight. The castling diagram marks the strip the king follows. A check for attacks can lead well beyond that strip into the rest of the board.

The queenside gap shows how the attack rule and the occupancy rule divide up the board. For White the gap between king and rook runs through d1, c1, and b1. All those squares have to be empty. The attack test takes a different route: it begins at the king on e1 and ends at c1. An attack on b1 alone leaves the king's route clear. A piece sitting on b1, on the other hand, stands in the rook's way and prevents castling.

When is the castling move made on the board?

FIDE puts the motion of the hand in a separate article from the motion of the pieces. Under its touch rule, a player who touches the king and then the intended rook to move them must castle on that side if the move is allowed. The stop between setting down the king and picking up the rook has a specific effect. Where castling on that side is available, releasing the king commits the player to it, even while the rook is still on its old square.

If the player touches the king and then the rook intending to castle, but castling on that side is unavailable, the rulebook calls for another permitted king move where one exists. That can include castling with the other rook if the conditions on that side are met. When the king has no permitted move at all, the player is free to make another move that the position allows. What the hand touched determines which alternatives remain.

What the player's hand does
  1. King first: The king moves toward the chosen rook and is released on its destination square.
  2. Rook next: The rook moves to the square the king crossed.
  3. Release: The move is made when the hand lets go of the rook on that square.

In clocked play, FIDE gives the word completed a separate meaning. The player normally presses the clock after making the move on the board, stopping one clock and starting the other. Time between the two actions still comes out of the moving player's allotment. So a spectator can see the castling move made at the board before the click that usually completes it under the clock rules.

In the opening diagram's sequence, the white king is already on g1 when the hand brings the rook over from the corner. FIDE calls the move made on the board when that hand releases the rook on f1, the square the king passed through.

Frequently Asked Questions

How is queenside castling written in chess notation?

FIDE's Appendix C writes queenside castling as 0-0-0 and kingside castling as 0-0, using zeros. The same mark applies to either color on the side it describes, so the turn on the scoresheet, the record of the moves, tells which king moved.

Can two hands be used to castle in an over-the-board game?

FIDE requires one hand for each move, including castling. Under its competitive rules, a two-handed castle followed by a press of the clock is penalized as an illegal move. In ordinary play, the hand that moves the pieces also presses the clock.

Can the rook's original square be under attack when castling?

The rook's corner may be under attack as long as the king's route is free of attack and the other conditions are met. The rook's destination, by contrast, lies on the king's route. The rule checks for an attack there because the king crosses that square on its way to its own destination.

What happens if a player deliberately touches the rook before the king?

That touch order takes castling on that side off the table for the current turn. Under FIDE's touch-move rule, the player must move the rook if it has a legal move. Otherwise the player must move the king if it has a legal move. If neither touched piece can move, any legal move is allowed.

Sources

  • International Chess Federation (FIDE): FIDE Laws of Chess taking effect from 1 January 2023