---
title: "How to Set Up a Xiangqi Board Without Mistakes · Xiangqi Master"
description: "Place the general on the centre point of the back rank, mirror both sides exactly, and check the five soldiers sit on alternating files with gaps."
url: https://xiangqimaster.com/blog/how-do-i-set-up-a-xiangqi-board-without-making-mistakes
updated: 2026-09-22
source: Xiangqi Master (https://xiangqimaster.com)
license: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/)
---

# How do I set up a xiangqi board without making mistakes?

These answers restate the rules implemented by our open-source engine, which follows the WXF laws and is regression-tested against the official 110-diagram repetition casebook. Where an answer refers to a specific position, that position lives on the linked reference page, where the build verifies it against the engine before publishing.

> Direct answer
>
> Start from the **general**: it goes on the centre point of the back rank, inside the palace, for both sides. Mirror every other piece out from there, advisors either side of the general, then elephants, horses and chariots to the corners, cannons two ranks forward on the second and eighth files, and five soldiers on alternating files (1, 3, 5, 7, 9) on the rank just behind the river.

## The check worth doing every time

Count the soldiers. Five per side, with a gap between each, is the detail people misplace most often, especially coming from chess where all eight pawns sit in one unbroken row. If a soldier looks adjacent to its neighbour rather than one file apart, the row is wrong. See [board setup](https://xiangqimaster.com/rules/board-setup) for the full reference layout.

## A second check for the cannons

Cannons sit two ranks in front of the horses, not directly beside them and not on the same rank as the soldiers. A cannon on the wrong rank changes the whole opening, since its line to the enemy position depends entirely on starting two ranks back.

## Related questions

Does it matter which elephant or advisor goes on which side?

No, they are mirror images of each other and either arrangement is legal and standard.

Is there a quick way to verify a full setup?

Compare against a printed diagram or the reference layout on this site's board setup page before your first move.

## Related xiangqi resources

Board setup

The board, the river, the palace, and where the 32 pieces go

Xiangqi questions answered

Every question on this site, in one index

Play xiangqi

Free, in the browser, nothing to install

## Try it on a real board

Reading an answer is one thing; playing it is another. Free, instant, and nothing to install.
