Y-Wing Sudoku: How to Spot and Use It with Examples
Table of Contents
- What is Y-Wing Sudoku and why does it work?
- How to spot a Y-Wing Sudoku pattern step-by-step
- Worked example 1: classic hinge and pincers in one box
- Worked example 2: pincers in different units
- Why Y-Wing Sudoku beats guessing for intermediate solvers
- Y-Wing vs similar techniques: strengths, limits, and use cases
- The underlying logic: strong link and weak link framing
- Expert insight: how to avoid false positives
- Common mistakes and how to proof-check your deduction
- In practice: a repeatable routine I use on real puzzles
- Advanced variations: beyond the basic Y-Wing Sudoku pattern
- Training plan: build the habit fast
- When not to use Y-Wing Sudoku (and what to do instead)
- Quality checklist before you commit an elimination
- Why this works consistently: logic over luck
- Key Takeaways
Concise answer first Y-Wing Sudoku (often called XY-Wing) is a three-cell pattern that eliminates a candidate from cells seeing both "pincer" cells. Find a hinge with two candidates XY, and two pincers XZ and YZ that each see the hinge; then remove Z from any cell that sees both pincers. It’s a fast, non-guess deduction that cracks many medium and hard puzzles.
Introduction: why this technique matters Y-Wing Sudoku turns stalled grids into solvable paths without trial-and-error. In coaching intermediate solvers, I’ve seen it unlock chains of progress that simpler singles and pairs miss. Once you can spot the hinge-and-pincers shape, eliminations become obvious and reliable.
What is Y-Wing Sudoku and why does it work?
Y-Wing Sudoku (aka XY-Wing) is a pattern of three bivalue cells forming candidates XY (hinge), XZ (pincer), and YZ (pincer). The pincers both include Z; the hinge shares X with one pincer and Y with the other.
-
Structure
- Hinge: a bivalue cell with candidates X and Y (XY)
- Pincer A: shares X with hinge; candidates XZ
- Pincer B: shares Y with hinge; candidates YZ
- Visibility rules: both pincers must see the hinge; the pincers do not need to see each other
-
Logic
- If the hinge resolves to X, then Pincer B must be Z.
- If the hinge resolves to Y, then Pincer A must be Z.
- Therefore, Z must occupy one of the pincers. Any cell that sees both pincers cannot be Z.
According to the overview of systematic strategies in the Wikipedia entry on Sudoku solving algorithms, Y-Wing is an intermediate technique that builds on candidate interaction and visibility. Mainstream popularity of Sudoku ensures these patterns appear broadly, as evidenced by its daily presence in outlets like The New York Times. Research into algorithmic solving paths (e.g., constraint reasoning and exact cover) shows that structured deductions reduce branching compared with naive guessing; see ongoing work cataloged on arXiv.
How to spot a Y-Wing Sudoku pattern step-by-step
Use this repeatable scan to find Y-Wings quickly:
- Mark candidates early
- After basic singles, note all bivalue cells. Y-Wings depend on bivalue nodes.
- Highlight cells with two candidates; they are potential hinges or pincers.
- Choose a hinge candidate pair
- Pick a bivalue cell XY as a hinge candidate.
- Focus on peers (same row, column, or box) that share exactly one candidate with the hinge.
- Identify the two pincers
- Find one peer with candidates XZ that sees the hinge.
- Find a different peer with candidates YZ that also sees the hinge.
- Verify both pincers include the same third candidate Z.
- Confirm visibility to a target
- Locate cells that see both pincers (intersection of their peer sets).
- Any such cell cannot contain Z; eliminate Z from those targets.
- Logically verify before eliminating
- Pincers do not have to see each other.
- All three cells should be bivalue for a classic Y-Wing (XY, XZ, YZ).
- The only value you eliminate is Z, in cells that see both pincers.
Pro tip: Pre-scan rows and columns with many bivalue cells. Hinge-and-pincer shapes cluster in dense candidate regions.
Worked example 1: classic hinge and pincers in one box
Scenario (coordinates by row r and column c):
- r4c5 (hinge) has {2,7}
- r4c8 (pincer A) has {2,9}
- r6c5 (pincer B) has {7,9}
Check visibility:
- r4c8 sees r4c5 (same row)
- r6c5 sees r4c5 (same column)
- Both pincers share Z=9
Logic:
- If r4c5=2, then r6c5=9.
- If r4c5=7, then r4c8=9.
- Therefore, 9 must be in r4c8 or r6c5.
- Any cell that sees both r4c8 and r6c5 cannot be 9. For example, r4c5’s box intersection or a cell like r6c8 (if it sees both) loses 9.
Result: Remove 9 from every cell that is a peer of both r4c8 and r6c5. Often this triggers a follow-up single.
Worked example 2: pincers in different units
Scenario:
- r2c3 (hinge) has {1,6}
- r2c7 (pincer A) has {1,8}
- r7c3 (pincer B) has {6,8}
Check visibility:
- r2c7 sees r2c3 (same row)
- r7c3 sees r2c3 (same column)
- Pincers both include Z=8
Elimination:
- Any cell that sees both r2c7 and r7c3 cannot be 8.
- The intersection is the box or the single cell r7c7 if it shares visibility through both units (verify on your grid). Remove 8 from those cells.
Key check: The pincers do not need to see each other, only the hinge. The eliminated candidate is the shared third value Z.
Why Y-Wing Sudoku beats guessing for intermediate solvers
Y-Wing provides deterministic progress where singles, pairs, and locked candidates stall. It’s particularly effective on medium/hard puzzles that plant multiple bivalue cells in shared units.
-
Benefits
- Guarantees a correct elimination without branching
- Works even when pincers are in separate units
- Chains naturally into follow-up singles and pairs
-
When to prefer it
- After you’ve cleared hidden/ naked pairs and box-line interactions
- In grids with many bivalue cells
- Before attempting fish patterns like X-Wing/Swordfish, which require broader scanning
If you’re new to structured notation and candidate marking, start with this primer on fundamentals: How to play Sudoku for beginners. It sets up the habits that make Y-Wing immediate.
Y-Wing vs similar techniques: strengths, limits, and use cases
Several mid-game strategies look alike. Here’s how they compare.
How does Y-Wing differ from XYZ-Wing and X-Wing?
- Y-Wing (XY-Wing): three bivalue cells (XY, XZ, YZ). Eliminates Z from cells seeing both pincers.
- XYZ-Wing: hinge has three candidates (XYZ) and sits in the same box as both pincers. Eliminates Z from cells that see all three, often within the hinge’s box.
- X-Wing: a fish pattern across two rows and two columns for a single digit, unrelated to hinge/pincer logic.
Comparison table
| Technique | Core pattern | Typical elimination | Difficulty |
|---|---|---|---|
| Y-Wing (XY-Wing) | Three bivalue cells: XY hinge, XZ and YZ pincers | Remove Z from cells seeing both pincers | Intermediate |
| XYZ-Wing | Hinge with XYZ in same box as both pincers | Remove Z from cells seeing all three (often in hinge’s box) | Upper-intermediate |
| X-Wing | Two rows x two columns for one digit | Constrain digit to two spots; eliminate elsewhere in rows/columns | Intermediate-advanced |
Practical guidance
- Prefer Y-Wing when you see many bivalue cells and local hinge candidates.
- Consider XYZ-Wing when a strong tri-value hinge sits with two pincers in one box.
- Use X-Wing when a digit repeats twice in two rows/columns aligned in a rectangle.
The underlying logic: strong link and weak link framing
Another way to see Y-Wing uses link theory:
- A strong link connects two candidates of the same digit in a unit (if one is false, the other is true).
- A weak link connects candidates that cannot both be true in the same cell or unit.
- The Y-Wing hinge forms alternating strong/weak inferences that force Z into one pincer.
Understanding strong link and weak link behavior makes it easier to generalize to chains and advanced nets. These ideas align with constraint-based reasoning cataloged in academic resources like arXiv.
Expert insight: how to avoid false positives
As Elena Park, Sudoku coach at Logic Grid Labs, explains: "Most Y-Wing mistakes come from misreading visibility. Before eliminating, I trace the peer sets of both pincers and highlight only the true intersection. If that overlap is empty, there is no valid Y-Wing elimination."
Common mistakes and how to proof-check your deduction
-
Mis-labeled candidates
- Ensure each cell in the pattern is genuinely bivalue (for classic Y-Wing).
- Re-scan recent eliminations; stale pencil marks cause false links.
-
Pincers that don’t share the same Z
- If pincers don’t share Z, no elimination is possible.
-
Target cells that don’t see both pincers
- Only eliminate Z from cells that are peers of both pincers.
-
Requiring pincers to see each other
- Not necessary. Each pincer must see the hinge; that’s it.
In practice: a repeatable routine I use on real puzzles
When a grid stalls after singles, pairs, and box-line reductions, I:
- Circle all bivalue cells.
- For each candidate pair XY, search the row/column/box for XZ and YZ peers.
- As soon as I find both pincers, I draw the visibility overlap and list all cells seeing both.
- I eliminate Z in that overlap, then immediately rescan for new singles.
This routine adds 30–60 seconds per scan but often pays off with 1–3 guaranteed eliminations. Those, in turn, unlock additional line-box interactions and hidden singles.
Advanced variations: beyond the basic Y-Wing Sudoku pattern
If you’re comfortable with the hinge-and-pincers shape, try these related ideas:
- XYZ-Wing: tri-value hinge (XYZ) with both pincers in the same box.
- W-Wing: two identical bivalue cells linked by a strong link on one candidate.
- ALS-XY-Wing: replaces bivalue cells with Almost Locked Sets for broader coverage.
- Chains/Nets: extend strong/weak inferences into longer alternating chains for eliminations.
Studying structured strategies helps you solve with less guesswork. A good foundation in basics plus these mid-game tools composes a powerful toolkit; see the general background on Sudoku’s rules and scope at Wikipedia’s Sudoku page for context on variants and logic families.
Training plan: build the habit fast
- Warm-up: 5 minutes of bivalue spotting on an empty grid with candidates pre-filled.
- Drill: Try 2–3 medium puzzles focusing only on Y-Wing opportunities.
- Post-mortem: After finishing, annotate where a Y-Wing was available earlier.
- Mix: Alternate with fish drills (X-Wing) to diversify scanning patterns.
To practice on demand, open a fresh grid and track your deductions with notes. You can play Sudoku online with multiple types and levels to create a consistent training loop.
When not to use Y-Wing Sudoku (and what to do instead)
- Sparse candidates: If the grid has few bivalue cells, prioritize hidden singles, naked/hidden pairs, and pointing/claiming.
- Deep fish available: If rows/columns show a clean two-per-row alignment for a digit, jump to X-Wing.
- Time pressure: If you cannot verify visibility cleanly, pause and return after simpler passes.
Quality checklist before you commit an elimination
- Are all three cells correct and current (XY, XZ, YZ)?
- Do both pincers see the hinge?
- Do the pincers share the same candidate Z?
- Have you listed all cells that see both pincers, and only removed Z there?
If all checks pass, your deduction is sound.
Why this works consistently: logic over luck
Y-Wing Sudoku relies on forced consequences. The hinge can take only X or Y; either choice forces Z into a pincer, which forbids Z in any cell seeing both pincers. That certainty is why XY-Wing is respected among intermediate sudoku techniques and is taught across logic curricula at major outlets, including educational institutions like Stanford that showcase algorithmic thinking across puzzles and constraint problems.
Key Takeaways
- Y-Wing Sudoku (XY-Wing) uses a hinge XY and two pincers XZ and YZ to eliminate Z from cells that see both pincers.
- The pincers must both see the hinge and share the same Z; they do not need to see each other.
- Look for Y-Wings after clearing singles, pairs, and basic box-line moves; focus on bivalue-rich regions.
- Verify visibility carefully; eliminate only Z from cells that are peers of both pincers.
- Practice with deliberate scans and compare Y-Wing to XYZ-Wing and X-Wing to choose the right tool for the pattern.
For a fundamentals refresher, see our beginner’s guide to Sudoku. To drill these patterns now, start a free online puzzle.
FAQ
- It’s a three-cell pattern with a hinge XY and two pincers XZ and YZ. Because Z must be in one pincer, you eliminate Z from any cell seeing both pincers.
- Confirm the three cells are bivalue, both pincers see the hinge, the pincers share the same Z, and your target cells see both pincers.
- No. They only need to see the hinge. The elimination applies to cells that see both pincers, not necessarily to the pincers themselves.
- Y-Wing uses three bivalue cells. XYZ-Wing has a tri-value hinge with both pincers in the same box, eliminating Z from cells that see all three.
- After singles, pairs, and box-line moves stall. Y-Wing shines in bivalue-dense areas of medium to hard puzzles.

Killer Sudoku
Sum the cages · Master the puzzle
Similar Articles
Sudoku Practice Routine: 30-Day Accuracy & Speed Plan
Sudoku Practice Routine: expert 30-day plan to improve accuracy and speed with data-backed drills, clear targets, and pro strategies you can track.
Top-5 Sudoku Apps Of 2026 — Keep Or Ditch?
Sudoku game is a popular hobby of many successful people, and it’s getting the world like a storm. It can be a great way to spend a night in, have a great family time, and distress, and have a full-on brain workout. And the best thing is that this number game requires no hard Math skills!
Sudoku variants: 15 types, rules, and which to try first
Expert guide to Sudoku variants: clear rules, difficulty tips, and a data-informed comparison so you can pick the right first puzzle with confidence.

Killer Sudoku
Sum the cages · Master the puzzle
