X-Wing Sudoku Technique: How to Spot It, Step by Step

An X-Wing is a pattern for one digit. In two rows, that digit can go in exactly two cells each, and those cells sit in the same two columns. The digit must then fill two opposite corners of this rectangle, so you can remove it from every other cell in those two columns. The same works with two columns and two rows swapped. An X-Wing does not place a digit by itself, but the candidates it removes often lead straight to one.
What does an X-Wing look like?
A candidate is a digit that is still allowed in a cell. Cells are named by row and column: r2c3 means row 2, column 3. The picture below follows only the digit 5.

Schematic showing only the digit 5 (placed 5s and cells where 5 is still a candidate): the X-Wing in rows 2 and 7, columns 3 and 8, removes the 5 from r1c8, r4c3, r4c8 and r5c3.
Rows 3, 6 and 9 already have their 5, so look at the other rows. In row 2, the 5 can only go in r2c3 or r2c8. In row 7, the 5 can only go in r7c3 or r7c8. Both rows use the same two columns: 3 and 8. These four cells are the corners of the X-Wing.
Now look down columns 3 and 8. Column 3 also has a candidate 5 in r4c3 and r5c3. Column 8 also has one in r1c8 and r4c8. The X-Wing removes all four of them.
Then look at row 4. Before the X-Wing, its 5 could go in r4c3, r4c8 or r4c9. Now only r4c9 is left, so you can place the 5 there.
Why is the X-Wing safe?
There are only two ways to fill the corners. If the 5 in row 2 goes in r2c3, column 3 is taken, so the 5 in row 7 must go in r7c8. If the 5 in row 2 goes in r2c8, then the 5 in row 7 must go in r7c3. The two answers are the two diagonals of the rectangle, which together look like an X.
In both cases, column 3 gets its 5 from row 2 or row 7, and so does column 8. Each column holds only one 5, so no other cell in those columns can have it. That is why r4c3, r5c3, r1c8 and r4c8 can lose their 5 without any guessing.
In Sudoku terms, the X-Wing is the smallest member of a family of patterns called "fish" (Wikipedia glossary). The bigger ones use three or four rows instead of two.
How do you find an X-Wing step by step?
An X-Wing is easy to miss when you look at all nine digits at once. Look at one digit at a time instead.
- Pick a digit, for example 5.
- Go through the rows. Note each row where that digit has exactly two possible cells, and write down their two columns.
- Look for two such rows with the same two columns. That is your rectangle.
- Remove the digit from every other cell in those two columns. Keep the four corners.
- Go back to singles. The removals often create one, as in row 4 above.
- If you find nothing, do the same with columns: two columns where the digit has exactly two cells, in the same two rows. Then remove it from the rest of those two rows.
In our game, Notes fills in the candidates for you, so your list starts complete. Notes shows what the placed digits allow, so it may still show the candidates an X-Wing has ruled out. Keep those in mind until they lead to a placed digit. On paper, simply cross them out.
Which near misses are not an X-Wing?
Most wrong X-Wings come from a quick look. Check these before you remove anything.
If one of the two rows has the digit in three cells, it is not an X-Wing. The digit could go in the third cell, and then the columns are not covered.
If the two rows use different columns, for example columns 3 and 8 in one row and columns 3 and 9 in the other, it is not an X-Wing either.
A missing candidate is the third trap. If you wrote candidates by hand and forgot one, a row can look like it has two cells when it really has three. This is one more reason to start from a complete list.
The corners do not need to be in particular boxes. In the picture, they sit in four different boxes, but that is not a rule.
What comes after the X-Wing?
The X-Wing is not the first thing to try on a hard grid. Singles, pairs and pointing pairs are simpler and come first. The X-Wing is for the moment when those stop working. The strategy for hard puzzles shows how all these steps fit together in one calm order.
Once you can spot an X-Wing, the Swordfish is the natural next step: the same idea with three rows and three columns.
The best practice is a real grid. On Hard and Expert puzzles, try one digit at a time and see whether an X-Wing appears. If it does not, that is normal: many grids are solved without one. A slow, careful search still trains your eye.
Want to try it now? Sudoku Pro has all six levels, from Easy to Evil, with Notes that fill in candidates for you. Find it on Google Play and the App Store. If you prefer the browser, open a Hard puzzle or an Expert one and look for your first X-Wing.
FAQ
- No. A Swordfish uses three rows and three columns instead of two, but the logic is the same.
- Start with a digit that is already placed many times. It has fewer candidates left, so a rectangle is easier to see.
- It is an almost X-Wing with an extra candidate, called a fin, in the same box as one corner. It still allows removals, but only in that box, so learn the basic X-Wing first.

Killer Sudoku
Sum the cages · Master the puzzle
Similar Articles
Swordfish Sudoku Technique: How to Spot It, Step by Step
The Swordfish is the X-Wing idea with three rows and three columns. One clear picture of the digit 7 shows how to find it and why it is safe.
Best Strategy for Hard Sudoku: A Calm, Step-by-Step Order
A calm, fixed order for Hard, Expert and Extreme grids: candidates, singles, pairs, pointing pairs and X-Wing, and when to pause or take a hint.
Y-Wing Sudoku Technique: How to Spot It, Step by Step
What a Y-Wing is, why it is safe without guessing, and how to find one, with one exact example where a pivot and two pincers remove a 5 and leave a single.


