From Chesspedia, the Free Chess Encyclopedia.

Castling

Image:chess_zhor_26.png
Image:chess_zver_26.png
a8 b8 c8 d8 e8 f8 g8 h8
a7 b7 c7 d7 e7 f7 g7 h7
a6 b6 c6 d6 e6 f6 g6 h6
a5 b5 c5 d5 e5 f5 g5 h5
a4 b4 c4 d4 e4 f4 g4 h4
a3 b3 c3 d3 e3 f3 g3 h3
a2 b2 c2 d2 e2 f2 g2 h2
a1 b1 c1 d1 e1 f1 g1 h1
Image:chess_zver_26.png
Image:chess_zhor_26.png
Initial position
Image:chess_zhor_26.png
Image:chess_zver_26.png
a8 b8 c8 d8 e8 f8 g8 h8
a7 b7 c7 d7 e7 f7 g7 h7
a6 b6 c6 d6 e6 f6 g6 h6
a5 b5 c5 d5 e5 f5 g5 h5
a4 b4 c4 d4 e4 f4 g4 h4
a3 b3 c3 d3 e3 f3 g3 h3
a2 b2 c2 d2 e2 f2 g2 h2
a1 b1 c1 d1 e1 f1 g1 h1
Image:chess_zver_26.png
Image:chess_zhor_26.png
Kingside castling (0-0)
Image:chess_zhor_26.png
Image:chess_zver_26.png
a8 b8 c8 d8 e8 f8 g8 h8
a7 b7 c7 d7 e7 f7 g7 h7
a6 b6 c6 d6 e6 f6 g6 h6
a5 b5 c5 d5 e5 f5 g5 h5
a4 b4 c4 d4 e4 f4 g4 h4
a3 b3 c3 d3 e3 f3 g3 h3
a2 b2 c2 d2 e2 f2 g2 h2
a1 b1 c1 d1 e1 f1 g1 h1
Image:chess_zver_26.png
Image:chess_zhor_26.png
Queenside castling (0-0-0)

Castling is a special move in the game of chess involving the king and either rook. Castling consists of moving the king two squares towards a rook, then moving the rook onto the square over which the king crossed.

Castling is a relatively recent European innovation in chess, dating from the 14th or 15th century. Thus, the Asian versions of chess do not have such a move.

Castling is only permissible if all of the following conditions hold:

  1. The player must never have moved the king;
  2. The player must never have moved the rook involved in castling;
  3. There must be no pieces between the king and the rook;
  4. The king must not be in check, the square the king crosses must not be attacked by an enemy piece, and the act of castling must not place the king in check. (The last part of this rule is part of the general rule of never placing one's king in check.)

It is a common mistake to think that the requirements for castling are even more stringent than the above. To clarify:

  1. The king may have been in check previously, as long as it isn't in check at the time of castling.
  2. The rook involved in castling may be under attack.
  3. The rook involved in castling may move over an attacked square. (This situation is only possible with queenside castling.)

The notation for castling is 0-0 on the kingside and 0-0-0 on the queenside, in both the descriptive and the algebraic systems. It is common for both players to castle kingside, and quite rare for both players to castle queenside. If one player castles kingside and the other queenside, it is called opposite castling. Castling on opposite sides usually results in a fierce fight as the pawns on both sides are free to advance to attack the opposing king's castled position without exposing the player's own castled king. An example is the Dragon Variation of the Sicilian Defense.

Kingside castling is generally slightly safer, because the king is placed closer to the edge of the board and all the pawns in the castled position are defended. In queenside castling, the king is placed closer to the center and the a pawn is undefended; however, the king is often moved to the b file to defend the a pawn and to move the king away from the center of the board. On the other hand, queenside castling places the rook more effectively -- on the d file, it is often immediately active, whereas with kingside castling a tempo may be required to move the rook to a more offensive square. Another difference between kingside and queenside castling is that queenside castling requires moving the queen; therefore, it may take slightly longer to achieve than kingside castling if the queen has not yet been moved.

Castling is an important goal in the early part of a game, because it serves two valuable purposes: it moves the king into a safer position away from the center of the board, and it moves the rook to a more active position in the center of the board. If the king is forced to move before it has the opportunity to castle, the player may still wish to maneuver the king towards the edge of the board and the corresponding rook towards the center. When a player takes three or four moves to accomplish what castling would have accomplished in one move, it is sometimes called artificial castling.

To signal the intention to castle, a player should pick up the king first and move it two squares, and then move the rook over it. Although some players castle by picking up the king with one hand and the rook with the other, this is contrary to the rules of chess which require that each move be completed using only a single hand. Under most tournament rules, if one picks up the rook first, one is obliged to move just that rook instead of castling.

Castling is in most non-English speaking nations known as 'Rochieren/Rochada', whilst 'queenside/kingside castling' is in those countries referred to as 'long/short castling'.

Some chess variants have modified castling rules to handle modified starting positions. For an example, see the rules of Fischer Random Chess.

In chess problems, castling is assumed to be allowed if king and rook stand on their initial squares, unless it can be proved by retrograde analysis that one or both of them must have previously moved.