Chess Tactics Training

X-Ray Attacks in Chess: Seeing Through the Defender

An X-ray attack is hidden pressure through another piece. Learn how X-rays work in chess, how they differ from pins and skewers, and how to spot them in your games.

x-ray attack chess

An X-ray attack is a line tactic where a long-range piece puts hidden pressure through another piece.

At first, it may look like the line is blocked.

There is a pawn, bishop, rook, queen, or king in the way. The target behind it seems safe. The square behind it seems protected.

But the piece behind the blocker still matters.

Your bishop, rook, or queen is looking through the obstacle.

That is the X-ray idea.

X-rays are easy to miss because chess players often think of occupied squares as closed doors. If a piece is in the way, the line must be blocked.

Usually, that is true.

But tactically, the blocker may be temporary. It may be pinned. It may be forced to move. It may be captured. It may be overloaded. Or it may be defending something important while another piece behind it is also vulnerable.

An X-ray tactic starts when you see the line behind the blocker.

What Is an X-Ray Attack in Chess?

An X-ray attack happens when a queen, rook, or bishop indirectly attacks or controls something through another piece.

The attacking piece is a line piece:

  • queen
  • rook
  • bishop

The line may be:

  • a file
  • a rank
  • a diagonal

The key feature is the intervening piece.

There is something between the attacker and the target, but the attacker still exerts pressure through it.

For example:

  • a rook on e1 looks through a piece on e4 toward a queen on e8
  • a bishop looks through a pawn toward a rook on the same diagonal
  • a queen controls a mating square through a pinned defender
  • a rook defends one of your pieces through an enemy piece

The front piece may not be capturable yet. The back target may not be directly attacked yet. But the line creates a tactical possibility.

That hidden pressure is the X-ray.

A Simple Way to Picture It

Imagine a rook on a1 and an enemy queen on a8.

Between them is an enemy bishop on a4.

The bishop appears to block the rook's attack. But if that bishop moves or is removed, the rook will attack the queen on a8.

The queen is not safe just because another piece stands in front of it.

The rook is X-raying through the bishop.

That does not mean the queen is immediately lost. It means the line matters. Any tactic that moves, pins, overloads, or removes the bishop may suddenly expose the queen.

X-ray tactics often begin before the direct attack exists.

You have to see what would happen if the blocker changed.

X-Ray Attack vs Pin

X-rays and pins are related, but not identical.

In a pin, the front piece is attacked and cannot move without exposing something more valuable behind it.

For example, a bishop attacks a knight, and behind the knight is the king. The knight is pinned.

The focus is on the front piece being stuck.

In an X-ray, the focus is broader:

Your line piece is exerting influence through a blocker toward a hidden target or square.

A pin can contain an X-ray idea because the attacker sees through the pinned piece. But not every X-ray is a pin.

Use this rule:

  • Pin: the front piece is restricted.
  • X-ray: the line behind the front piece matters.

X-Ray Attack vs Skewer

A skewer is a direct attack on a valuable front piece, with a less valuable piece behind it.

For example, your rook checks the enemy king, and behind the king is a rook. The king must move, and you capture the rook.

That is a skewer.

An X-ray may look similar, but the pressure is often more indirect.

You may not be attacking the front piece directly. You may be controlling a square or target through it. The threat may become real only after the blocker moves, is captured, or becomes overloaded.

Use this rule:

  • Skewer: direct attack on the front piece, back piece falls after it moves.
  • X-ray: hidden pressure through a piece toward a target or square.

Some skewers are described as X-ray attacks. Chess terminology is not always perfectly clean. What matters is seeing the line.

X-Ray Attack vs Discovered Attack

In a discovered attack, one of your pieces moves out of the way and reveals an attack from a piece behind it.

The line was blocked by your own piece.

In an X-ray attack, the line usually works through an intervening piece, often an enemy piece. The pressure is already meaningful even before the line fully opens.

Use this rule:

  • Discovered attack: your piece moves and reveals your hidden line.
  • X-ray: your line piece pressures through a blocker.

They can combine. A discovered attack may reveal an X-ray. An X-ray may become a discovered attack after a piece moves. The names overlap because line tactics overlap.

Do not worry too much about the label.

Ask:

What is the line piece seeing, and what is in the way?

X-Ray Attack vs Interference

Interference blocks an enemy defensive line.

X-ray uses hidden pressure through a line.

Those are nearly opposite ideas.

Interference says:

I can place a piece in the way of their defender.

X-ray says:

My line piece is already seeing through something toward a target.

Both motifs require line awareness. Both usually involve bishops, rooks, or queens. But one blocks a line and the other notices pressure through a line.

X-Ray Defense

X-rays are not always attacks.

Sometimes a piece defends through another piece.

This is called X-ray defense.

For example, your rook may defend a piece through an enemy rook on the same file. If that enemy rook captures, your rook recaptures because it was already lined up behind it.

This matters because a piece may look undefended but actually be protected through a line.

Before capturing a piece that seems loose, ask:

  • What line pieces are behind it?
  • If I capture, what line opens?
  • Is the piece protected through my own piece?
  • Is there an X-ray defender behind the target?

Many players lose material because they count defenders only on the visible square. X-ray defense asks you to look behind the front piece.

The Main X-Ray Clues

X-ray tactics have clear clues once you know what to look for.

Pieces lined up

X-rays need alignment.

Look for pieces on the same:

  • file
  • rank
  • diagonal

If a queen, rook, or bishop is lined up with a king, queen, rook, or critical square, inspect the line.

The blocker may be temporary.

A valuable piece behind a blocker

Ask:

What is behind this piece?

If a queen, rook, king, or mate square sits behind the blocker, the position may contain an X-ray.

A pinned or overloaded blocker

The front piece may not be able to move freely.

It might be:

  • pinned
  • overloaded
  • defending mate
  • guarding a queen
  • unable to recapture
  • forced to move by a tactic

If the blocker has too many jobs, the X-ray may become decisive.

A critical square behind a pawn

X-rays are not only against pieces.

Sometimes the target is a square.

For example, a queen may look through a pawn toward a mating square. If that pawn moves or is captured, the square becomes available.

This is why X-ray tactics often appear near kings.

A line piece that looks inactive

A bishop, rook, or queen may look blocked.

Before dismissing it, ask:

What would this piece attack if the blocker disappeared?

That question finds many X-rays.

How to Calculate an X-Ray Tactic

Use this process.

1. Identify the line piece

Start with the queen, rooks, and bishops.

Ask what each one sees along its line.

If the line contains a blocker and a target behind it, pause.

2. Name the blocker

Say what is in the way.

Examples:

  • The pawn blocks my queen from d8.
  • The bishop blocks my rook from the queen.
  • The knight blocks my bishop from the rook.
  • The rook blocks my queen from the king.

Naming the blocker makes the tactic concrete.

3. Name the hidden target

Now say what is behind the blocker.

The target might be:

  • king
  • queen
  • rook
  • mate square
  • promotion square
  • undefended piece

If there is no meaningful target, the X-ray probably does not matter.

4. Ask how the blocker can change

The blocker might:

  • move
  • be captured
  • become pinned
  • be overloaded
  • be deflected
  • be forced to recapture
  • be unable to move because of mate

This is where the tactic begins.

5. Verify the final line

Do not assume the X-ray wins.

After the blocker changes, check:

  • Is the target still there?
  • Can the opponent move the target?
  • Can they block the line again?
  • Can they capture your line piece?
  • Is there a stronger counter-threat?

X-rays are hidden pressure. They still need calculation.

Common X-Ray Patterns

Rook X-ray on an open file

Rooks often X-ray along files.

A rook may stare through one piece toward a queen, king, rook, or back-rank square.

Clue:

A rook is lined up with a valuable piece behind a blocker.

Bishop X-ray on a diagonal

Bishops create many X-ray tactics because diagonals are easy to overlook.

A bishop may pressure a queen through a pawn, or control a mating square through a defender.

Clue:

A bishop's diagonal contains a blocker and a valuable target behind it.

Queen X-ray through a defender

Queens are powerful X-ray pieces because they work on ranks, files, and diagonals.

A queen may pressure a king through a defender, control mate through a pawn, or defend a piece through an enemy piece.

Clue:

The queen's line seems blocked, but the target behind the blocker is tactically important.

X-ray against a king

X-rays against kings are especially dangerous.

If a rook, bishop, or queen points through a piece toward the king, any move that removes the blocker may become check or mate.

Clue:

The king is on the same line as a long-range piece, even if something stands between them.

X-ray defense

Sometimes the point is that your piece is defended through an enemy piece.

This can make a capture safe or make your opponent's capture fail.

Clue:

Two pieces sit on the same line, and your line piece would recapture if the front piece moved.

How to Practice X-Rays

Start with line vision.

For every puzzle, ask:

1. What are my line pieces? 2. What are their lines? 3. What blockers sit on those lines? 4. What targets sit behind the blockers? 5. What happens if a blocker moves?

Do not only look at checks and captures.

Look through pieces.

When you solve an X-ray puzzle, summarize it in one sentence:

My rook sees the queen through the bishop.

or:

My queen controls the mating square through the pawn.

or:

My bishop defends the rook through the enemy queen.

If you can say the line clearly, you understand the motif.

The Defensive Side

You also need to defend against X-rays.

Before moving a blocker, ask:

  • What line opens if this piece moves?
  • Is my queen behind it?
  • Is my king behind it?
  • Is a mating square behind it?
  • Was this piece shielding something important?

Many blunders happen because a player moves a piece that was quietly blocking a line.

The piece was not just sitting there.

It was shielding something.

This is especially important with pawns near your king. A pawn move can open a diagonal or file. That newly opened line may give your opponent a tactic immediately.

Final Rule

An X-ray attack is hidden line pressure.

The key questions are:

1. Which queen, rook, or bishop is looking down a line? 2. What piece is in the way? 3. What target or square is behind it? 4. Can the blocker move, be captured, or become overloaded? 5. What happens when the line opens?

If you train those questions, X-rays stop feeling mysterious.

You stop seeing only the front piece.

You start seeing through it.