Sudoku Rules: How to Play Sudoku

Everything you need to play your first puzzle: the three rules, the words solvers use, and a worked example you can step through.

Sudoku is played on a 9x9 grid split into nine 3x3 boxes. Some cells start with digits. Your job is to fill every empty cell so that each row, each column and each 3x3 box contains the digits 1 to 9 exactly once. No maths and no guessing: just logic.

The rules of sudoku

  1. Fill the grid. Write a digit from 1 to 9 in every empty cell. The digits already printed, called clues or givens, stay as they are.
  2. Rows. Each of the nine rows must contain every digit from 1 to 9 exactly once.
  3. Columns. Each of the nine columns must contain every digit from 1 to 9 exactly once.
  4. Boxes. Each of the nine 3x3 boxes, outlined by the thicker lines, must contain every digit from 1 to 9 exactly once.
79233185262614833695754792418753145692387869
Blue: row 5. Purple: column 7. Orange: the top-left box. Each of these 27 groups must hold 1 to 9 once.

What the rules leave out

The rules are short, and what they do not say matters just as much:

  • No arithmetic. The digits are only labels. You could play with nine letters or nine colours and the puzzle would be the same.
  • No guessing. A well-made sudoku has exactly one solution, and you can reach it by logic alone. If you feel you must guess, a simpler move is waiting somewhere.
  • No diagonals. In classic sudoku the diagonals can repeat digits. Diagonal rules belong to variants such as X-sudoku.
  • No fixed order. Solve the cells in any order you like, and take as long as you need.

The words solvers use

  • Cell: one of the 81 small squares.
  • Row, column, box: the three kinds of group. Together they are called units, and there are 27 of them.
  • Clue or given: a digit printed at the start. A typical easy puzzle has 36 to 46 of them.
  • Candidate: a digit that could still go in an empty cell. Solvers write candidates small, as pencil marks.

More terms are in the sudoku glossary.

How to play sudoku, step by step

Knowing the rules and knowing how to start are different things. This is the routine most solvers follow on an easy or medium puzzle.

  1. Pick one digit and scan the boxes. Choose a digit, say 1, and visit each box that does not have it yet. Every 1 elsewhere in the same rows and columns rules out cells in that box. If only one cell is left, write the 1 there.
  2. Repeat for every digit. Go through 1 to 9 the same way. On an easy puzzle this first pass often places ten digits or more.
  3. Look for cells with one option. Pick an empty cell and list the digits its row, column and box already use. If eight are taken, the ninth is the answer. This is a naked single.
  4. Follow each new digit. Every placement removes options in its row, column and box. Check those three groups right away, because new moves usually appear there.
  5. Use pencil marks when scanning dries up. On medium and harder puzzles, write the possible digits in each empty cell. Pairs, triples and other patterns only become visible with full pencil marks.
  6. Finish and check. When the grid is full, every row, column and box holds 1 to 9 once. A correct grid is the only possible solution.

Try it: your first four moves

Step through the opening of a real easy puzzle. Each step shows which digits rule out which cells, and why the last cell standing must be the answer.

79233185262614833695754792418753145692387869

The starting grid

This is a real easy puzzle with 44 clues. Rows are numbered 1 to 9 from the top, columns 1 to 9 from the left. Nothing is filled in yet, so every move has to come from the clues.

Step 1 of 5

Continue the full walkthrough

Sudoku difficulty levels

The rules never change between levels. What changes is the logic you need. Easy puzzles fall to scanning and singles. Medium adds pencil marks and the odd pair. Hard and expert ask for named techniques such as pointing pairs and X-wings. The number of clues is a rough guide at best: how the clues are placed matters more than how many there are.

Common beginner mistakes

  • Forgetting the boxes. New players check rows and columns and miss the 3x3 box rule. All three count equally.
  • Guessing to get unstuck. One wrong guess spreads through the grid and you only find out much later. Scan another digit instead.
  • Writing pencil marks too early. On an easy puzzle, scanning is faster. Save candidates for when it stops working.
  • Half-filled pencil marks. If you mark some cells and not others, the marks will mislead you. Mark every empty cell in a unit, or none.

Where to go next

Sudoku rules: frequently asked questions

What are the basic rules of sudoku?
Fill every empty cell of the 9x9 grid with a digit from 1 to 9 so that each row, each column and each of the nine 3x3 boxes contains every digit exactly once. The printed clues cannot be changed.
Do you need to be good at maths to play sudoku?
No. Sudoku uses digits only as symbols. You never add or multiply anything, so the puzzle works just as well with letters or colours. It is a pure logic puzzle.
Can a number repeat on the diagonal?
Yes, in classic sudoku. Only rows, columns and 3x3 boxes must avoid repeats. Variants such as X-sudoku add the two long diagonals as extra groups.
Does every sudoku have only one solution?
A proper sudoku has exactly one solution, and every Sudokly puzzle is checked for that. A unique solution is what makes it possible to solve the puzzle by logic without guessing.
What is the fewest number of clues a sudoku can have?
17. In 2012 a computer search by Gary McGuire and colleagues showed that no 16-clue sudoku has a unique solution. Most newspaper puzzles have between 22 and 30 clues.
What should I do when I get stuck?
Scan each digit from 1 to 9 again, then look for cells with only one possible digit. If nothing appears, fill in pencil marks for the whole grid and look for pairs. Taking a short break also works surprisingly often.