How to play sudoku: rules and beginner techniques

7 min readUpdated

In sudoku you fill a 9×9 grid so that every row, every column and every 3×3 box holds the numbers 1 to 9, once each. There's no maths involved: the numbers are just symbols, and every step is worked out by careful looking and simple logic.

On this page
  1. The rules
  2. How to start your first puzzle
  3. Five techniques, from easiest
  4. Pencil marks: when and how
  5. Common mistakes
  6. Which level should I start with?

The rules

  1. The grid has 81 squares, in nine rows, nine columns and nine 3×3 boxes.
  2. Some squares already hold a number when you start. These are the clues, and they never change.
  3. Each row must end up holding 1 to 9, with no number repeated.
  4. Each column must hold 1 to 9, with no number repeated.
  5. Each 3×3 box must hold 1 to 9, with no number repeated.
  6. A proper puzzle has exactly one answer, so you never need to guess. There is always a reason for the next number.

How to start your first puzzle

  1. Pick an easy puzzle. Start with a Gentle one. It has plenty of numbers already filled in, so there are lots of ways in.
  2. Look for the fullest places. Scan for a row, column or box that's nearly complete. If eight numbers are there, the missing one is easy to name.
  3. Choose one number and follow it. Take the 1s, say. Look at each box in turn and ask: where could a 1 go here? Then do the same for 2, 3 and so on.
  4. Write a number only when you're sure. If a square could still be two things, leave it for now and come back later.
  5. Go round again. Each number you place gives you new information, so a box that was stuck a minute ago often opens up.

Five techniques, from easiest

These are the same steps our puzzles are graded on. You don't need to learn their names, but they help when you read a hint.

1. Hidden single: the only place in a box

Pick a box and a number that's missing from it. Now look along the rows and columns that pass through the box. Each time that number already appears in one of those lines, every square of the box on that line is ruled out. Often only one square is left, and the number must go there.

5 7 2 3 6 7 4 8 1 7
The top three rows of a grid. The 7s in the first and second rows rule out those rows in the top-left box, so its 7 must go in the third row, in the only free square.

Here's that example in words. Look at the top-left box: it has no 7 yet. The top row already has a 7 in the middle box, and the second row has a 7 in the right-hand box. So the 7 in the top-left box can't be in either of those rows. It must be in the third row, where only one square is still empty.

The same idea works for a row or a column: if a number fits in only one square of that line, it goes there.

2. Naked single: the only number for a square

This time, start from one empty square. Read along its row, down its column and around its box, and note which numbers you can see. If eight different numbers turn up, the square must hold the ninth. For example, if a square's row has 1, 2, 5 and 8, its column has 3, 6 and 9, and its box adds a 4, the only number left for it is 7.

3. Pointing: a number trapped in one line of a box

Sometimes you can't place a number yet, but you can still learn where it isn't. Say that in the middle box, the only squares that could take a 4 both sit in the top row of that box. You don't know which one it is, but you do know the 4 for that box is somewhere in that row. So no other square in that whole row, outside the box, can be a 4. Cross 4 off those squares, and a hidden single often appears next door.

4. Pairs: two squares, two numbers

Suppose two squares in the same row can each only be a 2 or a 6. Between them they must use up the 2 and the 6, even if you can't tell which is which yet. So nothing else in that row can be a 2 or a 6, and you can cross both off everywhere else along it. This is a naked pair.

Its twin is the hidden pair: if, in one box, the 3 and the 9 can each only go in the same two squares, those two squares must be the 3 and the 9, and any other pencil marks in them can go. The same thinking stretches to three squares and three numbers, called triples.

5. Further on: X-wing, Y-wing and swordfish

Our Hard puzzles need triples or one of these patterns, which look across several rows and columns at once. An X-wing, for instance, is when a number fits in only two squares in each of two rows, and those squares line up in the same two columns. You can then cross that number off the rest of both columns. There's no hurry to learn these. Get comfortable with the first four and the rest will make sense when you meet them.

Pencil marks: when and how

On easier puzzles you can often manage without notes. Once you reach Medium, small pencil marks help a great deal. They are the numbers a square could still be, written small in the corner.

  • Use them when a square has two or three options. Filling every square with every possibility at the start is slow and crowded.
  • Tidy as you go. Each time you place a number, remove it from the marks in the same row, column and box.
  • Watch for squares down to one mark. That's a naked single waiting to be filled in.

In our sudoku, tap Notes to switch to pencil marks, then tap numbers as usual.

Common mistakes

  • Guessing. If you place a number because it "probably" goes there, an error can hide for a long time. Wait until you can say why.
  • Forgetting the box. It's easy to check the row and the column and miss the same number sitting in the box.
  • Stale pencil marks. A mark you forgot to remove can send you the wrong way. Tidy them after each new number.
  • Staring at one spot. If you're stuck, move to a different number or a different box. A fresh look usually finds something.

If something has gone wrong, you can undo as many steps as you like, or tap Check to see which numbers don't fit. A hint fills in one square and tells you why it has to be that number, which is a good way to learn a new technique. Stuck on a puzzle from a newspaper or a book? Type it into our sudoku solver and it will show you the next step, with the reason.

Which level should I start with?

We have five levels, with 500 puzzles in each. Every puzzle has exactly one answer.

  • Gentle: about 40 numbers given, and every square can be found by asking which number is missing. The best place to start. Find it on easy sudoku.
  • Easy: fewer clues, and you'll need hidden singles too. Also on easy sudoku.
  • Medium: needs pointing or pairs, and pencil marks start to help. The daily sudoku is a Medium puzzle, new each day and the same for everyone.
  • Hard: fewer numbers and cleverer steps, such as triples, X-wings and swordfish.
  • Expert: for seasoned solvers who enjoy long chains of reasoning. Take your time.

All five are on the main sudoku page. If you'd rather use a pencil, you can print any of them from printable sudoku, with an answers page included.

There's no timer unless you turn one on, and your puzzle is saved as you go, so you can stop and come back whenever you like. When you're ready, try a Gentle puzzle and see how the first few numbers fall into place.

Was this guide helpful?

More guides

All 36 guides