Learn how rooks, bishops, and queens project force through obstacles.
✓ Interactive boards ✓ Step-by-step ✓ Free forever
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.
White's rook on d1 'sees through' the rook on d4 to control d8. If Black exchanges, White recaptures and controls the file.
White plays Rxd8+! After Rxd8, the rook on d1 X-rays through to d8 with Rxd8# — back rank mate.
The rook on d8 X-rays through the queen on d1 to protect it. If Black captures Bxd1, Rxd1 recaptures.
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.
These openings frequently produce X-ray opportunities
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 pageRooks placed on the semi-open c-file often X-ray the c2 or c3 squares, preparing sacrifices or supporting queenside attacks.
View opening pageThis 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.
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.
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).
Kingsights scans your real games to find X-ray tactics you missed.
✓ Interactive boards ✓ Step-by-step ✓ Free forever