Updated on 21 November 2026
Sudoku: rules, solving techniques and a method to stop getting stuck
A well-built sudoku can always be solved by logic, without ever guessing. Here are the rules, a simple method to make progress, then the techniques, from the naked single to the Swordfish, sorted by difficulty.
The rules of sudoku
The grid has 81 cells arranged in nine rows, nine columns and nine 3×3 boxes. Fill it with the digits 1 to 9 so that every row, column and box contains each digit exactly once. A good puzzle has a single solution.
A method to get started
- Scan the grid digit by digit: where can the 1 go, then the 2, and so on?
- Look at rows, columns and boxes that are almost full: often only one or two digits are missing.
- When that is no longer enough, pencil in the possible candidates of every empty cell.
- Update your notes after every digit you place: that is where advanced techniques become visible.
- Never guess: if you hesitate between two digits, a deduction is missing.
Easy: naked single and hidden single
Naked single: a cell can hold only one digit, because all the others are already in its row, column or box. Hidden single: in a row, column or box, a digit has only one cell to go in. These two techniques are enough for easy puzzles.
Medium: locked candidates and naked pairs
Locked candidates: if, within a box, a digit can only go on one row, you can remove it from the other cells of that row outside the box (and vice versa). Naked pair: two cells of the same unit that both hold only the same two candidates share those digits, which can then be removed from the other cells of the unit.
Hard: hidden pairs, naked triples and X-Wing
Hidden pair: two digits that can only go in the same two cells of a unit: all other candidates in those cells disappear. Naked triple: three cells sharing three candidates. X-Wing: if a digit has only two possible places in two rows and they fall in the same two columns, it is eliminated from the rest of those columns.
Expert: XY-Wing and Swordfish
XY-Wing: a pivot with two candidates linked to two cells that each carry one of the pivot's candidates plus a shared third; any cell that sees both of those cells cannot hold that shared digit. Swordfish: the extension of the X-Wing to three rows and three columns.
Which technique for which level?
| Level | Techniques added to the previous ones |
|---|---|
| Easy | Naked single, hidden single |
| Medium | Locked candidates, naked pairs |
| Hard | Hidden pairs, naked triples, X-Wing |
| Expert | XY-Wing, Swordfish |
Classic mistakes
- Guessing a digit “just to see”: an error spreads and shows up much later.
- Forgetting to update notes: a stale note hides the next deduction.
- Staying in one area: switch digit or unit as soon as you go round in circles.
- Jumping to an advanced technique before the simple ones are exhausted.
Frequently asked questions
Do you have to guess to finish a sudoku?
No. A well-built puzzle has a single solution and is solved by logic. If you hesitate, a deduction is missing, not a lucky guess.
Where do you start a sudoku puzzle?
With the fullest rows, columns and boxes, then digit by digit: where can the 1 go, then the 2, and so on. Then pencil in the candidates.
What is a candidate?
A digit still possible in an empty cell. Writing them down lets you spot pairs, triples and other patterns.
What is an X-Wing?
A pattern where a digit has only two possible places in two rows, lying in the same two columns: it can be eliminated from the rest of those columns.
How do you know a puzzle is hard?
By the most advanced technique needed to finish it, more than by the number of empty cells.
Can you play sudoku offline?
Yes, for example with Papergrain Sudoku, which works with no connection and no account.
