One square in any direction, if it is safe
A king normally moves one square horizontally, vertically, or diagonally. It can move backward. Unlike your other pieces, it may never move to a square attacked by the opponent or remain in check after your turn.
That safety test applies to the position after the move. When the king leaves its square or captures a piece, a rook, bishop, or queen may gain a newly opened line. Do not judge the destination only by what the board looks like before the move. Castling is the king’s separate, special move.
The rook on e2 is undefended. White can answer the check with Kxe2.
Position FEN
7k/8/8/8/8/8/4r3/4K3 w - - 0 1Can a king capture a queen or another piece?
Yes. A king can capture an enemy piece on a neighboring square if its destination is safe afterward. The enemy piece’s value makes no difference: an undefended queen can be captured just like an undefended pawn.
In the first diagram, White can take the rook on e2 with Kxe2. In the second, a black bishop on h5 protects e2 along h5–g4–f3–e2, so the same capture is illegal. The rook is close enough in both cases. The defender is what changes the answer.
The bishop on h5 protects e2, so Kxe2 is illegal.
Position FEN
7k/8/8/7b/8/8/4r3/4K3 w - - 0 1Why kings cannot stand next to each other
Each king attacks all adjacent squares. Putting your king beside the enemy king would place it on an attacked square, so the move is illegal. Kings cannot capture each other; a legal game ends with checkmate before a king could be taken.
This explains why a king can protect its own queen during a mating attack. The defender may be able to reach the queen geometrically, yet be unable to capture because the attacking king controls that square.
Pause at any move in a diagram, then open that exact position in Chat to ask about it or in Coach to practice.
A pinned defender can still keep your king out
A piece pinned to its king may be unable to move legally, but its attacked squares still matter for king safety. You cannot capture a piece with your king simply because its defender is pinned.
In the example, Black’s knight on e7 is pinned along the e-file by White’s rook on e1. The knight still attacks f5. White’s king on g4 therefore cannot capture the pawn on f5. This is a rule about attacked squares, not a sequence where you actually take one king and then the other.
The pinned e7 knight still attacks f5. White cannot play Kxf5.
Position FEN
4k3/4n3/8/5p2/6K1/8/8/4R3 w - - 0 1Use a three-part capture check
Before a king capture, confirm that the target is adjacent, remove it in your mental picture, and inspect every enemy attack on the destination. Include pawns, knights, the opposing king, and newly opened sliding lines.
Practice by comparing the two rook-capture diagrams. Say which piece makes Kxe2 legal or illegal before moving anything. Once that feels natural, apply the same method when you are in check. Capturing the attacker is one possible defense, but it must pass the same safety test as every other king move.
Check your understanding
Continue learning
Sources and editorial notes
Examples are composed for teaching unless stated otherwise. Legal replay is checked with chess.js; this does not prove that every composed position arose in a real game. Demonstration lines illustrate an idea and are not claimed to be the unique best defense.
Report a correction