How does the king move?

The king moves one square in any direction: forwards, backwards, sideways or diagonally. He may never move onto a square an enemy piece attacks. Once in the game he can castle, moving two squares towards a rook.

Updated

Quick check

The black rook looks straight down this file. Can the king step onto the ringed square?

The rule

  1. 1One square at a time, in any of the eight directions.
  2. 2Never onto a square that an enemy piece attacks: a king cannot move into check.
  3. 3He captures the same way he moves, if the piece is not protected.
  4. 4Castling is his one two-square move, made together with a rook.

Practise with the king

Your task

Get the king to the red ring in 2 moves.

Tap the king, then the square it goes to. The pawns are your own and stay where they are: you cannot pass through them.

Moves used: 0 of 2

How many moves ahead

See it on the board

In the open the king has 8 squares, one step each way. He cannot go two squares to d6.
In the open the king has 8 squares, one step each way. He cannot go two squares to d6.
In the corner he has only 3. That is why checkmate usually happens at the edge of the board.
In the corner he has only 3. That is why checkmate usually happens at the edge of the board.
The black rook attacks the whole d-file, so the king cannot step onto d1 or d2. Three of his five squares are left.
The black rook attacks the whole d-file, so the king cannot step onto d1 or d2. Three of his five squares are left.
Castling: the king goes two squares towards the rook and the rook hops over him. It is the only time the king moves more than one square.
Castling: the king goes two squares towards the rook and the rook hops over him. It is the only time the king moves more than one square.

Questions

Can the king move diagonally?

Yes. The king moves one square in any direction, and that includes the four diagonal ones.

Can the king move two squares?

Only when castling, once per game, if neither he nor that rook has moved and the squares between and around him are safe. Otherwise it is always one square.

Can the king move backwards?

Yes. Every piece except the pawn can move backwards, and the king can step back like any other direction.

Can two kings stand next to each other?

No. Each king attacks the squares around him, so moving next to the other king would be moving into check. There is always at least one square between them.

Next step

RuleCan the king take a piece?The king moves one square. When can he take a piece on it?

Your own games

Already playing online? See your own mistakes

Type the name you play under. Your recent games are reviewed together, and the report names the mistakes you repeat.

Free, no account. The engine runs in your browser.

Source: FIDE Laws of Chess (effective 1 January 2023), Article 3.8. Every diagram on this page is checked against the rules by code: how we check.