Written by GM Mauricio Flores RiosGrandmaster and author of Chess Structures: A Grandmaster Guide

X-Ray Attack

An x-ray attack is the latent power of a line piece — queen, rook, or bishop — acting through an intervening piece along a rank, file, or diagonal. The x-raying piece attacks or defends a square beyond the blocker, and the moment the blocker moves, captures, or is captured, that hidden influence becomes real. X-rays are the ghosts of the chessboard: invisible in a casual glance, decisive in a combination, and responsible for a remarkable share of "how did I miss that?" moments in my students' games.

What Is an X-Ray?

Line pieces project force along lines, and a piece standing in the way normally ends the story — a rook on e1 "sees" up the e-file only until something blocks it. The x-ray concept says: not quite. The rook's influence continues through the blocker in a latent form, because lines on a chessboard reopen constantly. Pieces trade, defenders are deflected, blockers are themselves lured away — and every time a line reopens, the piece at the back of it inherits the square at the far end instantly, without spending a move.

That "without spending a move" is the whole value. A tempo is the scarcest resource in tactics, and the x-ray is influence you bought in advance. When I calculate combinations, I deliberately look past blockers and ask what each line piece would control on an empty board; the difference between that and what it controls right now is a map of the position's hidden energy.

Two flavors matter, and both deserve a name. An x-ray attack is offensive latent power: your queen on a3 eyeing f8 through an enemy bishop on c5 is attacking f8 in installments — remove the bishop and the attack lands. An x-ray defense is the same idea pointed at your own pieces: a rook on e1 supporting a friendly piece or square on e7 or e8 through whatever currently stands between. Combinations that look like clean wins routinely fail because a defender was quietly x-raying the target square, and the "winning" capture opened the very line that defends it.

X-Ray vs Skewer vs Pin: Getting the Words Right

Chess literature is genuinely sloppy here, so let me draw the lines precisely.

A pin and a skewer are both direct attacks on two enemy pieces standing on the same line with no one else between attacker and first target. In a pin, the less valuable piece stands in front, shielding something more valuable behind it — the front piece is frozen. In a skewer, the order is reversed: the more valuable piece stands in front, and when it moves out of the attack, the piece behind it falls. Both are open, declared threats; nothing about them is latent.

An x-ray is different in kind: it is influence through an intervening piece — often a piece of either color that could capture, be captured, or step aside. The x-ray does nothing by itself on this move. It is a standing arrangement whose value is conditional: if the line opens, then the square at the end changes hands. Some older books use "x-ray" as a synonym for the skewer, and you will still meet that usage; I recommend against it, because it wastes a precise word on a concept that already has a name. The idea worth reserving "x-ray" for — latent power through a blocker, including defensive power — has no other name at all.

A quick test to classify what you are looking at: if the front piece is afraid to move, it is a pin. If the front piece is forced to move and loses the piece behind it, it is a skewer. If the interesting square lies beyond a blocker and the threat only materializes when the line opens, that is an x-ray.

X-Ray Defense: The Combination Killer

The defensive x-ray deserves its own section because it is the one that saves — and ruins — the most games.

Picture the standard setup: your rook on e1, an enemy rook planted on e4 in the middle of the file, and a pawn or piece of yours sitting on e7, deep in enemy territory. Is e7 defended? On a naive count, no — the enemy rook blocks your rook's path. But look at what happens if the enemy rook captures on e7: by traveling up the file it has unblocked the file behind it, and your rook on e1 recaptures at once. Your rook was defending e7 through the enemy rook the whole time. That is x-ray defense in its purest form: the blocker cannot use the line without opening it for you.

This mechanism is the hidden accountant behind doubled and tripled major pieces. When rooks and queen stack on a file — a battery, or the full Alekhine's gun — every unit x-rays through the ones in front. A sequence like Rd8+ ...Rxd8, Rxd8+ ...Qxd8, Qxd8 mate is nothing but x-rays cashing in one at a time: each capture on d8 looks like a recapture but is really a baton pass, the piece behind inheriting the square through the piece in front. When you calculate any capture sequence on a single square, you are doing x-ray bookkeeping whether you call it that or not.

And here is the failure mode I see constantly: a player calculates "I take, he takes, I take — I win a piece," but one of the opponent's recaptures arrives via a line that was blocked at the start of the sequence and opened during it. The material count was right; the x-ray count was wrong. Before executing any combination, trace every line that your own moves will open — for both sides.

Back-Rank X-Rays

The back rank is x-ray country, because back-rank life and death is entirely about who controls one square — the mating square — at the end of a forcing sequence, and x-rays change that count invisibly.

The attacking version: your heavy pieces stacked on an open file bearing down on e8 or d8, where each piece supports the next one's arrival through everything in front. Sacrificial deflection combos of the form "queen takes the back-rank square, rook recaptures, rook takes back with mate" are only sound because of the x-ray support running up the file; miscount it by one attacker and you have donated your queen. The classic back-rank mate machinery — count attackers of the mating square, count defenders, remember that a defender doing two jobs is overloaded — must always include the x-raying pieces on both sides of the ledger.

The defensive version is subtler and traps even strong players: a back-rank combination that fails because the defender's queen or rook guards the mating square through one of the attacker's own pieces, or because the defender's capture en route opens a saving line behind it. My rule when checking any back-rank tactic: mentally delete every piece standing on the critical file or rank, one at a time, and re-ask who controls the mating square in each version. X-rays only ever matter when lines open — so audit the position with the lines open.

A related motif appears in king-and-pawn races: a rook or queen behind its own passed pawn x-rays the promotion square through the pawn itself, which is one reason "rooks belong behind passed pawns" (the Tarrasch rule) works so well — every step of the pawn extends the rook's real control up the file it already x-rayed.

Training the X-Ray Eye

X-ray vision is trainable, and the drill is mechanical. In any position, pick each line piece and extend its line to the edge of the board, straight through every blocker, and name what it touches. Do it for your opponent's pieces with double care — their x-rays through your pieces are the ones that refute your combinations. In your calculation, flag every move (yours or theirs) that opens a line, and re-evaluate the far end of that line the moment it opens.

Then make it fast through repetition: x-ray motifs — hidden defenders, baton-pass captures, back-rank counts — appear throughout our puzzle collection, and solving them is precisely practice at seeing through pieces. Within a few weeks the latent lines stop being invisible; you start perceiving a rook's influence as running the full length of its file with pieces merely interrupting it, which is the correct picture and the one strong players actually see.

Frequently Asked Questions

Is an x-ray the same as a skewer?

Not in careful usage, though some older books blur them. A skewer is a direct attack on two enemy pieces in a line, valuable one in front — when it moves, the one behind falls. An x-ray is latent influence through an intervening piece: nothing is won on this move, but the moment the line opens, the square beyond changes hands. Skewers act now; x-rays act conditionally.

What is an x-ray defense?

Defending a piece or square through an intervening piece — typically an enemy one. The standard case: your rook on e1 protects a friendly unit on e7 even with an enemy rook parked on e4, because any capture by that enemy rook on e7 opens the file behind it and allows your recapture. X-ray defenses are the most common reason "winning" combinations quietly fail.

Can knights or pawns make x-ray attacks?

No. X-rays are strictly a line-piece phenomenon — queens, rooks, and bishops — because they depend on influence projected along a rank, file, or diagonal through a blocker. Knights jump and pawns capture one square diagonally; neither projects a line, so neither has latent power through anything.

Why are x-rays so easy to miss?

Because human vision reads a blocked line as a dead line — we see the rook "stopped" by the first piece in its path and file the rest of the line as irrelevant. But tactical sequences open lines constantly, and every opened line activates its x-ray instantly, without costing a tempo. Training yourself to extend every line piece's influence to the edge of the board is the antidote.

How do x-rays relate to batteries?

A battery is stacked friendly line pieces — queen and rook on a file, queen and bishop on a diagonal — and the rear pieces x-ray through the front ones. That is what makes capture sequences on a single square work: each recapture is really the next piece in the battery inheriting the square. Counting attackers on a square without counting the x-raying rear pieces is how sacrifices get miscalculated.

Related Terms

  • Skewer — the direct line attack that older books confusingly also called an x-ray.
  • Pin — the other two-pieces-on-a-line tactic; front piece frozen instead of fleeing.
  • Battery — stacked line pieces whose rear members are pure x-ray power.
  • Back-Rank Mate — the tactic most often decided by a miscounted x-ray.
  • Overloading — the defender-side arithmetic that x-rays quietly falsify.
  • Alekhine's Gun — tripled major pieces: an x-ray stack turned into a siege engine.