---
title: "ALS-XY-Wing Sudoku Technique Explained"
description: "ALS-XY-Wing joins two Almost Locked Sets through a hinge set by two restricted common candidates, forcing a third shared candidate into one wing."
url: https://sudoku.rubigogames.com/techniques/als-xy-wing.html
language: en
last_modified: 2026-11-05
---

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

# ALS-XY-Wing in Sudoku

ALS-XY-Wing is the wing pattern rewritten in Almost Locked Sets. Two wing sets connect to a [hinge](https://sudoku.rubigogames.com/sudoku-glossary.html#hinge) set through two different restricted common candidates. Between them they force a third shared [candidate](https://sudoku.rubigogames.com/sudoku-glossary.html#candidate) into one of the wings, so that candidate can be removed from any outside cell seeing all its homes in both wings.

In the app, when ALS-XY-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**: [Extreme](https://sudoku.rubigogames.com/sudoku-difficulty-levels.html#extreme)
- **In the app's puzzles**: The hardest step in 0.02% of Extreme puzzles
- **Position in the ladder**: 34 of 37
- **What it does**: Removes candidates
- **Worked examples**: 1

## Why it works

Two almost-locked wing sets joined through a [hinge](https://sudoku.rubigogames.com/sudoku-glossary.html#hinge) by two different restricted common candidates force a third shared [candidate](https://sudoku.rubigogames.com/sudoku-glossary.html#candidate) into one of the wings, so that candidate can be removed from any outside cell that sees every cell with that candidate across both wings.

## How to spot it

Read it as a Y-Wing in which each of the three cells has been replaced by a set.

- Hinge plus two wings, connected by two distinct restricted common candidates.
- The eliminated candidate must be shared by both wings and not by the hinge's connection.
- At this level the app is doing the searching; the lesson is about recognising the shape when a hint draws it.

Builds on

[ALS-XZ](https://sudoku.rubigogames.com/techniques/als-xz.html) [XYZ-Wing](https://sudoku.rubigogames.com/techniques/xyz-wing.html)

## Worked example

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

```text
.     {125} {125} | {59}  .     .     | .     .     .
{139} .     {15}  | .     .     {379} | .     .     {59}
.     .     .     | .     .     .     | .     .     .
------------------+-------------------+------------------
.     .     .     | .     .     {46}  | .     .     .
.     .     .     | .     .     {49}  | .     .     .
.     .     .     | .     .     .     | .     .     .
------------------+-------------------+------------------
.     .     .     | .     .     {67}  | .     .     .
.     .     .     | .     .     .     | .     .     .
.     .     .     | .     .     .     | .     .     .
```

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

1. Look at the first wing Wing. These 3 cells all lie in the same row and have 4 different candidates among them, one more than the number of cells. Such a set is called an Almost Locked Set (ALS): remove one of its candidates and it locks, placing every remaining candidate inside itself.
2. The second wing Wing is an ALS too: these 3 cells all lie in the same column and have 4 different candidates among them, one more than the number of cells.
3. The hinge set Hinge is also an ALS, and it links the two wings. With the first wing Wing it shares candidate 1 as a restricted common candidate (RCC): every cell holding 1 in one set sees every cell holding 1 in the other, so the digit 1 can serve at most one of the two sets. With the second wing Wing it shares candidate 7 the same way.
4. Could a cell that sees every 9 in both wings still be 9? No: it would strip 9 from both wings and lock them. The first wing would then use 1 and the second 7, and through the restricted links the hinge would lose both 1 and 7, leaving it fewer candidates than cells. So 9 must be placed inside one of the two wings, and every outside cell that sees all the 9 candidates of both wings loses 9. That is where the name comes from: X and Y are 1 and 7, the candidates linking the hinge to each wing, and Z is 9, the candidate removed.

## Try it yourself

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

ALS-XY-Wing practice board:

```text
4  .  .  | .  .  8  | .  7  6
.  8* .  | 6  .  .  | 4* 2* .
.  7  6  | 4* .  2* | .  8  1
---------+----------+---------
2* .  9  | 7  .  .  | 8  1* 3*
.  .  .  | 3  8* .  | .  6  2
8  6* 3* | .  2  1  | 7* 4* .
---------+----------+---------
5* 9  4* | 2* .  .  | 1  3  8*
.  .  .  | 8  .  .  | 6* 5* 4*
6* 3* 8  | 1* 4  5  | 2  9* 7*
```
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. ALS-XY-Wing was the hardest step in 2 of them and was used at least once in 2. [See the full data report](https://sudokuflow.com/data/sudoku-difficulty-levels/)

## Practise it

- [Printable Extreme Sudoku with answers, also as PDF](https://sudokuflow.com/printables/sudoku/extreme/)
- [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 ALS-XY-Wing, to the last number](https://sudokuflow.com/tools/sudoku-solver/?p=400008076080600420076402081209700813000380062863021740594200138000800654638145297)

## Where it fits

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

[Learn before this **ALS-XZ**](https://sudoku.rubigogames.com/techniques/als-xz.html) [Learn after this **Sue de Coq**](https://sudoku.rubigogames.com/techniques/sue-de-coq.html)

Other Extreme techniques

[BUG+1](https://sudoku.rubigogames.com/techniques/bug-1.html) [Unique Rectangle](https://sudoku.rubigogames.com/techniques/unique-rectangle.html) [Finned X-Wing](https://sudoku.rubigogames.com/techniques/finned-x-wing.html) [Jellyfish](https://sudoku.rubigogames.com/techniques/jellyfish.html) [Finned Swordfish](https://sudoku.rubigogames.com/techniques/finned-swordfish.html) [ALS-XZ](https://sudoku.rubigogames.com/techniques/als-xz.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)
