When Should You Castle in Chess
Castle as soon as the pieces on your king's side are developed, unless an enemy piece is already aimed at the squares the king would use, or the opponent's attack is faster on the side you would pick. In most games that means by move 10. The reason is simple: castling tucks the king behind its pawns and brings a rook toward the center in one move, and a king left in the middle can be hit by an open file before it gets the chance.
Want to improve faster? International Master George Li starts a first lesson from your own games and sends a written plan after it: $150 for 60 minutes.
Book your first lesson ($150)How do you castle?
Castling is the one move in which two of your pieces change square, and it always involves the king and one rook. Move the king two squares toward the rook you want, then place that rook on the square the king has just crossed. Short castling, toward the h-file, ends with White's king on g1 and its rook on f1. Long castling, toward the a-file, ends with the king on c1 and the rook on d1. For Black the squares are g8 and f8 on the short side, and c8 and d8 on the long side. Scoresheets write short castling as O-O and long castling as O-O-O. A handy check: the king always ends on a square of the color it started on, a dark square for White and a light one for Black.
White castles short and Black castles long: 1. O-O O-O-O
On a real board, touch the king first and move it two squares, and then move the rook. Under the touch-move rules, a player who deliberately touches a rook and then the king may not castle on that side on that move, as the touch-move rule page explains. Online, you usually click the king and the square two steps away, and the site moves the rook. The same four conditions apply in Chess960, with different squares to clear, as the page on Chess960 for kids shows.
When can you castle at all?
Castling is a move of the king and a rook, and Article 3.8.2 of the Laws of Chess sets the limits. The right is gone for good once the king has moved, or once the rook you want to use has moved. The move is blocked for the time being while the king is in check, while any square the king crosses or lands on is attacked, or while any piece is on a square between them. Notice what is missing from the list: an attacked rook does not matter, and neither does an attacked b1 square on the queenside, since the king never steps on either.
The four positions below show each case. In every one, White has a king on e1 and rooks on a1 and h1.
What order should you ask the questions in?
Use the same questions each game and answer them in the same order. This is coaching advice for club and junior players, not a rule of the Laws.
| Question | If the answer is yes | If it is no |
|---|---|---|
| Is castling legal on that side right now? | Go to the next question | Make another useful move, and look again next turn |
| Is the center about to open, or is a file already open toward my king? | Castle now if you can | You have a little time |
| Is an enemy queen, bishop or rook already aimed at the squares near the castled king? | Look for a different side or a move that deals with it first | Castle |
| Are my knight and bishop on that side developed? | Castle | Develop first, unless an attack is on |
| Is the opponent starting a pawn storm on the side I would choose? | Think about the other side | Castle on your usual side |
Most games reach "castle" at question three or four, which is why castling happens in the first ten moves of nearly every game.
When does a legal castle lose at once?
A castle can be legal and still be the worst move on the board. In the position below, Black's queen on h4 and bishop on d6 are both aimed at the square h2.
After castling, White's king sits on g1 with the rook beside it on f1, and the pawn on h2 is attacked twice and guarded only by the king.
Mate: f1 holds the rook, f2 and g2 hold pawns, h1 is covered by the queen and the bishop guards h2: 1. O-O Qxh2#
The lesson is to look at the squares where the king will land before you castle, and not only at the squares the king crosses. The Laws ask only that those squares are not attacked at the moment of castling, and the arrangement of the enemy pieces decides everything else.
Which side should you castle?
Kingside castling is the quicker choice at the start of the game: it needs only two pieces out of the way, the bishop and the knight on the f and g files. Queenside castling needs three squares empty, b1, c1 and d1, so the knight, the bishop and the queen must all move first. That is why most players castle kingside. Queenside castling puts the rook on the d-file at once and is the usual choice when you want to attack on the other wing with your pawns. As a result, it is worth asking which side the opponent castled before you decide.
When is it right to wait?
Waiting is right in a few cases, and each one has a reason you can say out loud. The squares near the castled king are already under attack. The opponent has castled on the same side and you plan a pawn storm. A closed center means the king is safe for a few more moves. Or you need a move to win material or stop a threat. If you cannot say the reason, castle.
International Master George Li (FIDE profile) makes early castling a habit in the first lessons with young players. The glossary entries on castling and king safety give the definitions, and a first lesson shows where your own games left the king in the center too long. The chess lessons for kids page describes the format.
Frequently asked questions
Does an attacked rook stop you from castling?
No. Article 3.8.2 looks at the king's squares only, so a rook that is attacked can still take part in castling.
How do you castle on a chessboard?
Touch the king and move it two squares toward the rook, then move the rook to the square the king crossed. Short castling ends with the king on g1 or g8, and long castling ends with it on c1 or c8.
Is castling allowed while in check?
Never. In check, or with an attacked square to cross or land on, the move is illegal.
Which is better, castling kingside or queenside?
Kingside is quicker and the usual choice. Queenside brings the rook to the d-file at once and suits a plan with the pawns on the other wing.
When is it too late to castle?
Once the king or the rook has moved, the right is gone for good. Otherwise, castling is still allowed as long as the conditions above are met.
Related pages
Want a coach to go through this with you? See chess coaching with International Master George Li or online chess lessons.
Castle at the right moment, every game
A first lesson goes through your opening moves and marks the games where the king stayed in the center a move too long.
Cancel or reschedule a lesson up to 24 hours ahead by replying to the email that set it up, and it stays on your package.