FUN XIANGQI BLOG
Xiangqi General Palace Rules Explained
By The Fun Xiangqi Team · Published · 6 min read
The one piece that never leaves home
Most pieces on a xiangqi board range across the 9×10 grid. The general does not. It spends the entire game inside a tiny 3×3 box called the palace, and it can only step one point at a time, straight up, down, left, or right.
If you are used to a chess king wandering into the endgame, this feels strange at first. But the xiangqi general palace rule is one of the first things that makes the game feel different — and once you see why it works, the rest of the position starts to make more sense too. If you have not seen the full piece set yet, our beginner rules guide covers the board and every piece from scratch.
What the palace actually looks like
Each side has its own palace: the nine points formed by files 4 through 6 and the back three ranks on that side of the river. Two diagonal lines are drawn through it, connecting the four corners through the centre point.
d e f
3 +--+--+
|\ | /|
2 +--+--+
|/ | \|
1 +--+--+
Only the general and the two advisors are confined to this box, and only the advisors use those diagonals — the general sticks to the straight lines. The elephants guard from just outside. Everyone else treats the palace as ordinary board space.
Who lives in and around the palace
The general: one step, never outside
The general (帥 for Red, 將 for Black; Tướng in Vietnamese) moves exactly one point orthogonally per turn — never diagonally, never more than one point, and never past the palace boundary. Nine points, full stop. That is its entire world for the whole game.
This sounds limiting, and it is. But it also makes the general very easy to reason about. You always know the handful of points it could reach next, which is exactly why defending it well is mostly about controlling the points around it rather than the piece itself.
The advisors: the diagonal guard
The two advisors (仕/士, Sĩ) share the palace with the general but move differently: one point diagonally, and only along those two drawn diagonal lines. That restriction means an advisor can only ever stand on five points — the four corners and the centre of the palace.
Advisors cannot capture anything outside the palace, and they never go on the attack. Their real job is narrower: they sit next to the general, cover the points around it, and can step into a line to block a check.
The elephants: outer guards at the border
The elephant (相/象, Tượng) is not confined to the palace, but it cannot cross the river either, so in practice it patrols the back half of the board around the palace. It moves exactly two points diagonally, and it is blocked if the point in between — the "elephant eye" — is occupied by any piece. Lose an elephant, or get its eye blocked at the wrong moment, and the points around the palace get much easier for enemy pieces to reach.
Between the advisors on the inside and the elephants just outside, the general normally has layers of cover before an attacker ever reaches it directly. That is the whole defensive idea in one sentence.
Why keep the commander in headquarters?
The traditional explanation, and it really is just that — a traditional explanation rather than a documented historical fact — is that the general represents the commander, and a commander does not personally charge into open ground. The advisors and elephants around the palace stand in for the officers and guard that would surround a real headquarters.
Whatever the origin, the mechanical effect is clear: the general is the one piece you can never trade off, and it can never run to safety across the board the way a chess king sometimes does in the endgame. It stays put, and the game is built entirely around either protecting it or breaking through to it.
The flying general rule
Xiangqi adds one more twist that has no equivalent in international chess: the two generals may never face each other on the same file with nothing in between. A move that would create that open face-off is simply illegal, even if it looks like the generals are just standing there doing nothing.
In practice this means a general is not purely passive. If the two generals share a file and only one piece stands between them, that piece is pinned: moving it off the file would leave the generals face to face, so the move is illegal. The same rule stops the enemy general from stepping onto an open file your general already stands on. Skilled players use this constantly, and it is a common finishing idea — your general quietly takes away an escape point while another piece delivers mate.
Keeping your general safe
A cramped general gets mated fast
Because the general only has nine points and one-step moves, it runs out of room quickly once its defenders are gone. A general with both advisors intact and an elephant nearby is hard to approach. A general that has lost an advisor, or has had its elephant traded off, often has an open file or rank leading straight to it — and one-step pieces cannot outrun a chariot or cannon closing in from a distance.
This is why experienced players treat the advisors and elephants as more than spare pieces. Trading them away for no reason, or marching them out of position early, thins the exact cover the general depends on later.
Don't shuffle your guard pieces for nothing
A common beginner habit is moving an advisor or elephant back and forth just to pass a move, or pushing an elephant forward out of its natural defensive point without a real reason. Every one of those moves is a turn your opponent gets to develop a chariot, post a horse, or line up a cannon shot instead.
Keep the advisors on their diagonal points until you actually need to block a check or defend a specific point. Keep the elephants where they cover the palace corners and, just as important, keep their "eyes" clear so they can actually move when you need them. Only reposition a guard piece when there is a concrete threat to answer — not out of habit. For a broader look at good opening habits like this one, see our beginner openings and strategy guide.
Quick questions
Can the general ever leave the palace? No. Under the standard rules the general is confined to its own nine-point palace for the entire game, with one-point orthogonal moves only.
What happens if a move would put both generals face to face on an open file? It is illegal. The flying general rule forbids any move that leaves the two generals on the same file with no piece between them, so that move simply cannot be played.
Are advisors and elephants ever worth sacrificing? Occasionally, for a concrete tactical gain, but not casually. Losing them without a clear reason usually leaves the general exposed later in the game.
Why do people say the general "represents a commander"? It is the traditional explanation for why the piece stays boxed in — the general standing in for a commander who directs from headquarters rather than fighting on the front line. Treat it as folklore that fits the rule well, not as proven history.
Curious how a boxed-in general actually gets attacked and defended over a real game? Fun Xiangqi has nine fixed engine levels, from gentle to strong, so you can watch these palace tactics play out at whatever pace suits you.