Sudoku technique · Medium
Naked Pairs and Hidden Pairs in Sudoku
Naked pairs and hidden pairs are the first Sudoku techniques that erase pencil marks instead of placing digits. A Naked Pair is two cells in one unit that hold the same two candidates and nothing else. A Hidden Pair is two digits that fit only the same two cells. Spotting either one is what moves you from Easy to Medium grids.
Published · Updated
Before you start: write candidates
Pairs are patterns in pencil marks, so they are invisible until you note candidates. You do not need notes everywhere: write them in the rows, columns and boxes that are nearly full, where patterns are shortest and easiest to see. On PencilGrid, switch on Notes mode and tap digits to pencil them in; the Hint button reads the same candidates.
Naked Pair: two cells, the same two candidates
If two cells in a row, column or box contain exactly the same two candidates and nothing else, those two digits must occupy those two cells, one each. Every other cell in that unit can have both digits erased. The reasoning is short: if any other cell in the unit took one of the two digits, the pair would be left with one digit for two cells.
A Naked Pair that sits inside one box and on one line works on both units at once, which is the case in the example below.
Worked Example: a Naked Pair in column 7
The daily from 6 August 2026 is puzzle 5, a Medium grid with 23 givens whose hardest step is a Naked Pair. After four Hidden Singles the solver has nothing simpler left, and column 7 shows the pattern. Row 1, column 7 sees 3, 7, 5 and 4 in its row, 6, 3, 5 and 8 in its column and 6, 9, 7, 3 and 8 in its box, so only 1 and 2 remain. Row 3, column 7 is hemmed in the same way, and the two cells share the column and the top-right box.
Between them they consume 1 and 2 for column 7. Row 4, column 7 loses both and drops from five candidates to 4, 7 and 9; row 6, column 7 loses its 1 and keeps 4, 7 and 9. The solver records the step as its one Naked Pair and goes back to singles: the next move is a Hidden Single, the 2 in row 4, column 8.
Hidden Pair: two digits, the same two cells
The mirror image. If two digits appear as candidates in only two cells of a unit, those cells must hold those two digits, so every other candidate written in them can be erased. The pair is hidden because the two cells usually carry three or four marks each; you find it by counting, for each digit the unit still needs, how many cells can take it. Two digits with the same two cells form the pair.
Worked Example: a Hidden Pair of 1 and 7
The daily from 4 August 2026 is puzzle 3, a Medium grid with 25 givens whose hardest step is a Hidden Pair. Eight singles and one Naked Pair in, column 7 has seven empty cells. The digit 1 can go only in row 2 or row 4 of that column, and the digit 7 can go only in the same two cells; rows 1, 6, 7, 8 and 9 see a 1 and a 7 elsewhere in their rows or boxes.
So row 2, column 7 and row 4, column 7 hold 1 and 7 between them. The first drops 3, 6 and 9 from its marks, the second drops 3 and 9, and both read 1 7. Row 4 confirms the same pair from the other direction: its 1 and 7 fit only columns 7 and 9, so row 4, column 9 loses its 3 as well. Row 4 now shows a Naked Pair of 1 and 7 in columns 7 and 9, and the 6 that left row 2, column 7 makes the 6 in row 2, column 1 a Hidden Single, the solver's next step.
Triples and beyond
The same logic extends to three cells sharing three candidates (a Naked Triple, which the solver also uses) and three digits confined to three cells (a Hidden Triple, which it does not need). A Naked Triple does not need every cell to show all three digits; {2,5}, {5,8} and {2,8} together form a triple on 2, 5 and 8. Triples appear in Medium and Hard dailies and are reported by the hint system by name.
Common Mistakes
Calling two cells a Naked Pair when one of them has a third candidate. {3,7} and {3,7,9} are not a pair; the 9 may be the answer.
Erasing the pair's digits from cells outside the unit. A pair in a row removes candidates from that row only, unless both cells also share a box.
Missing a Hidden Pair because the two cells look busy. Count cells per digit, not candidates per cell; the pair is in the counts.
Frequently Asked Questions
What is the difference between a naked pair and a hidden pair?
A naked pair is two cells that show only the same two candidates; the digits are removed from the rest of the unit. A hidden pair is two digits that fit only the same two cells; the other candidates are removed from those two cells.
Does a naked pair place a digit?
Not directly. It erases pencil marks, and the placement comes afterwards when a cell or a digit is left with one option. On the 6 August 2026 daily the pair cleared two cells and the solver returned to singles.
How often do Medium Sudoku puzzles need a pair?
Most Medium dailies on PencilGrid use at least one pair, because the Medium band is defined by needing a technique between Hidden Single and Box-Line Reduction. Puzzle 5 of 6 August 2026 needs exactly one Naked Pair; puzzle 3 of 4 August needs a Naked Pair and a Hidden Pair.
Sources
- Nikoli: Sudoku: the rules every elimination here rests on: each row, column and 3×3 block holds 1 to 9
- How PencilGrid puzzles are made: Naked Pair, Hidden Pair and Naked Triple sit in the Medium band of the ladder
- Daily Sudoku archive: the dated dailies the worked examples come from
Sources last checked on 2026-11-10.
Written and checked by the maker of PencilGrid, a puzzle enthusiast and software engineer who also builds the generator and solver behind every grid on the site.
Every technique on this page is one the site's solver actually uses: puzzles are generated offline, checked for a single solution, and graded by the hardest step they need. How PencilGrid puzzles are made →
More Sudoku Pages
Related puzzles: Sudoku X · Killer Sudoku · Futoshiki
Keep Learning
Naked and Hidden Singles
The placement techniques to exhaust before looking for pairs.
Pointing Pairs and Box-Line Reduction
Eliminations that use the overlap between a box and a line.
How to Play Sudoku
Rules, notation and the full technique ladder.
Inequality Elimination in Futoshiki
Pencil-mark pruning in a grid with no boxes at all.