Diabolical

XY-Chain

A chain of bivalue cells where consecutive pairs share a candidate and a row, column or box. The endpoints drive eliminations.

53189737548926196724355714926957489675137521436899617283549561723
XY-Chain
In short

If a chain of cells with two candidates each links end to end, each cell sharing a digit and a row, column or box with the next, and both ends have the same digit left over, then every candidate of that digit that sees both ends can be eliminated.

What Is It?

An XY-Chain is a longer XY-Wing: cells with two candidates each, where every cell shares one digit and a row, column or box with the next. Each end also has a digit it doesn't share with its neighbour: its outside digit.

If the first cell isn't its outside digit, it is the shared one. That forces the next cell, and so on down the chain, until the last cell is forced to its outside digit. So when both ends have the same outside digit, one of the two ends is that digit, and every candidate of it that sees both ends can be eliminated.

How It Works

  1. Find cells with two candidates and link them into a chain: each cell shares one digit and a row, column or box with the next.
  2. Look at the two ends. If the digit each end doesn't share with its neighbour is the same, the chain works.
  3. Eliminate that digit from every cell that sees both ends.

Worked Examples

Example 1: Short XY-Chain (4 cells)

531897375489261967243557149269574896751375214368996172835495617224461233623

XY-Chain of 4 cells: R1C2{2,4} R1C3{4,6} R5C3{3,6} R5C4{2,3}. Each consecutive pair shares a candidate and a row, column or box.

Step 1: R1C2 (2 4) links to R1C3 (4 6) by the 4 in row 1, R1C3 to R5C3 (3 6) by the 6 in column 3, and R5C3 to R5C4 (2 3) by the 3 in row 5.

Step 2: Both ends have 2 as their outside digit. If R1C2 isn't 2, it is 4, so R1C3 is 6, R5C3 is 3 and R5C4 is 2. So R1C2 or R5C4 is a 2.

531897375489261967243557149269574896751375214368996172835495617213

The chain alternates green and blue by parity. Both endpoints (green R1C2 and blue R5C4) can be 2 — so one of them MUST be 2. Cells seeing both endpoints (red R5C2) cannot also be 2.

Step 3: R5C2 sees both ends (column 2 with R1C2, row 5 with R5C4). Eliminate the 2 from R5C2.

53189737548926196724355714926957489675137521436899617283549561722446133623

Eliminated digit 2 from R5C2.

Example 2: Long XY-Chain (8 cells)

465891372913648278436915231983819982318491657236327841591579238645727574567457274567

XY-Chain of 8 cells: R2C5{5,7} R2C6{2,7} R5C6{2,7} R5C9{6,7} R4C9{6,7} R4C1{5,7} R4C7{4,5} R5C7{4,5}. Each consecutive pair shares a candidate and a row, column or box.

Step 1: The chain runs R2C5 (5 7), R2C6 (2 7), R5C6 (2 7), R5C9 (6 7), R4C9 (6 7), R4C1 (5 7), R4C7 (4 5) and R5C7 (4 5), each linked to the next by a shared digit and a row, column or box.

Step 2: Both ends have 5 as their outside digit: R2C5 links on the 7, and R5C7 links on the 4. So R2C5 or R5C7 is a 5.

4658913729136482784369152319838199823184916572363278415915792386447

The chain alternates green and blue by parity. The endpoints (green R2C5 and blue R5C7) both keep candidate 5, so one of them MUST hold 5. Cells seeing BOTH endpoints (red R5C5) cannot also be 5.

Step 3: R5C5 sees both ends (column 5 with R2C5, row 5 with R5C7). Eliminate the 5 from R5C5.

46589137291364827843691523198381998231849165723632784159157923864572757456747274567

Eliminated digit 5 from R5C5.

XY-Chain in a Real Puzzle

A puzzle from our Diabolical pool, at the moment it needs an XY-Chain. No easier technique works here, and Next Step, the game’s hint, shows this XY-Chain.

Without an XY-Chain, no technique up to Diabolical finishes this puzzle. After it, singles finish the puzzle. Step through it below: the board lights what each step talks about.

XY-Chain: R1C2 to R9C3

Diabolical puzzle · XY-Chain

This is the board after 35 digits have been placed. No easier technique works here, and Next Step shows this XY-Chain.

Step 1 of 4Step 2 of 4Step 3 of 4Step 4 of 4

So one of the ends, R1C2 or R9C3, is a 2, and every 2 that sees both is eliminated: one cell in one step. Play it from the start and spot it yourself.

Puzzle key savjNWdi Play this puzzle

Looks Like an XY-Chain, but Isn’t

A chain of two-candidate cells is easy to see and easy to get wrong. This position, from another Diabolical puzzle in our pool, has the shape but is not an XY-Chain. Step through it to see why.

Looks like an XY-Chain

Diabolical puzzle · not an XY-Chain

R8C7 (2 and 9) links to R8C2 (3, 6 and 9) by the 9 in row 8, R8C2 to R7C2 (3 and 6) by the 6 in column 2, R7C2 to R7C5 (3 and 7) by the 3 in row 7, and R7C5 to R9C5 (2 and 7) by the 7 in column 5. Both ends, R8C7 and R9C5, have 2 as their outside digit. It looks like an XY-Chain that eliminates the 2 from R8C4 and R9C7.

Step 1 of 3Step 2 of 3Step 3 of 3

The rule to remember: every cell in the chain must show exactly two candidates.

Puzzle key ii82tIDI Play this puzzle

Practice on 3 Real Puzzles

Diabolical puzzles from our pool, easiest first. On the way through each one, Next Step comes to one XY-Chain, and every other step is easier. Find it yourself, and open the hint only if you are stuck.

Puzzle 1

Diabolical · 25 clues
Puzzle key hGkZYQfI
Play this puzzle

Puzzle 2

Diabolical · 24 clues
Puzzle key tB0CitBu
Play this puzzle

Puzzle 3

Diabolical · 28 clues
Puzzle key uThhFGZC
Play this puzzle

Frequently Asked Questions

What is the outside candidate in an XY-Chain?

The outside candidate is the one candidate of an end cell that is not shared with its neighbour in the chain. Each end cell has two candidates: one is the link into the chain, the other points outwards. Only when both ends’ outward candidates are the same digit does the chain eliminate anything.

Is an XY-Wing the same as a short XY-Chain?

Yes — an XY-Wing is an XY-Chain of length three. The pivot is the middle cell and the two wings are the endpoints, whose outside candidates are the shared wing digit. Once you can build chains of four, five or more bivalue cells, the XY-Wing becomes the smallest case of a general pattern.

Does every cell in an XY-Chain really have to have exactly two candidates?

Every cell in an XY-Chain must be bivalue — exactly two candidates, no more. A cell with three candidates breaks the forcing logic, because knowing it is not one digit no longer tells you which digit it is. The two-candidate restriction is what makes each link pass a definite value along.

Where exactly do XY-Chain eliminations happen?

XY-Chain eliminations happen outside the chain, in cells that share a row, column or box with both the first and the last cell. The cells in the middle of the chain are untouched; they are the machinery, not the target. A cell that sees only one endpoint is unaffected, since it must see both to be blocked.

How long can an XY-Chain be?

There is no fixed limit — a chain can be any length, provided every cell is bivalue and each consecutive pair shares a candidate and a row, column or box. Chains of three or four cells are the common ones; longer chains turn up rarely, but they can break positions that nothing shorter touches.

How does an XY-Chain differ from Simple Coloring?

An XY-Chain links bivalue cells and moves between different digits as it goes, whereas Simple Coloring follows one digit only, chaining the pairs of cells that are that digit’s only options in a row, column or box. XY-Chain eliminations fall on cells seeing both endpoints; Simple Coloring’s fall on cells seeing both colours.

Key Points to Remember

  • Every cell in an XY-Chain must be bivalue (exactly two candidates).
  • Consecutive cells must share one candidate and one row, column or box. The shared candidate is the "link."
  • The elimination digit is the outside candidate that appears at both endpoints of the chain.
  • Short chains (3-4 cells) are common. Longer chains are rare but can break extremely difficult puzzles.
  • An XY-Wing is simply an XY-Chain of length 3.

Related Techniques

Learn first:
Learn next:

In Our 160,000+ Puzzles

Our solver graded every puzzle on this site. This is how many puzzles at each level it used XY-Chain in.

Easy
0%0 of 30,025 Easy puzzles
Medium
0%0 of 40,115 Medium puzzles
Hard
0%0 of 70,223 Hard puzzles
Extreme
0%0 of 10,089 Extreme puzzles
Diabolical
81%8,224 of 10,112 Diabolical puzzles

First used at Diabolical, in 81% of Diabolical puzzles.

In a Diabolical puzzle that uses it, it comes up about 2.1 times.

The best way to master XY-Chain is to practice spotting it in real puzzles.

© 2026 Sudoku Challenge | sudokuchallenge.com

All Sudoku Techniques

Explore all 28 solving techniques in our complete technique guide.

Naked Single Hidden Single Locked Candidates Naked Pair Hidden Pair Naked Triple Hidden Triple Naked Quad Hidden Quad BUG+1 Unique Rectangle X-Wing Skyscraper Two-String Kite Empty Rectangle Simple Coloring XY-Wing Swordfish W-Wing X-Cycles XYZ-Wing WXYZ-Wing Finned X-Wing Finned Swordfish Jellyfish ALS-XZ Remote Pairs