How do check and checkmate work in xiangqi?
Every position, move and legality claim on this page is verified programmatically against our open rules engine, which implements the WXF laws and is tested against the official 110-diagram repetition casebook.
Direct answer
A general under attack is in check (将军), and the player must answer it immediately — by moving the general, capturing the attacker, or blocking the line. If there is no legal answer, it is checkmate and the game is over. Xiangqi differs sharply from western chess in one respect: a player with no legal move at all loses, rather than drawing.
Check: you must respond
There are exactly three legal answers to a check, and they are worth checking in order:
- Move the general to a point that is not attacked — remembering it cannot leave the palace, and cannot face the enemy general.
- Capture the attacking piece.
- Block the line between the attacker and the general. This works against chariots and cannons; against a horse you can also block its leg, which is a xiangqi-specific defence with no chess equivalent.
Below, the black chariot on e5 checks the red general down the open central file. Find a legal answer — the board will accept any of them.
Red is in check. Find a legal reply — any of the three kinds works.
Xiangqi position. Red: general e0. Black: general e9, chariot e5. Red to move.
Checkmate ends it
If no legal answer exists, it is checkmate — 将死 — and the game ends immediately. There is no resignation convention or stalemate escape to fall back on.
In the position below Red mates in one. There are two moves that do it — find either.
Red to play and mate in one.
Xiangqi position. Red: chariot a2, chariot d1, chariot f1, general d0. Black: general e9. Red to move.
Stalemate is a loss, not a draw
This is the rule most likely to surprise a chess player. If the player to move has no legal move at all — whether or not the general is in check — that player loses. 困毙: “trapped to death”.
The practical consequences run deep. Endgames that would be drawing resources in chess are simply winning here, and smothering the opponent's last piece is a legitimate way to end a game. It also means you must count your own available moves in a cramped position, not just your opponent's threats.
Xiangqi position. Red: soldier e7, chariot d1, chariot f1, general a0. Black: general e9. Black to move.
Common mistakes
Playing for stalemate as a save
It loses. The chess reflex of stalemating your way out of a lost position is exactly backwards in xiangqi — leaving yourself without a legal move hands your opponent the game.
Forgetting you can block a horse's leg
Against a horse check, a fourth defence exists that chess does not have: occupy the point the horse steps through. It is often the cheapest answer available.
Moving the general onto the open file
Fleeing a check by stepping onto the file the enemy general occupies is illegal. The escape square you counted may not exist.
Related questions
Is stalemate a draw in xiangqi?
No. A player who has no legal move loses the game. This is the opposite of western chess, where stalemate is a draw, and it changes endgame technique substantially.
How do you get out of check in xiangqi?
Move the general to a safe point inside the palace, capture the checking piece, or block the line. Against a horse you may also block the point its leg steps through.
Can you win by capturing the general?
The general is never actually captured. The game ends the moment a check cannot be answered — that is checkmate, and it is the win.
How does a xiangqi game end in a draw?
By agreement, by both sides having insufficient material to mate, or by 60 moves without a capture. Repetition is not automatically a draw — see perpetual check and chase.