Hidden pair
A hidden pair is two digits that, within one row, column or box, can only go in the same two cells. Those two cells must therefore hold those two digits, and every other candidate in them can be erased.
Level: first needed at Hard · Technique 6 of 12 in our grading order
Real position from our hard pool (puzzle #111). Press Next step to see how hidden pair applies.
Why it works
Look at one house and two digits, say 2 and 6. If 2 can only go in cells A and B, and 6 can also only go in A and B, then A and B are reserved: one is 2, the other is 6. Nothing else can fit there, even if their notes currently list 1, 5 or 9 as well. Removing those extra notes turns the hidden pair into a naked one.
It is the mirror of the naked pair. The naked pair looks at cells and asks which digits they hold; the hidden pair looks at digits and asks which cells can hold them. Any naked pair in a house of n empty cells implies a hidden group of the remaining n − 2 cells — which is why solvers usually find whichever version is smaller.
How to spot it
Hidden pairs are hard to see because the two cells are crowded with other candidates. The trick is to stop looking at cells and count digit positions. Pick a house that is stuck, and for each missing digit, count how many cells could take it. Any digit with exactly two positions is a candidate for a pair. If two such digits share the same two positions, you have found it.
Boxes are the best place to start: positions inside a box are easy to compare because the box is compact. Our example comes from the Hard pool, where nothing simpler applied at that point. Step through it to see the two cells light up and their surplus candidates struck out.
Hidden pairs from hidden singles
A good habit: when you scan a house for hidden singles and find a digit with two positions, note it. A second digit with the same two positions is a hidden pair. You get the pair almost for free as a by-product of the scan you were already doing.
Common mistakes
Do not confuse “these two digits appear in these two cells” with “these two digits appear only in these two cells”. If 2 also has a third possible home in the house, there is no pair. And remember the eliminations happen inside the two cells — the hidden pair removes the other candidates from A and B, not the pair digits from the rest of the house (they are not there by definition).
Bigger hidden groups
The same reasoning works for three digits confined to three cells (a hidden triple) and beyond. Our grader checks hidden triples at tier 4 alongside naked triples and the X-Wing. Hidden quads exist too, but in practice they are almost always easier to see as the complementary naked group.
Practice
Play Hard boards with full notes and, whenever you stall, pick the box with the most empty cells and write down each missing digit’s positions. After a few puzzles you will start to see hidden pairs without the bookkeeping.
Quick checklist
- Pick a stuck house and, for each missing digit, count its possible cells.
- Note digits with exactly two positions.
- Two such digits sharing the same two cells are a hidden pair.
- Erase every other candidate from those two cells; they now form a naked pair you can use elsewhere in the house.
About the example board
The board comes from puzzle #111 of our Hard pool. It started with 27 givens; at this point 56 cells are filled and the remaining 25 empty cells hold 58 pencil-mark candidates. Our grader tried every easier technique first and none of them applied — hidden pair was the simplest way forward. The move removes 1 candidate: In row 5, 3, 8 can only go in R5C6, R5C8, so the other candidates there are removed: 5 from R5C6.
After applying it, the next step the grader finds is a hidden single: In box 5, 5 can only go in R4C6. That is typical: one harder move usually unlocks a run of easier ones.
Related techniques
Written by Nina Patel. Example board generated by the Sudokua grader from our own puzzle pool. See all techniques.