Back to Blog
Sudoku
December 22, 2026
5 min read

How to Spot Y-Wing in Sudoku: Step-by-Step Guide

Learn how to spot Y-Wing patterns in Sudoku with this step-by-step guide. Master the technique that solves challenging puzzles through logical relationships.

Sudoku Expert

AI Summary

This guide explains the Y-Wing technique in Sudoku and shows how to spot it step by step. It covers pattern structure, elimination logic, and common errors.

AI Highlights

  • Three cells: Y-Wing uses a pivot and two wings.
  • Candidate structure: Each cell has two candidates that share a common digit.
  • Elimination rule: Remove the shared digit from cells that see both wings.
  • Works without guessing: It is a logical chain, not a trial step.
  • Use after pairs: Y-Wing is an advanced but common technique.

What Is A Y-Wing?

A Y-Wing is a three cell pattern where a pivot cell connects two wing cells. The pivot has candidates A and B. One wing has candidates A and C, the other wing has candidates B and C. This structure forces an elimination of candidate C.

How The Elimination Works

If the pivot is A, then the first wing must be C. If the pivot is B, then the second wing must be C. Either way, one of the wings becomes C. That means any cell that sees both wings cannot be C, so you can remove C from those cells.

How To Spot A Y-Wing

  1. Find a bivalue cell (two candidates) and treat it as the pivot.
  2. Look for two other bivalue cells that each share one candidate with the pivot.
  3. Make sure those two wings share a third candidate between them.
  4. Confirm the wings can see the elimination cells in common.

Mini Example

Pivot cell has candidates 2 and 8. Wing one has 2 and 5. Wing two has 8 and 5. The shared digit is 5. Any cell that sees both wing cells cannot be 5.

Common Mistakes

  • Wrong visibility: The wings must see the elimination cells.
  • Extra candidates: All three cells must be bivalue.
  • Skipping confirmation: Always verify the shared candidate.

When To Look For Y-Wing

Y-Wing appears after basic eliminations have been exhausted. If you have full candidates and no progress with pairs or line interactions, look for bivalue cells that could form a pivot.

Practice Tips

  • Use full candidates in hard puzzles.
  • Circle bivalue cells to make patterns easier to see.
  • Check each bivalue cell as a potential pivot.
  • Confirm the elimination cells see both wings.

Advanced Y-Wing Applications

Once you master basic Y-Wing, you can apply the same logic to more complex situations. For example, if you find a Y-Wing, check if the elimination creates new bivalue cells that could form additional Y-Wings. This chain reaction of Y-Wings can unlock very difficult puzzles.

You can also combine Y-Wing with other techniques. After applying a Y-Wing and removing candidates, the grid might reveal new singles, pairs, or even another Y-Wing. This combination of techniques creates powerful solving sequences that make progress when other methods stall.

In extremely hard puzzles, multiple Y-Wings can appear simultaneously. Learning to spot them quickly across the entire grid significantly improves your solving efficiency. Practice scanning for Y-Wings systematically, checking each bivalue cell as a potential pivot.

Detailed Step-by-Step Detection

Step 1: Identify Bivalue Cells

Start by scanning the grid for cells with exactly two candidates. These bivalue cells are potential pivots or wings in a Y-Wing pattern. Mark them mentally or with a light notation to make pattern recognition easier.

Step 2: Choose a Pivot

Select a bivalue cell and note its two candidates (A and B). This cell will serve as the pivot. Look for other bivalue cells that share one candidate with the pivot—one cell should have A and C, another should have B and C.

Step 3: Verify Wing Structure

Confirm that the two wing cells share the third candidate (C) between them. This shared candidate is what gets eliminated. Also verify that the wings can "see" (are in the same row, column, or box as) the cells where elimination will occur.

Step 4: Apply Eliminations

Once the Y-Wing pattern is confirmed, identify all cells that see both wing cells. These cells cannot contain candidate C, so remove C from their candidate lists. This elimination is the key value of the Y-Wing technique.

Common Mistakes and How to Avoid Them

One common mistake is incorrect visibility checking. The wings must both be able to "see" the elimination cells, meaning they must be in the same row, column, or box. If a cell does not see both wings, it cannot be eliminated, even if the Y-Wing pattern exists.

Another mistake is using cells with more than two candidates. All three cells in a Y-Wing (pivot and both wings) must be bivalue cells. If any cell has three or more candidates, it cannot be part of a valid Y-Wing pattern.

Some solvers forget to verify the shared candidate. The two wings must share a candidate (C) that is different from the pivot's candidates. Without this shared candidate, the elimination logic does not work, and the pattern is invalid.

Practice Strategies

Start by practicing Y-Wing on puzzles specifically designed to include them. Many puzzle generators and apps can create puzzles with guaranteed Y-Wing patterns. This focused practice helps you recognize the pattern quickly and builds confidence.

Use visual aids when learning. Circle or highlight bivalue cells to make them stand out, and draw lines connecting the pivot to the wings. This visual confirmation helps build pattern recognition skills that become automatic with practice.

Practice systematically by checking each bivalue cell as a potential pivot. This exhaustive approach ensures you do not miss Y-Wing patterns. As you become more experienced, you will develop an intuitive sense for which bivalue cells are likely to form Y-Wings.

Related Resources

Practice Y-Wing and other advanced techniques with our Sudoku resources.

FAQ

Q1: Is Y-Wing the same as XY-Wing?

Yes, Y-Wing and XY-Wing refer to the same pattern. Different sources use different terminology, but the technique is identical: a pivot cell with two candidates connects to two wing cells, creating an elimination of the shared candidate.

Q2: Do the wings need to be in the same box?

No, the wings can be in different units (rows, columns, or boxes) as long as they both see the elimination cells. The key requirement is visibility: both wings must be able to see the cells where the shared candidate will be eliminated.

Q3: Can Y-Wing appear in medium puzzles?

Y-Wing is more common in hard puzzles, but some medium puzzles include it. Do not expect to find Y-Wing in every medium puzzle, but be ready to use it when the pattern appears. It is a valuable technique to know for progressing beyond basic solving.

Q4: How do I know if a cell "sees" another cell?

A cell "sees" another cell if they are in the same row, column, or box. For Y-Wing eliminations, the elimination cells must see both wing cells, meaning they must share at least one unit (row, column, or box) with each wing.

Q5: Can I use Y-Wing with incomplete candidates?

It is very difficult to spot Y-Wing without complete candidate notation. The pattern requires identifying bivalue cells and their specific candidates, which is nearly impossible with partial notation. Always use full candidates when searching for Y-Wing.

Q6: What if I find multiple potential Y-Wings?

If multiple Y-Wing patterns exist, you can apply them in any order. Each Y-Wing creates eliminations that might reveal new patterns or singles. Apply them one at a time, updating candidates after each elimination, to see the full effect.

Summary

Y-Wing is an elegant advanced Sudoku technique that uses three bivalue cells to create powerful eliminations. Find a pivot with two candidates, connect two wing cells that each share one candidate with the pivot, and eliminate the shared candidate from any cell that sees both wings. This technique requires careful pattern recognition and complete candidate notation, but with practice, it becomes quick to spot and apply. Y-Wing is a valuable tool for solving challenging puzzles and demonstrates the logical elegance of advanced Sudoku techniques.

Tags

y-wingpattern recognitionstep-by-step guideadvanced techniques