How old is xiangqi?
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
The game as it is played now is roughly 900 to 1,000 years old, settling into its modern form during the Song dynasty (960–1279). A game called 象棋 is mentioned centuries earlier, but the references describe something different — the cannon, the piece that defines modern xiangqi, does not appear until cannons themselves did.
What is actually documented
The Song-dynasty evidence is solid: the board with river and palace, the piece set including cannons, and dedicated literature all appear together in that period. The manual 橘中秘 and the endgame collection 夢入神機 come later but describe recognisably the same game.
Earlier mentions of 象棋 in Tang and pre-Tang texts are real but cannot be assumed to describe this game. Name continuity is not game continuity.
The claim to treat carefully
You will often read that xiangqi was invented in the Warring States period, or by a specific general before a specific battle. These are traditions rather than documented history, and no surviving source supports them. The honest answer is that the modern game is a Song-dynasty artefact with older roots that are genuinely unclear.
Related questions
Is xiangqi older than chess?
Both descend from earlier Indian and Central Asian games. Modern xiangqi and modern western chess both took their current form in the medieval period — neither is simply the ancestor of the other.
When was the cannon added?
The cannon appears with the Song-dynasty form of the game, which is consistent with gunpowder artillery becoming familiar in China around the same time.