ChessPuzzlePrint Free chess puzzles, tools and printables

Real positions. Quiet practice.

X-ray attack Chess Puzzles

Real positions from rated games. Narrow them by motif, difficulty or rating, then solve or print each one.

155 real-game X-ray attack puzzles in this collection

What is a x-ray attack?

An X-ray attacks or defends through an intervening piece. The rear piece exerts force along the line even before the blocker moves, which produces surprising captures and defenses.

How to spot it

Follow your long-range pieces through enemy blockers to what stands behind. If the blocker is forced to move or capture, the X-rayed square is already yours.

What this set trains

X-ray sets stretch your line vision beyond the first obstacle — a skill that also prevents nasty surprises against you.

Foundation: 41Developing: 45Challenging: 37Advanced: 32

By the numbers

x-ray attack puzzles: the numbers

There are 21,663 x-ray attack puzzles, solved 55,990,109 times in total. The median rating is 1409.

How hard are they?

Foundation
6,337 · 29.3%
Developing
8,403 · 38.8%
Challenging
4,490 · 20.7%
Advanced
2,433 · 11.2%

Often combined with

Endgame tactics · 11,185Checkmate · 10,541Middlegame tactics · 10,338Mate in 2 · 7,359Back-rank mate · 6,415Sacrifice · 3,406Mate in 3 · 2,739Kingside attack · 2,107

Which openings produce them?

Sicilian Defence · 199French Defence · 104Italian Game · 83Scandinavian Defense · 63Queen's Gambit · 58King's Gambit · 55Caro–Kann Defence · 54

Counts computed from the full puzzle set.

How the solutions work · counted by a rules engine

What a typical x-ray attack solution looks like

Sample: 1,055 x-ray attack puzzles (4.9% of all 21,663).

56% need 2 solver moves, 34.2% need 3 solver moves, 7.6% need 4 solver moves, 2.2% need 5 or more solver moves. Median rating: 1315 for the shortest solutions, 2462 for the longest.

56.5% open with a queen move. The first move captures in 57.6% and gives check in 78.5%; 49.4% end in checkmate, 69.3% involve a sacrifice, 52.4% have White to move.

57.6%first move captures
78.5%first move gives check
49.4%end in checkmate
69.3%involve a sacrifice

How many moves does the solver need?

2 solver moves
56% · median rating 1315
3 solver moves
34.2% · median rating 1533
4 solver moves
7.6% · median rating 1951
5+ solver moves
2.2% · median rating 2462

Which piece plays the key move?

Key move by a queen
56.5%
Key move by a rook
29%
Key move by a knight
4.9%
Key move by a bishop
4.8%
Key move by a pawn
4.5%

What does the solver win?

Most valuable capture: rook
52.8%
Most valuable capture: queen
42.5%
Most valuable capture: bishop
3.1%
Most valuable capture: pawn
1.4%

Material balance along the whole line, counting every capture by both sides (pawn 1, minor piece 3, rook 5, queen 9):

No material gained (mating or positional)
18.8%
Up to 2 pawns’ worth
25.6%
3–4 points (about a minor piece)
19.2%
5–8 points (a rook or more)
25%
9 or more points (a queen’s worth)
11.4%

How much is left on the board?

28 or more pieces on the board
0.4%
21–27 pieces
24.6%
13–20 pieces
71.2%
12 pieces or fewer
3.8%

How it is counted: every puzzle in the sample is replayed move by move with a chess rules engine. A sacrifice means a piece that is captured on the very next ply and was worth more than what it captured itself (pawn 1, minor piece 3, rook 5, queen 9). Sample of 1,055 puzzles. Percentages are shares of the sample.

Where it happens

Where the key move lands

Where the solver’s first move ends, drawn from their own side (rank 1 is their back rank). Busiest squares: e8 (16.7%), d8 (14%), c8 (10.5%), f8 (8.8%), b8 (4.8%).

44.810.51416.78.81.98
1.21.51.32.41.81.87
1.71.91.21.36
11.11.15
4
3
2
11
abcdefgh

Counted from the same 1,055-puzzle sample. Squares under 1% are left blank.

In the chess glossary

What the glossary says

X-ray
When the power of a piece, either to attack or to defend, seems to pass through an intervening enemy piece. An X-ray attack, also known as a skewer, occurs when two pieces of the same color are caught in the same line of attack along a diagonal, rank, or file. The attacking piece forces the first and more valuable piece to move out of the way, which allows the second piece to be captured. An X-ray defense occurs when one piece is defended by another piece through an attacking enemy piece standing between the two.

Where this page comes from

The text above is adapted from “Glossary of chess” on Wikipedia, by its contributors. We kept only the definitions of the terms listed, removed citations, diagrams and navigation templates, and left the wording otherwise unchanged — nothing here was written or rewritten by AI.

The original is published under CC BY-SA 4.0, so this section is published under the same licence. You may share and adapt it, including commercially, as long as you credit the original and keep the same licence.

Puzzle positions, ratings and move sequences on this page come from real rated games (CC0 data), not from Wikipedia; theme write-ups and difficulty guides elsewhere on this site are Chess Puzzle Print's own original work and are not covered by this licence.

Study positions

The most-solved x-ray attack puzzles, from each difficulty level. Play each one on the board, then open the answer for the full line.

♜♜♚
♞♕♟
♞♟♖♗
♟♘
♟♙♛
♙
♗♙♙♙♙
♔
Black to move · rating 796 · solved 2,692 times · Mate in 2.
Reveal line

Opponent's last move: Ng5

Solution: Qd1+ → Rxd1 → Rxd1#

♜♚
♖♟♟♟
♟
♘
♙♙
♙♗♙♙
♛♕♔
Black to move · rating 1073 · solved 3,865 times · Mate in 2.
Reveal line

Opponent's last move: Qc1

Solution: Rd1+ → Qxd1 → Qxd1#

♜♚
♕♟♟♟
♟♟
♛♙
♙
♙♜♟
♙♙♙
♖♔
White to move · rating 1141 · solved 6,898 times · Mate in 3.
Reveal line

Opponent's last move: Rxc3

Solution: Qxc8+ → Rxc8 → Rxc8+ → Qd8 → Rxd8#

♜♚
♖♕♟♟
♟
♛♙
♙♙♙
♜♖♔
Black to move · rating 1267 · solved 3,354 times · Mate in 2.
Reveal line

Opponent's last move: Rc1

Solution: Qd1+ → Rxd1 → Rxd1#

♖♜♚
♟♟♟
♕
♛
♙
♙♙
♜♙
♞♔
White to move · rating 1411 · solved 5,389 times · Mate in 2.
Reveal line

Opponent's last move: Nxf1

Solution: Qe8+ → Rxe8 → Rxe8#

♜♚
♛♟♟
♕♟
♟♟
♟♙♟
♖♙♙
♜♙♙
♖♔
White to move · rating 1427 · solved 3,713 times · 3 solver moves to find.
Reveal line

Opponent's last move: Rxb2

Solution: Qxb8+ → Rxb8 → Rxb8+ → Qf8 → Rxf8+

♜♚
♟♟♝♟
♖♟
♛
♘♕
♙
♙♙♙
♜♖♔
Black to move · rating 1473 · solved 3,707 times · Mate in 2.
Reveal line

Opponent's last move: Nf4

Solution: Qf1+ → Rxf1 → Rxf1#

♝♜♜♚
♟♟
♟
♕
♖♘
♙♛♙
♙♙♙
♖♔
Black to move · rating 1679 · solved 1,095 times · Mate in 2.
Reveal line

Opponent's last move: Ng4

Solution: Qxe1+ → Rxe1 → Rxe1#

♚♛
♟♝♟
♟♗♟♜
♟♟
♙♕♙♝♙
♙♙♘♙
♖♖♔
Black to move · rating 1732 · solved 1,150 times · Mate in 3.
Reveal line

Opponent's last move: Kh1

Solution: Qd5+ → Bxd5 → Bxd5+ → Rf3 → Bxf3#

♚
♟♟♟
♟♟
♝
♗♙
♛♙♙
♙♙♕♙♔
♜♖
Black to move · rating 1897 · solved 988 times · Mate in 2.
Reveal line

Opponent's last move: Bc4

Solution: Qh1+ → Rxh1 → Rxh1#

♚♜
♟♟♖♟
♟♝
♗♙♟
♙♙♙♙
♟♞
♙♖
♔♗
Black to move · rating 2014 · solved 567 times · 4 solver moves to find.
Reveal line

Opponent's last move: Rxd7

Solution: cxd2+ → Rxd2 → Rxd2 → Kxd2 → Nc4+ → Kd3 → Nxe5+

♚
♟♜♟♟
♟♞♛
♕♟
♟♝
♙♖
♙♙♙♙
♖♔
White to move · rating 2049 · solved 509 times · 3 solver moves to find.
Reveal line

Opponent's last move: Bxd4

Solution: Qxe7 → Qxe7 → Rxe7 → Nxe7 → cxd4

Positions and move sequences come from real rated games (CC0 data). Engine evaluations, where shown, are stored evaluations of the position (CC0).

Background reading

X-ray (chess)

In chess, an X-ray or X-ray attack is a tactic where a piece indirectly controls a square from the other side of an intervening piece. Generally, a piece performing an X-ray either: * effects a skewer, * indirectly attacks an enemy piece through another piece or pieces, or * defends a friendly piece through an enemy piece.

Examples

The second usage is seen in the first diagram position, which arises from the Black Knights' Tango opening after 1.d4 Nf6 2.c4 Nc6 3.Nf3 e6 4.a3 d6 5.Nc3 g6!? 6.e4 Bg7 7.Be2 0-0 8.0-0 Re8 9.Be3 e5 10.d5 Nd4! Authors Richard Palliser and Georgi Orlov, in their respective books on that opening, both note that Black's rook on e8 "X-rays" White's e-pawn through Black's own pawn on e5. If 11.Nxd4 exd4 12.Bxd4 Nxe4 13.Nxe4 Rxe4. The identical position is reached, except that White has not played a2–a3, in the King's Indian Defense after 1.d4 Nf6 2.c4 g6 3.Nc3 Bg7 4.e4 d6 5.Nf3 0-0 6. Be2 e5 7.0-0 Nc6 8.Be3 Re8 9.d5 Nd4! Of the second diagram position, arising from the Sveshnikov Variation of the Sicilian Defense, Atanas Kolev and Trajko Nedev observe, "On f1 the king is X-rayed by the f8-rook". They analyze the possible continuation 22...f5 23.exf5 Bxf5 24.Nxf5 Rxf5 25.Qg4 Bg5 (exploiting the pin along the f-file) 26.Kg2? Bxf4 27.Nxf4 Rg5 28.Nxg6+ Kg7 and White resigned in Delchev–Kotanjian, Kusadasi 2006. The first diagram position arose after 23...Qd8–h4! in Krasenkow–Seirawan, 34th Chess Olympiad, Istanbul 2000. Michael Rohde writes of Seirawan's 23rd move, "Holding things up through an x-ray on the pawn on d4." Black would respond to either 24.e5 or 24.exd5 with 24...Qxd4+. Gerald Abrahams alludes to the X-ray concept, without using that term, when he cites the aphorism, "Put your rook on the line of his queen, no matter how many other pieces intervene." He writes, "That doggerel jingle incorporates some experience". A future world champion played in that manner in Rauzer–Botvinnik, USSR Championship 1933. Two moves before the second diagram position arose, Botvinnik had played 13...Rfd8, X-raying the white queen through the pawn on d6. Now Bernard Cafferty and Mark Taimanov suggest "15.Qf2 to get away from the 'X-ray' attack from the d8 rook". Instead, the game continued 15.Rac1 e5! 16.b3 d5!!, exploiting the queen's position on the same file as the rook and leading to a win for Botvinnik 13 moves later. The first diagram position arose from the English Opening in the famous miniature Petrosian–Ree, Wijk aan Zee 1971 after 1.c4 e5 2.Nc3 Nf6 3.Nf3 Nc6 4.g3 Bb4 5.Nd5 Nxd5 6.cxd5 e4?? 7.dxc6 exf3 8.Qb3! Author Iakov Neishtadt cites the game as an example of an "X-ray". Black resigned because the white queen's X-ray of his pawn on b7, through Black's bishop on b4, wins a piece after, e.g., 8...a5 (or 8...Qe7) 9.a3 Bc5 10.cxb7. The above examples all involve a latent attack along a file or rank. A latent attack along a diagonal has also been called an X-ray. The second diagram position arose in Dorfman–Tseshkovsky, 46th USSR Championship Tbilisi 1978. Cafferty and Taimanov write, "Black can use the 'X-ray' attack of his queen on the enemy king to break up the white bastions". Black exploited the X-ray along the b8–h2 diagonal and won quickly after 48...g5! 49.hxg5 h4! with a decisive attack. The game concluded 50.g6 Kxg6 51.Qa6+ Kg5 52.gxh4+ Kxf4 53.Qc4+ Ke3+ 54.Kh3 Kf2+ 55.Qxb3 Nxg5+! and White resigned in light of 56.hxg5 Qh8#. The third usage is given by the American master and writer Bruce Pandolfini, who states that one usage of "X-Ray" is "a skewer defense along a rank, file, or diagonal" that "protects a friendly man through an enemy man in the middle along the same line of power". Jeremy Silman uses the term in the same way, illustrating "X-ray" with the two diagrams. In the first diagram position, White wins with the X-ray 1.Qxd8+! followed by 1...Rxd8 2.Rxd8+ (note how White's rook defended his queen through the black rook on d5) Qxd8 3.Rxd8# or 1...Qxd8 2.Rxd5 Qf8 3.Rd8 and wins. In the second diagram position, White wins a pawn with 1.Nxb7!, when White's bishop on f3 defends the white knight on b7 through Black's bishop on d5. Silman states that the X-ray "takes advantage of pieces that appear to be adequately defended but really aren't". Raymond Keene also uses the term in this way in analyzing Fischer–Bisguier, New York 1957. Discussing a possible variation that could have arisen in that game (see first diagram position), Keene writes that 28.Qxg5 (when the white queen defends against 28...Qxg2# through Black's queen on g4) "defends the mate—an 'X-ray motif', as Fischer once described it". In Euwe–Loman, Rotterdam 1923 (second diagram position), White forced mate with 17.Qh8+! Bxh8 18.Rxh8#. Neishtadt writes of 17.Qh8+, "The X-ray! The bishop at b2 attacks the square h8 'through' the enemy bishop."

Where this page comes from

The text above is adapted from “X-ray (chess)” on Wikipedia, by its contributors. We removed reference markers, infoboxes, templates and embedded media, and kept the prose sections otherwise intact — nothing here was written or rewritten by AI.

The original is published under CC BY-SA 4.0, so this section is published under the same licence. You may share and adapt it, including commercially, as long as you credit the original and keep the same licence.

Puzzle positions, ratings and move sequences on this page come from real rated games (CC0 data), not from Wikipedia; theme write-ups and difficulty guides elsewhere on this site are Chess Puzzle Print's own original work and are not covered by this licence.

Browse the local collection

24 shown from 155 matching records.

Showing 24 of 155 matching records

foundation

Puzzle 0LJAx

Rating 648 backRankMateendgamemastermatemateIn2shortxRayAttack
foundation

Puzzle 0xRIO

Rating 681 backRankMateendgamelongmatemateIn3xRayAttack
foundation

Puzzle 04hRz

Rating 687 crushingendgameshortxRayAttack
foundation

Puzzle 0phzy

Rating 730 backRankMatematemateIn2middlegameshortxRayAttack
foundation

Puzzle 0NO4h

Rating 738 backRankMateendgamematemateIn2shortxRayAttack
foundation

Puzzle 0LX0d

Rating 766 backRankMateendgamemastermatemateIn2shortxRayAttack
foundation

Puzzle 0GnPa

Rating 818 backRankMateendgamematemateIn2rookEndgameshortxRayAttack
foundation

Puzzle 07AL3

Rating 825 endgamematemateIn2shortxRayAttack
foundation

Puzzle 0DEl8

Rating 825 crushingendgameshortxRayAttack
foundation

Puzzle 05Pp0

Rating 828 backRankMateendgamematemateIn2shortxRayAttack
foundation

Puzzle 01rGp

Rating 860 backRankMateendgamematemateIn2rookEndgameshortxRayAttack
foundation

Puzzle 07PAM

Rating 870 backRankMateendgamematemateIn2shortxRayAttack
foundation

Puzzle 06Ipb

Rating 880 backRankMateendgamelongmatemateIn3xRayAttack
foundation

Puzzle 0HkvO

Rating 894 backRankMateendgamematemateIn2shortxRayAttack
foundation

Puzzle 0QPDc

Rating 896 backRankMatematemateIn2middlegameshortxRayAttack
foundation

Puzzle 08XHD

Rating 929 crushingendgamekingsideAttacklongxRayAttack
foundation

Puzzle 0B7rf

Rating 930 crushingkingsideAttackmiddlegameshortxRayAttack
foundation

Puzzle 0P9nB

Rating 931 advantageendgameshortxRayAttack
foundation

Puzzle 09T0Q

Rating 938 matemateIn2middlegamepillsburysMateshortxRayAttack
foundation

Puzzle 05adP

Rating 964 crushingendgamemastershortxRayAttack
foundation

Puzzle 069H6

Rating 968 crushingendgamelongrookEndgamexRayAttack
foundation

Puzzle 05Gv1

Rating 973 endgamekingsideAttackmatemateIn2sacrificeshortxRayAttack
foundation

Puzzle 0BiD8

Rating 984 crushingendgameshortxRayAttack
foundation

Puzzle 0KfAA

Rating 988 crushingendgameforkshortxRayAttack

Common openings for this theme

The openings this theme's puzzles most often come from, with the full Wikipedia article for each.

French Defence · 2Sicilian Defence · 2Italian Game · 2Danish Gambit · 1King's Gambit · 1Queen's Gambit Declined · 1

More puzzle themes: Advanced pawn · Attacks on f2 / f7 · Attraction · Back-rank mate · Bishop endgame tactics · Capture the defender · Clearance · Defensive move · Deflection · Discovered attack · All themes