How to solve sudoku

The techniques behind Sudoku Sunrise’s five daily levels, simplest first, each with a real example.

Before you start

Fill each row, column and 3×3 box with the numbers 1 to 9, each exactly once. A good puzzle has one solution and never needs a guess: every step follows from what’s already on the board. The solver that grades our puzzles uses only the techniques on this page, always trying the simplest first, and a puzzle’s level is the hardest one it needs.

Most of the later techniques work with notes: the small numbers you pencil into a square for what it could still be. In the examples, notes are the small numbers; a ring marks the squares the step is about, a tint marks the row, column or box it works in, and a crossed-out note is one the step rules out. The words under each board are the same ones a hint gives when you play today’s puzzles. How the puzzles are made and graded is in how sudoku puzzles are made.

Gentle

A relaxed start, about five minutes. Every next number can be found by looking at one square at a time.

Last number left

Look at one empty square and the numbers already in its row, column and box. If eight different numbers are there, the ninth is the only one left for it.

Row 1, column 9 can only be 6. Its row, column and box already hold every other number, so 6 is the only one left.

Easy

About ten minutes. Now you look from the other side too: where can this number still go?

Only spot left

Pick a number and a row, column or box that still needs it. If every other empty square there is blocked by that number in a crossing row, column or box, the one spot left must hold it.

6 goes in row 6, column 3. The middle-left box needs a 6, and every other square there is filled or can’t take it. This is the only spot left.

Medium

A steady think, about fifteen minutes. Notes start to matter, because these steps rule numbers out rather than placing them.

Pointing

When a number’s possible squares inside a box all lie in one row or column, the box will put that number on that line. So it can’t go anywhere else on that line, outside the box.

The 9 in the top-left box stays in column 2. In the top-left box, 9 can only go in squares that are also in column 2. So column 2 gets its 9 there, and 9 can’t go anywhere else in column 2.

Claiming

The other way round: when a number’s possible squares in a row or column all lie inside one box, that line will put it in that box, so it can come out of the box’s other squares.

The 6 in row 1 stays in the top-right box. In row 1, 6 can only go in squares that are also in the top-right box. So the top-right box gets its 6 there, and 6 can’t go anywhere else in the top-right box.

Pair

Two squares in the same row, column or box that can each only be the same two numbers will share those two between them. No other square there can hold either one.

A pair in column 4 and the bottom-middle box: 5 and 8. These two squares can only hold 5 and 8 between them, so those numbers fill them. No other square in column 4 and the bottom-middle box can be 5 or 8.

Hidden pair

When two numbers can only go in the same two squares of a row, column or box, those squares must hold them, so any other notes in those two squares can go.

A hidden pair in row 6: 3 and 6. In row 6, 3 and 6 fit only in these two squares, so these squares hold them. Any other number noted there can go.

Hard

A real challenge, about twenty-five minutes. Patterns stretch across several squares, rows and columns.

Triple

Three squares in one row, column or box whose notes all come from the same three numbers (each may have two or three of them) will use up those three, so they come out of the other squares there.

A triple in row 6: 3, 4 and 9. These three squares can only hold 3, 4 and 9 between them, so those numbers fill them. No other square in row 6 can be 3 or 4.

Hidden triple

When three numbers can only go in the same three squares of a row, column or box, those squares hold them, and their other notes can go.

A hidden triple in the bottom-middle box: 2, 3 and 6. In the bottom-middle box, 2, 3 and 6 fit only in these three squares, so these squares hold them. Any other number noted there can go.

X-wing

Take one number. If, in two rows, it can only go in the same two columns, it sits at two opposite corners of that rectangle, and either way it fills both columns. So it can’t go anywhere else in those columns. It works with rows and columns swapped, too.

X-wing on 9. In rows 5 and 7, 9 fits only within columns 1 and 8. Each of those two lines needs its 9, so columns 1 and 8 get their 9s from these squares. 9 can’t go anywhere else in columns 1 and 8.

XY-wing

Three squares with two notes each: a pivot with X and Y, and two wings it can see, one with X and Z, the other with Y and Z. Whatever the pivot turns out to be, one wing ends up Z, so a square that sees both wings can’t be Z.

XY-wing on 3. Row 5, column 2 is 1 or 8. If it’s 1, row 4, column 1 must be 3; if it’s 8, row 5, column 8 must be 3. Either way one of them is 3, so a square that sees both can’t be 3.

Expert

For seasoned solvers. Bigger patterns, and following one number through the whole grid.

Swordfish

An X-wing across three rows and three columns: if a number fits only in the same three columns in three rows, those rows fill all three columns with it, so it comes out of those columns everywhere else.

Swordfish on 4. In columns 1, 5 and 9, 4 fits only within rows 3, 5 and 9. Each of those three lines needs its 4, so rows 3, 5 and 9 get their 4s from these squares. 4 can’t go anywhere else in rows 3, 5 and 9.

XYZ-wing

Like an XY-wing, but the pivot has all three numbers, X, Y and Z. One of the three squares must be Z, so a square that sees all three of them can’t be.

XYZ-wing on 3. Row 3, column 7 is 6, 7 or 3; row 1, column 7 is 6 or 3; row 3, column 3 is 7 or 3. However they fall, one of the three is 3, so a square that sees all three can’t be 3.

Coloring

Follow one number through squares where it has exactly two places in a row, column or box: if one isn’t the number, the other is. Color the links in two alternating colors. One color is right and the other wrong, so a square that sees both colors can’t hold the number, and a color that turns up twice in one row, column or box is the wrong one.

Coloring on 5. Follow 5 through rows, columns and boxes where it has exactly two spots: one spot of each pair is 5. That splits the chain into two groups, and one whole group holds the 5s. Two squares in one group see each other, so that group can’t be 5.

Master

The toughest we make: chains of squares, and trying a square both ways. Master puzzles are in the Sudoku Sunrise app.

XY-chain

A chain of squares with two notes each, every square sharing one number with the next. If both ends of the chain could be Z, then whichever way the chain falls, one end is Z, so a square that sees both ends can’t be Z.

XY-chain on 2. Each square in this chain holds just two numbers, and each shares one with the next. If row 1, column 8 isn’t 2, every square along the chain is forced in turn, and row 3, column 6 ends up 2. So one end is always 2, and a square that sees both ends can’t be 2.

Forcing

In a square with just two notes, try one of them and fill in the squares that then have only one choice. If that runs into a clash, such as the same number twice in a row, the other note must be the right one.

Row 1, column 3 is 7. Row 1, column 3 can only be 4 or 7. If it were 4, filling in the squares that then have one choice runs into a clash. So it’s 7.

Practice

Five new puzzles arrive every day, Gentle to Expert, the same for everyone: play today’s puzzles, free in your browser. When you’re stuck, Hint shows the next of these steps on your own board. Sudoku Sunrise for iPhone and iPad adds hands-on lessons for each technique and Master puzzles.