ChessWorld.net - Play Online Chess
ChessWorld.net, founded in 2000, is an online chess site. Play relaxed, friendly correspondence-style chess at your own pace.
📚 Chess Courses – Openings, Tactics, Middlegame, Endgames

🏰 Castling in Chess (How and Why)

Your king is priceless: if it’s checkmated, the game ends. Castling is a special move that helps you get the king to safety and activate a rook at the same time. This page shows what castling looks like (both sides), when it’s legal, and the most common reasons to castle early.

Why Castling Matters

Early in the game there is usually a battle for the center. It’s often a good idea to move the king away from the action to a safer corner, and to bring a rook closer to the middle where it can take part in the game. Castling allows you to do this.

Beginner shortcut: In most normal positions, try to castle within your first 8–12 moves.

King-side vs Queen-side

Looking from White’s side, the left half is the queen-side and the right half is the king-side. You may castle to either side depending on the position.

Diagram showing the queen's side and king's side of the chessboard

How Castling Works

When you castle, the king moves two squares toward a rook, and the rook moves to the square immediately on the other side of the king. (In over-the-board play, always move the king first so it’s clearly a castle.)

In the diagram below, neither king has castled yet:

Kings have not castled yet in this diagram

Castling King-side (Short) – O-O

Here the white king castles king-side (short). The king moves two squares to the right, and the rook comes to the square next to the king on the other side. This is written O-O.

White king castled kingside short

Castling Queen-side (Long) – O-O-O

Here the white king castles queen-side (long). The king moves two squares to the left, and the rook comes to the square next to the king on the other side. This is written O-O-O.

White king castled queenside long

When Castling Is NOT Allowed

Practical tip: If you’re unsure, ask: “Is my king in check now, or would it cross/land on an attacked square?” If yes → no castling.

FAQ

What is castling in chess?

Castling is a special move where the king moves two squares toward a rook and the rook moves to the square next to the king.

When is castling not allowed?

You cannot castle if the king or that rook has moved, if pieces are between them, if the king is in check, if the king would move through check, or if the king would end up in check.

Can you castle on both sides?

Yes—kingside (O-O) or queenside (O-O-O), as long as the conditions are met.

➡️ Next Steps

Next up: the special pawn capture called en passant.