Castling Rules in Chess: When, Why, and How to Castle

Complete guide to castling in chess. Learn kingside and queenside castling rules, when you can and can't castle, and why early castling is crucial for king safety.

By Chess Calculator Team|Published April 9, 2026

Castling is the only move in chess where you move two pieces at once. It's also one of the most important moves in any game — getting your king to safety while activating your rook.

How to Castle

Kingside (O-O): Move the king two squares toward the h-rook. The rook jumps to the other side of the king.

Queenside (O-O-O): Move the king two squares toward the a-rook. The rook jumps to the other side.

When You Can't Castle

You cannot castle if: the king has previously moved, the rook has previously moved, the king is in check, the king passes through check, or pieces are between king and rook.

When to Castle

Most chess coaches recommend castling within the first 10 moves. Early castling gets your king behind a wall of pawns and brings your rook into the game. Delaying castling often leads to king-safety problems.

Try Chess Calculator Free

Stockfish 18 analysis, AI coach, and the chess next move finder — all free, no signup.

Open the Calculator →