🔥♟️VOTE ON OUR NEXT DROP! ♟️🔥
Control The Center
Menu
SPECIAL RULE beginner

Castling

A special two-piece move that safely tucks the King away while simultaneously activating a Rook.

⚡ Rule at a Glance (TL;DR)

  • Castling is the only move in chess where TWO pieces move in a single turn (the King and one Rook).
  • The King moves two squares left or right toward the Rook, and the Rook hops over to sit directly next to the King.
  • Kingside castling is written 'O-O' (short castle); Queenside castling is written 'O-O-O' (long castle).
  • You CANNOT castle if: 1) King has moved, 2) Target Rook has moved, 3) Pieces are in between, 4) King is currently in check, or 5) King passes through check.

Interactive Rule Board

3 Interactive Modes
Board configuration diagram for Castling

Starting Position (FEN): r3k3/8/8/8/8/8/8/4K2R w Kq - 0 1

Highlighted Squares: g1, f1, c8, d8

📋 Essential Conditions

  • Neither the King nor the chosen Rook has moved earlier in the game.
  • All squares between the King and Rook must be completely empty.
  • The King is not currently in check.
  • The King does not pass through or land on any square attacked by an enemy piece.

⚠️ Common Mistakes

  • Trying to castle out of check (you must escape check with a regular move first).
  • Moving the Rook first in over-the-board play (touch the King first to avoid the Touch-Move penalty!).
  • Castling through a square controlled by an enemy Bishop, Knight, or Queen.

Castling is a unique, powerful dual-purpose move designed to accomplish two vital opening goals at once: protecting your King behind a wall of pawns while activating a Rook toward the center of the board.

It is the only move in chess where two pieces move on the same turn, and the only time the King moves more than one square.


Kingside vs. Queenside Castling

TypeFormal NameNotationKing DestinationRook Destination
KingsideShort CastleO-OMoves 2 squares right (g1 / g8)Rook hops to f1 / f8
QueensideLong CastleO-O-OMoves 2 squares left (c1 / c8)Rook hops to d1 / d8

To execute castling legally, your position must meet all four requirements:

  1. Neither Piece Has Moved: The King and the chosen Rook must have remained on their starting squares for the entire game. If either piece moved and later returned, castling rights with that piece are permanently lost.
  2. Clear Path: There must be zero pieces (friendly or enemy) between the King and the chosen Rook.
  3. Not in Check: The King cannot be under active attack when castling begins.
  4. No Dangerous Squares: The King cannot pass through or land on any square attacked by an enemy piece. (Note: The Rook itself MAY pass through an attacked square on b1/b8 during queenside castling—only the King’s safety is restricted).
For experienced players

When playing tournament chess over the board, ALWAYS touch your King first and move it two squares, then slide the Rook over. Under FIDE touch-move rules, touching the Rook first constitutes a normal Rook move and forfeits your castling rights!

See also:How the King Moves·How the Rook Moves·Check·The Touch-Move Rule

Frequently Asked Questions

Can you castle out of check in chess?

No. You can never castle while your King is actively in check. You must resolve the check by capturing the attacker, blocking, or moving the King.

Can you castle if your Rook is attacked?

Yes! As long as the King is not in check, does not pass through check, and does not land in check, an attacked Rook does NOT prevent you from castling.

What is the difference between Kingside (O-O) and Queenside (O-O-O) castling?

Kingside castling (O-O, short castle) moves the King two squares toward the h-file rook with 2 empty intervening squares. Queenside castling (O-O-O, long castle) moves the King two squares toward the a-file rook with 3 empty intervening squares.