How to Play Sudoku: Rules, Solving Techniques and Tips

Sudoku has one rule and no maths. You fill a grid of 81 squares with the numbers 1 to 9, and no number may repeat in the same row, column or box. That is all there is to it. Everything else in this guide is technique: ways to find the next number without guessing.
The puzzle first appeared in an American puzzle magazine in 1979 under the name Number Place. It got the name sudoku in Japan in the 1980s and became a worldwide craze in 2005.
Sudoku rules
- The grid has 9 rows, 9 columns and 9 boxes. Each box is a block of 3 × 3 squares.
- Some squares already hold numbers when the puzzle starts. These are the clues, and they never change.
- You fill every empty square with a number from 1 to 9.
- Each row must contain the numbers 1 to 9 once each. So must each column, and so must each box.
The puzzle is solved when the grid is full and no number repeats in any row, column or box. A well made sudoku has exactly one solution, and you can reach it by logic alone. You never need to guess.
The numbers are only symbols. There is no adding or multiplying anywhere in sudoku, and the puzzle would work just the same with nine letters or nine colours.
Words you will see
- Cell: one square of the grid.
- Box: one of the nine 3 × 3 blocks. Some guides call it a block or a region.
- Unit: any row, column or box. Every unit holds the numbers 1 to 9 once each.
- Clue: a number that is already on the grid at the start.
- Candidate: a number that could still go in an empty cell.
- Notes: small numbers you write in a cell to keep track of its candidates. Some players call them pencil marks.
How to start a sudoku
Start with the number that appears most often among the clues. Say it is 7. Go through the boxes one at a time, and for each box that has no 7 yet, look along the rows and columns that cross it. Every row or column that already has a 7 rules out its cells in that box. When only one empty cell is left, the 7 goes there.
This is called cross-hatching, and it solves most easy puzzles on its own. Here is how it works in one box:
- The top left box has no 7.
- The first row has a 7 further along, so the 7 cannot go in the top row of this box.
- The second row also has a 7, so the middle row of the box is ruled out too.
- That leaves the bottom row of the box. If two of its three cells are already filled, the 7 goes in the third.
Work through all nine numbers like this, then go round again. Every number you place rules out more cells, so a second pass usually finds more.
Find the last number in a row, column or box
When a row, column or box has eight numbers, the ninth is simply the one that is missing. Look for units that are nearly full and work out what they lack. With two numbers missing, one of them is often ruled out of one of the two cells by its column or box.
You can also turn it around. Pick an empty cell and check its row, its column and its box. If those three units hold eight different numbers between them, the cell can only take the ninth. This is called a naked single.
Use notes when scanning stops working
Easy puzzles can be finished by scanning alone. In harder ones you will reach a point where no number can be placed directly. That is the moment for notes.
Write every candidate into each empty cell: all the numbers not yet in its row, column or box. It is slow the first time, but notes show patterns that scanning cannot. Keep them up to date: when you place a number, remove it from the notes in its row, column and box. In Sudoku Jim, that happens by itself.
Sudoku solving techniques, from easy to hard
These are the main techniques, roughly in the order you will need them.
- Hidden single. A number can go in only one cell of a row, column or box, even if that cell has other candidates. So it goes there.
- Naked pair. Two cells in the same unit have the same two candidates and nothing else, for example 3 and 8. Those two numbers must go in those two cells, so you can remove 3 and 8 from every other cell in that unit. Three cells that share three candidates work the same way, as a naked triple.
- Hidden pair. Two numbers appear in only two cells of a unit. Those cells must hold those two numbers, so you can delete every other candidate from them.
- Pointing pair. Inside one box, all the candidates for a number sit in the same row. The number must go in that row inside this box, so you can remove it from the rest of the row outside the box. The same works with columns.
- Box line reduction, also called claiming. The reverse: in one row, all the candidates for a number sit inside the same box. Then you can remove that number from the other cells of the box. This works with columns too.
- X-Wing. In two rows, a number has exactly two possible cells, and they are in the same two columns. The number must sit in two opposite corners of that rectangle, so you can remove it from every other cell in those two columns. It also works with rows and columns swapped.
- XY-Wing. Three cells with two candidates each: a pivot with X and Y, and two cells it can see, one with X and Z and one with Y and Z. Whatever the pivot turns out to be, one of the other two cells must be Z, so any cell that sees both of them cannot be Z.
- Swordfish. The same idea as X-Wing, across three rows and three columns.
When one technique finds nothing, go back to scanning. Every number you place can open up the simple steps again.
Sudoku tips for beginners
- Never guess. If you feel you have to, you have missed something. Go back and scan again, number by number.
- Start where the grid is busiest. Nearly full rows, columns and boxes give the quickest numbers.
- Check all three units before you write a number: the row, the column and the box. Forgetting the box is the most common mistake.
- Scan number by number first, then unit by unit. The two scans find different things.
- Leave notes out on easy puzzles. Scanning is faster there, and notes only slow you down.
- Use hints to learn. In Sudoku Jim, a hint places one right number and explains why it fits, so next time you can find the step yourself.
- Take a break when you are stuck. A fresh look often finds the number you could not see.
Common sudoku mistakes
- Writing a number because it looks right. One wrong number can stay hidden until the last few cells, and then nothing fits.
- Forgetting to update notes. An old candidate left in a cell leads to a wrong conclusion later.
- Checking rows and columns but not boxes.
- Clearing the whole grid when something goes wrong. Undo back to the last move you are sure of instead.
In Sudoku Jim, a mistake never ends the game. Turn on Show mistakes and a wrong number turns red, so you can fix it and carry on.
Which sudoku level should you play?
Difficulty in sudoku comes mostly from the techniques a puzzle needs, not just from how many clues it shows. The five levels in Sudoku Jim are graded that way:
- Easy: singles only, with plenty of clues.
- Medium: still singles only, but with fewer clues, so the next number is harder to find.
- Hard: needs pointing pairs, box line reduction, or naked and hidden pairs.
- Expert: needs triples, X-Wing or XY-Wing.
- Master: needs Swordfish or something just as advanced.
Move up a level when you can solve the current one without hints. The Daily puzzle is a good way to try them all: it is the same for everyone, it keeps a day streak, and it gets harder through the week, from Easy on Monday to Master on Sunday.
Play sudoku online free
Sudoku Jim is free in your browser on phone, tablet or computer, with no download and no sign-up. It has notes that clear themselves, hints that explain each step, undo and redo, and no mistake limit. Solve a puzzle with no mistakes and no hints to earn three stars. Your game saves as you play, so you can close the page and carry on later.
Frequently asked questions
What are the rules of sudoku?
Fill the 9 × 9 grid so that every row, every column and every 3 × 3 box contains the numbers 1 to 9 once each. The clues given at the start cannot be changed.
Is sudoku a maths game?
No. The numbers are only symbols, and there is no arithmetic. Sudoku is a logic puzzle.
Do you have to guess in sudoku?
No. A proper sudoku has exactly one solution, and every number can be worked out by logic. Every puzzle in Sudoku Jim is made that way.
What is the best way to start a sudoku?
Take the number that appears most often among the clues and check each box for where it can go. This cross-hatching finds the first numbers in almost every puzzle.
How do you solve a hard sudoku?
Fill in notes for every empty cell, then look for pairs, pointing pairs and X-Wings. Each technique removes candidates, and every number you place opens up the simple steps again.
How many clues does a sudoku need?
At least 17. No sudoku with fewer clues can have a single solution, which a computer search proved in 2012. More clues do not always mean an easier puzzle, because difficulty depends on the techniques a puzzle needs.
Keep reading
- Brain Games for Adults: 8 Free Logic and Puzzle Games OnlineEight free brain games for adults who like to think: what kind of thinking each one asks for, how hard it gets, and which one to start with.
- How to Play Ludo Online With FriendsPrivate rooms, pass-and-play on one phone or a game against strangers: every way to play Ludo online with friends, and which one suits when.
- Ludo Rules Explained: How to Play, Step by StepEvery rule of Ludo in the order you actually need them, including the ones families argue about - and what the common house rules change.
- Ludo Rules Questions: Three Sixes, Who Starts, Blocks and KillsStraight answers to the Ludo rules every group argues about: three sixes in a row, who goes first, blocks, kills and the home column, plus the house rules worth agreeing first.