Intermediate
How Does XY-Wing Differ from X-Wing, and Where Can You Remove Candidates?
Find an XY-Wing by linking the candidates in a pivot and two pincers, and compare its conditions and elimination cells with X-Wing and Skyscraper.
- Written by
- DailySudoku editorial team (Object)
- Published
- 2026-09-23
- Updated
- 2026-09-23
Similar names, different starting points
X-Wing looks for four possible positions for one number. XY-Wing looks for three cells with only two candidates each. Having Wing in the name does not mean you need to find a rectangle.
The three cells in an XY-Wing are one pivot and two pincers. Whichever number fills the pivot, at least one pincer contains their shared number, so you can remove that number from cells that see both pincers.
Conditions — three cells with two candidates each
Call the three different numbers X, Y and Z.
- The pivot's only two candidates are X and Y.
- One pincer's only two candidates are X and Z; the other's are Y and Z.
- The pivot sees both pincers. Cells see each other when they share a row, column or box.
- Another cell that sees both pincers must still have Z as a candidate for there to be anything to remove.
If the pivot is X, the first pincer is Z. If the pivot is Y, the second pincer is Z. Either way, at least one pincer is Z, so remove Z only from cells that see both pincers. Seeing the pivot is not a condition for removal.
Example — follow 4 and 5 in the pivot
- The pivot r7c1(P) has candidates 4 and 5.
- The pincer r3c1(A) has candidates 4 and 6. It shares column 1 with the pivot.
- The pincer r9c3(B) has candidates 5 and 6. It shares box 7 with the pivot.
If r7c1 is 4, r3c1 is 6; if r7c1 is 5, r9c3 is 6. r3c3 sees A through row 3 and B through column 3. r9c1 sees A through column 1 and B through row 9. So remove 6 from both cells. This leaves only 4 in r3c3 and 5 and 7 in r9c1. The diagram's lines show the relationships between the pivot and pincers; they do not mean you should remove candidates from every cell a line passes through.
Comparing Wings — what should you count?
| Technique | Conditions to look for | Where to remove candidates |
|---|---|---|
| X-Wing | One number has two possible cells in each of two rows, in the same columns. Rows and columns can be swapped. | Other cells in the two intersecting columns. For a column-based pattern, the two intersecting rows. |
| Skyscraper | One number has two possible cells in each of two rows or columns. Only the base is aligned; the tops are offset. | Cells that see both tops. |
| XY-Wing | Three cells with two candidates each: pivot X·Y and pincers X·Z, Y·Z. | Z in cells that see both pincers. |
Cells in X-Wing and Skyscraper can have several candidates for other numbers. In XY-Wing, each of the three cells must have exactly two candidates in total. Checking this difference first helps you avoid mixing up the conditions because of the names.
When you cannot use it, and common mistakes
- The pivot or a pincer has three candidates. The argument based on just two cases no longer holds.
- The pivot cannot see one of the pincers. The pivot's number cannot rule out that pincer's candidate.
- The pincers' shared number is also a candidate in the pivot. Check again that X, Y and Z are three different numbers.
- You remove a candidate from a cell that sees only one pincer. You do not yet know which pincer is Z.
- You look for exactly the shape in the diagram. The combination of boxes, rows and columns can change. Two candidates and the seeing relationships matter more than the shape.
Practice puzzle
What can you remove from r8c9? Follow each of the pivot's two cases.
Show answer
Remove 1. The pivot r5c1 has 3 and 6; the pincers r5c9 and r8c1 have 1, 6 and 1, 3, respectively. If the pivot is 3, r8c1 is 1; if the pivot is 6, r5c9 is 1. r8c9 sees r5c9 through column 9 and r8c1 through row 8, so it cannot be 1. Removing 1 from candidates 1 and 6 leaves only 6.
Further reading
The prerequisites are How to Use Sudoku Candidate Notes and Stuck on Sudoku? A 7-Step Checklist. Next, read Coloring: What Can Same-Color Conflicts and Two-Color Traps Remove?.
Prerequisites
How to Use Sudoku Candidate Notes
Learn how to note the possible numbers in each empty cell and use a Naked Pair among those candidates to find your next number on an example board.
BeginnerStuck on Sudoku? A 7-Step Checklist
Follow seven checks when you cannot find another number, and learn to scan boxes for a number instead of focusing on a cell, with an example board.