One of the most elegant and intellectually satisfying techniques in advanced Sudoku strategy is the Unique Rectangle. Unlike brute-force methods that rely on trial and error, this technique draws on a fundamental rule of well-formed Sudoku puzzles: every valid puzzle has one and only one solution. By understanding what patterns would create multiple solutions — and then ruling them out — you can make powerful deductions that crack open even the most stubborn grids. If you have been solving intermediate puzzles for a while and are ready to level up, mastering the Unique Rectangle is an essential step forward.
What Is the Unique Rectangle Technique?
The Unique Rectangle (often abbreviated as UR) is a candidate-elimination strategy based on the principle that a properly constructed Sudoku puzzle must have exactly one valid solution. Puzzle designers — and the solving logic that underpins fair Sudoku — guarantee this uniqueness. The Unique Rectangle technique exploits that guarantee by identifying configurations that would produce two or more solutions if left unresolved, then using that impossibility to eliminate candidates or place digits.
At its heart, a Unique Rectangle involves four cells that form a rectangle shape on the grid. These four cells must span exactly two rows and exactly two columns, and — crucially — they must also lie within exactly two boxes (sometimes called regions or nonets). When those four cells contain only two specific candidate digits, and those same two digits appear in the same two rows and columns, you have what solvers call a “deadly pattern.” A deadly pattern is dangerous because it means the puzzle could theoretically have two solutions, which violates Sudoku’s uniqueness rule. Since we know the puzzle is valid, something must break the pattern — and that something tells you how to eliminate a candidate or place a number.
It is worth noting that the Unique Rectangle technique only applies reliably to puzzles that are guaranteed to have a unique solution. Most published Sudoku puzzles, including those here at playsudoku.org, meet this standard. If you are solving a randomly generated puzzle that might have multiple solutions, the UR technique could mislead you.
Understanding the Deadly Pattern
Before diving into the different types of Unique Rectangles, it helps to understand exactly why a deadly pattern is a problem. Imagine four cells arranged in a rectangle — let’s call them A, B, C, and D. Cell A and Cell B share a row. Cell C and Cell D share a row. Cell A and Cell C share a column. Cell B and Cell D share a column. Now suppose every one of these four cells contains only the candidates 3 and 7, and no other digits.
In this scenario, you could fill A=3, B=7, C=7, D=3 and satisfy every row, column, and box constraint. But you could also fill A=7, B=3, C=3, D=7 and equally satisfy all constraints. That gives you two different completed grids — two solutions — which means the puzzle is broken. Since we trust that the puzzle is well-formed and has a unique solution, this situation cannot exist in the final answer. Therefore, you know that at least one of those four cells must eventually receive a digit other than 3 or 7. That knowledge is the engine that drives all Unique Rectangle deductions.
The four cells in a UR must always meet these conditions:
- They form a rectangle covering exactly two rows and two columns.
- They lie within exactly two Sudoku boxes (not three or four).
- The two “deadly” candidates appear in all four cells as possibilities.
The Main Types of Unique Rectangle
Solvers have catalogued several variations of the Unique Rectangle, each requiring a slightly different logical move. Here are the most commonly encountered types, from beginner-friendly to more advanced.
Type 1: One Extra Candidate
In a Type 1 UR, three of the four cells contain only the two deadly candidates, while the fourth cell contains those two candidates plus at least one additional candidate. Because the three “pure” cells can only hold the two deadly digits, the fourth cell is the one that must break the deadly pattern. You can therefore eliminate the two deadly candidates from that fourth cell entirely, leaving only the extra candidate(s). This often resolves to a naked single — a cell with only one remaining possibility — making it one of the most satisfying UR deductions.
Type 2: Two Cells with One Extra Candidate
A Type 2 UR occurs when two of the four cells (which must be in the same row or column) each contain the two deadly candidates plus exactly one identical extra candidate. Because one of those two cells must take the extra candidate to break the deadly pattern, and both cells share a row or column, any other cell that sees both of those cells cannot contain that extra candidate. This acts like a pointing pair and allows you to eliminate the extra candidate from the shared row, column, or box.
Type 3: Two Extra Candidates Forming a Virtual Pair
In a Type 3 UR, two cells each have one or more extra candidates (beyond the two deadly digits), and when you combine the extra candidates from both cells, they act together like a naked pair. You treat the two “extra” candidates as if they occupy two virtual cells and then apply standard naked pair elimination logic to the rest of the row, column, or box those cells share. This type requires a firm understanding of naked pairs before it becomes intuitive.
Type 4: One Pair of Cells with a Locked Extra Candidate
The Type 4 UR is subtly different. Here, two of the four cells have extra candidates, but one of the two deadly digits is locked within those two cells — meaning it cannot appear anywhere else in their shared row, column, or box. Because that digit must go into one of those two cells anyway (it has nowhere else to go), the deadly pattern is automatically broken by that digit’s placement. This means you can eliminate the other deadly candidate from those two cells, since placing it there would recreate the pattern.
A Worked Example: Spotting and Solving a Type 1 UR
Let’s walk through a concrete illustration. Suppose you are working through a puzzle and you have narrowed down candidates in four cells as follows:
- Row 2, Column 3 (Box 1): candidates {4, 9}
- Row 2, Column 7 (Box 2): candidates {4, 9}
- Row 8, Column 3 (Box 7): candidates {4, 9}
- Row 8, Column 7 (Box 8): candidates {4, 9, 6}
These four cells form a rectangle spanning rows 2 and 8, and columns 3 and 7. They touch exactly two boxes on each row (Box 1 and Box 2 in row 2; Box 7 and Box 8 in row 8). Three of the four cells contain only {4, 9}, while the fourth cell — Row 8, Column 7 — contains {4, 9, 6}.
This is a textbook Type 1 Unique Rectangle. The three “pure” cells can only ever receive a 4 or a 9. If the fourth cell were also to resolve to either 4 or 9, the deadly pattern would emerge and the puzzle would have two solutions. Since we know that cannot happen, we eliminate both 4 and 9 from the fourth cell. That leaves only the candidate 6 in Row 8, Column 7 — a naked single. You can confidently place 6 there and continue solving.
In practice, spotting this pattern requires you to maintain a careful pencil-mark (candidate) grid and to scan for rectangular groups of cells that share the same pair of digits. Many experienced solvers develop an eye for these patterns after working through a few dozen advanced puzzles.
Tips for Spotting Unique Rectangles in Your Own Solving
Recognizing Unique Rectangles becomes easier with deliberate practice. Here are some practical tips to help you spot them faster:
- Keep your pencil marks tidy. Unique Rectangles are almost impossible to spot without a complete, accurate set of candidate marks. Take the time to fill in all candidates early in the solve.
- Scan for pairs. When you notice a naked pair or hidden pair in a row or column, check whether the same pair appears in the corresponding cells of the intersecting rows or columns. This is frequently where URs hide.
- Remember the two-box rule. The four cells must span exactly two boxes. If they spread across three or four boxes, the pattern does not qualify as a Unique Rectangle.
- Look at the rectangle corners first. When you identify two cells in the same box with identical two-candidate pairs, look diagonally across the grid to find the other two corners.
- Work through easier UR types first. Start by hunting for Type 1 URs, as they yield the most immediate payoff. Once you are comfortable, add Type 2 to your toolkit, then progress to Types 3 and 4.
- Combine with other techniques. The Unique Rectangle often works hand-in-hand with X-Wings, Swordfish patterns, and hidden sets. Solving the UR may unlock those other techniques, and vice versa.
How the Unique Rectangle Fits into Your Broader Strategy
The Unique Rectangle sits comfortably in the intermediate-to-advanced tier of Sudoku solving techniques, above the naked and hidden singles and pairs that beginners rely on, but below the most fearsome strategies like Alternating Inference Chains (AICs) or the Nishio method. If you can consistently apply basic elimination and locked candidates, you are ready to add the UR to your repertoire.
What makes the Unique Rectangle particularly appealing is its logical elegance. Rather than guessing or bifurcating (splitting the puzzle into two branches and testing each), you are reasoning from a structural property of the puzzle itself. This keeps your solving process clean, traceable, and satisfying. When a Unique Rectangle reveals a naked single or unlocks a cascade of further eliminations, it feels like a genuine breakthrough — the reward for patient, methodical analysis.
Advanced solvers sometimes encounter “hidden” Unique Rectangles, where the deadly candidates are not immediately obvious because other candidates crowd the cells. The approach is the same, but identifying the pattern requires more careful pencil-mark analysis. With experience, these hidden configurations become recognisable as well.
Key Takeaways
- The Unique Rectangle technique relies on the guarantee that every valid Sudoku puzzle has exactly one solution.
- A deadly pattern occurs when four cells arranged in a rectangle across two rows, two columns, and exactly two boxes contain only two candidate digits — creating a scenario where two different solutions would be equally valid.
- There are four main UR types (Type 1 through Type 4), each using slightly different logic to eliminate candidates or place digits.
- Type 1 is the most beginner-friendly: three “pure” cells force you to eliminate the deadly candidates from the fourth cell, which has at least one extra candidate.
- Accurate pencil marks and an eye for rectangular cell groupings are the two most important practical skills for spotting URs.
- The technique is a clean, logical deduction — no guessing required — making it one of the most intellectually rewarding methods in the advanced solver’s toolkit.
Understanding and applying the Unique Rectangle technique is a genuine milestone in your Sudoku journey. It shifts your thinking from purely mechanical digit-placement toward a deeper appreciation of the puzzle’s structural logic. The more puzzles you solve with this tool in hand, the more naturally the patterns will leap out at you. Head over to the puzzle section of playsudoku.org, pull up a challenging grid, and put your new knowledge to the test — you may be surprised how quickly a stubborn puzzle yields once you start looking for deadly patterns.