How does the king move in chess? - Duolingo
How does the king move in chess?
The king is the most important piece in chess, moving exactly one square in any direction but never onto a square controlled by an enemy piece. Its capture would end the game, so preserving it is the central objective; in the endgame, an active king also becomes a powerful attacking piece.
Two kings face each other across the center. The white king is attacked by a pawn and must move to a safe square. Engine-verified position, Elo 853.
What are the king's special rules?
A king can never move to a square attacked by an opponent's piece, which means two kings can never stand next to each other on the board — each would be moving into the other's attack zone.
The king also has one special move: castling. During castling, your king moves two squares horizontally toward one of your rooks, and that rook jumps to the square on the other side of your king. Both pieces move in a single turn. You can only castle if all four conditions are met:
- Neither your king nor the chosen rook has moved yet in the game
- There are no pieces standing between them
- Your king is not currently in check
- Your king does not pass through or land on a square that is under attack
Note that the rook may pass through an attacked square. Moving your king early without reason forfeits your right to castle for the rest of the game — castle early to tuck your king away, and save voluntary king moves for the endgame.
To castle, the king slides two squares toward the rook's corner, while the rook moves to the king's other side.
How do you take advantage of a king's strengths?
Here are four ways to use your king well:
- Castle early. Get your king to safety and activate your rook in one move. When deciding which side to castle, check if you've advanced pawns on one side — pawns in front of the king often serve to protect it from enemy attacks.
- Activate in the endgame. Once pieces are traded and the board opens up, walk your king toward the center. A king on a central square can influence both sides of the board and escort your passed pawns forward to promotion.
- Claim the opposition. In king-and-pawn endings, place your king directly across from the enemy king with one square between them on the same rank or file. If it is your opponent's turn to move, you hold the opposition and can often force your way through.
- Create luft. After castling, push one pawn in front of your king one square forward to create a flight square. This helps defend against back-rank threats.
Despite having one extra pawn, white's active king is able to capture both pawns before black's king can step forward and protect.
How do you defend against an opponent's king?
In the opening and middlegame, the enemy king is rarely a direct threat — you threaten it, not the other way around. Your job is to keep it under pressure: open files toward the enemy king, attack the pawns sheltering it, and coordinate your pieces to create mating threats.
In endgames, the enemy king becomes an active piece and must be contested directly. Position your own king to block its advance, use your pawns to cut off its access, and look for opposition squares to force it back.
See it in action
Example 1: King activates
Capture the pawn.
Solution: The white king steps forward, then diagonally, to reach the pawn, then captures it before the black king can defend.
Example 2: Taking advantage of a lack of luft
Deliver checkmate.
Solution: The white rook slides to the back rank delivering checkmate. The black king has no escape squares, trapped behind three pawns.
Example 3: Creating luft
Create a flight square for your king.
Solution: Pushing one pawn forward creates a flight square (luft) for the king, stopping the black rook from delivering a back-rank checkmate.
Frequently asked questions
Can the king capture other pieces?
Yes. The king captures by moving one square in any direction onto a square occupied by an enemy piece. The only rule is that the square cannot be defended by another enemy piece.
Can two kings stand next to each other?
No. Each king controls all adjacent squares, so moving one king next to the other would mean walking into check, which is illegal. There will always be at least one empty square between them.
What happens when the king is in check?
You must get out of check immediately. You can move your king to a safe square, block the check with one of your own pieces, or capture the piece giving the check. If none of these options exist, it is checkmate and the game is over.
Can the king move backward?
Absolutely. The king can move one square in any of the eight directions: forward, backward, left, right, and along all four diagonals. There is no restriction on direction.
When should I start moving my king toward the center?
Generally in the endgame, once queens (or most other pieces) have been traded and few pieces remain. A centralized king is a powerful force in pawn endings. In the opening and middlegame, keep your king safe behind its pawns and castle early.