Back to Blog
Sudoku
December 22, 2026
5 min read

Finding Y-Wing Styles in Sudoku: Complete Guide

Master the Y-Wing technique, an advanced Sudoku strategy that uses three cells to eliminate candidates. Learn how to identify and apply Y-Wing patterns effectively.

Sudoku Expert

AI Summary

This guide teaches the Y-Wing Sudoku technique, explaining the pivot and wing structure, how to spot it, and which candidates can be eliminated.

AI Highlights

  • Pattern: Three cells form a pivot and two wings with linked candidates.
  • Elimination: Remove the shared candidate from cells that see both wings.
  • Use case: Great for hard grids when pairs and line reductions stall.

Introduction

Y-Wing is a classic advanced technique that feels tricky at first, but becomes reliable once you see the structure. It uses three cells with two candidates each, linked in a way that creates a forced elimination.

What Is a Y-Wing?

Think of a Y-Wing as a three-cell chain. One cell is the pivot, holding candidates A and B. The two wing cells each share one candidate with the pivot, like A and C, and B and C. The shared candidate C can often be eliminated from other cells that see both wings.

How to Spot a Y-Wing

Step 1: Find a pivot

Look for a cell with exactly two candidates. Label them A and B.

Step 2: Find two wings

Find two other cells that each see the pivot and have candidates A and C, and B and C. They do not need to see each other.

Step 3: Confirm the shared candidate

If both wings contain the same candidate C, you can eliminate C from any cell that sees both wings.

Worked Example

Pivot cell has candidates 2 and 7. Wing 1 has candidates 2 and 9. Wing 2 has candidates 7 and 9. The shared candidate is 9, so any cell that sees both wings cannot be 9.

Why It Works

If the pivot is 2, then wing 1 must be 9. If the pivot is 7, then wing 2 must be 9. Either way, 9 is forced into one of the wings, so no other cell seeing both wings can be 9.

Common Mistakes

  • Missing visibility: The elimination only applies to cells that see both wings.
  • Extra candidates: All three Y-Wing cells must be bi-value (exactly two candidates).
  • Wrong pivot: The pivot must see both wings. If it does not, it is not a valid Y-Wing.

Practice Tips

  • Practice on grids where candidates are marked clearly.
  • Scan boxes first to find bi-value cells.
  • Check links using rows and columns before boxes.

Related Resources

Advanced Y-Wing Applications

Once you master basic Y-Wing detection, you can apply the technique in more complex scenarios. 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 advanced 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 Method

Step 1: Identify All Bivalue Cells

Start by scanning the entire grid for cells with exactly two candidates. These bivalue cells are potential pivots or wings in Y-Wing patterns. Mark them mentally or with light notation to make pattern recognition easier. The more bivalue cells you have, the more Y-Wing opportunities exist.

Step 2: Choose a Potential 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. You need one cell with candidates A and C, and another with candidates 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. The pivot must see both wings, but the wings do not need to see each other.

Step 4: Identify Elimination Targets

Find 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. The more cells that see both wings, the more powerful the Y-Wing becomes.

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. Always verify visibility before applying eliminations.

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 with exactly two candidates. If any cell has three or more candidates, it cannot be part of a valid Y-Wing pattern. This is a strict requirement that cannot be relaxed.

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

Practice Strategies for Mastery

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 in your detection skills.

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. As you become more experienced, you will develop an intuitive sense for which bivalue cells are likely to form Y-Wings.

Practice systematically by checking each bivalue cell as a potential pivot. This exhaustive approach ensures you do not miss Y-Wing patterns. While it may seem time-consuming initially, with practice, you will learn to quickly identify promising pivot candidates and skip unlikely ones.

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. Use whichever term you prefer.

Q2: Do the wings need to see each other?

No, the wings do not need to see each other. Only the pivot must see both wings. However, the elimination cells must see both wings. This visibility requirement is crucial for the technique to work correctly.

Q3: Should I use Y-Wing before X-Wing?

It depends on the puzzle and your solving style. Many solvers look for line reductions first, then try Y-Wing or X-Wing as needed. Some prefer Y-Wing because it uses bivalue cells, which are easier to identify than the row/column patterns required for X-Wing. Try both and see which feels more natural for you.

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. The pivot must see both wings, but the wings do not need to see each other.

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 patterns.

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. Sometimes one Y-Wing makes another invalid, so apply them sequentially rather than simultaneously.

Summary

Y-Wing is a powerful three-cell pattern that removes a shared candidate with clean logic. Once you learn the pivot and wing structure, it becomes a reliable tool for hard Sudoku puzzles. The technique requires careful pattern recognition, complete candidate notation, and accurate visibility checking, but with practice, it becomes quick to spot and apply. Y-Wing is particularly valuable because it uses bivalue cells, which are common in hard puzzles, making it a frequently applicable advanced technique. Master Y-Wing, and you will find yourself solving puzzles that previously seemed impossible, demonstrating the elegant logic that makes Sudoku so satisfying.

Tags

y-wingadvanced techniquespattern recognitionsudoku strategies