Extreme

XY-Wing

A pivot cell with two candidates connects to two wing cells. The digit shared by both wings is eliminated from cells seeing both.

Also known as: Y-Wing

473692191548762861973451492578247619791483528931764347192691724538388
XY-Wing
In short

If a cell with two candidates, say 3 and 8 (the pivot), sees one cell showing 3 and 5 and another showing 8 and 5 (the wings), then every 5 that sees both wings can be eliminated.

What Is It?

An XY-Wing (also called a Y-Wing) is three cells with two candidates each. The middle one, the pivot, shows X and Y. It sees two wings: one showing X and Z, the other Y and Z.

Take the example below. The pivot R4C4 shows 3 and 8, the wing R5C6 shows 3 and 5, and the wing R8C4 shows 8 and 5. If the pivot is 3, R5C6 can't be 3, so it is the 5. If the pivot is 8, R8C4 can't be 8, so it is the 5. Either way one of the wings is a 5, so every 5 that sees both wings can be eliminated.

The wings don't need to see each other. Only the cells that see both of them matter.

How It Works

  1. Find a cell with two candidates, X and Y: the pivot.
  2. Find two cells it sees, also with two candidates each: one showing X and Z, the other Y and Z. These are the wings.
  3. Eliminate Z from every cell that sees both wings.

Worked Example

Step 1: The pivot R4C4 shows 3 and 8. It sees the wing R5C6 (box 5), which shows 3 and 5, and the wing R8C4 (column 4), which shows 8 and 5.

47369219154876286197345149257824761979148352893176434719269172453838355825568

XY-Wing: pivot R4C4 has {3,8}, wings R5C6 has {3,5} and R8C4 has {5,8}.

Step 2: If R4C4 is 3, R5C6 is the 5. If R4C4 is 8, R8C4 is the 5. Either way one of the wings is a 5.

47369219154876286197345149257824761979148352893176434719269172453838268

The teal pivot must be 3 or 8. Either way, one of the green wings is forced to 5. Cells seeing BOTH green wings (red) cannot also contain 5.

Step 3: Eliminate the 5s that see both wings: R6C4 (column 4 with R8C4, box 5 with R5C6) and R8C6 (row 8 with R8C4, column 6 with R5C6).

47369219154876286197345149257824761979148352893176434719269172453838268

Eliminated 5 from R6C4, R8C6.

XY-Wing in a Real Puzzle

A puzzle from our Extreme pool, at the moment it needs an XY-Wing. Next Step, the game’s hint, tries every easier technique first, and none of them works here.

Without an XY-Wing, no technique up to Extreme finishes this puzzle. After it, singles finish the puzzle. Step through it below: the board lights what each step talks about.

XY-Wing: pivot R2C3

Extreme puzzle · XY-Wing

This is the board after 28 digits have been placed. Next Step tries every easier technique first, and none of them works here.

Step 1 of 4Step 2 of 4Step 3 of 4Step 4 of 4

So whichever digit the pivot R2C3 takes, one wing is a 6, and every 6 that sees both wings is eliminated: 2 cells. Play it from the start and spot it yourself.

Puzzle key qQwOQOPM Play this puzzle

Looks Like an XY-Wing, but Isn’t

Three cells with the right candidates are easy to see and easy to get wrong. On the same board as above, three cells have the shape but are not an XY-Wing. Step through it to see why.

Looks like an XY-Wing

Extreme puzzle · not an XY-Wing

R3C1 shows 5 and 7, like a pivot. R7C1 (column 1) shows 5 and 8, and R5C2 shows 7 and 8. It looks like an XY-Wing.

Step 1 of 3Step 2 of 3Step 3 of 3

The rule to remember: both wings must see the pivot, each sharing a row, column or box with it.

Puzzle key qQwOQOPM Play this puzzle

Practice on 3 Real Puzzles

Extreme puzzles from our pool, easiest first. On the way through each one, Next Step comes to one XY-Wing, and every other step is easier. Find it yourself, and open the hint only if you are stuck.

Puzzle 1

Extreme · 28 clues
Puzzle key PWMKWTrE
Play this puzzle

Puzzle 2

Extreme · 25 clues
Puzzle key HnR0GpWW
Play this puzzle

Puzzle 3

Extreme · 25 clues
Puzzle key fWUPFXKi
Play this puzzle

Frequently Asked Questions

How do I find an XY-Wing?

Start from cells with exactly two candidates. Pick one as the pivot, then list the other two-candidate cells it sees. You need two of them that each borrow a different digit from the pivot and share a third digit with each other. That third digit, Z, is the one you get to eliminate.

Do the eliminations include cells that see the pivot?

No. Only cells that see both wings lose the digit Z. The pivot's job is finished once it has forced the wings — its own position is irrelevant to the elimination, and Z is not even a candidate in the pivot. A cell that sees the pivot and one wing is not enough.

What is the difference between an XY-Wing, an XYZ-Wing and a W-Wing?

All three guarantee one digit somewhere in a small group of cells, but the machinery differs. An XY-Wing uses three two-candidate cells: a pivot plus two wings. An XYZ-Wing has a three-candidate pivot, so eliminations apply only to cells seeing all three. A W-Wing joins two cells with identical candidates by a strong link instead of a pivot.

Why is an XY-Wing also called a Y-Wing?

They are the same technique under two names. Y-Wing is the alternative label you will meet in books and solvers; XY-Wing describes the shape more literally, naming the pivot's two candidates X and Y and the digit Z that both wings share. If a solver reports a Y-Wing, look for the same three two-candidate cells.

Do the two wings need to see each other?

No. Each wing must share a row, column or box with the pivot, but the wings need not share a row, column or box with each other. What matters is that some other cell can see both wings, because that is where digit Z is eliminated. Wings sitting in different boxes are normal.

Do all three cells really need exactly two candidates?

Yes. If any of the three carries a third candidate, the pattern is not an XY-Wing. The deduction depends on a wing being forced to Z the moment it loses the digit it shares with the pivot. Where the pivot has a third candidate you may instead have an XYZ-Wing, whose elimination zone is much smaller.

Key Points to Remember

  • The pivot has candidates {X, Y}. One wing has {X, Z}, the other has {Y, Z}. The digit Z is eliminated.
  • Each wing must share a row, column or box with the pivot, but the two wings do not need to share a row, column or box with each other.
  • Eliminations apply to cells that see both wings, not the pivot.
  • All three cells must be bivalue (exactly two candidates). If any has more, it's not an XY-Wing.

Related Techniques

Learn first:
Learn next:

XY-Wing in Sudoku Variants

The same idea, taught on real puzzles of each variant, where the variant's own rule can be what makes the move.

XY-Wing in Sudoku XXY-Wing in JigsawXY-Wing in ThermoXY-Wing in WindokuXY-Wing in Arrow

In Our 160,000+ Puzzles

Our solver graded every puzzle on this site. This is how many puzzles at each level it used XY-Wing in.

Easy
0%0 of 30,025 Easy puzzles
Medium
0%0 of 40,115 Medium puzzles
Hard
0%0 of 70,223 Hard puzzles
Extreme
38%3,854 of 10,089 Extreme puzzles
Diabolical
36%3,594 of 10,112 Diabolical puzzles

First used at Extreme, in 38% of Extreme puzzles.

In an Extreme puzzle that uses it, it comes up about 1.2 times.

The best way to master XY-Wing is to practice spotting it in real puzzles.

© 2026 Sudoku Challenge | sudokuchallenge.com

All Sudoku Techniques

Explore all 28 solving techniques in our complete technique guide.

Naked Single Hidden Single Locked Candidates Naked Pair Hidden Pair Naked Triple Hidden Triple Naked Quad Hidden Quad BUG+1 Unique Rectangle X-Wing Skyscraper Two-String Kite Empty Rectangle Simple Coloring Swordfish W-Wing X-Cycles XY-Chain XYZ-Wing WXYZ-Wing Finned X-Wing Finned Swordfish Jellyfish ALS-XZ Remote Pairs