Written by Brian Hamilton and Karan Hamilton.
Brian and Karan are the puzzle lovers and game makers behind Sudoku Online Puzzles. You can learn more on the About page.
Guides are reviewed for clarity, accuracy, and usefulness for solvers. See our editorial standards, puzzle testing process, or send a correction.
In column 4 of the first figure below, ask where the 5 can go: R7C4 or R9C4. Now ask the same about the 6: the same two cells. Nothing about those cells stands out, since one shows four candidates and the other three. But the column still needs a 5 and a 6, and only those two cells can take them, so every other mark in them can go. That is a hidden pair.
The board is puzzle 422 of the 5,000 behind our Evil sudoku page. Naked singles, hidden singles and two naked pairs have taken it 31 moves; this hidden pair is the hardest step it needs, and after it, singles finish the grid. That is where hidden pairs live on this site. Not once in 800 puzzles did our Easy to Expert levels need one. On Evil, it is the most common step past the basics.
What is a hidden pair in sudoku?
A hidden pair is two digits that, within one house (a row, column or box), can each go in only the same two cells. Those cells must take both digits, one each, so every other candidate in the two cells can be crossed out. Nothing leaves the rest of the house.
“Hidden” is about how it looks. The two digits sit among other pencil marks (R7C4 shows 2, 5, 6 and 7), so no single cell gives the pair away. You find it by asking about digits, not cells.
Why is it safe? If R7C4 were a 2 or a 7, the 5 and the 6 would both need R9C4, the only other cell in column 4 that can take either, and a cell holds one digit. The same goes for R9C4. So the two cells hold the 5 and the 6 in some order, and the struck 2s and 7 go whichever it is.
To replay it, bring this position up in our Sudoku Helper. Its marks come from the digits alone, so once Next Hint has filled them in, the helper’s first two hints are the naked pairs again, {2, 7} in row 8 and {4, 8} in column 8. Apply both, and the next hint is this hidden pair.
How do you find a hidden pair?
Take one house at a time and, for each digit it still needs, count the cells that can take it. Here is column 4 from the first figure:
| Digit | Cells in column 4 that can take it | Places |
|---|---|---|
| 2 | R1C4, R3C4, R7C4, R8C4, R9C4 | 5 |
| 3 | R3C4, R5C4 | 2 |
| 5 | R7C4, R9C4 | 2 |
| 6 | R7C4, R9C4 | 2 |
| 7 | R7C4, R8C4 | 2 |
| 9 | R1C4, R3C4, R5C4 | 3 |
Evil puzzle 422 after 31 moves. Column 4 already holds 1, 4 and 8, so these are the six digits it still needs. The highlighted rows are the pair.
Four digits have exactly two places, but only the 5 and the 6 have the same two. The 3 and the 7 each have a different two, so neither makes a pair. As a routine:
- Pick a house with five or more empty cells. With fewer, a naked pair or a single in the other cells removes the same marks first (the next section shows why). Every hidden pair our helper played on our 5,000 Evil puzzles had at least five.
- Count each missing digit’s places and drop any digit with three or more.
- Look for two digits sharing the same two cells, and strike everything else from those cells.
Do the rows and columns first. Of the 2,446 hidden pairs our helper played across all 5,000 Evil puzzles, 2,255 (92%) lay in a row or column, 1,264 of them in a box as well, as this one is in box 8. Only 191 (8%) were in a box alone, the two cells in different rows and columns. A row-and-column scan misses those, so finish with the boxes.
A hidden pair is a claim about where digits are not, so one missing mark can fake one: leave a 5 out of a third cell and the false pair can strike a cell’s real answer. Work from complete marks (Start Notes on our puzzle pages fills them all in) and keep them current.
What is the difference between a hidden pair and a naked pair?
They work in opposite directions. A naked pair is two cells holding only the same two candidates, so those digits leave every other cell in the house. A hidden pair is two digits with only the same two cells, so every other digit leaves those cells.
| Naked pair | Hidden pair | |
|---|---|---|
| You look at | Cells: two with the same two candidates and nothing else | Digits: two with the same two places and no others |
| What comes out | Those two digits, from the rest of the house | Every other digit, from the two cells |
| Needed on our Expert level | 17 of 200 puzzles | 0 of 200 |
| Needed on our Evil puzzles | 2,232 of 5,000 | 1,863 of 5,000 |
Needed: puzzles on which the technique was, at least once, the simplest move our helper’s eighteen techniques could make. Expert: 200 puzzles from the generator behind our Expert page. Evil: the whole bank. Measured October 2026.
They are also one deduction seen from two sides. Column 4 has six empty cells and needs six digits. Set aside the 5, the 6 and their two cells, and the other four cells must hold the other four digits, 2, 3, 7 and 9, which is all they show. Four cells holding only four digits are a naked quad, and it clears those digits from the rest of the column: the 2s and the 7 in R7C4 and R9C4.
In a house with n empty cells, k digits confined to k cells leave the other n − k cells holding only the other n − k digits, and the two sets remove exactly the same candidates. A hidden single is the smallest case: one digit with one place, in a house with five empty cells, is a naked quad in the other four. You only ever need to see the smaller side.
For a hidden pair the mirror has n − 2 cells. With four empty cells it is a naked pair (with three, a single), which the helper checks first, so no hidden pair it played had fewer than five. With five it is a naked triple, as for 1,269 of the 2,446 (52%). The other 1,177 sat only in houses with six or more, where the mirror is a naked quad or bigger, which our helper does not look for and few people spot.
What happens after a hidden pair?
Look where the struck digits can still go. A hidden pair can’t make a naked single, because its cells keep two candidates each and nothing else changes. What it can do is leave a struck digit with one place in another house. In puzzle 422 the 7 that left R7C4 had one other place in row 7, R7C3, and one in column 4, R8C4: two hidden singles at once, blue in the second figure. The helper places R8C4, and naked singles fill the other 25 cells.
Don’t count on an instant payoff, though. Only 655 of the 2,446 hidden pairs (27%) made a single straight away. The typical one removed three candidates, the biggest nine.
Does it become a naked pair? Yes, but that adds nothing. In its own house no other cell had either digit. Where the two cells also share a box, as R7C4 and R9C4 share box 8, locked candidates have already cleared the box: when a column’s only places for a digit lie in one box, box/line reduction removes that digit from the rest of the box. Solving simplest first, the new naked pair removed nothing after any of the 2,446.
How often do you need a hidden pair?
Here our helper solved puzzles from each level exactly as Next Hint would, picking the simplest of its eighteen techniques at every step; the counts are puzzles where a hidden pair was ever the pick.
| Level | Puzzles played | Needed a hidden pair |
|---|---|---|
| Easy | 200 | 0 |
| Medium | 200 | 0 |
| Hard | 200 | 0 |
| Expert | 200 | 0 |
| Evil, first 500 | 500 | 216 (43%) |
| Evil, whole bank | 5,000 | 1,863 (37%) |
Easy to Expert: 200 puzzles each from the generator behind our level pages. Evil: the bank behind our Evil page, whose score order makes its first 500 harder than the whole. Measured October 2026.
The classic levels never need one because of how they are dealt: the generator keeps a board only if its own logic finishes it, with Easy and Medium boards left to singles, Hard ones allowed locked candidates too, and Expert ones naked pairs on top. A hidden pair is often on those boards (254 of the 277 Expert positions without a single had one), yet every time something simpler was on offer as well. So if a guide files hidden pairs under medium puzzles, that is not true of ours.
Singles, locked candidates and naked pairs stall on every one of our 5,000 Evil puzzles. The next step the helper needs is a hidden pair on 1,530 of them, almost twice as often as the runner-up, an almost locked set (800). Most puzzles that need a hidden pair need just one (1,391 of the 1,863), and on 158 it is the hardest step of the solve, as on puzzle 422.
Stuck after naked pairs? What to try next
Check for a hidden pair before anything with “wing” in its name. One was available at 31.6% of the 4,618 single-free positions in our first 500 Evil puzzles, and it is quick to rule out: only houses with five or more empty cells, only digits with two places.
If there is none, or yours opens nothing, here is what our Evil puzzles needed next. After their first hidden pair, the next step past the basics was most often an almost locked set (402 of the 1,863 puzzles), an XY-Wing (290) or a W-Wing (267); a naked triple came next on 131 and a hidden triple on 36. On 168 nothing harder was needed; on 40 the helper’s eighteen ran out, which is where X-cycles, XY-chains, the BUG test and forcing chains come in. Each is covered, in learning order, in our guide to sudoku techniques.
Do hidden triples and quads come up?
The idea stretches to three digits confined to the same three cells (a hidden triple) and four in four (a hidden quad); no digit has to appear in all of them. Both are rare. A hidden triple was needed on 21 of the first 500 Evil puzzles and 160 of all 5,000. Our helper skips hidden quads, and the mirror says little is lost: unless all nine cells of the house are empty, a hidden quad’s mirror is a naked set of four cells or fewer.
Where can you practise hidden pairs?
On Evil puzzles, since nothing from Easy to Expert ever calls for one. Fill in the notes, take every single, and when they dry up, go through the houses with five or more empty cells digit by digit. The Sudoku Helper will name any hidden pair you missed once nothing simpler is left.
Choose Hidden Pair in the Sudoku Trainer for ten positions with every pencil mark showing. Your answer is the two cells, not the two digits: select both and press Check, which accepts the pattern cells and nothing else. Find Pattern then strikes the extras.
Evil Sudoku
5,000 puzzles, each with one solution. A hidden pair is the first step past naked pairs on 1,530 of them.
▶ Play Evil Sudoku