ChessPivot
White ceramic figurine on black table

X-ray

Tactics

Photo : Hassan Pasha
Tactics

The X-ray (also called X-ray attack) is a tactical motif in which a piece exerts pressure through an opposing piece, targeting a valuable piece or square located directly behind it on the same line.

The key idea is that the attacking piece "sees through" the enemy piece standing in its way. If that intermediate piece moves or is captured, the target behind it is immediately exposed. For instance, a white rook on e1 facing a black rook on e4 and a black queen on e8 creates an X-ray threat: once the rook on e4 is removed from the line, the queen falls. This latent pressure — invisible at first glance — can force passive defensive moves or set up decisive combinations.

In practice, X-ray attacks appear most often in rook and queen endings, where heavy pieces operate along open files and ranks. Train yourself to spot alignments where your piece and an enemy piece "sandwich" a key target: recognising this threat early can win a pawn, force a favourable exchange, or even decide the game outright.

How to exploit it — and defend against it

To exploit an X-ray, position your heavy pieces (rooks, queen) along the same file or rank as an enemy piece and a valuable target sitting behind it — even if the intermediate piece temporarily blocks the attack. Then look for a move that forces the blocking piece away (through a capture or direct threat), instantly exposing the target behind it. To defend against X-ray pressure, always scan open files and ranks: if two of your pieces are aligned facing an opponent’s piece, one of them may already be under an X-ray threat. Breaking that alignment — by shifting one of your pieces or interposing another — will prevent unexpected material loss.

8
7
6
5
4
3
2
a1
b
c
d
e
f
g
h
The white rook on a1 applies X-ray pressure on the black rook on d4: by playing Rd1, White directly attacks the enemy rook and wins material or gains a decisive tempo.

Related terms

Frequently asked questions

What is the difference between an X-ray and a skewer?
In a skewer, the attacking piece directly threatens a high-value piece, forcing it to move and exposing the piece behind it. In an X-ray, the pressure passes through the intermediate enemy piece without attacking it directly — the real target is the piece hiding behind it.
Is the X-ray mostly useful in the endgame?
X-ray attacks are especially common in endgames, particularly in rook and queen endings where open files and ranks abound. However, they can also arise in the middlegame whenever lines open up after exchanges.
Can a knight perform an X-ray attack?
No. X-ray attacks are exclusive to long-range pieces: rooks, bishops, and queens. Since knights do not move in straight lines, they cannot exert this type of through-the-piece pressure.

Analyze your games for free

Spot your recurring mistakes and turn them into progress with ChessPivot.

Analyze my games