Intermediate technique

Hidden Pairs

A hidden pair is two digits that, within one row, column or box, can only go in the same two squares. Those squares must take those two digits, so every other candidate in them can be removed.

What is a hidden pairs?

Within a unit, count where each missing digit can go. If two digits each have exactly the same two possible squares, those squares are reserved for them. Delete all other candidates from the two squares.

Example

In row 4, digits 2 and 9 can only go in columns 1 and 5. Those two squares are reserved for 2 and 9, so the extra candidates, including 1, can be removed from row 4, column 1.

Sudoku practice board. Rows and columns are numbered from the top left.
Row 1, column 1: empty
Row 1, column 2: empty
Row 1, column 3: 4
Row 1, column 4: empty
Row 1, column 5: 7
Row 1, column 6: empty
Row 1, column 7: empty
Row 1, column 8: empty
Row 1, column 9: empty
Row 2, column 1: empty
Row 2, column 2: 6
Row 2, column 3: empty
Row 2, column 4: empty
Row 2, column 5: empty
Row 2, column 6: empty
Row 2, column 7: empty
Row 2, column 8: 3
Row 2, column 9: empty
Row 3, column 1: empty
Row 3, column 2: empty
Row 3, column 3: empty
Row 3, column 4: empty
Row 3, column 5: 6
Row 3, column 6: empty
Row 3, column 7: empty
Row 3, column 8: empty
Row 3, column 9: 7
Row 4, column 1: candidates 1, 2, 4, 7, 9
Row 4, column 2: empty
Row 4, column 3: 5
Row 4, column 4: 6
Row 4, column 5: candidates 2, 9
Row 4, column 6: 3
Row 4, column 7: empty
Row 4, column 8: 8
Row 4, column 9: empty
Row 5, column 1: empty
Row 5, column 2: empty
Row 5, column 3: empty
Row 5, column 4: 8
Row 5, column 5: 1
Row 5, column 6: empty
Row 5, column 7: 9
Row 5, column 8: 7
Row 5, column 9: empty
Row 6, column 1: empty
Row 6, column 2: empty
Row 6, column 3: 8
Row 6, column 4: empty
Row 6, column 5: 4
Row 6, column 6: empty
Row 6, column 7: empty
Row 6, column 8: empty
Row 6, column 9: 2
Row 7, column 1: empty
Row 7, column 2: 9
Row 7, column 3: empty
Row 7, column 4: 2
Row 7, column 5: empty
Row 7, column 6: empty
Row 7, column 7: 8
Row 7, column 8: empty
Row 7, column 9: empty
Row 8, column 1: empty
Row 8, column 2: 2
Row 8, column 3: 7
Row 8, column 4: empty
Row 8, column 5: empty
Row 8, column 6: empty
Row 8, column 7: 3
Row 8, column 8: empty
Row 8, column 9: 4
Row 9, column 1: 8
Row 9, column 2: empty
Row 9, column 3: empty
Row 9, column 4: empty
Row 9, column 5: empty
Row 9, column 6: 4
Row 9, column 7: empty
Row 9, column 8: empty
Row 9, column 9: 9

Target square: row 4, column 1. Remove candidate 1.

Pattern squares: row 4, column 1; row 4, column 5.

In row 4, 2, 9 can only go in r4c1, r4c5. These digits fill those cells, so remove the extra candidate 1 from r4c1.

Small numbers are the candidates of the squares used in this step.

How to find it, step by step

  1. Fill in candidates for a row, column or box.
  2. For each missing digit, note the squares where it can go.
  3. Find two digits that share exactly the same two possible squares.
  4. Remove every other candidate from those two squares, turning them into a naked pair.
  5. Use the new naked pair to clean up the rest of the unit.

Why it works

Both digits must appear in the unit, and they only fit in two squares. So those two squares are filled by these two digits, and any other candidate in them can never be correct.

Common mistakes

  • Using digits that have a third possible square in the unit.
  • Removing the pair digits from other squares before confirming they are hidden pairs in that unit.
  • Missing hidden pairs because candidate lists look crowded. Count positions per digit instead.

Questions

Are hidden pairs common?

They appear in many medium and hard puzzles, but they are harder to see than naked pairs because the squares hide the pair among other candidates.

Is there a hidden triple?

Yes. Three digits that can only go in the same three squares of a unit form a hidden triple, and all other candidates can be removed from those squares.

Try it yourself

Work through guided exercises built around this technique, or use it in today's daily Sudoku.

All Sudoku techniques