If a cell with three candidates, say 1, 3 and 8 (the pivot), sees one cell showing 1 and 3 and another showing 1 and 8 (the wings), then every 1 that sees the pivot and both wings can be eliminated.
What Is It?
An XYZ-Wing is an XY-Wing whose pivot has three candidates instead of two. The pivot shows X, Y and Z; one wing shows X and Z, the other Y and Z.
Take the example. The pivot R3C3 shows 1, 3 and 8, the wing R2C1 shows 1 and 3, and the wing R3C4 shows 1 and 8. If the pivot is 3, R2C1 is the 1. If it is 8, R3C4 is the 1. If it is 1, the pivot has it. One of the three cells is always the 1.
Because the pivot can be the 1 too, it can be eliminated only from cells that see all three. That is usually a cell in the box the pivot shares with one wing.
How It Works
- Find a cell with three candidates, X, Y and Z: the pivot.
- Find two cells it sees with two candidates each: one showing X and Z, the other Y and Z.
- Eliminate Z from every cell that sees the pivot and both wings.
Worked Examples
Example 1: XYZ-Wing
Step 1: The pivot R3C3 shows 1, 3 and 8. It sees the wing R2C1 (box 1), which shows 1 and 3, and the wing R3C4 (row 3), which shows 1 and 8.
XYZ-Wing: pivot R3C3 has {1, 3, 8}. Wing R2C1 has {1, 3}. Wing R3C4 has {1, 8}. The shared digit is 1.
Step 2: Whatever the pivot turns out to be, one of the three cells is the 1. R3C1 and R3C2 see all three: R3C3 and R3C4 by row 3, R2C1 and R3C3 by box 1.
Teal pivot R3C3 has {1,3,8}. Green wings R2C1 and R3C4 are bivalue. Digit 1 must end up in pivot or one of the wings — so any cell seeing ALL THREE (red R3C1, R3C2) cannot also be 1.
Step 3: Eliminate the 1 from R3C1 and R3C2.
Digit 1 eliminated from R3C1 and R3C2.
XYZ-Wing in a Real Puzzle
A puzzle from our Diabolical pool, at the moment it needs an XYZ-Wing. No easier technique works here, and Next Step, the game’s hint, shows this XYZ-Wing.
After it, singles finish the puzzle. Step through it below: the board lights what each step talks about.
XYZ-Wing: pivot R9C1
This is the board after 16 digits have been placed. No easier technique works here, and Next Step shows this XYZ-Wing.
So whichever digit the pivot R9C1 takes, one of the three cells is a 2, and every 2 that sees all three is eliminated: 2 cells in one step. Play it from the start and spot it yourself.
Looks Like an XYZ-Wing, but Isn’t
Three cells with the right candidates are easy to see, and the cells to clear are easy to get wrong. On the same board as above, three other cells have the shape, but the move that looks right is not an XYZ-Wing. Step through it to see why.
Looks like an XYZ-Wing
R1C1 shows 3, 6 and 9, like a pivot. It sees R2C1 (column 1), which shows 6 and 9, and R2C2 (box 1), which shows 3 and 6. R2C5 and R2C9 see both of those cells and can be 6. It looks like an XYZ-Wing that eliminates the 6 from them.
The rule to remember: the pivot can be the shared digit too, so eliminate it only from cells that see the pivot and both wings.
Practice on 3 Real Puzzles
Diabolical puzzles from our pool, easiest first. On the way through each one, Next Step comes to one XYZ-Wing, and every other step is easier. Find it yourself, and open the hint only if you are stuck.
Frequently Asked Questions
What is the difference between an XY-Wing and an XYZ-Wing?
The pivot. An XY-Wing has a two-candidate pivot that does not contain Z, so eliminations reach any cell seeing both wings. An XYZ-Wing has a three-candidate pivot that does contain Z, so eliminations are limited to cells seeing the pivot as well as both wings — a much smaller zone.
Why doesn't an XYZ-Wing eliminate from cells that see only the two wings?
Because Z is also a candidate in the pivot. If Z ends up in the pivot itself, a cell that sees only the wings is unaffected, so the elimination would be unsound. Only cells seeing all three pattern cells are covered no matter which of the three actually takes Z.
How do I spot an XYZ-Wing on the board?
Start from cells with exactly three candidates, since those are the only possible pivots. For each one, look among the cells it sees for two two-candidate cells whose digits are both drawn from the pivot's three and which share exactly one digit with each other. That shared digit is Z.
Do the two wings of an XYZ-Wing have to see each other?
No. Each wing must see the pivot, sharing a row, column or box with it, but the wings need not see one another — in the worked example R2C1 and R3C4 share no row, column or box at all. Eliminations still require a cell that sees all three, because Z is a candidate in the pivot as well.
Where do XYZ-Wing eliminations usually occur?
Most often inside the box shared by the pivot and one wing. Because the target must see all three pattern cells, the practical case is a pivot and wing sitting in the same box, with the target in that box while also lining up with the second wing by row or column.
How does an XYZ-Wing relate to a WXYZ-Wing?
A WXYZ-Wing is the next size up in the same family: four cells whose combined candidates cover exactly four digits, with one non-restricted common digit as the elimination target. XY-Wing, XYZ-Wing and WXYZ-Wing form a progression, and each step widens the pattern while making it harder to find.
Key Points to Remember
- Pivot has 3 candidates {X, Y, Z}. Wings have {X, Z} and {Y, Z}. The common digit Z is the elimination target.
- Eliminations ONLY from cells seeing ALL three pattern cells (pivot + both wings).
- More restrictive than XY-Wing because Z is also in the pivot, not just the wings.
- Most useful when the pivot and one wing share a box, placing the target in that overlapping area.
In Our 160,000+ Puzzles
Our solver graded every puzzle on this site. This is how many puzzles at each level it used XYZ-Wing in.
First used at Diabolical, in 19% of Diabolical puzzles.
In a Diabolical puzzle that uses it, it comes up about 1.1 times.
The best way to master XYZ-Wing is to practice spotting it in real puzzles.