How to Play Xiangqi: Rules, Setup, and How Every Piece Moves

How to play xiangqi, or Chinese chess: the board, river and palace, how all seven pieces move, the flying general rule, checkmate, and tips for a first game.

Some links on this page are affiliate links. If you buy through them, The Ludarium may earn a small commission at no extra cost to you. As an Amazon Associate, The Ludarium earns from qualifying purchases. How affiliate links work here.

Xiangqi, often called Chinese chess, is a battle between two armies across a river. Each side has a general hiding in a palace, plus chariots, horses, elephants, advisors, cannons, and soldiers, and the goal is to trap the enemy general. It belongs to the same family as Western chess, but its board, pieces, and rules are its own: a river to cross, a palace to defend, and a cannon that attacks by leaping. In Vietnam the same game is called cờ tướng. People love it because the rules take one sitting to learn, and the game behind them keeps getting deeper.

The quick answer: two players, Red and Black, each control 16 pieces on the points of a 9 by 10 grid. Red moves first. Each piece has its own move, and you capture by landing on an enemy piece. The general must stay in its palace, and the two generals may never face each other on an open line. Checkmate the enemy general, or leave your opponent with no legal move, and you win.

What do you need to play xiangqi?

  • A board of 9 vertical lines (files) and 10 horizontal lines (ranks). Pieces sit on the intersections, not in the squares.
  • 32 pieces, flat round discs marked with Chinese characters, 16 red and 16 black. Several pieces use different characters for each side, so it helps to learn both.

Two features shape the board. The river runs across the middle, between the fifth and sixth ranks. Each side also has a palace: the 3 by 3 block of points at the center of its back edge, marked with an X of diagonal lines.

How do you set up a xiangqi board?

Each side has the same 16 pieces:

PieceCountWhere it starts
General1Center of your back rank, inside the palace
Advisor2On either side of the general
Elephant2Next to the advisors
Horse2Next to the elephants
Chariot2The corners
Cannon2Third rank, one point in from each edge (in front of the horses)
Soldier5Fourth rank, on the first, third, fifth, seventh, and ninth files

So your back rank reads, from left to right: chariot, horse, elephant, advisor, general, advisor, elephant, horse, chariot. Your opponent mirrors it exactly from their side.

How does a turn work in xiangqi?

Red moves first in modern play, then the players alternate. On your turn you move one piece. If it lands on an enemy piece, that piece is captured and removed. You cannot land on your own pieces.

How each piece moves

  • General: one point up, down, left, or right. It may never leave the palace.
  • Advisor: one point diagonally, and it may never leave the palace either. That leaves it just five points to stand on.
  • Elephant: exactly two points diagonally. It cannot cross the river, so it is a defender. If a piece sits on the point in between, the elephant is blocked. Players call this blocking the elephant’s eye.
  • Horse: one point straight, then one point diagonally outward. The horse does not jump. If any piece sits on the point directly next to it in the direction it wants to go, that move is blocked. This is called hobbling the horse’s leg.
  • Chariot: any distance along a file or rank, as long as nothing is in the way. It is the strongest piece on the board.
  • Cannon: moves exactly like a chariot when it is not capturing. To capture, it must jump over exactly one piece, of either color, called the screen, and land on the enemy piece beyond it.
  • Soldier: one point straight forward. Once it crosses the river, it may also move one point sideways. It never moves backward and never promotes.

The flying general rule

The two generals may never face each other on the same file with no pieces between them. Any move that would create that line is illegal. In practice, it means each general controls the open file in front of it, which makes the generals part of the attack, not just targets.

How do you win at xiangqi?

  • Check is a direct threat to capture the general. You must answer it by moving the general, blocking the line, or capturing the attacker. Players traditionally announce check.
  • Checkmate is check with no escape. The checkmated player loses.
  • Stalemate is a loss. Unlike Western chess, a player with no legal move loses the game.
  • No perpetual check. You may not check over and over forever to force a draw. Under World Xiangqi Federation rules, the checking player must change moves or lose. Endlessly chasing an unprotected piece is not allowed either.

Games can also be drawn by agreement, or when neither side has enough force left to give checkmate.

What are the common xiangqi variations?

  • Repetition rules. Everyone agrees perpetual check is not allowed, but the details for long chases and repeated positions vary between rule books, such as the World Xiangqi Federation’s and the Asian Xiangqi Federation’s. Casual players usually just agree to stop repeating.
  • Banqi, also called half chess or dark chess, is a different game played with the same 32 pieces shuffled face down on half the board.
  • Janggi, Korean chess, is a close relative with its own rules, not a version of xiangqi. Learn it separately if you want to try it.

Tips for your first game of xiangqi

  • Get your chariots out early. They do nothing in the corners, and an open file makes them deadly.
  • Watch the horse’s legs. Before you count on a horse, check that nothing blocks the first step of its move.
  • Respect the cannon. It needs a screen to attack, so the piece you just put between your general and a cannon may be what lets the cannon capture.
  • Keep your advisors and elephants home. They cannot attack far anyway. Their job is to protect the general.
  • Push soldiers across the river. A soldier gets far more useful once it can step sideways.
  • Use your general. Thanks to the flying general rule, your general can pin enemy pieces on its file, even from inside the palace.

Forks, pins, and discovered attacks work in xiangqi just as they do in Western chess. Our free chess course teaches them step by step.

Where the world plays it

Xiangqi ranks among the most-played games on The Game Atlas in China and Vietnam. The Atlas also ranks it in Singapore. See how it compares with every other game on The Game Atlas.

Looking for another classic for two? Learn how to play Go or how to play backgammon.

Sources