What is an x-ray?
A piece can guard a square through another piece. That makes sacrifices possible on squares that look defended.
Lesson 1 of 6 in X-ray attack · about 7 min · 7-question quiz · 10 practice puzzles
Lesson notes
The whole lesson in text, with the answers. Play it on the board above first.
This pattern is missed very often, so watch it once before you play it. Black is about to attack the queen with the rook. White thinks there is a winning answer.
- Rd8 The rook attacks the queen.
- Rxc6 White takes the knight that guarded d8. Now the rook on d8 looks lost, and Black's back rank is weak.
- Qd1+ But Black checks on d1. The rook on d8 guards that square, through the white queen.
- Qxd1 The queen has to take.
- Rxd1+ The rook takes back with check.
- Ne1 The knight blocks.
- Rxe1# And the rook takes it.
Mate. White's rook capture was the blunder. It missed that a rook can guard a square through a piece standing in front of it.
Here is the key moment again. The rook can't move to d1, because the queen is in the way. But it still guards d1: whatever takes there gets taken back. This is called an x-ray.
X-ray: A piece attacks or guards a square through another piece that stands on the same line.
White to move. A pawn check on g4 looks impossible, because the rook takes it. But your queen stands behind that rook on the fourth rank. Find the mate in two.
g4+. The king can't take the pawn, so the rook has to. Your queen takes the rook through the square it left. Mate.
White to move. The knight on f6 is guarded by the bishop on d4. Your bishop on c3 stands behind that bishop on the same diagonal. Find the mate in two.
Qxf6+. The bishop has to take your queen, and your bishop takes back with mate. The other bishop covers g8.
White to move. The pawn on h7 is guarded by the rook on h6. Your rook on h3 stands behind it. Find the mate in two.
Qxh7+. The king can't take, because your bishop guards h7 once the queen has left its diagonal. The rook takes, and your rook takes back with mate.
White to move. The black bishop on d5 blocks your bishop's diagonal. Your bishop still looks through it at b7. Find the mate in two.
Qxb7+. The bishop has to take your queen, and your bishop takes back with mate. The knight guards it.
White to move. There are two squares for a queen sacrifice: g7 and f8. One of them is guarded by the black queen from far away. Choose the other.
Qf8+. The king can't take, because your knight guards f8. The rook takes, and your rook takes back with mate.
White to move. The hardest one. The rook on g8 guards g7 and h8, where your queen wants to mate. Black's pawn is one step from queening. Put your rook next to that rook.
Rd8. If the rook takes yours, the queen mates on g7. And your rook now looks at h8 through the rook on g8. Black makes a new queen, which attacks your bishop.
Black has two queens. Taking the rook on g8 or the new queen both fail. Use the x-ray.
Qh8+. The rook has to take your queen, and your rook takes back with mate. The bishop covers g7. Two extra queens didn't help Black.
What to remember
- A piece guards a square through another piece on the same line. When that piece captures, yours takes back.
- So a square that looks defended may be yours. Count the pieces behind, not only the ones in front.
- Check that the king can't take. Usually another of your pieces has to guard the square too.
- If there are two squares for the sacrifice, pick the one the defender can't reach from far away.