Back to BlogSudoku & Number Puzzles

How to Play Sudoku: A Complete Beginner's Guide

New to Sudoku? Learn the one rule behind the game, how to read the grid, and the beginner techniques that take you from stuck to solved. No math required.

Updated
How to Play Sudoku: A Complete Beginner's Guide

Editor’s note: Pairdle, our daily word game, is now called Pardle and can be found at pardle.com. Same game, new name.

Sudoku looks like a math puzzle, but you never add or multiply anything. The digits 1 to 9 are just nine different symbols. You could swap them for nine colors or nine animals and the puzzle would work the same way. What you need is logic: working out what must be true from what you can already see. This guide starts with the rule and ends with the moves that will get you through your first dozen puzzles.

All four pictures below use the same puzzle. Our own program made it and checked that it has exactly one solution.

Play it here: Sudoku in Game Attic, free in your browser, with five difficulties from Easy to Master, all open from the start, and no sign-up.

The one rule

A Sudoku grid has 9 rows and 9 columns, split into nine boxes of 3 by 3 cells. Some cells start with a digit in them. These are the clues. You fill in the rest so that:

Every row, every column and every 3×3 box holds the digits 1 to 9, each exactly once.

That is the whole game. It is the same rule Nikoli publishes. Nikoli is the Japanese puzzle magazine that gave Sudoku its name in the 1980s. No digit can appear twice in any row, column or box, and everything else in this guide follows from that.

How to read the grid

Every cell belongs to three groups at once: its row (the 9 cells across), its column (the 9 cells down) and its box (the 3 by 3 block around it). Rows are counted from the top and columns from the left. Boxes are counted left to right, then top to bottom, so box 1 sits top left, box 3 top right and box 7 bottom left.

A Sudoku puzzle with 23 clues. Row 2 is shaded yellow across the grid, column 8 is shaded blue down the grid, and box 7, the bottom left block of nine cells, is shaded green. Row 2 already holds 3, 1 and 4

Any digit you write has to be allowed in all three of its groups. So the question for an empty cell is: which digits are still missing from its row, its column and its box? Only those can go there.

A well-made Sudoku has exactly one solution, and you can reach it by logic alone. You never need to guess. If you feel stuck enough to guess, there is almost always a move you haven't spotted yet.

Technique 1: Scanning for the obvious

The quickest way to start is scanning, sometimes called cross-hatching. Pick one digit and find every place it already sits. Each copy rules out its whole row and its whole column. Then look at a box that doesn't have that digit yet. If all its empty cells but one are ruled out, the digit goes in the one cell left.

The same puzzle with every 1 marked in yellow. Arrows run from the 1s along their rows and columns through box 1 and block every empty cell there but one, shaded yellow where blocked. Row 3, column 1, marked with a green circle, must be 1

Here we scan for 1. The 1 in row 1 rules out the top row of box 1. The 1 in row 2 rules out its middle row. The 1 in column 3, just below the box, rules out its right-hand column. One empty cell is left, at row 3, column 1, so that is where the 1 goes.

Work through the digits 1 to 9 this way. On an easy puzzle, scanning alone can fill most of the grid.

Technique 2: The "last empty cell"

When a row, column or box has eight of its nine cells filled, the last cell must hold the missing digit. These are free moves. Each time you write a digit, glance along its row, down its column and around its box to see if you just left one of them with a single gap.

The same puzzle part way through, with clues in black and the digits filled in so far in blue. Row 1, shaded yellow, already holds 1, 2, 4, 5, 6, 7, 8 and 9. The one empty cell, row 1, column 8, can only be 3

In this picture, row 1 has 2, 4, 7, 5, 6, 9, 8 and 1. The only digit it lacks is 3, so the gap at row 1, column 8 is 3. Each digit you place often opens up the next free move, so a good run can fill a lot of cells fast.

Technique 3: Pencil marks (candidates)

When scanning stops giving you digits, switch to pencil marks. In each empty cell, write small the digits that could still go there. These are also called candidates. Now you can see the options on the page instead of holding them in your head, and two kinds of move get easy to spot:

  • A cell with only one pencil mark left gets that digit. This is called a naked single.
  • A digit that fits in only one cell of a row, column or box goes in that cell, even if the cell has other marks. This is called a hidden single.

Box 2 of the same puzzle with a pencil mark for every digit that could still go in each empty cell. The green cell, row 3 column 4, has only one mark left, 7, so it must be 7. The digit 8, circled in yellow at row 2 column 6, appears in no other cell of the box, so that cell must be 8 even though it has other marks too

Both kinds are in this box. The green cell at row 3, column 4 has only a 7 left, so it is a naked single. Now look for 8s. Only one cell in the box, row 2, column 6, can take an 8. It also shows 5, 6 and 7, but the box has to put its 8 somewhere, so this cell is 8. That is a hidden single.

Hidden singles are the most useful skill to learn after scanning, because they hide in cells full of marks.

You can try both kinds of single in Game Attic Sudoku. Its Easy and Medium puzzles need nothing harder than singles, and it has a notes button for pencil marks.

A worked mini-example

Say a box has three empty cells, and their pencil marks are {1,4}, {1,4} and {4,8}. The first two cells can only be 1 or 4. Between them they will use up both, so the third cell can't be 4. It must be 8. You have solved a cell without knowing which of the first two is the 1.

Where to start: scan the digit you see most

Scanning works best with a digit that is already on the grid many times. Each copy blocks a row and a column, so a digit with five copies has blocked a lot of the board, and the boxes still missing it often have just one spot left. A digit that appears once has blocked almost nothing.

We tested this on 19,000 puzzles our program made (how we made them is further down). For every puzzle we took each digit in turn and checked whether scanning it, before any other move, puts at least one more copy on the grid.

Bar chart of the chance that scanning one digit at the start of a puzzle places at least one more copy of it, by how many copies are already on the grid: 1 copy 3%, 2 copies 18%, 3 copies 44%, 4 copies 68%, 5 copies 81%, 6 copies 87%, 7 copies 88%

A digit with only one copy on the grid gave a placement 3% of the time. With three copies it was 44%, with four 68% and with five 81%. In the 30 clue puzzles, scanning the digit you can see most often gave a placement 88% of the time. The digit you can see least gave one 19% of the time. So count before you scan. Start with the digit that shows up most, then work down.

You will almost never be stuck at the very start. 99% of the puzzles had at least one cell you could fill by scanning before anything else, and the 30 clue puzzles had between five and six such cells on average. If you can't see one, you have missed it.

How many clues make a puzzle easy

Puzzle books label puzzles easy, medium and hard, and the biggest thing that changes between them is how many clues you start with. We made 2,000 puzzles at each clue count from 26 up to 40 (26, 28, 30 and so on), every one with exactly one solution, and tried to finish each one with only the moves in this guide.

Bar chart of how many puzzles each method finishes, by number of starting clues. 26 clues: scanning alone 5%, with pencil-mark singles 58%. 28 clues: 16% and 72%. 30 clues: 36% and 86%. 32 clues: 56% and 93%. 34 clues: 76% and 96%. 36 clues: 89% and 99%. 38 clues: 96% and 100%. 40 clues: 98% and 100%

With 36 clues or more, scanning alone finishes nearly 9 puzzles in 10. At 32 clues it finishes about half, and at 26 clues only 1 in 20. Pencil marks change the picture a lot. With naked and hidden singles added, 86% of the 30 clue puzzles get solved, and 58% of the 26 clue ones.

Clue count is not the whole story. Two puzzles with 30 clues can feel very different, because where the clues sit matters too. Still, it makes a fair rule of thumb. When a puzzle has 35 or more clues, expect to get through it by scanning. When it has fewer than 28, start your pencil marks early.

Two numbers from other people's work set the limits of the game. A puzzle needs at least 17 clues to have only one solution: Gary McGuire, Bastian Tugemann and Gilles Civario showed in 2012, with a computer search of every full grid, that no 16 clue puzzle works. And there are 6,670,903,752,021,072,936,960 ways to fill a complete Sudoku grid, a count Bertram Felgenhauer and Frazer Jarvis worked out in 2005. You will not run out of puzzles.

How hard can a fair puzzle get

Then we went the other way. We made 3,000 random puzzles and took out every clue that could go without the puzzle getting a second solution. Those puzzles kept 24.4 clues on average, between 21 and 28. None came near 17. Puzzles that small are very rare, and people find them by searching for them on purpose.

Bar chart of the hardest move needed to finish 3,000 random puzzles with every spare clue removed: scanning only 1.5%, naked singles 18%, hidden singles in rows and columns 23%, pointing pairs and box-line 12%, pairs and triples 6%, X-Wing, Y-Wing or Swordfish 4%, a harder move 35%

Only 1.5% of these stripped-down puzzles fall to scanning alone. Add naked singles and it is 20%. Add hidden singles in rows and columns, the last of the beginner moves in this guide, and 43% are done. All ten named moves in the list below finish 65%. The other 35% need moves past an X-Wing, such as chains, where you follow a run of links like "if this cell is 4, then that one is 7". Those are the puzzles books put on the "fiendish" or "expert" pages.

So the beginner moves here finish nearly every easy puzzle and close to half of the hardest kind a computer can make.

How we checked

Our program fills a full grid at random. Then it removes clues one at a time in random order, and puts a clue back if taking it out would let the puzzle have a second solution. For the clue count test it stops when it reaches the target count. For the hardest puzzles it keeps going until no clue can come out.

A second program then solves each puzzle the way a person would, always with the easiest move that works. Scanning comes first (a digit with one spot left in its box, or the last empty cell of a row, column or box). Then naked singles, hidden singles in rows and columns, pointing pairs and box-line, naked and hidden pairs and triples, and last X-Wing, Swordfish and Y-Wing. The hardest move it needed is the puzzle's grade. We checked every finished grid against the real solution. In all that is 19,000 puzzles: 2,000 at each of eight clue counts and 3,000 stripped down. The code and its output are saved with this post.

Common beginner mistakes

  • Guessing. If you want to guess, you have missed a move. Slow down and scan again.
  • Not updating pencil marks. Every digit you write removes marks from other cells in its row, column and box. Cross them off straight away, or your notes will be wrong.
  • Staring at one box. If a box won't give, scan a different digit across the whole grid. Progress in one place opens up others.
  • Forgetting columns. Beginners often check rows and boxes and skip columns. Every cell has all three.

What the technique names mean

Harder puzzles need moves with names. Here are the ten you will meet, from easiest to hardest.

  • Naked single: the cell has one possible digit left. The green cell in the pencil marks picture is one.
  • Hidden single: some digit has only one possible home in a row, column or box. The yellow 8 in that same picture is one.
  • Pointing pair: when a box can only put a digit along one line, the rest of that line loses the digit.
  • Box-line reduction: the reverse. When a line can only put a digit inside one box, the rest of that box loses it.
  • Naked pair: two cells that share the same two possible digits and nothing more keep both digits for themselves.
  • Hidden pair: two digits whose only homes are the same two cells make those cells theirs alone.
  • Naked and hidden triples: those two ideas again, with three cells and three digits.
  • X-Wing: a digit trapped in the four corners of a rectangle, across two rows and two columns.
  • Y-Wing: three cells with two possible digits each that together rule a digit out of any cell touching both ends.
  • Swordfish: a bigger X-Wing that uses three rows and three columns.

The last eight each have their own section, under the same name, in our techniques guide, with a picture from a real puzzle and a practice grid.

Sudoku questions

Do you need to be good at math to play Sudoku?

No. You never add anything. The digits are only names for nine different things, and the puzzle would work the same with letters or colors.

Should you ever guess in Sudoku?

Not in a well-made puzzle. A puzzle from a newspaper, a book or a good app has one solution you can reach by logic. If you feel you have to guess, scan every digit again and check your pencil marks. In our test, 99% of puzzles had a scanning move at the very start.

What is the fewest clues a Sudoku can have?

  1. No puzzle with 16 clues has only one solution. Most puzzles you will meet start with more, and the easy ones have the most.

What is the best first move?

Count which digit you can see most often and scan it across all nine boxes. In our test a digit with five copies already on the grid gave a placement 81% of the time. A digit with one copy gave one 3% of the time.

Can a Sudoku have more than one solution?

A badly made one can. Proper puzzles are checked to have exactly one. If you fill the grid and every row, column and box holds 1 to 9 once, you have the answer.

What should I learn after this guide?

Pointing pairs and naked pairs. They are the next moves in our Sudoku techniques guide, and in our test they, with hidden pairs and triples, finished another 18% of the hardest puzzles that singles could not.

Why Sudoku is worth the habit

Sudoku trains one skill: keeping a few rules in mind at once and finding the cell where they leave only one answer. Word puzzles use the same skill. Our how to play Wordle guide describes the same "rule things out until one is left" thinking, with letters instead of digits.

Once scanning and singles feel easy, you'll meet puzzles that need more. That is where our guide to Sudoku techniques like naked pairs and X-Wing takes over. For more puzzles like this, our roundup of the best Sudoku and number puzzle games is a good place to start. For the same rule on a different board, Meowdoku swaps the digits for hidden cats and the boxes for colored regions, and our list of brain training and logic games has more puzzles in this family. If you want something calmer, Mahjong Solitaire asks the same question in tiles: which move opens up the board. If numbers aren't your thing, a daily word game like Pairdle uses the same kind of thinking.

Share this post