New: Kerb Clash, clear the jammed car parkNew: Sudoku and Minesweeper, classic puzzles that play offlineInstall any game to your home screen

How to Solve Sudoku: 6 Techniques That Work

To solve Sudoku, place the digits that are forced first: a digit with only one place left in a row, column or box, or a cell with only one digit it can take. When those run out, pencil in notes and look for patterns that rule digits out. Each digit you rule out brings the next forced placement closer. Six techniques do all of this, and every level on PeerPuzzles can be finished with them.

Open Sudoku full screen for more levels, saved progress and best times.

New to Sudoku? Read the Sudoku rules first. They walk through a small 4×4 puzzle and show the first two techniques on a full grid.

A routine that works

  1. Scan for only places. Take one digit at a time and check every box, then any row or column that’s nearly full.
  2. Check crowded cells. A cell whose row, column and box are already busy may have only one digit left.
  3. Write notes once nothing is forced.
  4. Look for patterns in the notes: pointing, claiming and pairs.
  5. After every digit you place, look again at its row, column and box, and rub it out of the notes there.

The techniques below go in the same order. The first two place digits. The other four only rule digits out, but each one is usually a step away from a placement.

1. The only place for a digit

Pick a row, column or box and a digit it’s missing. Rule out every empty cell that already sees that digit, through its row, column or box. If one cell is left, the digit goes there.

The only place for a 9 in row 5 Row 5 has five empty cells. Columns 3, 6 and 8 already have a 9, and so does the box holding column 9, which rules out four of them. The 9 goes in the one cell left, row 5, column 5. 5 3 7 6 9 1 9 2 1 4 7 5 9 2 1 2 5 4 3 3 7 9 5 7 3 7 2 1 5 9 9 4 9
Row 5 needs a 9. Columns 3, 6 and 8 already have one, and so does the box holding column 9. Only column 5 is left.

The rules page shows this for a box, which is where most people start. It works just as well in a row or column, and sometimes only the row finds it: here neither the 9’s box nor its column has narrowed it down yet. A row, column or box with one empty cell left is the simplest case of all. The missing digit goes in the gap. More on hidden singles.

2. The only digit for a cell

Turn it around and start from a cell. It shares a row, column or box with 20 other cells. If eight different digits are already among them, the ninth is the only one it can take.

The only digit for row 8, column 8 A hard puzzle part-way through. No digit has only one place left anywhere, but row 8, column 8 already sees 1, 2, 3, 4, 5, 6, 7 and 9, so it must be 8. 1 6 8 3 4 9 4 6 5 8 1 6 4 2 7 8 6 4 7 1 5 5 2 1 7 6 2 4 1 6 4 6 8 4 6 4 6 7 4 8
Row 8, column 8 sees every digit except 8, so it must be 8. On this Hard puzzle, it’s the only move on the board.

This position comes from a Hard puzzle with 39 digits in. No digit has only one place left anywhere on the grid, so scanning finds nothing. But row 8 already has 1, 2, 4, 5, 6 and 7, and column 8 adds 3 and 9. That leaves 8. Easy puzzles rarely need this view; Hard ones often do. More on naked singles.

Notes: when the singles run out

Notes (or pencil marks) are the digits each empty cell could still take. To write them, go cell by cell and pencil in every digit that isn’t already in its row, column or box. In the game, turn on Notes and tap digits to add them small.

Two habits keep notes useful:

  • Rub out as you go. When you place a digit, remove it from the notes of every cell in its row, column and box.
  • Be complete. Leaving a digit out of a note can make a pattern appear that isn’t there. Most stuck Sudokus have a missing note somewhere.

Notes don’t place anything by themselves. They make the next four techniques visible.

3. Pointing: a box’s digit stuck in one line

If all the places for a digit in a box lie in the same row or column, then that row or column gets its digit from this box. No cell outside the box in that line can have it.

Pointing: the top-middle box's 1 is in column 4 Notes for the digit 1 only. In the top-middle box, 1 can only go in row 1 or row 3 of column 4, so the 1s pencilled in rows 7 and 8 of column 4 are ruled out. 1 1 1 1 7 8 6 8 3 5 9 4 7 5 6 1 5 7 7 2 4 1 3 9 4 6 7 6 9 4 3 9 7 6 9 1 2 4 6 8 9 5 8 1 8 9 4 3 2 6 5 8 6 9 8 6 8 4 9 7 8
Notes for the 1 only. The top-middle box’s 1 is in column 4, rows 1 or 3, so the 1s in rows 7 and 8 of column 4 go.

The top-middle box needs a 1, and it has three empty cells. Column 5 already has a 1 (in row 4), which rules out row 3, column 5. Both places left are in column 4. You don’t know which one yet, but column 4’s 1 is in this box either way, so you can cross 1 out of rows 7 and 8 of column 4. With that gone, row 7 has only one place left for its 1: column 6. More on pointing pairs.

4. Claiming: a line’s digit stuck in one box

This is pointing the other way round. If all the places for a digit in a row or column lie inside one box, then that box gets its digit from this line. No other cell in the box can have it.

Claiming: row 1's 9 is in the top-left box Notes for the digit 9 only. In row 1, 9 can only go in column 1 or column 3, both inside the top-left box, so the 9s pencilled in rows 2 and 3 of that box are ruled out. 9 9 9 9 9 1 5 6 4 3 6 7 2 5 7 6 4 5 1 4 6 8 2 3 8 2 5 1 1 6 2 7 7 4 9 3 2 7 3 6 8 7 9 8 6 7 1 7 9 3 5 4 7 9 6 8 4 3 6 1 5 8
Notes for the 9 only. Row 1’s 9 is in the top-left box, so the box’s other 9s go.

Row 1 needs a 9 and has three empty cells. Column 4 already has a 9 (in row 9), so the 9 is in column 1 or column 3, and both are in the top-left box. The box’s 9 is therefore in row 1, and you can cross 9 out of rows 2 and 3 of the box. That leaves row 2, column 3 with only 5 in its notes. More on box/line reduction.

5. Naked pairs

If two cells in a row, column or box have the same two digits in their notes, and nothing else, those two digits belong to those two cells. You don’t know which way round yet, but no other cell in that row, column or box can have either digit.

Naked pair: 7 and 9 in row 4 Row 4 with full notes. Columns 3 and 8 can each only be 7 or 9, so between them they take both. The 7s and 9s in the row's other cells are ruled out, which leaves column 2 with only 6. 6 7 9 7 9 1 2 9 1 2 3 6 7 9 7 9 2 3 9 3 1 6 5 8 5 9 8 4 7 8 3 2 7 1 6 3 5 1 1 9 8 2 5 7 6 7 4 3 7 2 1 6 6 1 3 5 4 8 8 6 6 5 1
Row 4 with full notes. Columns 3 and 8 are both 7 or 9, so the other 7s and 9s in the row go.

Row 4’s notes read: column 2 is 6, 7 or 9; column 3 is 7 or 9; column 5 is 1, 2 or 9; column 7 is 1, 2, 3, 6, 7 or 9; column 8 is 7 or 9; and column 9 is 2, 3 or 9. Columns 3 and 8 form the pair. Crossing 7 and 9 out of the rest of the row leaves column 2 with only 6, and gives column 2’s 7 only one place left, in row 8.

The same idea works with three cells that share three digits between them, called a naked triple. Pairs are far more common, so look for them first. More on naked pairs.

6. Hidden pairs

If two digits each have only the same two places in a row, column or box, those two cells must hold those two digits. Anything else in their notes can go. The pair is “hidden” because the cells have other notes too.

Hidden pair: 8 and 9 in column 6 Column 6 with full notes. The digits 8 and 9 each have only two places, rows 3 and 6, so those two cells must hold them. Their other notes, 1 and 5 in row 3 and 7 in row 6, are ruled out. 1 5 8 9 1 5 7 7 8 9 1 5 1 5 7 4 6 2 3 6 7 2 9 8 6 1 4 7 5 6 2 1 2 5 6 4 7 2 9 8 4 7 2 6 4 2 6 5 2 4 3 6 8 2 3 6
Column 6 with full notes. 8 and 9 only fit in rows 3 and 6, so those cells lose their other notes.

Column 6’s notes read: row 3 is 1, 5, 8 or 9; row 4 is 1, 5 or 7; row 6 is 7, 8 or 9; row 8 is 1 or 5; and row 9 is 1, 5 or 7. The 8 and the 9 each appear only in rows 3 and 6. So row 3 loses its 1 and 5, and row 6 loses its 7. Now row 6’s 7 has only one place left: column 3.

Hidden pairs are the hardest of the six to spot. Scan one digit at a time and count its places; when two digits share the same two, you’ve found one. More on hidden pairs.

How far these techniques go

Every level on PeerPuzzles is graded by these techniques. Easy levels need only technique 1. Medium levels need technique 2, 3 or 4 at least once, but no pairs. Hard levels need a pair, and the six always finish them.

That isn’t true of Sudoku in general, where difficulty is usually set by how many digits are given. We ran 300 random puzzles at each of three counts through a solver that uses only these techniques, always trying the simplest first:

Givens Techniques 1 and 2 Up to 4 All six
40 100% 100% 100%
32 93% 95% 95%
26 59% 67% 72%

With 40 givens, the first two techniques always did. With 26, two puzzles can be worlds apart: some need nothing beyond singles, and more than a quarter need techniques beyond these six, such as triples and X-Wing. That’s why our levels are graded by the techniques they need rather than by how many digits they start with.

A Medium puzzle, solved step by step

This puzzle is typical Medium: almost all singles, with one stuck point.

A Medium Sudoku with 32 givens The starting grid of the Medium puzzle solved on this page, with 32 digits given. 5 3 7 6 9 1 9 2 1 4 7 5 9 2 1 2 5 4 3 3 7 9 5 7 3 7 2 1 5 9 9 4
A Medium puzzle with 32 givens.

Step 1: place every single

Scan digit by digit and keep going until nothing is forced. Every one of the first 17 digits comes from technique 1, the only place for a digit. Then it stops, with 49 digits in.

Step 1: as far as singles go The puzzle after placing every digit that has only one place, or every cell that has only one digit. The new digits are coloured. No single is left. 5 3 7 6 9 1 9 2 1 4 7 5 9 2 1 2 5 4 3 3 7 9 5 7 3 7 2 1 5 9 9 4 1 3 9 5 5 3 1 9 9 1 2 5 1 3 5 1 7
After 17 singles, shown in colour. Nothing else is forced yet.

Step 2: pencil in the 4s

Rather than noting every cell, try one digit at a time. Row 1 has gaps in columns 3, 5 and 9, and column 9 already has a 4. So row 1’s 4 is in column 3 or column 5.

Now look at the bottom-left box. Its 4 can only go in rows 7 or 8 of column 3, so column 3’s 4 is down there (technique 3, pointing). That rules out row 1, column 3, and row 1’s 4 has one place left: column 5.

Step 2: the bottom-left box points a 4 up column 3 Notes for the digit 4 only. In the bottom-left box, 4 can only go in rows 7 and 8 of column 3, so it can't go in row 1, column 3. That leaves row 1 one place for its 4: column 5. 4 4 4 4 5 3 7 6 9 1 9 2 1 4 7 5 9 2 1 2 5 4 3 3 7 9 5 7 3 7 2 1 5 9 9 4 1 3 9 5 5 3 1 9 9 1 2 5 1 3 5 1 7
The bottom-left box points its 4 up column 3, which settles row 1’s 4.

Step 3: singles again

That one 4 is all it takes. The remaining 32 digits are all singles again, each one opening the next.

The solved Medium puzzle The finished grid. Digits placed after the stuck point are coloured: all 32 of them came from singles. 5 3 7 6 9 1 9 2 1 4 7 5 9 2 1 2 5 4 3 3 7 9 5 7 3 7 2 1 5 9 9 4 1 3 9 5 5 3 1 9 9 1 2 5 1 3 5 1 7 2 4 8 8 4 6 2 7 7 6 8 4 8 6 3 8 7 6 6 4 8 4 6 8 2 6 8 3 4 2 8 6
The solved puzzle. The 32 digits placed after the stuck point are in colour.

When you get stuck

  • Look where you last placed a digit. Its row, column and box have just changed. Most new moves turn up there.
  • Go one digit at a time. Check where the 1s can go in all nine boxes, then the 2s, and so on. It’s slower than glancing around, but it doesn’t miss things.
  • Check your notes. A missing note hides moves. A note you forgot to rub out creates false ones.
  • Start with the two-note cells. Pairs, and many single placements, begin with a cell that has only two digits left.
  • Don’t guess. There’s always a reason for the next digit. Finding it is the puzzle.

Next steps

Questions

What should I do first on a new puzzle?

Take the digits one at a time, starting with whichever appears most often, and check every box for an only place. A fresh puzzle gives up most of its early digits this way, and you don’t need any notes yet.

Should I fill in all the notes at the start?

Not on Easy or Medium. Place the singles first: every digit you place is a note you never have to write or rub out. Write notes once the singles run out, when the grid is fuller and the notes are shorter.

What if none of these techniques work?

On PeerPuzzles that doesn’t happen: every level is checked to be finished by these six. Puzzles elsewhere can need more, such as triples or X-Wing. In random puzzles with 26 givens, about 3 in 10 do. If you’re stuck on one of ours, check your notes for a missing digit first.

Is it OK to guess?

It’s your puzzle, but guessing rarely saves time. A wrong guess can sit unnoticed for twenty moves before the grid breaks, and then you have to find where it went wrong. Every puzzle here has exactly one solution, so there is always a reason for every digit.