The chess King moves one square in any direction, but it may never move onto an attacked square. That single rule explains most “illegal King move” mistakes — and it also explains why some castling attempts are illegal.
Use these diagrams to “feel” the rule: the King moves one square, but it can’t step onto attacked squares. The castling examples show the three most common illegal cases: in check, through check, and into check.
PatternOne square in any direction.
LegalCaptures are allowed only onto safe squares.
IllegalMoving onto an attacked square is illegal.
IllegalKings can’t “touch” because they would attack each other.
CastlingKing: e1→g1, Rook: h1→f1.
CastlingKing: e1→c1, Rook: a1→d1.
IllegalIf the King crosses an attacked square, the castle is illegal.
IllegalYou cannot castle out of check.
IllegalYou cannot castle onto an attacked destination square.
LegalThe King must start safe, cross safe squares, and land safe.
RuleIn check, you must respond immediately.
PatternTypical one-square options.
EndgameWith fewer pieces, King activity often decides pawn races.
EndgameFacing Kings with one square between is a key concept.
VisualA King can stop pawns by occupying key squares.
ControlA rook attacks along ranks/files; the King can’t step onto that line.
SafetyA small pawn move can give the King a flight square.
TrainingTry to spot which squares are actually legal.
Tip: it helps to think “castling is a King move first”. If the King’s path is unsafe, the castle is illegal.
Pick a situation and try it yourself. Use the practice buttons to play from the position. (These are fixed positions; the page uses exact FEN strings.)
The King moves one square in any direction: horizontally, vertically, or diagonally. The King captures the same way it moves.
Any move that puts your King on an attacked square is illegal, and any move that leaves your King in check is illegal. The King also cannot move onto a square occupied by a friendly piece.
No. Kings cannot be on adjacent squares because they would attack each other, and a King is never allowed to be in check.
Yes. The King can capture an adjacent enemy piece, including a queen, as long as the destination square is not attacked by any enemy piece.
Yes. The King can move one square in any direction (including backwards) as long as it does not move onto an attacked square.
No. A King normally moves only one square. The only time a King moves two squares is when castling, and only if every castling rule is satisfied.
Castling is legal only if the King and the chosen rook have not moved, the squares between them are empty, the King is not currently in check, and the King does not pass through or land on an attacked square.
No. If your King is in check, you must respond to the check; castling is not allowed.
No. If any square the King would cross during castling is attacked, castling is illegal even if the King is not in check at the start.
No. If the King’s destination square is attacked, castling is illegal.
The King starts on the e-file: White’s King on e1 and Black’s King on e8. The queens start on d1 and d8 (“queen on her own color”).
The king side is the half of the board on the King’s starting side. For White it’s the right side from White’s viewpoint (files e–h), and for Black it’s the right side from Black’s viewpoint (also files e–h).
You must respond immediately by doing at least one of these: move the King to a safe square, capture the checking piece (if legal), or block the check (only possible against a rook, bishop, or queen).
Checkmate is when your King is in check and there is no legal response: you cannot move the King to safety, capture the checking piece, or block the check (when blocking is possible).
Checkmate is not a piece. Checkmate is a situation where a King is in check and there is no legal move to escape the check. Many checkmates use a queen, but any piece can help deliver checkmate.
Kinging usually means pawn promotion: when a pawn reaches the last rank it is promoted to a queen, rook, bishop, or knight. It does not create a second King.
In standard chess you never get a second King. If someone says “two kings,” they usually mean “two queens” after promotion, or they are mixing up “kinging” with promotion.
In a chess game, the “king” is the royal piece you must protect. People also use “king of chess” as a nickname for a great player, but it is not an official title.
The King is limited because the game would be chaotic if the most important piece could also be the strongest attacker. The King becomes more active in endgames because there are fewer pieces to punish it.
King vs king is an automatic draw in standard chess because you cannot checkmate with only a king. With no other pieces or pawns, neither side can force a win.
No. Kings can never move onto adjacent squares. If a move would place your King next to the enemy King, the move is illegal because it would put your King in check.
The King is usually the tallest piece and often has a cross on top. The Queen is slightly shorter and typically has a crown. Setup tip: queens start on their own color (White queen on d1, Black queen on d8), so kings start on e1/e8.