Kingsights Logo
Chess ConceptsAdvanced

X-Ray Attack — the hidden power that strikes through pieces

Learn how rooks, bishops, and queens project force through obstacles.

✓ Interactive boards ✓ Step-by-step ✓ Free forever

What is an X-Ray Attack?

An X-ray attack (or simply 'X-ray') is a tactical motif in chess where a long-range piece (a rook, bishop, or queen) attacks a target square or enemy piece 'through' an intervening piece. The attacking piece projects its power past the obstacle, meaning that if the obstacle moves or is captured, the X-ray attack becomes a direct attack. X-rays are most commonly used to defend pieces that appear undefended, or to attack squares that appear adequately protected.

How It Works — Step by Step

Step 1

The X-Ray: Hidden Power

White's rook on d1 'sees through' the rook on d4 to control d8. If Black exchanges, White recaptures and controls the file.

Step 2

Back Rank X-Ray Mate

White plays Rxd8+! After Rxd8, the rook on d1 X-rays through to d8 with Rxd8# — back rank mate.

Step 3

X-Ray Defense

The rook on d8 X-rays through the queen on d1 to protect it. If Black captures Bxd1, Rxd1 recaptures.

Step 4

Alekhine's Gun — Triple X-Ray

Queen on c1, rook on c2, rook on c3 — all stacked. The queen X-rays through both rooks. If either is captured, the queen fires.

X-Ray Attacks in Your Openings

These openings frequently produce X-ray opportunities

Ruy Lopez

In many lines of the Ruy Lopez, the rook on e1 X-rays the e-file, often looking at the black king on e8 or a knight on e4, supporting central tension and tactics.

View opening page

Sicilian Defense

Rooks placed on the semi-open c-file often X-ray the c2 or c3 squares, preparing sacrifices or supporting queenside attacks.

View opening page

Famous X-Ray Attack Games

Alexander AlekhinevsAron Nimzowitsch
San Remo

This game features the famous 'Alekhine's Gun' formation, where Alekhine stacked two rooks and a queen on the c-file. The sheer power of the X-ray pressure along the file completely paralyzed Nimzowitsch, leading to a stunning victory.

1-0

Tips for Club Players

Always look beyond the first piece in the line of sight of a rook, bishop, or queen.

Rooks doubled on a file are a common and powerful form of X-ray attack.

If your opponent's piece is lined up with your king or queen, even if there are pieces in between, be very careful.

Frequently Asked Questions

Everything you need to know about X-ray attacks

An X-ray attack happens when a long-range piece (rook, bishop, or queen) exerts its influence along a line (rank, file, or diagonal) 'through' another piece. It can be used to attack an enemy piece or defend a friendly piece that appears to be blocked.

A pin restricts a piece from moving because a more valuable piece is behind it. A skewer forces a valuable piece to move, exposing a less valuable piece behind it. An X-ray is more general; it's the concept of a piece's power projecting through an obstacle, often used to defend a piece or attack a square (like in a back-rank mate sequence).

Find X-ray tactics in my games

Kingsights scans your real games to find X-ray tactics you missed.

✓ Interactive boards ✓ Step-by-step ✓ Free forever