A Hidden Pair is two digits that, within one row, column or box, can each go only in the same two cells. Those two cells must therefore hold those two digits, and every other candidate in them can come out.
The pair is "hidden" because the two cells rarely look special. They usually carry several extra pencil marks, so reading the cells tells you nothing. The pattern only shows up when you ask the opposite question: for each digit the unit still needs, where can it go?
How to find a Hidden Pair, step by step
- Pick a unit. Work through one row, column or box at a time. A unit with many open cells and long candidate lists is the likeliest place for a pair to hide.
- List the cells each missing digit can go in. For every digit the unit does not yet contain, note its possible cells, such as "2: columns 6 and 7". A digit with only one possible cell is a Hidden Single; place it before going on.
- Look for two digits with the same two-cell list. You need two digits whose lists are identical and exactly two cells long. A digit with two homes on its own is not enough; it needs a partner confined to the very same two cells.
- Strip every other candidate from those two cells. Each cell keeps only the two pair digits. The rest of the unit is untouched by this step.
- Look for what the removal unlocks. A candidate you just erased may have been one of only two homes for a digit in another unit, which leaves a Hidden Single there.
The two cells may share other candidates
The test is about the two digits, not about the two cells. Each pair digit has to be absent from every other cell of the unit. Whether the two cells happen to list other digits in common does not matter at all, and in practice they often do. In the row example below, both cells also show 3 and 9. Those two digits are not part of the pair because each of them can still go elsewhere in the row, and they are among the candidates that get erased.
Worked example: a Hidden Pair in a row
Take row 4. Its open cells are columns 1, 2, 3, 4, 6 and 7, and it still needs 1, 2, 3, 5, 7 and 9. Mapping each of those digits gives: 1 in columns 3, 4 and 6; 2 in columns 6 and 7; 3 in columns 1, 2, 4, 6 and 7; 5 in columns 6 and 7; 7 in columns 1 and 2; and 9 in every open cell.
The 2 and the 5 have the same list, columns 6 and 7, and nothing else in the row can take them. That is the Hidden Pair. The 7 also has only two homes, but no other digit is confined to columns 1 and 2, so it pairs with nothing.
Strip the red marks. Row 4, column 6 loses 1, 3 and 9, and row 4, column 7 loses 3 and 9; both are left with just 2 and 5. Now look at column 7: the 3 could go only in rows 4 and 5, and one of those homes was just erased. Row 5, column 7 is a Hidden Single 3, and the puzzle opens up from there.
Worked example: a Hidden Pair in a box
Boxes deserve their own scan, because a pair can be confined within a box while its digits still roam the row. The board below is a real position, reached from the starting grid by placing every naked and hidden single until none were left.
The bottom-right box already holds 3, 6 and 7, so it needs 1, 2, 4, 5, 8 and 9 across six open cells. The 1, 4, 5 and 8 each have four or more possible cells. The 2 and the 9 can both go only in row 7, column 7 and row 7, column 8. Those two cells hold 2 and 9 between them.
Row 7, column 7 drops 1, 4 and 8, and row 7, column 8 drops 1, 4 and 5. Scanning row 7 alone would not have found this: in the row, the 9 can also go in columns 1 and 3. The payoff comes in that same row, though. The 1 had three homes in row 7, columns 1, 7 and 8, and two of them were just erased, so row 7, column 1 must be the 1.
It is graded as needing Naked and Hidden Singles, a Naked Pair, an Omission and a Hidden Pair.
Hidden Pair vs Naked Pair
A Naked Pair starts from two cells that show only the same two candidates, and it clears those two digits from the rest of the unit. A Hidden Pair starts from two digits that fit in only two cells, and it clears everything else from inside those cells. One works outward, the other inward.
Applying a Hidden Pair turns its two cells into a Naked Pair. That matters when the cells share a second unit. In the box example the two cells also sit in row 7, so once they read just 2 and 9 they act as a Naked Pair in that row too, and the 9 leaves row 7, columns 1 and 3. In the row example the cells lie in different boxes, so there is no second unit to clear.
Every Hidden Pair also leaves a naked set behind. In row 4 above, the four other open cells hold only 1, 3, 7 and 9, a Naked Quad. Sometimes that side is easier to see. The guide why naked and hidden subsets work explains why the two always appear together.
How to spot it
Pick a unit and find two digits that each appear in only the same two cells. Those cells may carry other candidates that you can then strip away.
When to use it
Use it when a unit looks crowded; a Hidden Pair cleans two cells down to just the pair and often unlocks further moves.
Common mistakes
- Confusing it with a Naked Pair; here the two cells still show extra candidates until you apply the technique.
- Not removing the extra candidates from the two cells, which is the entire point of the move.
Frequently asked questions
- What is a Hidden Pair in Sudoku?
- A Hidden Pair is two digits that can each only go in the same two cells of a row, column, or box. All other candidates can be removed from those two cells, leaving just the pair.
- How do you find a Hidden Pair?
- For a unit, note which cells each digit can occupy. If two digits share exactly the same two cells and appear nowhere else in the unit, those two cells form a Hidden Pair.
- What is the difference between a Hidden Pair and a Naked Pair?
- A Naked Pair already shows only the two candidates. A Hidden Pair is buried among extra candidates in the two cells; applying it removes those extras.
- Can the two cells of a Hidden Pair share other candidates?
- Yes, and they often do. The condition concerns the two digits, not the cells: neither digit may appear anywhere else in the unit. Any other candidates the two cells have in common are irrelevant to spotting the pair and are erased when you apply it.
- How is a Hidden Pair different from a Hidden Triplet?
- A Hidden Pair locks two digits into two cells, so both digits must be possible in both cells. A Hidden Triplet locks three digits into three cells, and there a digit may fit in only two of the three. The pair is the smaller and more common case, so check for it first.
- Why are Hidden Pairs harder to see than Naked Pairs?
- A Naked Pair stands out on the grid as two cells with the same two pencil marks. The cells of a Hidden Pair usually carry several extra candidates and look like any other crowded cell. You only find one by tracking where each digit can go within a unit, which takes a deliberate scan.