Organ of the Committee on Chess Obsession
chessitis
highly contagious chess content

How to Castle in Chess (and When You Shouldn't)

Castling is the only move in chess where you move two of your own pieces at once: the king slides two squares toward a rook, and that rook jumps to the square the king just crossed. It is legal only if the king and that rook have never moved, the squares between them are empty, and the king is not in check, does not pass through an attacked square, and does not land on one. Done right, it tucks your king into a corner and activates a rook in one move, which is why it is the best deal in chess.

Every condition, no exceptions

  1. Your king has never moved. Not once. Moving it and moving it back does not reset anything. Chess remembers.
  2. The rook you are castling with has never moved. The other rook’s history is irrelevant.
  3. No pieces between the king and that rook. Yours or theirs.
  4. Your king is not currently in check. You cannot castle out of check. You can, however, block or capture the checking piece and castle later, because a check does not cancel your castling rights. Only moving the king does.
  5. The king does not pass through an attacked square. If an enemy bishop covers f1, White cannot castle kingside, even with everything else in order.
  6. The king does not land on an attacked square. Castling into check is not a loophole. It is an illegal move.

One myth to bury: the rook is allowed to be attacked, and the rook may pass through an attacked square during queenside castling. The rules protect the king. The rook signed up for danger when it became a rook.

Kingside vs queenside

Kingside (written O-O): king goes from e1 to g1, rook from h1 to f1. Shorter, faster, only two squares to clear. This is the default for a reason: fewer moves of preparation, and the pawn shield in front of the king is usually intact.

Queenside (written O-O-O): king goes from e1 to c1, rook from a1 to d1. Three squares to clear, so it takes longer to arrange. The payoff: your rook lands on the d-file, often glaring straight at the enemy queen. The tax: your a-pawn is loose and your king is one square less tucked-in, so it often takes an extra move (Kb1) to feel safe.

Opposite-side castling, where you go one way and your opponent goes the other, turns the game into a footrace of pawn storms. Fun. Violent. Not recommended while you are still hanging pieces.

When you should NOT castle yet

Castling early is excellent default advice, and defaults have exceptions.

The rule of thumb

Castle within the first ten moves unless you can say, out loud, in one sentence, why this position is the exception. “I forgot” is not a sentence. “I was attacking” is a sentence you will use to explain the loss afterward. The players who skip castling on purpose earned that right by castling early for a few thousand games first.

Castle early, then watch your opponent throw pieces at your fortress. In ShatterChess, every attacker that dies on your castled wall shatters on impact, which is what a good pawn shield deserves.
Play ShatterChess →