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
- Your king has never moved. Not once. Moving it and moving it back does not reset anything. Chess remembers.
- The rook you are castling with has never moved. The other rook’s history is irrelevant.
- No pieces between the king and that rook. Yours or theirs.
- 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.
- 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.
- 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 center is locked shut. If the pawns are tangled and no files are opening, your king in the center is not actually in danger. Spend the move on something useful and castle when you feel like it.
- Your opponent is aiming everything at one side. Castling into a ready-made attack is not safety. It is delivery. If their pieces and pawns are massed kingside, castling kingside hands them the address.
- Your pawn shield is already wrecked. Castled behind mangled pawns, your king is not safe. It is just far away.
- The queens are off and the endgame is near. With no queens on the board, a centralized king becomes a strength. Castling can literally walk your best endgame piece away from the action.
- You have something more forcing. A castling move is a quiet move. If there is a capture or a threat that demands attention, safety can wait exactly one move. Sometimes.
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.
Play ShatterChess →