SUDOKU TECHNIQUE · Stage 4 · Fish
X-Wing
An X-Wing is when a digit's candidates in two rows sit in exactly the same two columns. That digit can then be removed from every other cell in those two columns.
- Digits to watch
- One
- Lines needed
- Two rows and two columns
- What to remove
- That digit in the rest of both columns
The X-Wing pattern
The diagram shows digit 5 only. In row 3, 5 can only go in columns 3 and 5, and row 5 is the same. Those four cells form the corners of a rectangle, and that rectangle is the X-Wing.
Why does this work?
Row 3 needs a 5, and it can only go in column 3 or column 5. Row 5 is the same. That leaves only two cases.
Either way, columns 3 and 5 each get their 5 from these two rows. A column holds only one 5, so the rest of columns 3 and 5 (R1C3, R8C3 and R7C5) cannot be 5. Remove those candidates.
How to find the X-Wing
- Pick one digit. Digits that are already placed many times have fewer candidates and are easier.
- Find a row where that digit has exactly two candidates.
- Look for another row whose candidates are in the same two columns. That is an X-Wing.
- Remove the digit from the rest of those two columns.
Rows and columns can swap. If two columns have their candidates in the same two rows, remove the digit from the rest of those rows.
Take the X-Wing lesson
Try a technique lesson from Sudoku League.
Take the Two places · strong links concept lesson first ▸
Loading
Common questions
Do the four cells have to be in the same boxes?
No. Boxes do not matter. Only the two rows and two columns do.
What if a row has three candidates?
That row cannot make an X-Wing. Three rows sharing the same three columns make a swordfish.
I found the shape but nothing to remove.
If the rest of the two columns has no candidates for that digit, the X-Wing removes nothing. Try another digit or another technique.
Related techniques
IN THE SUDOKU LEAGUE APP
Stuck? A hint shows you the X-Wing
When you are stuck, a hint draws the four X-Wing cells and the cells to clear on the board. In Technique Practice you learn the X-Wing on a real puzzle. The first board walks you through the pattern and the reason, and on the next one you find it yourself.

EVENT · SUDOKU LEAGUE PREMIUM
1 MONTH FREE
Unlimited hints · Replay · 6 themes · Lessons
Get your coupon ▸supply
