Castling can be carried out only when there isn't any parts amongst the king as well as the rook you can transfer. The king and rook cannot have moved Earlier. You can't castle When your king is in Examine or if doing this would move your king through or into a square in which he would be in Look at. Many thanks! We're glad this was valuable.ChessU