Intermediate – Expert Level

Advanced Sudoku Techniques

X-Wing • Swordfish • XY-Wing • Forcing Chains — with Visual Examples

about fourteen minutes four grid examples

Elimination, naked single, naked pair, pointing pairs — if you've worked through all of those and the puzzle is still stuck, it's time for the next layer. These four techniques break through the blockades you hit at the intermediate and expert levels, each from a different angle.

X-Wing and Swordfish are built on row-column symmetry. XY-Wing is a logical chain linking three cells. Forcing Chains aren't guessing — they're a matter of following both possibilities simultaneously until a single contradiction-free conclusion emerges. All four are pure logic, no guesswork involved.

Prerequisites

To apply the techniques in this article, candidate notes are essential. You'll also need a solid grasp of basic elimination, naked singles and naked pairs. If those foundations aren't firmly in place yet, start with our guide to fundamental techniques.


The X-Wing operates at the intersection of two rows and two columns. The name comes from the shape of the letter "X": when the candidates for a single digit in two rows fall in exactly the same two columns, those four cells form an X — and that digit can be eliminated from every other cell in those two columns.

The logic is straightforward: that digit in row 2 will end up in either column 3 or column 7. The same digit in row 6 will also land in either column 3 or column 7. Whichever combination plays out, the remaining cells in columns 3 and 7 cannot hold that digit.

Visual Example — X-Wing

Distribution of candidates for digit 7 (only 7s shown): Column: Column 1 Column 2 Column 3 Column 4 Column 5 Column 6 Column 7 Column 8 Column 9 ─── ─── ─── ─── ─── ─── ─── ─── ─── Row 2: · · [7] · · · [7] · · ← X-Wing row Row 4: · 7 · · · · · · · (7 already placed) Row 6: · · [7] · · · [7] · · ← X-Wing row Row 8: · · [7] · · 7 · · · (7 already in Column 6) X-Wing: the 7 candidates in Row 2 and Row 6 appear only in Column 3 and Column 7. ↓ The 7 is eliminated from all other rows in Column 3 and Column 7.
Figure 1 — X-Wing: the 7 candidates in Row 2 and Row 6 appear only in Column 3 and Column 7. The 7 is eliminated from all remaining cells in those two columns.

Step-by-Step Solution

1.Scan each row: which row has candidates for a particular digit in only two columns? — Row 2: for the 7, only Column 3 and Column 7.
2.Is there another row with exactly those same two columns? — Row 6: for the 7, only Column 3 and Column 7. X-Wing found.
3.The four corners of the X: Row 2 Column 3, Row 2 Column 7, Row 6 Column 3, Row 6 Column 7. These are the wing's vertices.
4.Eliminate the 7 from every cell in Column 3 except Row 2 and Row 6. Do the same in Column 7.
5.The candidate lists of affected cells are now updated — a naked single or another technique may unlock.

Column-Based X-Wing

The X-Wing isn't limited to rows — the same logic applies to columns. If the candidates for a digit in two columns fall in exactly the same two rows, that digit is eliminated from all other cells in those two rows. The direction flips; the logic is identical.

The practical way to spot an X-Wing

Work through each digit separately. For the 7, scan every row: which one has 7 candidates in only two columns? Asking that question for every digit from 1 to 9 is far faster than hunting for an X-Wing directly. The first time you find one, something clicks before the puzzle is even finished — and the second time, that instinct arrives much sooner.


Swordfish is X-Wing scaled up to three rows. X-Wing covered two rows × two columns = four corners. Swordfish covers three rows × three columns = nine potential corners — but not all of them need to be filled. What matters is that all candidates for a digit across those three rows fit into no more than three columns.

"No more than" are the key words here. One of the three rows might have that digit in just a single column — that doesn't break the Swordfish. The condition is simply that when you pool all the candidates for that digit across the three rows, you end up with three distinct columns or fewer.

Visual Example — Swordfish

Distribution of candidates for digit 4 (only 4s shown): Column: Column 1 Column 2 Column 3 Column 4 Column 5 Column 6 Column 7 Column 8 Column 9 ─── ─── ─── ─── ─── ─── ─── ─── ─── Row 1: · · [4] · · [4] · · · ← Column 3, Column 6 Row 4: · · [4] · · · · [4] · ← Column 3, Column 8 Row 7: · · · · · [4] · [4] · ← Column 6, Column 8 4 candidates across three rows: Column 3, Column 6, Column 8 — exactly three columns. Swordfish. ↓ The 4 is eliminated from all other rows in Column 3, Column 6 and Column 8 (except Row 1, Row 4 and Row 7).
Figure 2 — Swordfish: the 4 candidates in Row 1, Row 4 and Row 7 cluster exclusively in Column 3, Column 6 and Column 8.

Step-by-Step Solution

1.4 candidates in Row 1: Column 3 and Column 6. In Row 4: Column 3 and Column 8. In Row 7: Column 6 and Column 8.
2.Union of candidates across the three rows: {Column 3, Column 6} ∪ {Column 3, Column 8} ∪ {Column 6, Column 8} = {Column 3, Column 6, Column 8}. Total: three columns — Swordfish condition met.
3.Eliminate the 4 from every cell in Column 3 except Row 1 and Row 4. In Column 6, except Row 1 and Row 7. In Column 8, except Row 4 and Row 7.
4.How many cells were affected? Check — if any candidate list has dropped to one, a naked single has just appeared.
Why does Swordfish feel harder?

X-Wing compares two rows — the brain can handle that visually. Swordfish requires holding three rows in mind simultaneously and computing the union of their columns. That extra load on working memory is why even experienced solvers miss the Swordfish sometimes. The practical fix: work one digit at a time, take notes, and scan the three rows one by one.


XY-Wing shares nothing with X-Wing except the name — the underlying logic is completely different. Three cells, three two-candidate lists, and the visibility relationships between them — that's all there is to it.

Terminology: one pivot cell and two pincer cells. The pivot sees both pincers. The pincers don't need to see each other directly — but they share one common candidate. That shared candidate is eliminated from every cell seen by both pincers at the same time.

Structure and Logic

Pivot cell candidates: {X, Y}. First pincer: {X, Z}. Second pincer: {Y, Z}.

Why is Z eliminated? The pivot must be either X or Y. If the pivot is X → the first pincer must be Z. If the pivot is Y → the second pincer must be Z. Either way, it's guaranteed that one of the two pincers will hold Z. Therefore, no cell visible to both pincers can contain Z.

Visual Example — XY-Wing

XY-Wing structure: Row 1 Column 1: [3, 7] ← Pivot (X=3, Y=7) Row 1 Column 5: [3, 5] ← Pincer 1 (X=3, Z=5) — same row as pivot Row 4 Column 1: [7, 5] ← Pincer 2 (Y=7, Z=5) — same column as pivot From pivot Row 1 Column 1: Pincer 1 Row 1 Column 5 in the same row → visibility ✓ Pincer 2 Row 4 Column 1 in the same column → visibility ✓ Shared candidate of Pincer 1 and Pincer 2: 5 (Z) ↓ Row 4 Column 5: visible from Row 4 (Pincer 2's row) and Column 5 (Pincer 1's column). The 5 is eliminated from Row 4 Column 5. General rule: Z is eliminated from every cell seen by both pincers.
Figure 3 — XY-Wing: pivot Row 1 Column 1, pincer 1 Row 1 Column 5, pincer 2 Row 4 Column 1. Z=5, affected cell Row 4 Column 5.

Step-by-Step Solution

1.Find two-candidate cells (these are potential pivots). Row 1 Column 1 = [3, 7].
2.Scan the two-candidate cells visible from the pivot. Row 1 Column 5 = [3, 5]: shares the 3 (X) with the pivot → candidate for Pincer 1.
3.Is there another two-candidate cell visible from the pivot that shares Y=7? Row 4 Column 1 = [7, 5]: shares the 7 → candidate for Pincer 2.
4.Shared candidate of Pincer 1 and Pincer 2: 5 (the value of Z). XY-Wing complete.
5.Find cells seen by both pincers. Row 4 Column 5: it lies in Row 4 (Pincer 2's row) and Column 5 (Pincer 1's column). Eliminate the 5 from Row 4 Column 5.

When More Than One Cell Is Affected

Sometimes an XY-Wing affects more than one cell — if both pincers see multiple cells simultaneously, Z is eliminated from all of them. This happens most often when one of the pincers sits on the boundary of a box.

XY-Wing vs. Naked Pair

A naked pair acts on cells that share the same unit (row, column or box). XY-Wing bridges cells from different units — without the pivot, the two pincers might not "see" each other at all. That's why XY-Wing reaches larger sections of the grid and eliminates candidates in places a naked pair simply can't touch.


Forcing chains aren't guessing — they're about following both possibilities simultaneously and showing that both lead to the same result. "If this cell is A → this happens → conclusion: Z. If it's B → a different path → but still: Z." When both paths open the same door, Z is confirmed.

Structurally, this technique differs from the previous three: instead of eliminating candidates directly, it uses a chain of deductions. But it must not be confused with guessing. Guessing tests one possibility and backtracks when it fails. Forcing chains exhaust both branches in full and derive the shared result through pure logic — no backtracking at any point.

Two Types of Forcing Chains

The two most common forms are binary forcing chains and unit forcing chains.

Binary forcing chains: choose a two-candidate cell. Assume it equals A and follow the resulting elimination chain. Then assume B and repeat. If in both cases the same cell takes the same value, that value is confirmed.

Unit forcing chains: a row, column or box has only two possible positions left for a particular digit. Assume each one in turn — if in both cases another cell takes the same value, that value is confirmed.

Visual Example — Binary Forcing Chains

Starting point: Row 3 Column 5 = [2, 8] (two candidates) BRANCH A — assume Row 3 Column 5 = 2: → Row 3 Column 5 = 2 → eliminate 2 from Row 7 Column 5 (same column) → Row 7 Column 5 = [6, 9] → eliminate 2 from Row 3 Column 2 (same row) → Row 3 Column 2 = [5] → Row 3 Column 2 = 5 (naked single!) → eliminate 5 from Row 1 Column 2 (same column) → Row 1 Column 2 = [3, 7] → ... (chain continues) → Row 6 Column 8 = 4 BRANCH B — assume Row 3 Column 5 = 8: → Row 3 Column 5 = 8 → eliminate 8 from Row 3 Column 2 → different path → ... (chain continues) → Row 6 Column 8 = 4 In both branches: Row 6 Column 8 = 4. ↓ Row 6 Column 8 = 4 is confirmed — whichever assumption turns out to be correct.
Figure 4 — Binary forcing chains: both values of Row 3 Column 5 lead to the same result, Row 6 Column 8 = 4.

Step-by-Step Application

1.Choose a two-candidate cell — the branching point. Row 3 Column 5 = [2, 8].
2.Branch A: assume Row 3 Column 5 = 2. Follow every value that necessarily results from that choice — every naked single, every hidden single. Record the outcomes separately.
3.Branch B: assume Row 3 Column 5 = 8. Follow the chain the same way. Record the outcomes.
4.Compare the results of both branches. Which cell took the same value in both cases?
5.The shared result is confirmed — enter that value in that cell. The puzzle moves forward.
When should you use forcing chains?

After X-Wing, Swordfish and XY-Wing have all been exhausted. Forcing chains are powerful but time-consuming — following the chain demands concentration and notes. Short chains (three or four steps) are manageable in your head. For longer ones, paper or the digital notes mode is essential. In Sudokum.Net the N key keeps candidate notes up to date automatically, which makes chain-tracing considerably easier.


Technique Structure What it does Difficulty
X-Wing 2 rows × 2 columns Eliminates from 2 columns ★★☆☆☆
Swordfish 3 rows × 3 columns Eliminates from 3 columns ★★★☆☆
XY-Wing 1 pivot + 2 pincers Eliminates candidate Z ★★★☆☆
Forcing Chains 2 branches, shared result Confirms the shared deduction ★★★★

Choosing a technique when you're stuck isn't random. There's a clear order to follow:


How do I remember the difference between X-Wing and Swordfish?
X-Wing: 2 rows, 2 columns, up to 4 corners. Swordfish: 3 rows, 3 columns, up to 9 corners — but not all corners need to be filled. Swordfish is simply X-Wing with one extra row.
Are forcing chains the same as guessing?
No. Guessing tests one possibility and backtracks when it fails — without adding any new information to the puzzle. Forcing chains exhaust both branches completely and arrive at the shared result through logic. No backtracking — just the observation that two paths lead to the same door.
Why can't I spot the XY-Wing?
Two-candidate cells are potential pivots, but they're scarce in the grid. The practical approach: in each puzzle, list all two-candidate cells and test each one as a pivot. Is the Z candidate shared among the visible two-candidate cells? Asking this question systematically turns the search for XY-Wings into a reflex within twenty or thirty puzzles.
At what difficulty level do these techniques appear?
X-Wing appears at the hard level. Swordfish and XY-Wing sit between hard and expert. Forcing chains belong to the expert level, occasionally showing up in the upper range of hard as well. Sudokum.Net's difficulty levels are defined by technical criteria — hard puzzles that include X-Wings are ideal for deliberate practice on these techniques.

Final Thoughts

All four techniques share the same foundation: systematically narrowing down the spaces where numbers cannot go. X-Wing and Swordfish do that through the symmetry of two or three rows and columns. XY-Wing bridges three cells together. Forcing chains walk both paths and see where they lead.

None of the four involve guessing — but each has its own way of seeing. The first time you spot an X-Wing, that symmetry locks into your brain for good. In XY-Wing, the pivot-pincer relationship becomes something tangible. With forcing chains — holding two branches in mind at once — that process permanently changes the way you read a grid.