---
title: "Can Your General Attack in Xiangqi? · Xiangqi Master"
description: "Yes. Through the flying general rule your general controls the file it stands on, taking escape points away from the enemy general for free."
url: https://xiangqimaster.com/blog/can-a-general-be-used-to-attack
updated: 2026-09-22
source: Xiangqi Master (https://xiangqimaster.com)
license: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/)
---

# Can your own general take part in an attack?

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
>
> **Yes**, and forgetting it is one of the most common ways to fail to convert a won endgame. Because the two generals may never face each other on a clear file, **your general denies the enemy general the whole file it stands on**. That is a free attacker that costs no moves to keep.

## When to bring it up

As soon as the enemy pieces are gone. It is completely safe once nothing can attack it, and several basic mates do not work without it — a lone chariot mates a bare general precisely because your general holds the file the enemy would otherwise escape to.

It is frequently the difference between a mate and a sixty-move draw.

## The limit

It can only ever move within the palace, so its "attack" is the file it occupies and nothing more. And it must not step onto a file where the enemy general already faces it with a clear line, since that move would be illegal.

## Related questions

Is it safe to advance the general?

Once the opponent has no pieces that can reach it, yes, completely.

Does this work in the middlegame?

Rarely — there are usually pieces on the file. It is an endgame technique.

## Related xiangqi resources

The flying general

Generals may never face each other down an open file

Basic checkmates

Mating with ordinary material

How the general moves

One point orthogonally, never leaves the palace

## Try it on a real board

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