---
title: "ALS-XZ Sudoku Technique Explained"
description: "ALS-XZ links two Almost Locked Sets in Sudoku through a restricted common candidate, forcing a second shared candidate into one of them."
url: https://sudoku.rubigogames.com/techniques/als-xz.html
language: en
last_modified: 2026-11-05
---

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

# ALS-XZ in Sudoku

ALS-XZ links two Almost Locked Sets, groups of cells with one more [candidate](https://sudoku.rubigogames.com/sudoku-glossary.html#candidate) than cells, through a [restricted common candidate](https://sudoku.rubigogames.com/sudoku-glossary.html#rcc) X that can only be placed in one of them. That forces a second shared candidate Z into the other, so Z can be removed from any outside cell that sees every Z in both sets.

In the app, when ALS-XZ 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 86.3% of Extreme puzzles
- **Position in the ladder**: 33 of 37
- **What it does**: Removes candidates
- **Worked examples**: 1

## Why it works

Two almost-locked sets linked by a [restricted common candidate](https://sudoku.rubigogames.com/sudoku-glossary.html#rcc) force another shared candidate into at least one of them, so that candidate can be removed from any cell outside the two sets that sees every cell with that candidate across both sets.

## How to spot it

The hard part is seeing the sets, not the logic.

- An ALS is any group of cells in one unit with one extra candidate: a single bivalue cell is the smallest one.
- Two sets, two shared candidates: X must be restricted, meaning every X in one set sees every X in the other. Z must not be.
- Eliminate Z from cells outside both sets that see all the Zs in both.

Builds on

[Naked Triple](https://sudoku.rubigogames.com/techniques/naked-triple.html) [XY-Chain](https://sudoku.rubigogames.com/techniques/xy-chain.html)

## Worked example

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

```text
.     .     .     | .     .     .     | .     .     .
.     {357} {57}  | .     .     .     | .     .     .
.     .     .     | .     .     .     | .     .     .
------------------+-------------------+------------------
.     .     .     | .     .     .     | .     .     .
.     .     .     | .     .     .     | .     .     .
.     .     .     | .     .     .     | .     .     .
------------------+-------------------+------------------
.     .     .     | .     .     .     | .     .     .
.     .     .     | .     .     .     | .     .     .
.     .     .     | .     .     .     | .     .     .
```

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

1. Look at the first set Set A. These 2 cells all lie in the same row and have 3 different candidates among them, one more than the number of cells. This is called an Almost Locked Set (ALS).
2. Now look at the second set Set B. These 3 cells all lie in the same row and have 4 different candidates among them, one more than the number of cells, so they also form an ALS. The two sets share candidate 3 as a restricted common candidate (RCC): every cell with candidate 3 in one set sees every such cell in the other, so the digit 3 can be placed in at most one of the two sets, never in both.
3. Both sets Set A Set B contain 5 as a candidate. Since the digit 3 can be placed in at most one set, at least one set will not use 3. A set that does not use 3 has as many distinct candidates left as cells, so it must place each of them, including 5, somewhere inside it. So 5 is placed in at least one of the two sets, and we can remove the candidate 5 from any cell outside the two sets that sees every cell with candidate 5 across both sets. That is where the name comes from: X is 3, the candidate the two sets share, and Z is 5, the candidate removed.

## Try it yourself

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

ALS-XZ practice board:

```text
.  8  .  | .  .  3  | .  .  .
9  .  3  | .  5  .  | .  8  2
.  1  .  | 6  .  .  | .  4  3*
---------+----------+---------
.  .  .  | .  .  .  | 1  5  .
8  5* 7  | 2* 1* 4* | 3  6* 9
.  .  1* | .  .  5  | .  2* 4
---------+----------+---------
.  .  .  | .  3  6  | .  7  .
1  .  .  | 5  .  2  | .  .  .
.  .  8  | .  9  .  | .  .  .
```
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-XZ was the hardest step in 8,087 of them and was used at least once in 8,089. [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-XZ, to the last number](https://sudokuflow.com/tools/sudoku-solver/?p=080003000903050082010600043000000150857214369001005024000036070100502000008090000)

## Where it fits

The game looks for the easiest technique that applies before it offers you a harder one. ALS-XZ sits at position 33 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 **Finned Swordfish**](https://sudoku.rubigogames.com/techniques/finned-swordfish.html) [Learn after this **ALS-XY-Wing**](https://sudoku.rubigogames.com/techniques/als-xy-wing.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-XY-Wing](https://sudoku.rubigogames.com/techniques/als-xy-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)
