How It WorksPublished 7 min read

Sudoku Unique Solutions and How Difficulty Is Decided: The 17-Clue Barrier and Making Puzzles

A sudoku puzzle comes with one promise: it has exactly one solution. Its difficulty depends not on the number of clues but on the techniques needed to solve it. This article explains what a unique solution means, the minimum number of clues required for one (17), how difficulty is decided, and how to create your own puzzles and check them.

A unique solution means “exactly one answer”

A properly made sudoku has exactly one way of filling the grid (one solution) that satisfies the rules. This is called a unique solution. Because there’s only one answer, every cell can be filled with a reason: “only this digit can go here.”

Number of solutionsWhat it meansWhat happens when you solve it
0The starting digits contradict each otherYou will always get stuck somewhere
1A valid puzzle (unique solution)Solvable by logic to the end (with a guess if needed)
2 or moreNot enough cluesA two-way choice remains at the end, and either satisfies the rules

A puzzle with two or more solutions ends with a rectangle shape, such as “in these 4 cells, 1 and 2 can be swapped and everything still works”. No amount of thought can settle it, so when you’re stuck on a puzzle you entered yourself or one made by hand, it’s worth checking the number of solutions first.

A unique solution requires at least 17 clues

In 2012, an exhaustive computer search by an Irish research team showed that no puzzle with 16 or fewer starting digits can have a unique solution. Many puzzles with a unique solution and 17 clues have been found.

  • There are about 6.67×10^21 completed 9×9 grids (about 5.47 billion if grids that become identical by swapping digits or rotating are counted as one)
  • With 16 or fewer clues, a puzzle always has two or more solutions (or none)
  • Having 17 or more clues doesn’t guarantee a unique solution. It depends on their placement
  • The 200 puzzles created with Sudoku Next-Move Hints all had between 24 and 32 clues

When you enter a puzzle in Sudoku Next-Move Hints, the number of solutions appears at the top right. With fewer than 17 digits it says “Not enough digits”, with one solution “1 (valid puzzle)”, and otherwise “None” or “2 or more”.

The “swappable rectangle” in puzzles with two solutions

Solve a puzzle with two or more solutions to the end, and what usually remains is a rectangle of 4 cells spanning 2 rows, 2 columns and 2 boxes. All 4 cells have the same two candidates (say, 1 and 2), and swapping the diagonals breaks no rule in any row, column or box.

Difficulty depends on the techniques required, not the number of clues

People tend to assume fewer clues mean a harder puzzle, but in practice they have almost nothing to do with each other. When 40 puzzles at each difficulty were created with Sudoku Next-Move Hints, the average number of clues was 27–28 at every level. Even some well-known puzzles with only 17 clues are rated “Easy” because they can be solved with Hidden Singles alone.

DifficultyTechniques requiredAverage clues (40 puzzles made)Average moves per puzzle
EasyHidden Singles only28.152.9
Normal+ cells with one candidate (Naked Singles)27.553.5
Hard+ Pointing, Naked Pairs27.556.6
Advanced+ Hidden Pairs, Naked Triples, X-Wing27.458.9
Guessing neededSome stages can’t be solved by logic alone27.158.6

Difficulty is set by the hardest technique needed to solve the puzzle. At every level, most moves are Hidden Singles. The difference is whether there are “1–2 points along the way where you can’t proceed without an advanced technique”, and whether you get stuck there is what makes a puzzle feel hard. Each technique is explained in basic techniques, Naked Pairs and Naked Triples, and X-Wing.

How to make your own puzzle

  1. 1

    Prepare one completed grid

    Put 1–9 in any order in the first row and fill the rest following the rules. If making it by hand, swapping digits in an existing solution (exchanging every 1 and 5, for example) is easy.

  2. 2

    Remove digits two at a time with rotational symmetry (the same position after a 180-degree turn)

    Removing opposite cells around the center of the grid in pairs gives a tidy-looking puzzle. This is a common practice in Japanese puzzles.

  3. 3

    After each pair is removed, check that there’s still one solution

    If it becomes two or more, restore that pair instead of removing it. Repeat for as many as can be removed.

  4. 4

    Finally, solve it again to check the difficulty

    See whether it can be solved without guessing and which techniques it needs. If it’s harder than you intended, restore a few digits.

Checking for a single solution by hand is difficult. In Sudoku Next-Move Hints, just entering digits under “Enter a puzzle” automatically determines the number of solutions and the difficulty. Under “Create puzzle”, choose Easy, Normal, Hard, Advanced or Guessing needed to generate a symmetric puzzle with one solution.

Saving and sharing a puzzle as 81 characters

A sudoku puzzle is commonly written as 81 characters, going one row at a time from the top left to the right, with empty cells as 0 or “.”. It can be sent by note or message and pasted into other tools.

  • Example: 9.71..4......3.7.6..5....8.… (the start of the puzzle from this series’ basic guide)
  • “Copy puzzle” in Sudoku Next-Move Hints creates the 81-character string, and “Load pasted puzzle” brings it back to the board
  • When loading, 0, ., -, _ and * count as empty cells, and spaces and separators are skipped
  • “Copy current board” preserves a partly solved state

If someone gets stuck on a puzzle you made, it’s kind to recommend what to do when you’re stuck along with it. If you’d like to try other brain training, there’s also how to practice flash mental arithmetic. Shogi has the same idea of writing a board as text: SFEN puts a position on one line and BOD draws it as a nine-line diagram, as explained in how to read and write shogi SFEN and BOD.

FAQ

What is the minimum number of clues in a sudoku?
17. A 2012 exhaustive computer search showed that no puzzle with 16 or fewer clues can have a unique solution. Many unique-solution puzzles with 17 clues are known.
Are puzzles with fewer clues harder?
Not necessarily. Difficulty depends on the techniques needed to solve the puzzle and has only a weak relationship with the number of clues. Some puzzles with 17 clues can be solved with basic techniques, while others with around 30 clues require guessing.
Is a sudoku with two solutions a bad puzzle?
As a standard sudoku it’s incomplete. A two-way choice where digits can be swapped remains at the end and can’t be settled by logic. When making your own, check after each removal that there’s still one solution.
Why are sudoku puzzles symmetrical?
It’s a practice for a tidy appearance, not a rule. Many puzzles use rotational symmetry, where digit positions stay the same after a 180-degree turn. Even without symmetry, a puzzle with one solution is valid.

Tools in this article

Related articles