---
title: "XYZ-Wing Sudoku Technique Explained"
description: "An XYZ-Wing is a Y-Wing whose pivot holds three candidates, so the elimination must see all three cells instead of just the two wings."
url: https://sudoku.rubigogames.com/techniques/xyz-wing.html
language: en
last_modified: 2026-11-05
---

[Sudoku techniques](https://sudoku.rubigogames.com/sudoku-techniques.html) · Master

# XYZ-Wing in Sudoku

An XYZ-Wing is a Y-Wing with a three-candidate [pivot](https://sudoku.rubigogames.com/sudoku-glossary.html#pivot). The pivot holds XYZ, one wing XZ and the other YZ. At least one of the three cells must be Z, so any cell that sees all three of them, pivot included, loses Z.

In the app, when XYZ-Wing is the next step, a hint names it and shows you why, one step at a time. No ads, free to download.

[Download on the App Store](https://apps.apple.com/app/apple-store/id6502922368?pt=125379530&ct=official_site&mt=8) [Get it on Google Play](https://play.google.com/store/apps/details?id=com.rubigogames.sudoku&referrer=utm_source%3Dofficial_site%26utm_medium%3Dweb%26utm_campaign%3Dsite)

- **Difficulty band**: [Master](https://sudoku.rubigogames.com/sudoku-difficulty-levels.html#master)
- **In the app's puzzles**: The hardest step in 5% of Master puzzles
- **Position in the ladder**: 20 of 37
- **What it does**: Removes candidates
- **Worked examples**: 1

## Why it works

At least one of a [pivot](https://sudoku.rubigogames.com/sudoku-glossary.html#pivot) and its two wings must hold their shared number, so any cell that sees all three loses that [candidate](https://sudoku.rubigogames.com/sudoku-glossary.html#candidate).

## How to spot it

The extra candidate in the pivot costs you reach: the elimination now has to see three cells, not two.

- In practice that means the whole pattern has to sit in one box, with the two wings on lines through it.
- Start from three-candidate cells, not two: that is the opposite of a Y-Wing hunt.
- Only the shared Z is removed, and usually from just one or two cells.

Builds on

[Y-Wing](https://sudoku.rubigogames.com/techniques/y-wing.html)

## Worked example

These are the app's own lesson boards. Step through them the same way a hint does.

```text
{58}  .     .     | .     .     .     | .     .     .
.     {258} .     | .     {25}  .     | .     .     .
.     .     .     | .     .     .     | .     .     .
------------------+-------------------+------------------
.     .     .     | .     .     .     | .     .     .
.     .     .     | .     .     .     | .     .     .
.     .     .     | .     .     .     | .     .     .
------------------+-------------------+------------------
.     .     .     | .     .     .     | .     .     .
.     .     .     | .     .     .     | .     .     .
.     .     .     | .     .     .     | .     .     .
```

*XYZ-Wing: the pattern as the app draws it during a hint.*

1. The pivot cell has exactly three candidates 2, 8 and 5, and it sees two bivalue wings: one with 2 and 5, the other with 8 and 5. This forms an XYZ-Wing!
2. Since at least one of the three cells must be 5, we can remove the candidate 5 from any other cell that sees all three.

## Try it yourself

This board is from the app's XYZ-Wing lesson, at the moment XYZ-Wing is the next step. Find it yourself, or tap Hint and the app's own hint walks you through it.

XYZ-Wing practice board:

```text
.  8* .  | 4  5  6  | 1* .  .
5* .  6* | 9  1* 3  | .  8  7*
1  .  3  | 8* 2* 7* | 5* .  6*
---------+----------+---------
.  .  1  | .  8* .  | 6* .  9
8  5  .  | 6* 3  .  | 7  2* 1
6  .  .  | 1  .  2  | .  5* .
---------+----------+---------
4* 7* 2  | 3* 6* 8* | 9  1  5
9  6* 5  | 2* 4* 1  | .  7* .
3  1* 8  | .  .  .  | .  6  .
```
Digits marked * were filled in by a player; the others were printed with the puzzle.

## In the data

We solved all 60,000 puzzles in the app with its own hint engine, which always takes the easiest step that works. XYZ-Wing was the hardest step in 480 of them and was used at least once in 818. [See the full data report](https://sudokuflow.com/data/sudoku-difficulty-levels/)

## Practise it

- [Printable Master Sudoku with answers, also as PDF](https://sudokuflow.com/printables/sudoku/master/)
- [Sudoku checker: find the wrong numbers in a puzzle on paper](https://sudokuflow.com/tools/sudoku-checker/)
- [Daily Sudoku: four new puzzles every day](https://sudokuflow.com/daily/)
- [Step-by-step solver: this example, starting with the XYZ-Wing, to the last number](https://sudokuflow.com/tools/sudoku-solver/?p=080456100506913087103827506001080609850630721600102050472368915965241070318000060)

## Where it fits

The game looks for the easiest technique that applies before it offers you a harder one. XYZ-Wing sits at position 20 of 37 on that ladder, which is why puzzles that need it are graded [Master](https://sudoku.rubigogames.com/sudoku-difficulty-levels.html#master).

[Learn before this **Empty Rectangle**](https://sudoku.rubigogames.com/techniques/empty-rectangle.html) [Learn after this **Two-String Kite**](https://sudoku.rubigogames.com/techniques/two-string-kite.html)

Other Master techniques

[Two-String Kite](https://sudoku.rubigogames.com/techniques/two-string-kite.html) [Grouped Two-String Kite](https://sudoku.rubigogames.com/techniques/grouped-two-string-kite.html) [W-Wing](https://sudoku.rubigogames.com/techniques/w-wing.html) [X-Chain](https://sudoku.rubigogames.com/techniques/x-chain.html) [XY-Chain](https://sudoku.rubigogames.com/techniques/xy-chain.html) [WXYZ-Wing](https://sudoku.rubigogames.com/techniques/wxyz-wing.html)

---

Free, offline, and ad-free on every platform

## Play Sudoku the way it was meant to be played

[Download on the App Store](https://apps.apple.com/app/apple-store/id6502922368?pt=125379530&ct=official_site&mt=8) [Get it on Google Play](https://play.google.com/store/apps/details?id=com.rubigogames.sudoku&referrer=utm_source%3Dofficial_site%26utm_medium%3Dweb%26utm_campaign%3Dsite)
