BetterChessGamesOpeningsRatingsDailyPricing★ For coachesLog inGet started
HomeGlossaryCastling

Castling

Rules · also: O-O, O-O-O

Castling is a single move where the king and a rook move at once: the king steps two squares toward a rook, and that rook hops to the king’s other side.

Both sides have cleared the back rank and can castle either way — White can play O-O (kingside) or O-O-O (queenside).

Castling tucks your king into safety and brings a rook toward the centre in one move — it’s usually the most important thing to do in the opening.

You can castle kingside (O-O, short) or queenside (O-O-O, long). It’s only legal if neither the king nor that rook has moved, the squares between them are empty, and your king is not in check, does not pass through an attacked square, and does not land on one.

A king stuck in the centre is the single most common reason club players lose — castle early unless you have a concrete reason not to.

Frequently asked

When can’t you castle?

If your king or the castling rook has already moved, if there are pieces between them, or if your king is in check, would pass through an attacked square, or would land on one.

Can you castle out of check?

No. You can’t castle while in check, but you can castle later once the check is dealt with (as long as the king and rook still haven’t moved).

Related terms

En Passant
Rules
Read ›
Fianchetto
Strategy
Read ›
See ideas like Castling decide a real game →All chess terms

BetterChess is a practice tool — we make no guarantee you'll reach 1800 or any rating. Definitions are standard chess terminology; every diagram position is checked legal with the same engine the board runs.

BetterChess

The chess coach that explains the why behind every move, built to help you improve.

Earn 30% Commission
Featured on SpellingJoy

Product

FeaturesDemoPricingFree game reviewBest move calculatorChess game reviewsChess openingsChess opening trapsChess glossaryWhat's a good chess rating?Daily chess puzzleFamous chess playersAffiliate programFor chess clubsFor coaches

Compare

AI chess coachBest AI chess coachesFree instant game reviewvs DecodeChessvs Aimchessvs Chessablevs a private coach

Players & records

Best players of all timeBest players in the worldBest female playersYoungest grandmastersChess records

Company

AboutFAQContact

Legal

PrivacyTermsRefunds
BetterChess is a practice tool. We make no guarantee that you'll reach 1800 or any rating. Improvement depends on your own practice, effort, and skill.
Engine analysis powered by Stockfish, © the Stockfish developers, licensed under the GPL v3 (source).
© 2026 BetterChessbetterchess.co