← All Sudoku guides

X-Wing in Sudoku

If a digit has exactly two possible spots in each of two rows, and those spots share the same two columns, you can erase that digit from the rest of those columns. The same pattern works with rows and columns swapped.

Worked example using two rows

71965
235179674
684775719
27751968
968273571
71698773
1957
779172
872537196
The four green squares form the rectangle. Crossed-out marks show which candidates to erase.

This grid shows the remaining pencil marks for 7 after earlier deductions. R2C5 means row 2, column 5.

  1. In row 2, the only places for 7 are R2C5 and R2C8. In row 5, the only places are R5C5 and R5C8.
  2. Both rows use the same two columns. Whichever corner takes 7 in the first row, the second row must use the opposite column.
  3. One 7 is reserved for each column, so erase it from R3C5 and R6C8.
Replay this move in the solver →

Practice using two columns

11311792
9213
141315
1123
658419213
32185619
191538
6291358
8354921
Only the pencil marks for 1 are shown. Look for two columns with matching rows.

Find two columns where 1 has exactly two places left in the same two rows. Which other squares in those rows can drop 1?

Check your answer

The corners are R1C2, R4C2, R1C4, and R4C4. They reserve one 1 in each of row 1 and row 4. Erase 1 from R1C1 and R1C5.

Replay the practice move in the solver →

How to check an X-Wing

Start with one digit and check each of the two starting lines for exactly two candidate marks. The marks must line up on the same two crossing lines. Keep the four corners and erase that digit from other cells on the crossing lines.