The flying general rule
The flying general rule stops the two xiangqi generals from ever facing each other on an open file. A move that creates this open line is illegal. The rule can pin a piece that sits between the generals.
Updated 10 September 2026
The rule
A file is a straight line of points running from one side of the board to the other. The two generals may never stand on the same file with no piece between them. A move that would create this open line is illegal, even if the move looks safe otherwise. The Chinese name for the rule is 飛將, flying general.
Why the rule exists
In the classical rule, a general on an open file may fly across the board and capture the enemy general. Wikipedia's Xiangqi article explains that creating this position is therefore a move into check, which is never allowed. In the endgame the rule gives one general a way to restrict the other, much as the opposition does in Western chess.
How this rule can pin a piece
A piece sitting alone between the two generals on the same file cannot move away. Moving it would open that file and put both generals in an illegal facing position. This kind of pin can make a piece far more valuable than it first looks.
Questions and answers
What is the flying general rule in xiangqi?
The flying general rule bans any position where the two generals face each other on an open file. In the classical rule the general may cross the board and capture the enemy general. That threat is why opening the file counts as moving into check, so the move is illegal.
Can a piece ever be pinned by the flying general rule?
A lone piece between the two generals on the same file can become pinned. Moving that piece would open the file and place both generals in an illegal facing position. The piece must stay put to protect that line.
Does the flying general rule apply only near the end of a game?
The flying general rule applies at every point in a xiangqi game. There is no exception for the opening or the middle game. Any move that opens the line is illegal.