AdvancedFish patterns

X-Wing

Two matching lines give one digit exactly the same two possible homes. That rectangle removes the digit from the rest of those crossing lines.

What it is

First check the complete, up-to-date candidates for one digit. If two different rows each have exactly two possible places for it, and those places lie in the same two columns, the four cells form a rectangle. Each source row needs the digit once. Both digits cannot go in the same column, because a column can contain the digit only once. So each of the two columns receives the digit from the rectangle, and you can remove that candidate from its other cells. With two source columns, reverse the roles: remove the candidate from the other cells of the two crossing rows. The corner cells may contain other candidates; an X-Wing itself does not place a digit.

How to spot it

Choose one digit and scan its small notes. Keep only rows or columns where it has two homes. When two of them point to the same two crossing lines, pause: you have an X-Wing. Then clear the digit only from other cells on those crossing lines. You do not place a digit with the X-Wing itself.

Worked example

One question per step: choose 6, find two matching source lines, then clear the other notes on their cross-lines.

Step 1 of 4: Follow the 6

Ignore the other small notes. This lesson only asks where 6 can still go.

Why it matters

This is the first pattern that lets you connect distant parts of the grid with one calm argument. It is easier to learn when you ask one question at a time: which digit, which two matching lines, and which outside notes can now go.

Practise now

Recognise and apply the technique in a matching practice position.

Practise now

Frequently asked questions

Why is it called an X-Wing?

Because the two valid placements form the diagonals of a rectangle, which trace an X. Only one diagonal is correct, but both cover the same two columns — which is what makes the elimination safe.

Do the four cells have to be in the same boxes?

No. The rectangle can span any two rows and any two columns anywhere on the board. Box boundaries are irrelevant to the pattern.

Where exactly can I remove the digit?

If you found the pattern in two rows, remove the digit from the two columns everywhere except the four rectangle cells. If you found it in two columns, remove it along the two rows instead.

What if a source row or column has three candidate cells?

Then you cannot use that line as a source line for this X-Wing. The chosen digit must have exactly two possible places in each of the two source lines, on the same two crossing lines. The crossing lines may have further candidates for the digit: those are exactly the candidates removed outside the rectangle. So a row with three candidate cells does not rule out an X-Wing based on two source columns.

Put it to use

Where you will meet it

Use your candidate notes to look for this pattern in a hard grid. The linked exercise offers a matching practice position.

Play Hard

Stuck on a grid of your own?

Enter the position in the solver. It explains the safe steps it finds with supported techniques and stops if it cannot prove further progress. It may not use this particular technique.

Open the solver

Prefer paper? Ready-made Hard sets as a PDF.Print puzzles

Finished reading? Mark it done and the learning path remembers where you got to.

Related techniques