Sudoku for beginners: rules, scanning and singles

Sudoku uses numbers, but it needs no arithmetic at all — it is a puzzle about what is possible and what is not. The rules take a minute to learn, and one simple technique, used patiently, solves most easy and many medium puzzles.

Want to try it as you read? Play Sudoku free in your browser — no login, no download.

The rules

A Sudoku grid is 9×9 squares, divided into nine 3×3 boxes. Some cells already hold digits (the givens). You fill in the rest so that:

  1. Every row contains the digits 1 to 9, each exactly once.
  2. Every column contains the digits 1 to 9, each exactly once.
  3. Every 3×3 box contains the digits 1 to 9, each exactly once.

That is all. A well-made puzzle has exactly one solution, and you can always reach it by logic. Guessing is never required; if you feel the urge, there is a step you haven't seen yet, or a mistake somewhere earlier.

It helps to know the vocabulary. A row, a column and a box are each called a unit. Every cell belongs to three units at once, and that overlap is what makes the puzzle solvable. A candidate is a digit that might still go in a cell.

Technique 1: scanning for a hidden single

This is the first thing to learn, and the technique you will use most. Instead of asking "what goes in this cell?", pick a digit and ask "where can this digit go in this unit?"

Take the digit 5 and the top-left box, which doesn't have a 5 yet. Suppose there are 5s elsewhere in the grid at row 1 column 7, row 2 column 5, row 5 column 1 and row 8 column 2. Each of those 5s rules out cells in the top-left box:

  • The 5 in row 1 rules out every cell of row 1 in the box.
  • The 5 in row 2 rules out every cell of row 2 in the box.
  • The 5 in column 1 rules out column 1, and the 5 in column 2 rules out column 2.

That leaves one cell in the box: row 3, column 3. A 5 has to go somewhere in the box, so it goes there. This is called a hidden single — the cell may have several candidates, but it is the only place left for this digit in this unit.

The method: pick a digit. For each box, row or column that doesn't contain it yet, mentally "shine a light" from each existing copy of that digit along its row and column. If exactly one cell in the unit is left in the dark, the digit goes there. Then move to the next digit.

Start with the digits that appear most often in the grid — they cast the most shadows. After placing a digit, go round again: each new number creates new shadows.

Technique 2: the naked single

The second technique asks the opposite question: for one cell, which digits are possible? List every digit already in the cell's row, column and box; any digit not on the list is a candidate. If only one candidate remains, it is a naked single.

For example, suppose a cell's row holds 1, 2, 3 and 4, its column holds 5, 6 and 7, and its box holds 2 and 8. Together that rules out 1 to 8. The only digit left is 9, so the cell is a 9.

Naked singles show up most in crowded areas of the grid — a box that is nearly full, or a cell where a row and column both have lots of digits.

Technique 3: the last cell in a unit

The simplest case of all: if a row, column or box already holds eight different digits, the empty cell takes the ninth. It sounds trivial, but it is easy to overlook while you are hunting for harder things. Glance at each unit's count of filled cells as you work.

Pencil marks

When scanning gets slow, write candidates in the corners of empty cells. A cell with two candidates, such as 4 and 7, is a useful sign; a cell with one is a naked single waiting to be placed. Pencil marks make the next techniques possible, and they also let you update quickly: each time you place a digit, cross it out of the candidates in its row, column and box.

A sensible routine

  1. Scan each digit from 1 to 9 for hidden singles. Place everything you find.
  2. If a pass finds nothing, check boxes, rows and columns with the fewest empty cells for naked singles and last cells.
  3. Still stuck? Fill in pencil marks for the whole grid and look again.
  4. Repeat. Easy puzzles will fall to steps 1 and 2 alone.

What to learn when singles run out

Harder puzzles reach a point where no single exists. The next ideas are still pure logic. In a naked pair, two cells in the same unit both have only the same two candidates, say 4 and 7. Those two digits must occupy those two cells, so you can remove 4 and 7 from every other cell in the unit. In a pointing pair, if all the places for a digit within a box lie along a single row, the digit can be removed from the rest of that row outside the box. Neither needs guessing; each simply lets you prune candidates until a single appears.

Common beginner mistakes

  • Placing a digit that "feels right". One wrong digit can sit unnoticed for twenty moves. Only place what you can justify.
  • Scanning only one direction. Always check rows, columns and boxes.
  • Giving up a digit too early. Come back to digits after other numbers have been placed; the shadows will have changed.

If you like the "each digit once" logic of Sudoku and want to add some arithmetic, try its close cousin: our guide to Kakuro shows how the same kind of elimination works with sums. When you're ready to practise, Northcell's Sudoku page has puzzles to try these techniques on.