Sudoku's hidden rule: every valid puzzle has exactly one solution
Sudoku's printed rules never mention it, but every valid puzzle has exactly one solution, and that promise unlocks solving techniques, from unique rectangles to universal graves, that the stated rules alone can't reach.

On this page
In brief
- A valid Sudoku has exactly one solution, a promise the printed rules never state.
- Four cells holding the same two candidates in two rows, two columns, and two boxes would allow two solutions, so that pattern can't appear in a valid puzzle.
- When three of those cells hold only the pair and the fourth holds one extra candidate, that extra candidate must be the cell's value.
- A Bivalue Universal Grave, every unsolved cell with exactly two candidates, is the same idea at whole-grid scale.
- The techniques only work on puzzles guaranteed to have one solution; the guarantee comes from the setter, not the rules.
Sudoku's printed rules fit in a sentence: fill the 9×9 grid so that every row, column, and 3×3 box holds the digits one through nine. Nowhere in those rules does it say the puzzle has only one solution. It does anyway, in every puzzle worth solving, and that unprinted promise is a solving tool in its own right.
A post by Cyrus Javan, on the Hacker News front page November 30, lays out the case. Javan is not a puzzle theorist. He describes himself as someone who likes to have something to do on his phone instead of consuming content, and he uses every advantage he can within reason while trying not to rob himself of the experience. The advantage he describes is called uniqueness, and it rests on a single unstated rule: a valid Sudoku has exactly one solution.
The promise the setter makes
The rule is not in the rulebook because it is not a rule of play. It is a promise by whoever set the puzzle. Fill 81 cells with the digits one through nine, ignoring the rules, and there are 9 to the power of 81 ways to do it, around 10 to the 77th. Require exactly nine of each digit and the count falls to 81 factorial divided by nine factorial to the ninth power, around 10 to the 70th. The setter's job is to add enough starting digits, called givens, to whittle that space down to exactly one valid fill. A puzzle that whittles it down to two is broken, and a puzzle that leaves zero is unsolvable. One is the target.
Most published puzzles keep the promise. The solving techniques that follow from it are called uniqueness techniques, and they work by asking what would happen if the puzzle had two solutions instead of one. Wherever two solutions would appear, the puzzle cannot go, so the solver can rule out the move that would create them.
The deadly pattern
The simplest case is the unique rectangle, and it starts with four cells. Take two rows and two columns that cross in two 3×3 boxes, and suppose each of the four corner cells can hold only the same two digits, say two or three. Fill the top left cell with a two and the rest of the rectangle is forced: three top right, three bottom left, two bottom right. Fill it with a three instead and every cell flips. Both fills obey every Sudoku rule, so the puzzle would have two solutions.
That arrangement is called a deadly pattern, and a valid puzzle cannot contain one. SudokuWiki, the reference Javan links to, states the condition precisely: the four cells must sit on two rows, two columns, and two boxes. Spread the same four cells across four boxes and the swap breaks, because exchanging the digits would put two of the same digit in one box.

The pattern is useful precisely because it cannot appear. When three of the four cells hold only the pair and the fourth holds one extra candidate, the extra candidate is forced. Javan's example uses two and three as the pair with a one as the extra candidate in the top left cell. If that cell were a two or a three, the deadly pattern would form, so the cell must be a one. SudokuWiki calls the extra candidate a guardian, and the case with a single guardian is the Type 1 unique rectangle, the easiest of the family to spot.
The grave at the end of the grid
The same idea scales up to the entire grid. Suppose a puzzle is nearly finished and every unsolved cell has exactly two candidates left. Pick any one of them and fill it in, and the rest of the grid follows. Pick the other candidate and a different, equally valid fill follows. The puzzle would have two solutions, so the position cannot exist in a valid puzzle. It is called a Bivalue Universal Grave, or BUG, a name that suits it: a grid full of pairs with no way out.
What shows up instead is a BUG with one extra candidate, a BUG+1. One cell holds three candidates while every other unsolved cell holds two, and the extra candidate decides the cell. Javan's example puts a three in that role. SudokuWiki's explainer gives the sharper test for deciding which of the three it is: count how many times each candidate appears in the triple cell's row, column, and box, and the one that appears three times is the solution. The other two would leave contradictions further down the grid.
The BUG is the same argument as the rectangle, run to the end of the puzzle. Both say that a pattern with two solutions cannot be part of a puzzle that has one, so the cell that saves the puzzle from that pattern is decided.
Is it fair?
Not every solver likes this. Javan notes the controversy himself: some find the use of an unstated rule distasteful, or against the spirit of the solve. The objection is easy to state. The printed rules say nothing about uniqueness, so a technique that leans on it feels like solving a different puzzle than the one printed, one where the setter's promise does quiet work the solver did not earn.
Javan's answer is that the promise is part of the puzzle as published. A setter who ships a puzzle with two solutions has shipped a broken one, and the techniques only exploit the fact that the puzzle is not broken. The logic is also, to his eye, interesting in itself: the deduction runs backward from the solution's existence rather than forward from the givens, which is a different kind of reasoning than the usual scanning and elimination.
There is one real limit, and SudokuWiki states it plainly: the techniques only work when the source guarantees a single solution. A puzzle copied from an unknown source, or one generated carelessly, may carry no such guarantee, and uniqueness reasoning on it can produce a wrong answer with full confidence. The guarantee comes from the setter, not from the grid.
Finding the patterns in the wild
The techniques show up at the hard end of puzzle apps, where the ordinary scanning and elimination run out. Javan suggests the iOS app ":) Sudoku +" by Enjoy Sudoku, on its Annoying or Devious difficulty settings, as a place to see unique rectangles and BUGs in the wild. For watching rather than solving, he points to the Cracking the Cryptic channel on YouTube, where the hosts solve hard puzzles on camera and talk through the same deductions.
The hidden rule matters even if you never use it, because it changes what a Sudoku is. The printed rules describe a constraint problem. The unstated rule describes a contract: the setter promises one answer, and the solver can hold them to it. Everything else in the grid is arithmetic. That promise is the part you can argue with.


