Stalemate in chess occurs when the player whose turn it is has no legal move and their king is not in check. The game ends immediately as a draw. It does not matter how many extra pieces the other player has: a queen and several pawns cannot turn a stalemated position into a win.
The important distinction is check. If the king is attacked and there is no legal response, the result is checkmate. If the king is safe but the player cannot make any legal move, it is stalemate.
Check the whole position, not just the king
Use this sequence:
- Identify whose turn it is.
- Determine whether that player's king is in check.
- Look for a legal king move.
- Look for a legal move by any other piece or pawn.
Only when there is no check and no legal move by any piece is the position stalemate. A trapped king alone is insufficient. A player who can push a pawn or move a rook must continue playing, even if their king cannot move.
A move that exposes your own king is not legal. When testing an escape square, account for all opposing attacks rather than just the nearest piece.
Work through an exact stalemate
Set up White's king on f7, White's queen on g6, and Black's king on h8, with Black to move. There are no other pieces.
7k/5K2/6Q1/8/8/8/8/8 b - - 0 1
Black is not in check: the queen on g6 does not attack h8, and White's king is too far away to attack it. But all three available king destinations are covered. The queen attacks h7 and g8, while g7 is attacked by both White pieces. Black has no other piece to move. The result is stalemate.
Paste the FEN into the analysis board, or arrange it in the board editor. The side-to-move field matters: the same arrangement with White to move does not meet the stalemate test.
Compare it with checkmate
Now place White's queen on g7 instead of g6, leaving the kings on f7 and h8 and Black to move. The queen attacks h8 directly. Black cannot capture it because White's king protects g7, and the remaining escape squares are covered.
That is checkmate, not stalemate. Moving the queen only one square changed the defining condition: the defending king is now attacked.
Article 5.2.1 of the FIDE Laws of Chess states the stalemate rule. Learn the difference before assuming an overwhelming material advantage has already won the game.
Avoid stalemate when you are ahead
Before making a nonchecking move against a nearly trapped king, ask what the opponent can play afterward. Be particularly careful before capturing their last movable pawn or promoting another queen when one queen already controls the escape squares.
Use your king to support a controlled mating net rather than adding pieces without a plan. A checking move rules out stalemate on that move, but it still needs to be legal and useful; giving random checks is not a complete mating method.
If you are defending a lost position, look for legal ways to leave yourself without moves while keeping your king out of check. Stalemate is a legitimate drawing resource, not a request the opponent has to accept.
Practice with computer chess, then review the ending in Game Review. For the broader winning objective, read how to win chess.