1. King Starts in Check
White wants to castle kingside while the rook on e8 checks the king on e1.
No, you cannot castle out of check. Castling is illegal if the king starts in check, crosses an attacked square, or finishes on an attacked square.
The short memory rule is: the king cannot castle out of, through, or into check. The rook may be attacked, and an attacked queenside b-file square does not matter because the king never occupies or crosses it.
Move history
The king and chosen rook must never have moved, even if either piece returned to its starting square.
Clear path
Every square between the king and chosen rook must be empty before castling begins.
Safe king route
The king's starting, crossing, and destination squares must all be free from enemy attack.
Rook safety is irrelevant
The rook may start attacked or cross an attacked square; only the king's route is tested for attack.
White is considering castling in every position. Decide whether the proposed castle is legal, then reveal the exact rule.
Score: 0 correct from 0 answered.
1. King Starts in Check
White wants to castle kingside while the rook on e8 checks the king on e1.
2. Crossing Square Attacked
The king starts safe and g1 is safe, but the bishop on b5 attacks the crossing square f1.
3. Destination Square Attacked
The king starts safe and can cross f1, but the rook on g8 attacks the destination square g1.
4. Clear and Safe Kingside
The king and rook have not moved, the path is empty, and e1, f1, and g1 are safe.
5. King Moved and Returned
The pieces look correctly placed, but the king moved earlier and later returned to e1.
6. Kingside Rook Moved
The h1-rook moved earlier and returned. White still retains queenside rights, but wants to castle kingside.
7. Piece Blocks the Route
The king and rook have not moved, but White's bishop still occupies f1.
8. Queenside b1 Is Attacked
Black's rook attacks b1. White wants to castle queenside through d1 and finish on c1.
For kingside castling by White, test e1, f1, and g1. For queenside castling, test e1, d1, and c1. Black uses the equivalent eighth-rank squares.
Starting square
If the king is currently checked on e1 or e8, castling is unavailable on both sides.
Crossing square
The king cannot cross f1 or d1 for White, or f8 or d8 for Black, while that square is attacked.
Destination square
The king cannot finish on g1 or c1 for White, or g8 or c8 for Black, while attacked.
The extra queenside square
b1 or b8 must be empty because it lies between rook and king, but it may be attacked.
These answers cover the king's route, rook exceptions, move history, blocked paths, notation, and tournament procedure.
No, you cannot castle out of check. The king's starting square is part of the safety test, so a checked king must respond with another legal move. Try King Starts in Check in the Castling Legality Trainer.
No, castling while in check is illegal. Castling may improve king safety strategically, but it cannot serve as a legal reply from an attacked starting square. Compare cases 1 and 4 in the trainer.
No, the king cannot cross an attacked square while castling. Kingside castling fails if f1 or f8 is attacked, and queenside castling fails if d1 or d8 is attacked. Test Crossing Square Attacked on the board.
No, castling cannot finish with the king on an attacked square. The destination g1, c1, g8, or c8 must be safe just like any normal king destination. Use Destination Square Attacked in the trainer.
The king and chosen rook must never have moved, every square between them must be empty, and the king's starting, crossing, and destination squares must be safe. All conditions must hold at the same time. Use the Complete Castling Test and then answer all eight cases.
The king moves two squares toward the chosen rook. On the kingside it finishes on the g-file, and on the queenside it finishes on the c-file. Case 4 shows the legal kingside route.
The rook moves to the square the king crossed, finishing next to the king. Kingside the rook lands on f1 or f8; queenside it lands on d1 or d8. Reveal the answer to Clear and Safe Kingside for the complete move.
Remember that the king cannot castle out of, through, or into check. Those three words correspond to the starting, crossing, and destination squares. Cases 1, 2, and 3 isolate the three failures.
Yes, an attacked rook does not by itself prevent castling. The attack restriction applies to the king's three-square route, provided every other castling condition is satisfied. Compare this principle with the king-square checks in the trainer.
Yes, the rook may cross an attacked square during castling. Only squares occupied or crossed by the king are tested for enemy attack. Use the queenside b1 case to separate the king's route from the rook's route.
Yes, White may castle queenside when b1 is attacked if e1, d1, and c1 are safe and the other conditions hold. The king never uses b1. Answer case 8 to see the exception visually.
Yes, an attack on b8 does not stop Black castling queenside. Black's king travels from e8 through d8 to c8, so those are the attacked-square tests. Apply the same logic shown in the white b1 trainer case.
No, White cannot castle kingside if f1 is attacked because the king must cross f1. It does not matter that e1 and g1 may be safe. Case 2 shows this exact failure.
No, White cannot castle kingside if g1 is attacked because the king would finish in check. A legal king move may never end on an attacked square. Case 3 shows the attacked destination.
Yes, a square is treated as attacked even when the attacking piece is constrained from moving because doing so would expose its own king. Castling therefore remains illegal if such an attack covers the king's route. Use the Three King Squares test whenever an attack looks pinned or unusual.
Yes, castling may give check if the rook's new line attacks the opposing king and the castling move itself is legal. The opponent being checked does not remove your castling rights. First verify the four conditions in the Complete Castling Test.
No, moving the king permanently removes both castling rights. Returning the king to e1 or e8 does not restore them. Case 5 tests the visually deceptive returned-king position.
No, the king's return does not restore castling rights. The rule depends on the game's move history rather than only the current placement. Compare the identical-looking legal and king-moved boards in cases 4 and 5.
You cannot castle with a rook that has previously moved. Returning that rook to its original square does not restore the right. Test the Kingside Rook Moved case.
No, a rook that moved and returned is no longer eligible for castling. The board may look normal, but its move history makes the castle illegal. Cases 4 and 6 show why appearance alone is insufficient.
No, a promoted rook cannot be used for standard castling because it was not the original unmoved rook on the required starting square. Moving a promoted rook onto a1 or h1 does not create castling rights. Use the move-history rule from cases 5 and 6.
No, moving another rook onto the original rook square does not create castling rights. Castling requires the original eligible rook that has never moved. The Kingside Rook Moved explanation demonstrates the same history principle.
Yes, moving one rook removes castling rights only on that rook's side, provided the king has not moved. The other side may remain available if its rook is eligible and the path and king route are legal. Case 6 preserves queenside rights while denying kingside castling.
Yes, each rook has its own side-specific castling right, while moving the king removes both. A moved h-rook can remove O-O without removing O-O-O. Inspect the castling-right distinction in case 6.
No, every square between the king and chosen rook must be empty. Your own piece or an enemy piece blocks castling regardless of whether the king's route is safe. Case 7 shows a bishop blocking f1.
No, castling does not let either the king or rook jump over an intervening piece. The path must be cleared first. Try Piece Blocks the Route in the trainer.
Yes, a piece on b1 blocks queenside castling because b1 lies between the a1-rook and e1-king. Although the king does not cross b1, the square must still be empty. Contrast a blocked b1 with the attacked-but-empty b1 in case 8.
b1 may be attacked because the king never occupies or crosses it, but it must be empty because it lies between king and rook. Attack safety and path clearance are separate tests. Case 8 isolates this exact distinction.
Yes, being checked earlier does not remove castling rights by itself. Castling remains possible later if the king did not move, the chosen rook did not move, the path is clear, and the king's route is currently safe. Reapply the Complete Castling Test to the later position.
Potentially yes, but not during the move that blocks the check unless that move itself is legal castling, which it is not while checked. On a later turn, castling may be available if all rights and safety conditions remain. Compare case 1 with the legal case after the check has disappeared.
Yes, castling can move an attacked rook to safety if the king's route and every other condition are legal. The rook's attacked status is not part of the king-safety restriction. Use the Complete Castling Test before treating the move as an escape.
No, an empty path is necessary but not sufficient. The king must also start, cross, and finish on safe squares. Cases 2 and 3 show clear paths that still produce illegal castles.
Kingside castling is written O-O using capital letter O characters, although zeros are often understood informally. The notation represents the complete king-and-rook move. Case 4 shows the position before legal O-O.
Queenside castling is written O-O-O. White's king finishes on c1 and rook on d1; Black's king finishes on c8 and rook on d8. Case 8 tests a legal queenside castle.
Move the king first when castling over the board because castling is treated as a king move. Touching the rook first may invoke the touch-move rule and require a rook move. Practise identifying legality before physically starting the move.
Yes, under standard over-the-board competition procedure, castling is completed with one hand. The king is moved first and then the rook. Use the trainer to settle legality before applying the physical procedure.
The consequence depends on the competition rules and time control, but the illegal attempt must not remain on the board. In formal play, touch-move and illegal-move penalties may apply. Learn the eight trainer cases before relying on an arbiter or interface warning.
Yes, Black follows the same standard castling conditions on the eighth rank. Test e8, f8, g8 for kingside and e8, d8, c8 for queenside. Apply the Three King Squares section by changing only the rank.
The usual causes are check, an attacked crossing or destination square, a blocked path, or lost move-history rights. Online boards remember whether the king or rook moved even when both returned. Compare your position with all eight trainer cases.
Yes, Chess960 begins with the king and rooks on different starting files, so the movement can look different while the final king and rook squares follow variant rules. This page trains standard chess castling from e1 or e8. Use the standard eight cases only for ordinary chess positions.
Connect castling legality to check, king safety, special moves, and the rest of the beginner rule set.
or create a ChessWorld username
Already have an account? Log in