How the pieces move

Can the king move two squares?

Updated · Sergei Tovmasian

Short answer

Only when castling. The Laws give the king exactly two ways of moving: one square to any adjoining square that is not attacked, or castling, where he travels two squares towards a rook and that rook hops over him. There is no other two-square king move, and you cannot use castling to run away from a check.

For the whole game the king walks one square at a time, in any of eight directions, and never onto a square an enemy piece attacks. Then once, if he has kept his right to it, he takes a two-square stride sideways and a rook jumps over him. The Laws say this plainly in Article 3.8: the king has two ways of moving, an ordinary step to an adjoining square, and castling.

Here is the second one, four moves into an Italian Game.

8
7
6
5
4
3
2
a
b
c
d
e
f
g
h 1
After 1.e4 e5 2.Nf3 Nc6 3.Bc4 Bc5. White plays 4.O-O: the king goes e1 to g1, two squares, and the rook from h1 lands on f1.

Queenside it is the same idea in the other direction: the king e1 to c1, again two squares, and the rook a1 to d1, three. Both count as a single move, and both are king moves, which is why you always touch the king first.

The five conditions

Castling is legal only when all of these hold. Neither the king nor that particular rook has moved at any point in the game. Every square between them is empty. The king is not in check right now. The square he crosses is not attacked. And the square he lands on is not attacked.

Two things on that list are not conditions, and beginners get both wrong. The rook is allowed to be attacked, and going queenside the rook is allowed to cross an attacked b1. Only the king’s three squares matter. And a king that was checked ten moves ago may still castle, as long as he never actually moved.

What this rule is not

It is not a get-out clause. You may not castle while in check, so a two-square hop is never an answer to a check. The three answers are the same three they always were: move, block, capture.

It is also not a free pass past the king’s ordinary law. The square he crosses and the square he lands on both have to be safe, because a king may never move into check, and castling does not suspend that for one turn.

If you want the mechanics in full, with the diagrams and the special cases, read what castling is and then the castling rules. If you want to see how often the two-square move decides a game, play through some castling puzzles: a startling number of tactics finish with O-O or O-O-O as the key move.

More questions

Can the king move two squares to escape a check?

No. Castling is the only two-square king move and it is forbidden while you are in check, so the answer to a check is always one of three things: step one square to a safe square, block the line, or capture the checking piece. A king that is being chased across the board covers one square at a time.

How far does the rook go when you castle?

Kingside, the rook goes h1 to f1, two squares. Queenside it goes a1 to d1, three squares, while the king only travels two, e1 to c1. That is why queenside castling takes an extra tempo to make safe: the rook lands on d1 and the king often needs another move to b1.

Does castling count as a king move for the touch-move rule?

Yes, and that is why you touch the king first. If you pick up the rook first, an arbiter will make you play a rook move and castling is off for that turn. Pick up the king, place it on g1, then bring the rook to f1, and use one hand for the whole thing.

Go deeper

Know the moves? The app finds the ones that win, at exactly your level.

← All: How the pieces move · Learn chess