Skip to content
LoveToCalc

X-wing

If a digit fits in only two cells in each of two rows, in the same two columns, it is used up in both columns. The first pattern at hard level.

An X-wing is about a single digit. Look for two rows where the digit fits in only two cells each, and where those cells stand in the same two columns. The four cells then form a rectangle. The digit must land in two opposite corners of it, because each row needs it once and no column may have it twice. Which pair of corners you do not know, but either way both columns get their copy of the digit inside the rectangle. The digit can be crossed out in every other cell of those columns.

An example

Row 6 and row 8: the digit 2 fits only in column 4 and column 8. The 2 is crossed out in row 5, column 4, and row 7, column 8.53891869142146813687134268751413949148973146956822389153474861341826792693679285897652984932491973526124682684861427389275852469679161673
Row 6 and row 8: the digit 2 fits only in column 4 and column 8. The 2 is crossed out in row 5, column 4, and row 7, column 8.
  • Outlined cells: the pattern
  • Shaded: the rows, columns and boxes it works in
  • Struck-through digit: eliminated

In row 6, 2 can only go in column 4 or column 8, and the same in row 8. Either row 6 gets its 2 in column 4 and row 8 in column 8, or the other way round. In both cases columns 4 and 8 have their 2. It cannot go anywhere else in those columns, so it is crossed out in row 5, column 4 and in row 7, column 8.

The same board after the step: the candidate 2 is gone from the two cells.538918691421468136871342687514139491489731469568223891534748613418679269367928589765298493249197352612468684861427389275852469679161673
The same board after the step: the candidate 2 is gone from the two cells.
  • Outlined cells: the pattern
  • Shaded: the rows, columns and boxes it works in

Rows and columns swapped

Column 3 and column 9: the digit 7 fits only in row 1 and row 7. The 7 is crossed out in the rows' other cells.4593782356256912797915924745757938637861232927954271484614683689495564824792787813931485146786786784728437237927156796129375785784237183712536796784279237918
Column 3 and column 9: the digit 7 fits only in row 1 and row 7. The 7 is crossed out in the rows’ other cells.
  • Outlined cells: the pattern
  • Shaded: the rows, columns and boxes it works in
  • Struck-through digit: eliminated

The pattern works just as well vertically. In columns 3 and 9, 7 can only go in row 1 and row 7. Then rows 1 and 7 have their 7 inside the rectangle, and the 7 is crossed out in row 1, column 8 and in row 7, columns 4 and 5.

How to find an X-wing

Take one digit at a time. Go through the rows and note those where the digit has exactly two possible cells. If two such rows have their cells in the same columns, that is an X-wing. Then do the same with the columns.

A puzzle that needs an X-wing is hard. The same idea over three rows and three columns is called a swordfish.

See also

More articles

Updated December 3, 2026