Basics Beginner

Can You Castle Out of Check?

This is one of the most frequently asked questions in chess: "Can I castle to escape check?" The short answer is no. Here are the complete rules about castling and check.

The three check rules for castling

There are three separate restrictions involving check and castling:

  1. You cannot castle while in check: If your king is currently being attacked, you must deal with the check first. Castling is not a valid escape.
  2. You cannot castle through check: If any square the king passes through is attacked by an enemy piece, castling is illegal.
  3. You cannot castle into check: If the king's destination square is attacked, castling is illegal.

A common misconception

Many beginners believe the rook's path must also be clear of attacks. This is wrong. Only the king's path (the squares the king crosses and lands on) must be free from attack. During queenside castling, the rook passes through b1/b8, which CAN be attacked.

After castling rights are lost

Remember: even after you escape check, if the king moved to do so, you permanently lose the right to castle (both sides). Plan your defence accordingly. See our full castling rules guide.

← All articles