Stalemate in chess and other ways a game ends in a draw
Stalemate happens when the player whose turn it is has no legal move and their king is not in check. The game ends at once in a draw, even if the other side has a queen and two rooks extra. A chess game can also be drawn by threefold repetition, by the 50-move rule, when neither side has enough material to checkmate, or simply by agreement.
What is stalemate in chess?
You are never allowed to make a move that leaves your own king in check. So a king can end up with no squares to go to while nobody is attacking it, and if the rest of that side's pieces can't move either, the player to move is stuck. That position is stalemate, and it's a draw.
In the diagram it's Black's move. The black king on a8 isn't attacked, but a7, b7 and b8 are all covered by the queen on b6, and Black has no other pieces. There is no legal move, so the game is over and the points are split.
Stalemate vs checkmate
The only difference is whether the king is attacked. Checkmate is check with no way out, and the side that delivers it wins. Stalemate is no check and no legal move, and nobody wins. The two positions can look almost the same, and one square for the queen decides which one you get. Check and mate are covered in detail in check and checkmate.
Under the current FIDE rules stalemate is always a full draw: half a point each, no matter how much material the stronger side has.
How not to stalemate when you're winning
Stalemate usually catches the side that is winning easily. With a queen against a lone king, the queen takes squares away very fast, and one careless move leaves the king with none.
Here White mates with Qb7#: the queen gives check, the king on c6 protects it, and the black king can't take it or step aside. Qb6?? looks similar, covering a7, b7 and b8, but it gives no check. That's stalemate.
A simple habit helps. When the enemy king has only one or two squares left, count them before every move, and make sure the move you're about to play either gives check or leaves at least one square free. The standard mating patterns with a queen and with a rook are in basic checkmates.
Stalemate as a defensive resource
If you're losing, stalemate is your friend. In king and pawn endings the defending king tries to stand right in front of the pawn, and sometimes the attacker simply runs out of ways to make progress without giving stalemate.
In the diagram it's Black's move and there isn't one: d8 and f8 are covered by the pawn, d7 and f7 by the white king, and the pawn on e7 is protected. White's last move put the king on e6, and that took away Black's last squares.
With only a few pieces left, a defender can also try to get rid of everything that can move. A rook that keeps giving checks and can't be taken without leaving the king stalemated is a classic way to save a lost game.
Threefold repetition
If the same position appears three times, a player can claim a draw. Same position means the same pieces on the same squares, the same player to move, and the same castling and en passant possibilities. The repetitions don't have to come in a row.
The usual way to get there is perpetual check: one side keeps checking and the king can't escape, so the same few positions keep coming back. Perpetual check isn't a separate rule. It ends in a draw through repetition or by agreement.
The draw has to be claimed. If nobody claims, the game goes on. On VueChess, once the position has occurred three times, a claim button appears under the board on your turn. If the same position comes up a fifth time, the game is drawn automatically.
The 50-move rule
If each player has made 50 moves in a row without any capture and without moving a pawn, a draw can be claimed. The count starts again after every capture and every pawn move, whoever makes it.
The rule stops a game from going on forever when one side can't make progress. It matters in long endgames such as rook and bishop against rook: the side playing for a win has to get somewhere within those 50 moves, or the defender can claim a draw.
On VueChess, the claim button appears under the board on your turn. After 75 moves by each player without a pawn move or capture, the draw is automatic. If the last move gives checkmate, the player who gave mate wins.
Insufficient material
When no sequence of legal moves can lead to checkmate, the game is drawn immediately. Nobody has to claim anything. The common cases: king against king, king and bishop against king, king and knight against king, and king and bishop against king and bishop with both bishops on the same colour squares.
Two knights against a lone king are different. Mate can't be forced, but it's possible if the defender blunders, so the game goes on.
The same idea decides games on time. If your clock runs out but your opponent has only a king, they can't checkmate you with any legal moves, so the game is a draw rather than a loss. With a lone knight or bishop it depends on the position: if a mate is possible at all, for example with your own pieces boxing in your king, the loss on time stands. See the FAQ for more on how the site handles this.
Draw by agreement and how to offer a draw
On VueChess, choose “Offer draw” during the game. If your opponent accepts, the game ends in a draw. If they play a move instead, the offer expires.
Over the board, the FIDE rules say to offer a draw right after making your move and before pressing the clock. Offering again and again after being declined can be treated as annoying the opponent.
To see where a win slipped away, replay your game on the analysis board. Go back to the move before stalemate and try a move that leaves the other king an escape square.
Questions
Is stalemate a win or a draw?
A draw. The player to move has no legal move and isn't in check, so the game ends and each side gets half a point.
What is the difference between stalemate and checkmate?
In checkmate the king is in check and can't escape, and the side giving mate wins. In stalemate the king isn't in check, but the player to move has no legal move, and the game is a draw.
Does threefold repetition have to be in a row?
No. The same position, with the same player to move and the same castling and en passant rights, just has to occur three times at any point in the game.
What is the 50-move rule in chess?
After 50 moves by each player without a pawn move or capture, the player to move can claim a draw. After 75 such moves each, the draw is automatic unless the last move gives checkmate.
Can you checkmate with a king and two knights?
Not by force. A mate is possible only if the defender makes a mistake, so the game isn't drawn automatically, but a careful defender will hold.
Can a king and bishop checkmate a lone king?
No. King and bishop against king, or king and knight against king, can never give mate, so the game is drawn immediately.