Advanced Guide

Advanced Sudoku Strategies

When scanning and singles aren't enough, these patterns unlock the harder puzzles — from naked pairs through to X-Wing and Swordfish.

Before You Begin

This guide assumes you are comfortable with the basics — scanning, elimination, naked singles, and hidden singles. If those terms are unfamiliar, start with the Beginner Guide first.

Advanced techniques work by identifying groups of candidates that constrain each other. Rather than finding a single certain digit, you narrow down possibilities until a forced placement appears. These techniques are what separate human solvers who can crack expert-rated puzzles from those who get stuck.

Naked Pairs

A Naked Pair occurs when exactly two cells in the same row, column, or box share exactly the same two candidates — and no others. Because one of those two cells must hold one digit and the other must hold the remaining digit, every other cell in the group can have both candidates safely eliminated.

Example: two cells in the same row each have only candidates {3, 7}. You don't yet know which cell gets 3 and which gets 7, but you know for certain that 3 and 7 are "used up" by those two cells. Remove 3 and 7 from every other cell in that row. This often cascades into naked singles elsewhere.

The same idea extends to Naked Triples (three cells sharing three candidates) and Naked Quads (four cells, four candidates), though these are rarer.

Hidden Pairs

A Hidden Pair is the mirror image of a naked pair. Two digits appear as candidates in exactly two cells within a row, column, or box — but those cells may have many other candidates listed. Because those two digits can only go in those two cells, all other candidates in those two cells can be removed.

Hidden pairs are easy to miss precisely because the cells look cluttered. Scan each group asking: "Is there any digit that appears as a candidate in exactly two places?" If two such digits share the same two cells, you've found a hidden pair — strip every other candidate from both cells and proceed.

Pointing Pairs and Box-Line Reduction

These two techniques use the relationship between a 3×3 box and the row or column that passes through it.

Pointing Pair (or Triple): If within a box, a digit's only candidates all sit on the same row or column, then that digit cannot appear elsewhere in that row or column outside the box. You can eliminate it from all cells in that row/column that are outside the box.

Box-Line Reduction: The reverse. If within a row or column, a digit's only candidates all sit within the same box, then that digit cannot appear in any other cell in that box. Eliminate it from all box cells not on that row/column.

Both techniques are powerful because they work across group boundaries — the insight comes from noticing alignment, not just counting candidates within a single group.

Tip: Always check pointing pairs before jumping to pairs and triples. They require less bookkeeping and often give you the candidate elimination you need to unlock a simpler technique.

X-Wing

X-Wing is the gateway to the most powerful Sudoku techniques. It works on a single digit across exactly two rows (or two columns).

Suppose digit 4 appears as a candidate in exactly two cells in row 2, and also in exactly two cells in row 7 — and those four cells all fall in the same two columns. You now have a rectangle of four candidate cells. Regardless of which diagonal of the rectangle ends up holding the 4s, those two columns are fully accounted for. You can eliminate 4 from every other cell in both of those columns.

The key condition is strict: the digit must appear in exactly two candidate cells in each of the two base rows (or columns), and those cells must align in the same two columns (or rows). If the condition is met, the column (or row) eliminations are always valid.

Swordfish

Swordfish extends X-Wing from a 2×2 rectangle to a 3×3 pattern. Pick a digit and look for it in three rows. If those three rows between them hold candidates for that digit in exactly three columns (each row may have two or three candidates, but they must all fall within the same three columns), then the six or nine candidate cells form a Swordfish. You can eliminate that digit from every other cell in those three columns.

Swordfish is harder to spot by eye than X-Wing because you are tracking three rows and three columns simultaneously. A useful approach: list the candidate columns for each of three rows, then check whether the union of those columns contains exactly three distinct column numbers.

The same technique applies column-first: three columns whose digit candidates span exactly three rows let you eliminate from those rows.

Y-Wing (XY-Wing)

Y-Wing uses three bi-value cells (cells with exactly two candidates each) to force an elimination. Choose a "pivot" cell with candidates {A, B}. It must see two "wing" cells: one with candidates {A, C} and one with candidates {B, C}. The pivot, wing 1, and wing 2 form a Y shape.

The logic: the pivot must be either A or B. If it's A, wing 1 becomes C. If it's B, wing 2 becomes C. Either way, at least one of the two wing cells becomes C. This means any cell that both wings can see cannot be C — you can safely eliminate C from the intersection of their visibility.

Y-Wing is particularly powerful in puzzles rated "hard" or "expert" because the eliminations it produces often break a logjam that no simpler technique can touch.

Colouring and Chains

When a digit has exactly two candidates in a unit (row, column, or box), those two cells form a conjugate pair — one must be true and the other false. You can colour them: label one "on" and the other "off", then follow the chain wherever pairs connect.

Simple Colouring (also called Lone-Chain) finds cells of the same colour that see each other — a contradiction meaning that colour is "off" everywhere, so the other colour is correct. It also finds cells that see both colours: regardless of which colour is "on", that cell sees a true candidate and must be eliminated.

More advanced chains (AIC, Forcing Chains, Nishio) extend this logic to multiple digits, but they are increasingly complex to trace manually. Our solver's step-by-step hints reveal each chain step so you can follow the reasoning without keeping the whole web in your head.

When to Use Each Technique

A rough hierarchy from easiest to hardest: naked/hidden singles → pointing pairs → naked pairs → hidden pairs → naked triples → X-Wing → Swordfish → Y-Wing → colouring. Always exhaust simpler techniques before reaching for a harder one. Most rated-hard puzzles are solved with nothing beyond X-Wing; rated-expert and diabolical puzzles are where Y-Wing and colouring become necessary.

If you're stuck, resist guessing. Instead, re-scan for pointing pairs — they are the most commonly missed technique — then look for naked or hidden pairs. Only move to X-Wing and beyond when you are certain no simpler technique applies.

See every technique in action

The solver's step-by-step hint mode walks you through each logical deduction — including X-Wing and Swordfish — one move at a time.

Try the Solver →