Castling is the only move in chess where you move two pieces at once, and it is the fastest way to make your king safe. In one move the king slides two squares toward a rook, and that rook jumps to the king’s other side.

The rules of castling
You may castle only when every one of these is true:
- Neither the king nor that rook has moved earlier in the game.
- No pieces stand between the king and the rook.
- The king is not in check right now.
- The king does not pass through or land on an attacked square.
If even one condition fails, castling is illegal that move. The rook, interestingly, is allowed to be attacked or to pass an attacked square — only the king’s path matters.
Kingside vs queenside

There are two ways to castle, and they lead to very different games.
| Type | Notation | King goes to | Feel |
|---|---|---|---|
| Kingside (short) | O-O | g1 / g8 | Fast, safe, common |
| Queenside (long) | O-O-O | c1 / c8 | Slower, more aggressive |
Kingside is safer and quicker because only two squares need clearing. Queenside opens attacking options but leaves the a-pawn slightly loose, so play it when you understand the position.
How to castle, step by step
- Clear the pieces between king and rook (knight and bishop, plus the queen for queenside).
- Make sure your king is not in check.
- Move the king two squares toward the rook first.
- Then place the rook on the square the king crossed.
Tip: always touch the king first when castling over the board. If you touch the rook first, an arbiter can rule that you must make a rook move instead.
When should you castle?

Castle early, usually within the first ten moves. A king stuck in the center is the most common reason beginners lose quickly, because open central files expose it to rooks and queens.
Delay castling only when the center is completely closed and your king is already safe, or when castling would walk into a direct attack.
Common mistakes
- Castling into an attack. Check whether enemy pieces already aim at your king’s new home before you commit.
- Waiting too long. Every move you spend not castling is a move your opponent can use to open the center.
- Weakening the pawns in front. Pushing the g- or h-pawn after castling can create holes; move them only with a clear reason.
Learn the four rules, castle early, and glance at your opponent’s aim before you do it. That single habit will save you more games than any opening you memorize.
