Can a chariot get trapped in 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
Rarely, but yes. A chariot's entire strength comes from a clear line to move along, so one boxed in on every side, by its own pieces, the enemy's, or both, has no legal moves at all beyond simply staying put uselessly. It is far less common than a trapped horse, because a chariot needs far less to become active again.
Why it's rare compared to a trapped horse
A horse can be shut down by a single piece on its leg point. A chariot needs an entire rank and an entire file blocked at once, which normally only happens deep in a cramped opening or a very cluttered middlegame position, and it tends to resolve itself quickly as pieces trade off.
The practical danger
The real cost of a boxed-in chariot is rarely permanent immobility, it is lost time. A chariot that needs several moves of clearing before it can act is a chariot that isn't helping your attack, which is why opening theory puts such weight on getting a file open for each chariot early.
Related questions
Can an opponent deliberately trap my chariot?
It happens, usually by encouraging you to over-extend other pieces around it rather than by a single forcing move.
Is a trapped chariot ever just lost?
Only if it can also be attacked while boxed in. Being immobile is not itself losing material.