← All techniques

XY-Wing

An XY-Wing is three bivalue cells: a pivot with candidates {x, y} and two wing cells that share a third digit z with the pivot ({x, z} and {y, z}). Whichever value the pivot takes, z is eliminated from the cells the wings share.

The pattern on a real board

Small digits inside empty cells are the candidates remaining after row, column and box (and cage) constraints. The highlighted cells are the pattern's focus.

46791
91234
3479658
2367941
6537842
487
462751983
367425
5423167

How to spot it

XY-Wings are among the most reliable advanced patterns because they need no scanning grid — just three cells. If the pivot is {2, 3}, one wing is {2, 7} and the other {3, 7}, then 7 cannot appear in any cell touching both wings. The in-game Hint names the pivot, both wings and the digit it removes.

Practise this technique

Every board below is a real puzzle whose logical solution requires this technique: