Sudoku Techniques

This guide provides detailed explanations of intermediate and advanced Sudoku solving techniques. If you are new to Sudoku, start with our How to Play guide which covers the basics including Naked Singles, Hidden Singles, and general solving strategies.

Intermediate Techniques

When basic techniques stall, intermediate strategies help you eliminate candidates and uncover hidden placements. These methods require you to use pencil marks (small candidate numbers noted in each cell) to track possibilities.

Naked Pairs

A Naked Pair occurs when two cells in the same row, column, or 3x3 box contain exactly the same two candidates and no others. Since those two numbers must occupy those two cells (in some order), they can be eliminated from all other cells in that shared group.

For instance, if two cells in row 5 both contain only the candidates {3, 7}, then 3 and 7 must go in those two cells. You can safely remove 3 and 7 from the candidate lists of every other cell in row 5. This often reveals new Naked Singles or Hidden Singles. The same logic extends to Naked Triples (three cells sharing three candidates) and Naked Quads (four cells sharing four candidates), though these are harder to spot visually.

Hidden Pairs

A Hidden Pair exists when two numbers appear as candidates in exactly two cells within a row, column, or box, and those two cells are the same cells. Unlike Naked Pairs, these cells may contain additional candidates. Since the two numbers must occupy those two cells, all other candidates can be removed from those cells.

For example, in a column where the numbers 4 and 8 only appear as candidates in cells at positions 3 and 7, those two cells must contain 4 and 8. Any other candidates in those two cells (say, 1, 5, or 9) can be eliminated. Hidden Pairs are harder to spot than Naked Pairs because the pair is "hidden" among other candidates, but they are equally powerful for reducing possibilities.

Pointing Pairs

A Pointing Pair (or Pointing Triple) occurs when a candidate number within a 3x3 box is confined to a single row or column. Since that number must appear somewhere in the box, and it can only be in that one row or column within the box, the candidate can be eliminated from all other cells in that row or column outside the box.

For example, if the number 6 can only appear in the top row of a box, then 6 cannot appear in the top row of the two adjacent boxes. This technique bridges box logic with row/column logic and is often the key to breaking through mid-difficulty puzzles. The reverse of this technique is called Box/Line Reduction: if a candidate in a row or column is confined to a single box, it can be eliminated from the rest of that box.

Advanced Techniques

Advanced techniques are rarely needed for easy or medium puzzles, but they are essential tools for hard and expert-level grids. They involve recognizing complex patterns across multiple rows, columns, or boxes.

X-Wing

The X-Wing pattern occurs when a candidate number appears in exactly two cells in each of two different rows, and those four cells align in the same two columns. The candidate must be placed in one of two diagonal pairs, which means it can be eliminated from all other cells in those two columns.

Imagine the number 5 appears as a candidate only in columns 2 and 8 of row 3, and only in columns 2 and 8 of row 7. The 5 must go in either {row 3 col 2, row 7 col 8} or {row 3 col 8, row 7 col 2}. Either way, columns 2 and 8 are accounted for, so 5 can be removed from every other cell in columns 2 and 8. The X-Wing can also be applied using columns as the base and eliminating from rows. Spotting X-Wings requires carefully scanning candidate distributions, which is why pencil marks are essential at this level.

Swordfish

Swordfish is an extension of the X-Wing concept from two rows to three. It occurs when a candidate number appears in two or three cells in each of three different rows, and all of those cells fall within the same three columns. The candidate can then be eliminated from all other cells in those three columns.

The Swordfish pattern is more difficult to visualize than an X-Wing because not every row needs to have the candidate in every column -- some cells may be missing from the 3x3 grid of intersections. The key requirement is that the candidate positions in the three rows collectively span exactly three columns. Swordfish patterns are relatively rare but can be the only way to make progress on particularly stubborn expert puzzles.

XY-Wing

The XY-Wing (also called Y-Wing) is a three-cell chain technique. It involves a "pivot" cell with two candidates (say, X and Y) that sees two "wing" cells: one with candidates {X, Z} and one with candidates {Y, Z}. The pivot and wings form a bent chain.

The key insight is that no matter which value the pivot takes, one of the two wings must contain Z. If the pivot is X, the {Y, Z} wing must be Z. If the pivot is Y, the {X, Z} wing must be Z. Therefore, any cell that can see both wings cannot contain Z, and Z can be eliminated from those cells. XY-Wings are powerful because they eliminate candidates that no single-group technique could find. They require tracking bi-value cells (cells with exactly two candidates) across the grid.

When to Use Each Technique

Different difficulty levels tend to require different techniques. Here is a general mapping to help you know when to apply each strategy:

Easy Puzzles: Naked Singles and Hidden Singles are usually sufficient. Most cells can be solved by simple scanning and elimination. Focus on building speed and accuracy with these fundamentals.

Medium Puzzles: You will occasionally need Naked Pairs and Hidden Pairs to break through sticking points. Start using pencil marks to track candidates in uncertain cells. Medium puzzles teach you to think about groups of candidates rather than individual numbers.

Hard Puzzles: Pointing Pairs and Box/Line Reduction become essential. You may also need Naked Triples. Keep thorough pencil marks and systematically check each row, column, and box for these patterns when basic techniques stall.

Expert Puzzles: X-Wing, Swordfish, and XY-Wing are your tools for the toughest grids. Expert puzzles are designed to require these advanced techniques. Maintain complete and accurate pencil marks, and be patient -- these puzzles reward systematic analysis over speed.

Remember that even in expert puzzles, the majority of cells are solved with basic and intermediate techniques. Advanced techniques typically unlock just a few key cells that allow the rest of the puzzle to fall into place using simpler methods.

Practice

The best way to internalize these techniques is through consistent practice. Start at a comfortable difficulty level and gradually work your way up as each set of techniques becomes second nature.

Play Sudoku Now →

Try these difficulty levels to practice specific techniques:

Easy Sudoku -- Perfect for mastering Naked Singles and Hidden Singles.
Medium Sudoku -- Practice Naked Pairs and Hidden Pairs.
Hard Sudoku -- Apply Pointing Pairs and more complex eliminations.
Expert Sudoku -- Put X-Wing, Swordfish, and XY-Wing to the test.

For a step-by-step introduction to solving, visit our How to Play guide. And if you want to review the fundamental rules before diving into techniques, check out our Sudoku Rules page.

Related Pages