← All Sudoku guides

XYZ-Wing Sudoku Technique

An XYZ-Wing has a pivot with three candidates (X, Y, Z) that sees two wings. One wing has X and Z, and the other has Y and Z. Erase Z from any square that sees the pivot and both wings.

Worked example

6767917985423
58289594293167
32741627985
164751283926
23935979465718
58168956931292757426
43636871259
952634871
17178259634
Crossed-out pencil marks show which candidates to erase.

R2C5 means row 2, column 5. The diagrams show the pencil marks for this move after earlier deductions.

  1. The pivot R5C3 has 3, 5, or 9. It sees R5C2, which has 3 or 9, and R2C3, which has 5 or 9.
  2. If R5C3 is 3, R5C2 must be 9. If R5C3 is 5, R2C3 must be 9. If R5C3 is 9, the digit is already in the pattern.
  3. R6C3 sees the pivot and both wings. Erase 9 there.
Replay this move in the solver →

Practice puzzle XYZ-01

6378374894789178251489
78145925669783
25934846781367868178148
359369356238783781426
14265978378
37367823145926
7896789671368425
42567689568318189
358381458948927896789
Use the visible pencil marks to find the pattern.

Find a pivot with three candidates that sees two cells with just two candidates each. The wings share 6. Which squares see all three cells?

Check your answer
  1. The pivot R8C6 has 5, 8, or 6. It sees R8C3, which has 5 or 6, and R7C6, which has 8 or 6.
  2. If R8C6 is 5, R8C3 must be 6. If R8C6 is 8, R7C6 must be 6. If R8C6 is 6, the digit is already in the pattern.
  3. R8C5 sees the pivot and both wings. Erase 6 there.
Replay the practice move in the solver →

Practice puzzle XYZ-02

4714731614564567982
5612129829347
8247923234247156
3256121258794
12489287249249635
494597369345694569218
6918184269269573
27945793861
67358671429
Use the visible pencil marks to find the pattern.

Find a pivot with three candidates that sees two cells with just two candidates each. The wings share 2. Which squares see all three cells?

Check your answer
  1. The pivot R2C4 has 9, 1, or 2. It sees R2C6, which has 9 or 2, and R4C4, which has 1 or 2.
  2. If R2C4 is 9, R2C6 must be 2. If R2C4 is 1, R4C4 must be 2. If R2C4 is 2, the digit is already in the pattern.
  3. R3C4 sees the pivot and both wings. Erase 2 there.
Replay the practice move in the solver →

Practice puzzle XYZ-03

2346123645245983567
234692346923694587238361356126
857162334934924
34634636295178
178634529
5292978146463
736954891468213469146
269813242674695
236923694591257369816
Use the visible pencil marks to find the pattern.

Find a pivot with three candidates that sees two cells with just two candidates each. The wings share 1. Which squares see all three cells?

Check your answer
  1. The pivot R7C9 has 4, 6, or 1. It sees R7C5, which has 4 or 1, and R9C9, which has 6 or 1.
  2. If R7C9 is 4, R7C5 must be 1. If R7C9 is 6, R9C9 must be 1. If R7C9 is 1, the digit is already in the pattern.
  3. R7C8 sees the pivot and both wings. Erase 1 there.
Replay the practice move in the solver →

A square sees another square when they share a row, column, or 3×3 box. In an XY-Wing, the pivot has two candidates and an elimination only needs to see both wings.