Melio/Guides
Sudoku·5 min read·May 24, 2026

Sudoku XYZ-wing: the trivalue pivot variant of Y-wing

The XYZ-wing extends the Y-wing pattern by allowing the pivot cell to have three candidates instead of two. The elimination logic stays similar but the “visibility” requirement gets stricter — a cell needs to see all three wing cells (pivot + both wings) for the elimination to apply. Less common than Y-wing, but real on Expert and Extreme puzzles.

The pattern

XYZ-wing has three cells sharing exactly three candidate digits, traditionally labelled x, y, z:

  • Pivot: a cell with candidates {x, y, z} (three candidates).
  • Wing 1: a cell with candidates {x, z} that sees the pivot.
  • Wing 2: a cell with candidates {y, z} that sees the pivot.

The shared digit between all three cells is z. The pivot has z, both wings have z. Wing 1 also has x (shared with pivot). Wing 2 also has y (shared with pivot).

The elimination

Whatever ends up at the pivot, it’s x, y, or z. Each scenario forces a wing to be z:

  • Pivot = x → Wing 1 (which had {x, z}) can’t be x → Wing 1 = z.
  • Pivot = y → Wing 2 (which had {y, z}) can’t be y → Wing 2 = z.
  • Pivot = z → the pivot itself is z.

In every branch, one of the three cells (pivot or wing) is z. So any cell that sees all three of pivot, Wing 1, and Wing 2 cannot be z — because one of them already is. Eliminate z as a candidate from that cell.

The visibility constraint

This is the trickier part vs. plain Y-wing. The cell you eliminate z from must see all threeof pivot, Wing 1, and Wing 2. With Y-wing the elimination only had to see the two wings (because the pivot wasn’t a candidate for z).

In practice this means the elimination cell needs to share a row, column, or 3×3 box with each of the three cells. Often the only place this works is inside the pivot’s box, where one of the wings also sits. The pattern is most productive when:

  • The pivot and one wing share a box.
  • The other wing sits in the pivot’s row or column.
  • The cells inside the pivot’s box (but outside the wing’s cell) can see the other wing through the shared row/column.

What it looks like on the grid

Worked XYZ-wing on digits {1, 4, 7}, z = 7: col 2 col 5 col 8 r3 [{1,4,7}] ← pivot {x,y,z} r3 [{1,7}] ← Wing 1 {x,z}, same row r5 [{4,7}] ← Wing 2 {y,z}, same column Any cell that sees all three of (r3,c2), (r3,c5), (r5,c2) can't be 7. The cells in the (r3,c2) box that also see (r5,c2) through the column are good candidates. → Eliminate 7 from those cells.

Vs. Y-wing (XY-wing)

  • Y-wing: pivot is bivalue {x, y}. Wings are {x, z} and {y, z}. Eliminate z from any cell seeing both wings.
  • XYZ-wing: pivot is trivalue {x, y, z}. Same wings. Eliminate z from any cell seeing pivot and both wings.

The Y-wing is easier to apply because the pivot is eliminated from the visibility requirement. XYZ-wing is rarer because the pivot constrains your elimination cells more — but it’s still useful when you have a trivalue cell with the right candidate distribution.

For completeness, there’s also a WXYZ-wing(a quadrivalent pivot variant) and other longer chains, but they’re rare in published puzzles and mostly the domain of solvers building solver software.

When to scan for it

XYZ-wing is worth checking when:

  • You’ve already tried Y-wings + the cheaper fish patterns.
  • You have a trivalue cell with candidates {x, y, z}.
  • You can spot bivalue cells with {x, z} and {y, z} that both see the trivalue.

Scanning protocol: pick a trivalue cell, list its three candidates as x, y, z. For each candidate pair, look in the same row, column, or box for a bivalue cell with that pair plus the third candidate. If you find two such bivalues — one matching {x,z} and one matching {y,z} — check the cells that see all three.

Try it now

Spot an XYZ-wing on Extreme

Start an Extreme puzzle, fill candidates fully, look for a trivalue cell that anchors two matching bivalues. Most Extreme puzzles will have at least one XYZ-wing opportunity. They’re less common on Expert.

Play Extreme →

More guides

  • Y-wing (the bivalue-pivot original) →
  • X-wing →
  • Techniques ladder →
  • Browse all strategy articles →

Keep reading

Sudoku7 min
Sudoku unique rectangle: the uniqueness-based elimination
Four cells in a rectangle across two rows, two columns, and two boxes, all sharing the same two candidates. If left alone, the puzzle would have two solutions — but a well-formed sudoku has exactly one. Use that to force an elimination.
Sudoku6 min
Sudoku naked pairs and triples: the cell-set elimination
When two cells in a unit share the same two candidates, those two digits are locked into that pair. Everywhere else in the unit can drop both digits. The most-used intermediate technique after pointing pairs.
Sudoku5 min
Sudoku skyscraper: the cousin of X-wing for short-strong patterns
The skyscraper sits between X-wing and the harder fish patterns. Two strong links on a single digit, ending in cells of different heights — and the elimination that falls out. Worked example included.
Sudoku4 min
How Melio Sudoku scoring works
Score = base × time factor × mistake factor × hint factor. Here's exactly what each one does, why the formula is shaped this way, and how to push a 1,000-point Expert solve toward 2,000.
Browse all guides →
© 2026 Melio Games. A small, carefully made games studio.
GuidesFor your siteWhat’s newRoadmapFAQFeedbackAboutPrivacyTermsSudokuPlayers