Can you castle out of check?

No. You may not castle while your king is in check. You must first deal with the check another way (block it, capture the checking piece, or move the king). You also can't castle through or into check โ€” but you can castle later in the game once the king is safe again, provided neither the king nor that rook has moved.

Put it into practice.

Play a real, rated game in seconds โ€” no sign-up, no download.

Play chess free โ†’