This is a real hard puzzle, the kind that comes off the hard printable sheet on a given day, worked through in the order the moves actually appear. Not a tidied-up example: the first scan finds nothing at all, and there is no X-Wing anywhere in the solve.
Sudoku solver, step by step
How this solver works
Most sudoku solvers hand you the finished grid. This one shows the reasoning: it solves the puzzle with the same nine techniques a person uses, in order from easiest to hardest, and explains each step. You can step forwards and backwards through the whole solve and watch which cells each technique depends on.
If a puzzle cannot be cracked with these techniques, the solver says so instead of pretending - that is a genuinely hard puzzle, and it will show you the answer from an exact solver.
- Naked single - a cell with only one candidate left
- Hidden single - a digit that fits in only one cell of a row, column or box
- Locked candidates - a digit confined to one line inside a box, or one box inside a line
- Naked pair / triple - two or three cells sharing the same few candidates
- Hidden pair - two digits that fit in only the same two cells
- X-Wing - a digit with two positions in each of two lines
- XY-Wing - a pivot cell and two pincers eliminating a third digit
- Swordfish - the three-line version of X-Wing
If you want to follow along on paper, copy the grid above into a hard printable sheet and use pencil. The point of the walkthrough is to show what a hard puzzle actually costs, move by move, rather than what a textbook says it should cost.
Step 0: what the label promises, and what this puzzle delivers
The difficulty ladder puts hard puzzles at hidden pairs and naked triples, with locked candidates and pairs doing the support work. This particular grid needs one hidden pair and one locked candidate, and no X-Wing at all: the pair work finishes the job. That is normal, and worth internalising: a difficulty label marks the ceiling of the techniques a puzzle may require, not a checklist it must contain.
The grid has 29 givens and 52 empty cells. What matters more than the count is that the opening scan yields nothing: there is not a single naked or hidden single available in any row, column or box. A beginner will re-scan four or five times looking for the one they missed. There is nothing to find yet, and that is the puzzle telling you to switch tools.
Step 1: write candidates, but only where they are tight
With no singles on the board, candidate notation is not optional. The efficient version marks only cells with two or three possibilities rather than filling every empty cell with a full set. Those narrow cells are where the first real deduction will come from, and marking the wide ones mostly produces clutter that later has to be un-done by hand.
Step 2: the pair in column 5
Column 5 has two empty cells that cannot be anything but 4 or 5: row 5 and row 6. That is a naked pair, and it means 4 and 5 cannot appear anywhere else in column 5. Four candidates disappear at once.
Two cells holding the same two digits looks unremarkable on the page. It is the most common breakthrough in a hard puzzle, and it is the reason the candidates-only-where-tight advice pays off: the pair was visible because only a handful of cells had short lists.
Step 3: the hidden pair in row 3
Row 3 is a different flavour. Cells r3c3 and r3c5 each hold several candidates, but 3 and 6 can go nowhere else in that row: every other empty cell sees a 3 or a 6 from its column or box. That is a hidden pair. It strips the other candidates out of those two cells, and the first placements of the whole solve follow immediately.
The distinction matters. A naked pair is visible — two identical candidate sets. A hidden pair is invisible until you ask the question backwards: where can 3 go in this row? Beginners look for naked pairs for a long time and never spot the hidden ones, because nothing on the page draws attention to them.
Step 4: the one locked candidate
In the top-left box, every remaining place for a 9 lies in column 1. The digit is trapped inside the box along one line, so it cannot appear anywhere else in that column outside the box. One candidate is eliminated, and one is enough: it collapses a cell that had been stuck at two options since step 1.
This is locked candidates, the first technique that reads two units at once, and the only one this puzzle needs. It is also the one people miss most often, because the deduction is about where a digit could go rather than what a cell can hold.
Step 5: row 5 collapses
Row 5 now has a naked pair of its own at r5c1 and r5c2, holding 3 and 4. Four eliminations follow across the row, placements land, and the row resolves. From here the puzzle is over except for the bookkeeping.
Steps 6 to 52: the tail
What remains is pairs in the columns, in sequence: 2 and 5 in column 9 at rows 6 and 7, 4 and 7 in column 2 at rows 7 and 9, 2 and 5 again in column 3 at rows 7 and 9, 4 and 5 in column 7 at rows 7 and 9. Each one removes a candidate or two and hands you the next single. None of it is hard in the sense of clever; it is hard in the sense of needing clean pencil notation, because a single stale mark in the endgame produces a false elimination that looks exactly like a real one.
The finished grid is checkable in the solver if you want to compare with your paper copy: enter it and the tool will confirm every row, column and box holds 1 to 9 exactly once.
What this puzzle teaches
- A stall at the start is not a missed single. With 29 givens and no singles available, the correct response is candidate notation, not another scan.
- The move that unlocks a hard grid is often the one you were not looking for. Here it was a hidden pair in row 3 that delivered the first placements, and no X-Wing was needed.
- The endgame is where accuracy lives. Most ruined hard puzzles are ruined by a stale candidate mark, not by a missed pattern.
- Difficulty labels describe a ceiling. If a puzzle falls to pairs and one locked candidate, the puzzle is being kind, not the label being wrong.
Practising the moves in this walkthrough
The two techniques that decided this grid each have a dedicated page: naked pair and locked candidates. To practise them on boards that need exactly one of them, use the technique drills. To see the same process on an easier grid, read a medium sudoku solved move by move.