Expert Sudoku Techniques
Master X-wing, swordfish, and advanced elimination strategies.
The Expert Mindset
Expert puzzles have only 20–24 given cells — fewer than a quarter of the grid. Naked and hidden singles are almost never available at the start. You must look for global patterns that span multiple rows, columns, and boxes simultaneously: structures like X-Wing, Swordfish, and XY-Wing that eliminate candidates without directly revealing where a digit goes.
Expert solving is methodical detective work. You build a complete candidate map, then search for structural patterns that force eliminations. Each elimination cascades into the next until the puzzle opens up. Patience and accurate pencil marks are non-negotiable — a missing or incorrect candidate can make a valid pattern invisible.
X-Wing: The Defining Expert Pattern
An X-Wing occurs when a candidate digit appears in exactly two cells in each of two different rows — and those cells share the same two columns. This creates a rectangle of four cells where the digit must occupy two corners diagonally.
Why X-Wing allows eliminations:
- In row A, the digit lands in either col X or col Y.
- In row B, the digit must land in the remaining column — col Y or col X.
- Either way, col X and col Y each receive exactly one instance of this digit from these two rows.
- Therefore the digit cannot go anywhere else in col X or col Y — eliminate it from all other cells in those two columns.
Scanning candidate 7 across all rows:
Row 1: cols 2, 6, 8 (three cells — not eligible)
Row 2: cols 3, 7 ← exactly two cells
Row 3: cols 1, 4, 9 (three cells — not eligible)
Row 4: cols 3, 7 ← exactly two cells, same columns as row 2!
...
X-Wing on digit 7: rows 2 & 4, columns 3 & 7.
Either: (2,3)=7 and (4,7)=7 — diagonal A
Or: (2,7)=7 and (4,3)=7 — diagonal B
In both cases, column 3 gets a 7 (from row 2 or row 4)
and column 7 gets a 7 (from row 4 or row 2).
→ Eliminate 7 from every other cell in column 3 (rows 1,3,5,6,7,8,9).
→ Eliminate 7 from every other cell in column 7 (rows 1,3,5,6,7,8,9).
Swordfish: X-Wing Extended to Three Rows
A Swordfish extends X-Wing to three rows (or three columns). If a candidate digit appears in at most two or three cells per row across exactly three rows, and those cells collectively span no more than three columns, the digit is locked into those three columns in those three rows — eliminating it from all other cells in those three columns.
Swordfish on digit 3 — scanning rows:
Row 1: cols 2, 5 (candidates for 3)
Row 4: cols 2, 5, 8 (candidates for 3)
Row 7: cols 5, 8 (candidates for 3)
Three rows, candidates spanning exactly three columns: 2, 5, 8.
Digit 3 must go in one of {(1,2),(1,5)}, {(4,2),(4,5),(4,8)}, {(7,5),(7,8)}.
Collectively these cells cover only cols 2, 5, and 8.
→ Eliminate 3 from every other cell in columns 2, 5, and 8
(any row that is not row 1, 4, or 7).
Key conditions:
- Exactly three rows (or columns) participate.
- Candidates in those rows span at most three columns (not two, not four).
- Each participating row must have the digit in two or three cells — not just one.
Swordfish is rarer than X-Wing but powerful when it applies. After finding it, the resulting eliminations often cascade into singles that unlock much of the remaining puzzle.
XY-Wing: A Three-Cell Forcing Chain
An XY-Wing uses three cells — a pivot and two pincers — to eliminate a candidate from cells that can see both pincers simultaneously.
- Pivot: contains exactly two candidates {X, Y}.
- Pincer A: shares a group with the pivot; contains exactly {X, Z}.
- Pincer B: shares a different group with the pivot; contains exactly {Y, Z}.
The forcing logic:
- If pivot = X → pincer A cannot be X → pincer A = Z.
- If pivot = Y → pincer B cannot be Y → pincer B = Z.
In both cases, one of the pincers holds Z. Any cell that can see both pincer A and pincer B cannot be Z — eliminate Z from it.
XY-Wing — three cells:
Pivot (2,4) = {3, 7}
Pincer A (2,8) = {3, 5} ← shares row 2 with pivot; common value = 3
Pincer B (6,4) = {5, 7} ← shares col 4 with pivot; common value = 7
Logic:
If pivot = 3 → pincer A cannot be 3 → pincer A = 5.
If pivot = 7 → pincer B cannot be 7 → pincer B = 5.
Either way, one of the two pincers is 5.
Any cell that can see BOTH pincer A and pincer B cannot be 5.
Cell (6,8) is in row 6 (sees pincer B) and col 8 (sees pincer A).
→ Eliminate 5 from (6,8).
Spotting XY-Wings: scan all two-candidate cells as potential pivots. For each pivot, look for two-candidate cells in its row, column, and box that share one value with the pivot and have a second value in common with each other (the "wing value" Z).
Unique Rectangle: Exploiting Uniqueness
Valid Sudoku puzzles have exactly one solution. The unique rectangle technique uses this guarantee to eliminate candidates: certain patterns, if left unresolved, would produce two valid solutions — which is impossible for a well-formed puzzle. Therefore those patterns must resolve a specific way.
The simplest form (Type 1):
- Find four cells forming a rectangle that spans exactly two rows and two columns, with all four cells lying in at most two 3×3 boxes.
- Three of the four cells contain exactly the same two candidates {A, B}.
- The fourth cell contains {A, B} plus at least one extra candidate.
- If the fourth cell were only {A, B}, the rectangle would allow two solutions (A and B could swap diagonally). To prevent this, the fourth cell must take its extra candidate — eliminate A and B from it.
Unique rectangles are quick to spot once you know the shape: a two-row, two-column rectangle where three corners are identical two-candidate cells. Check the fourth corner for extras.
Simple Coloring
Simple coloring targets digits that form conjugate pairs — pairs of cells in the same group where only two candidate positions remain. One must be true and the other false.
The technique:
- Find all conjugate pairs for a digit (groups with exactly two candidate cells). These form a chain.
- Assign alternating colors (say blue/orange) along the chain: blue-orange-blue-orange.
- Look for two conclusions:
- Color conflict: Two cells of the same color share a group. They cannot both be the digit — that entire color is false. Place the digit in every opposite-color cell.
- External elimination: An uncolored cell can see one blue cell and one orange cell. Regardless of which color is true, that uncolored cell is eliminated — the digit cannot go there.
Coloring is especially effective after X-Wing and Swordfish have reduced the grid to mostly conjugate pairs.
Building a Solving Sequence and Practice
Expert puzzles rarely yield to a single technique. A typical solving sequence:
- Fill all naked and hidden singles first.
- Apply locked candidates and box-line reduction.
- Search for naked and hidden pairs and triples.
- Search for X-Wings (row-based, then column-based) for every digit.
- Search for XY-Wings using all two-candidate cells as candidate pivots.
- Check for unique rectangles among groups of two-candidate cells.
- Apply simple coloring to digits with many conjugate pairs.
- Search for Swordfish when X-Wing attempts fail.
- After any elimination, restart from step 1.
Mastery comes from recognising the visual fingerprint of each pattern: the X-Wing's symmetric rectangle, the XY-Wing's triangle shape connecting pivot and pincers, the unique rectangle's two-box span. Pattern recognition builds with repeated exposure — you will begin spotting X-Wings automatically within a few weeks of daily practice.
Start with one expert puzzle per day and expect to spend 30–60 minutes initially. Keep pencil marks complete and accurate; a missing candidate is the most common reason a valid technique becomes invisible. Use the timer as a data point, not a source of pressure — the goal is correct completion, not speed.