Advanced

X-Wing

A rectangle of four candidate cells for one digit that eliminates that digit from two crossing lines.

The X-Wing is the gateway to advanced solving. Look at a single digit across two rows: if in both rows the digit can go in only the same two columns, those four cells form a rectangle. The digit must occupy opposite corners of the rectangle, which lets you eliminate it from the rest of those two columns.

The same pattern works with the roles of rows and columns swapped.

How to spot it

Choose a digit. Find two rows in which the digit has exactly two candidate cells, and those candidates share the same two columns. Whichever diagonal the digit takes, both of those columns are covered — so remove the digit from those two columns in every other row.

  • One digit, two rows with only two candidate cells each.
  • The candidate columns match across both rows.
  • Eliminate the digit elsewhere in those two columns.
The X-Wing in motion: the corners lock the digit, and the rest of those two columns clears.

Rows or columns

An X-Wing can be defined on rows (eliminating along columns) or on columns (eliminating along rows). Scan both orientations when hunting for it.

Worked example

  1. For digit 6, row 2 allows 6 only in columns 3 and 7.
  2. Row 8 also allows 6 only in columns 3 and 7.
  3. These four cells form an X-Wing rectangle.
  4. Whatever the layout, columns 3 and 7 get their 6 from rows 2 and 8.
  5. Remove 6 from columns 3 and 7 in all other rows.

Try it yourself

8
6
7
9
4
3
5
2
4
8
2
9
1
5
6
6
8
5
1
5
4
1
7

Tap a cell, then a number, to practise.

Frequently asked questions

Why is it called X-Wing?
Because the two valid placements lie on a diagonal across the rectangle, forming an X of mutually exclusive options.
What comes after X-Wing?
Swordfish (3×3) and Jellyfish (4×4) generalise the same fish pattern to more lines.

Related techniques

Practice: X-Wing

Put the X-Wing to work on a live board — free puzzles with notes, hints and four difficulty levels.

Try it on a live board

We use Google Analytics to understand how people use the site. No tracking cookies are set unless you accept. Read our analytics cookie policy.