Castling in chess: rules, kingside, queenside and pitfalls to know

Castling, one move, two pieces

Castling is the only move in chess that shifts two pieces of the same colour in a single move: the king and a rook. It serves a double purpose, tucking the king away behind its pawns and bringing an otherwise passive rook into play. There are two forms, kingside castling (0-0) and queenside castling (0-0-0), each governed by precise conditions set out in the FIDE Laws of Chess. Here’s how to play it correctly, and why timing matters just as much as the rule itself.

Published on 3 December 2026 · By Delphine D., Le Palais des Échecs editorial team

♛

The essentials
• A double move: the king and a rook move together, never with a capture involved.
• Kingside castling (0-0): the king ends on the g-file, the rook on the f-file.
• Queenside castling (0-0-0): the king ends on the c-file, the rook on the d-file.
• Right lost if the king or the relevant rook has already moved; castling prevented if the king is in check, or passes through or lands on an attacked square.
• Only one castling move is allowed per game, whichever side is chosen.
• Official notation: the digit zero (0-0), not the letter O.

What is castling in chess? Definition and double purpose

Castling means moving the king and a rook of the same colour at the same time, in a single move. It is the only move in chess where two pieces of the same colour move together, and it can never involve a capture: unlike every other move, no opposing piece is taken during castling.

Castling serves two purposes: it moves the king to safety, usually behind an intact row of pawns, and it brings out a rook that would otherwise stay stuck in its corner until late in the game. It’s also the only move that lets the king cross more than one square at once; everywhere else, it moves only one square at a time.

Along with en passant and promotion, castling is one of the special rules that confuses beginners most: the mechanics are simple once understood, but the conditions are worth learning precisely. To review all the rules before getting started, our beginner’s e-book covers piece movement step by step, including castling; our chess sets for children and beginners then let you practise directly on a board.

What are the conditions for castling?

The FIDE Laws distinguish two kinds of situations: those where the right to castle is lost permanently for the rest of the game, and those where castling is merely prevented for the current move. This isn’t just a simple list of isolated conditions, but two different kinds of logic.

Cases of permanent loss of the right

The right to castle on a given side disappears for the rest of the game as soon as the king has moved, or as soon as the rook involved in that castling has moved, even if either one later returns to its starting square.

Cases of temporary obstruction

Castling is prevented, for this particular move, if a piece stands between the king and the rook, if the king is currently in check, or if the king’s starting square, the square it must cross, or the square it would land on is attacked by an opposing piece. In a commonly cited reference position, black’s kingside castling stays blocked as long as the knight occupies g8, between the king and the rook on h8: as soon as it moves, castling becomes possible again.

Remember: the rook itself, and for queenside castling the square right next to it (b1 or b8), may be attacked without this preventing castling. Only the king’s starting square, the square it crosses and the square it lands on matter.

Kingside and queenside castling: differences, notation and diagrams

Kingside castling is played with the rook closest to the king, on the king’s side of the board; queenside castling is played with the rook furthest away, on the queen’s side. Both result in fixed destination squares, regardless of the position of the other pieces.

After kingside castling, the king ends up on the g-file and the rook on the f-file (g1 and f1 for White, g8 and f8 for Black). After queenside castling, the king ends up on the c-file and the rook on the d-file (c1 and d1, or c8 and d8). In algebraic notation, 0-0 denotes kingside castling and 0-0-0 queenside castling, using the digit zero rather than the letter O: a common mix-up, even in some online articles.

FeatureKingside castlingQueenside castling
Rook involvedRook closest to the king (h-rook)Rook furthest away (a-rook)
King’s final positiong-filec-file
Rook’s final positionf-filed-file
Algebraic notation0-00-0-0
Squares that must be clearf1 and g1 (or f8, g8)b1, c1 and d1 (or b8, c8, d8)

In the Italian Game, after 1.e4 e5 2.Nf3 Nc6 3.Bc4 Bc5, White can already play 4.0-0: squares f1 and g1 are empty and the king is not in check, so the conditions are met as early as the fourth move. To spot these files at a glance while learning, a board with clear markings helps beginners a great deal: see our selection of wooden chess boards.

Infographic comparing kingside and queenside castling in chess
The destination squares for king and rook change depending on which castling is chosen.

How to castle, on a physical board and online

On a physical board, the FIDE Laws recommend moving the king first, setting it down off the board next to its destination square, then placing the rook on the square the king has just crossed. Castling is only considered complete once the player’s hand releases the rook on that square.

This order isn’t just tournament habit: it also serves as a reference point for software and electronic boards, which detect a human-played castling move by the fact that the king is touched before the rook.

In competition, articles 4.4.1 and 4.4.2 of the FIDE Laws govern the « touch-move » rule: touching the king first, then the rook on the same side, obliges the player to castle if it’s legal; touching the rook first forbids castling on that side for that move, but the rook itself may still be played normally. To learn more about this framework, our guide on how to take part in chess tournaments covers arbiting practice in detail, alongside our article on using a chess clock. A clock and a scoresheet are indeed among the chess accessories to have on hand once you start playing in a club.

Online, clicking or dragging the king onto its destination square is enough: most interfaces place the rook automatically, with no need to move it separately.

A hand lifts the wooden king just before castling on the chess board
In tournaments, the king is always moved before the rook to signal castling unambiguously.
Foldable wooden chess board and Staunton wooden chess pieces with storage

To memorise the order of moves, king then rook, nothing beats a real board to handle. This foldable wooden chess board and Staunton pieces with storage, made of sycamore and mahogany, folds away for easy storage and suits both home use and travel. If you travel often, head to our folding chess sets.

See this folding chess board

The most common mistakes and misconceptions about castling

« I can castle to get out of check »

Wrong. Castling is impossible while the king is in check: you must first deal with the check by another move, then castle afterwards if the conditions are met.

« An attacked rook prevents castling »

Wrong. Only the king’s starting, crossing and landing squares matter. The rook may be attacked without this blocking castling.

« My king has already been in check, so it can no longer castle »

Wrong. A king that got out of check without moving, by blocking or capturing the attacker, keeps its right to castle.

« It’s written O-O, with the letter O »

No: official notation uses the digit zero, 0-0 for kingside castling and 0-0-0 for queenside castling.

Another common mix-up: castling has nothing to do with stalemate, which refers to a draw when a player has no legal move available without being in check. One final useful point: the right to castle isn’t affected by a position where castling is temporarily impossible. As long as the king and the relevant rook haven’t moved, the right remains and can be exercised once the obstructing square is cleared or no longer watched.

When and why to castle: the strategic side

Castling early, often before the tenth move, puts the king behind an intact row of pawns and limits the opponent’s attacking angles. Delaying castling leaves you exposed to aggressive openings such as Scholar’s mate, which specifically targets a king left in the centre.

Castling on the same side as your opponent generally leads to a calmer game, with plans developing on both sides without a direct attack on either king. Castling on opposite sides changes the nature of the fight: each side can push its pawns against the opponent’s castled king without weakening its own fortress, producing sharper games where speed of execution matters as much as accuracy of moves.

Castling can only be played once per game: once the king and rook are committed to this move, no further castling is possible, even if the pieces later return to their original squares.

To improve your sense of timing on these choices, our articles on chess tactics and our 11 tips to improve your chess explain how to build an attack against a castled king, or strengthen it instead. Tracking your progress through your Elo rating also helps measure the effect of these choices on your results.

Where does castling come from? A little history

Castling doesn’t exist in every chess tradition: Asian variants such as shogi or xiangqi ignore it completely, their royal pieces moving according to their own rules. Our article on how to learn to play shogi looks at these differences in detail.

In Europe, castling descends from an old king’s leap, an initial two-square move granted to the king, which appeared between the 14th and 15th centuries. Its current form, combining the king and a rook, became fixed in France in 1620 and in England in 1640; certain local rules, in Italy in particular, persisted until the late 19th century before usage became standardised. The modern Chess960 variant reinterprets these rules for different starting positions, a special case that would deserve an article of its own.

An old wooden rook, evoking the historical origin of castling
Castling, in its current form, became fixed in Europe during the 17th century.

Frequently asked questions

Can you castle while in check?

No. While the king is in check, castling is forbidden; you must first respond to the check with another move, then castle later if the conditions are met.

Why can’t I castle even though the squares seem clear?

Check that neither the king nor the relevant rook has already moved, and that the king does not cross or land on a square attacked by the opponent: these are the most common reasons for castling being refused.

How do you attack a castled king?

By pushing the pawns in front of the castled king to open files and diagonals towards it, especially when both players have castled on opposite sides.

What is the definition of castling in chess?

Castling is a special move that shifts the king and a rook of the same colour in a single move, never involving a capture, in order to move the king to safety and bring the rook into play.

When should you castle in chess?

As early as possible once the minor pieces are developed, generally before the tenth move, to avoid leaving the king exposed in the centre longer than necessary.

Can you castle twice in the same game?

No. Each player only has one castling move per game, whichever side is chosen.

Sources

♛

Delphine D., Le Palais des Échecs editorial team, a French shop specialising since 2008 in wooden chess sets and chess boards. Our guides are based on our customers’ questions, official FIDE rules and the products we sell and measure ourselves. They are reviewed and updated regularly. The editorial team

Learn and practise castling on a real chess board

Castling is best memorised by playing it out on a wooden chess board, piece in hand. Discover our models for beginners, travel or improving your game.

Wooden chess boardsStaunton chess setsBeginner chess sets
The Complete List of Chess Moves: Notation, Tactics and Checkmates

A move in chess refers to any legal movement of a piece on the board: [...]

FIDE Grand Prix: what is the secret of champions?

The FIDE Grand Prix is one of the most demanding routes to the World Championship [...]

India celebrates its 100th grandmaster as Anuj Shrivatri claims the title

Anuj Shrivatri, 22, becomes India's 100th grandmaster by winning the ASEAN+ Open in the Philippines, [...]

What our customers say

4.8/5★★★★★755 verified reviews
Reviews collected byTrustpilot

Loading…