Check and Checkmate in Chess
How the king is attacked, how to escape, and how games are won
What are check and checkmate?
Check means a king is under attack by an enemy piece. The player whose king is in check must get it out of check on their very next move. Checkmate is a check that cannot be escaped: the king is attacked and there is no legal move that stops the attack. Checkmate ends the game immediately, and the player who delivered it wins.
The king is never actually taken. The whole game is played around this one rule: you may never make a move that leaves your own king in check, so when no safe move exists, the game is over.
Short version: check = your king is attacked, fix it now. Checkmate = your king is attacked and nothing fixes it, you lose. No legal move but not in check = stalemate, a draw.
The three ways to get out of check
Every legal answer to a check is one of three things. Beginners often only think of moving the king, so it is worth learning all three as a checklist:
- Move the king to a square that is not attacked. The king cannot step onto a square covered by any enemy piece, including squares behind it on the line of the check.
- Block the check by putting one of your pieces between the king and the attacker. This only works against a queen, rook or bishop checking from a distance. A knight's check cannot be blocked, because the knight jumps, and a pawn's check cannot be blocked because it comes from the next square.
- Capture the checking piece, with the king or any other piece, as long as the capture does not leave your king in check from somewhere else.
When you have more than one way out, pick the one that leaves you best placed. Here capturing the rook with the bishop wins a whole rook. In a real game the best answer is often a block that also develops a piece, or a capture that wins material. The chess move calculator will show you which answer Stockfish prefers in any position you set up.
You can never leave your king in check
The rule works in both directions. You must answer a check, and you may also never make a move that puts your own king in check. That has three consequences that surprise new players:
- •Pinned pieces cannot always move. If a bishop stands between your king and an enemy rook, moving the bishop off that line would expose the king, so it is illegal.
- •Kings can never stand next to each other. Each would be attacking the other, so a king can never give check.
- •You cannot castle out of, through or into check. The full conditions are in the castling rules lesson.
Online, the board simply will not let you make an illegal move. Over the board in a tournament an illegal move is penalised under the FIDE Laws of Chess, so it pays to check your king's safety before you let go of a piece. You do not have to announce "check"; noticing it is your opponent's job.
What checkmate looks like
Checkmate happens when the three escapes all fail at once: every square around the king is covered or occupied, the check cannot be blocked, and the attacker cannot be taken. The most common checkmate in beginner games is the back-rank mate, where the king is trapped behind its own pawns.
Run through the checklist and you can prove it is mate: the king has no free square (f8 and h8 are covered by the rook, f7, g7 and h7 are its own pawns), nothing can block on f8, and nothing can capture on e8. If a single one of those had an answer, it would only be check.
In notation, check is written with + and checkmate with #, so this move is written 1.Re8#. The chess notation guide covers the other symbols. Not sure whether a position on your board is really checkmate? Set it up in the checkmate checker and it will tell you whether it is checkmate, stalemate or only check, count the legal moves and list every mate in one.
Discovered check and double check
A discovered check happens when one piece moves out of the way and uncovers a check from a piece behind it. The piece that moves is free to do damage somewhere else, because the opponent has to deal with the check first.
A double check is a discovered check in which the piece that moves also gives check, so the king is attacked by two pieces at once. You cannot block two lines with one piece or capture two pieces in one move, so the only answer to a double check is a king move. If the king has no safe square, it is checkmate.
Double checks are behind many of the most famous finishes in chess, including smothered mate, where a knight mates a king boxed in by its own pieces. You will find it, along with the back-rank, Anastasia's and Arabian mates, in checkmate patterns every player should know.
Checkmate vs stalemate
Both look similar: the losing side has no good move. The difference is whether the king is in check right now.
Check
King attacked, at least one legal move. The game goes on.
Checkmate
King attacked, no legal move. The attacker wins.
Stalemate
King not attacked, no legal move. The game is a draw.
This is the classic way to throw away a won game with a queen: you take away every square but forget to give check. The stalemate rules and traps lesson shows how to avoid it, and the draw rules lesson covers every other way a game ends level.
How to spot mate in one
Most missed checkmates are missed because the player never looked. Strong players scan every position in the same order:
- Checks. List every check you can give, even ones that look silly, such as a queen sacrifice next to the king.
- Escape squares. For each check, count where the king could go. If the answer is nowhere, look at blocks and captures.
- Defenders. Ask which enemy piece could capture your checking piece or block. If none can, it is mate.
Try it on this position from the opening. White to move and mate in one:
Show the answer
4.Qxf7#. The queen captures on f7 with check. The king cannot take it because the bishop on c4 defends f7, the king's own pieces block d8 and f8, and nothing else can capture on f7. This is Scholar's mate, and 3...Nf6 was the mistake: 3...g6 or 3...Qe7 defends.
Practise the scan against a real opponent: the lower levels when you play chess against the computer leave plenty of mates on the board, and the free chess puzzles drill the patterns.
Which pieces can give check?
Every piece except the king can give check, and each one checks the same way it captures. Knowing how each one attacks tells you how to escape it:
- • Queen, rook and bishop check along lines, so their checks can be blocked unless they are right next to the king. See how the queen, rook and bishop move.
- • Knight checks jump, so they can never be blocked: move the king or take the knight. More in how the knight moves.
- • Pawn checks come diagonally from one square away. They cannot be blocked either. See how the pawn moves.
- • King never gives check, but it matters in every mate: see how the king moves.
For a one-page overview of all six pieces, read how chess pieces move.
Frequently asked questions
What is check in chess?
Check means your king is attacked by an enemy piece. You must deal with it on your very next move, by moving the king, blocking the attack or capturing the attacking piece. Any move that leaves your king in check is illegal.
What is checkmate?
Checkmate is a check that cannot be escaped: the king is attacked and no legal move removes the attack. The game ends at once and the side that gave checkmate wins. The king is never actually captured.
What is the difference between check and checkmate?
Check is an attack on the king that can still be answered. Checkmate is an attack on the king with no legal answer, and it ends the game. Every checkmate is a check, but most checks are not checkmate.
Do you have to say "check"?
No. The FIDE Laws of Chess do not require you to announce check. Many casual players say it out of courtesy, but in a tournament it is up to each player to notice when their king is attacked.
Can you castle out of check?
No. Castling is not allowed while your king is in check, and the king may not pass through or land on an attacked square. You have to answer the check another way.
Can a king give check?
No. A king can never move next to the enemy king, because that would put itself in check. Two kings must always have at least one square between them.
Is it checkmate if the king has no moves but is not in check?
No, that is stalemate if the player has no legal move at all, and stalemate is a draw. Checkmate needs the king to be in check right now.
Related lessons
- Checkmate patterns every player should knowFool's mate, Scholar's mate, back rank, smothered, Anastasia's and Arabian mates.
- Stalemate rules and trapsWhy having no legal move is a draw, the traps that throw away wins, and how to save lost games.
- Every way a chess game is drawnStalemate, threefold repetition, the fifty-move rule, insufficient material and draws by agreement.
- Basic chess endgamesQueen and rook checkmates, the opposition, and king and pawn endings.
Or browse all free chess lessons.
Put it into practice
Ready to Practice?
Want more? Try Pro — Go Pro for 3650 ELO analysis, Position Reader & unlimited AI coaching