Sudoku Offline

Stuck on a hard sudoku?

Check for a mistake, finish your notes, then search in the order below. If nothing turns up, the solver on this page shows one next step and the reason for it.

When a hard sudoku stops, first make sure no digit is wrong. Then write every candidate into every empty cell, go through the singles again, and search for pointing pairs, pairs and triples in that order. Each of these moves proves something, so you can finish without guessing.

First look for a mistake

Run along each row, column and box and look for a repeated digit. A wrong digit does not always clash straight away, so a clean look is no guarantee. Type the givens and your own digits into the solver below and press "Check for one answer". If it reports no answer, at least one digit is wrong.

With a puzzle from paper, compare the givens as well. One misread 1 or 7 is enough to block the rest. On the boards of this site, switch on "Mark mistakes" and every wrong digit is marked.

Then finish your notes

Pairs and triples only show up when the notes of a whole row, column or box are complete. A missing note can make you see a pair that does not exist, and an old note hides one that does. Go cell by cell and compare each with its row, column and box. If half the board has no pencil marks yet, write them all now.

What to search for, in this order

  1. Hidden singles. Take the digits 1 to 9 one after another and look at each box, then at each row and column, for a digit with one place left.
  2. Naked singles, which are cells with one note.
  3. Pointing pairs. All two or three notes for a digit in a box lie in one row or column, so the digit leaves the rest of that line. Check the reverse too: a digit that fits only inside one box of a line leaves the rest of the box.
  4. Naked pairs, two cells of a row, column or box with the same two notes.
  5. Hidden pairs, two digits that fit only in the same two cells. Then the same with three.
  6. X-Wing, Swordfish and XY-Wing, which need a look across the whole board.

Return to the first line after every note you remove. One removed note is often all it takes to turn a cell into a single.

415459864174578396346959635724167482996859361267829237893682326782378238129123758935682323231212128281787818183535272345121257345727827824847
Third on the list. In box 7 every possible 3 lies in column 3. One of them will be the 3 of that line, so no other cell of column 3 can be 3. Remove 3 from R2C3.
83967274318427529537569954247198942145121251415691685891814567967136813581568245891258914836396946184781681467834182348128134816712368138126837836783635856856836716715635756
Fifth on the list. In column 9 the digits 6 and 7 fit only in R5C9 and R7C9. Those two cells cannot hold anything else. Remove 1 from R5C9; 3 from R7C9; 4 from R5C9; 8 from R5C9 and R7C9.

The hidden pair sits under a pile of other notes, which is why it is easy to pass over. In most of our Expert puzzles it is the hardest step. To find one, take a row, column or box and ask for each missing digit which cells can hold it. Two digits with the same two cells are a pair.

See your own next step

Type the puzzle in, or paste it as 81 characters with dots for the empty cells, and press "Next step". If you are playing on this site, the link "Stuck? Ask for the next step" next to the board opens the main solver with the givens and the digits you have right.

    The solver takes the easiest step it can find, names the technique and marks the cells. It knows everything on the list above. When a puzzle needs something harder it says so and gives you one cell of the answer. It runs in your browser and sends nothing.

    Is it ever right to guess?

    None of the five levels on this site needs it. Puzzles from elsewhere can go beyond the techniques you know, and then a careful trial is sound. Take a cell with two notes, assume one of them and follow the consequences in a different color. If a row, column or box ends up with a repeated digit, or a cell with nothing left, the assumption is disproved and the other note is right.

    Keep the trial apart from your real digits. A guess in ink that happens to look fine for ten moves is hard to take back.

    Questions

    How do you solve a hard sudoku without guessing?

    Keep complete notes and remove candidates one proof at a time: pointing pairs or triples, box/line reduction and naked pairs first, then hidden pairs and triples. The first three are enough for every Hard puzzle on this site.

    What is the hidden triple rule in sudoku?

    If three digits fit only in the same three cells of a row, column or box, those cells hold exactly these digits. Every other note in the three cells can be removed.

    Why is there no digit left for a cell?

    An earlier digit is wrong, or a note was removed that should have stayed. Use undo until the notes make sense again, or check the board with the solver.

    What if the puzzle has no logical next step?

    It may need a technique you have not met, or it may have more than one answer. The solver tells you which. See sudoku with two solutions.

    Which level should I practice on?

    The Hard board. A Hard puzzle here needs a pointing pair or triple, a box/line reduction or a naked pair, and nothing above that.

    Keep reading