Sudoku Strategy

Unique Rectangle Technique in Sudoku Explained

September 15, 2026 · The Play Sudoku Team

If you have been solving Sudoku puzzles for a while, you have probably hit a wall where no basic technique seems to crack the next cell. You have tried naked singles, hidden singles, and even a few pointing pairs, but the puzzle refuses to budge. This is exactly the moment when intermediate and advanced strategies like the Unique Rectangle technique become invaluable. It is one of those elegant logical tools that, once understood, feels almost like cheating — but it is entirely valid and built on a fascinating mathematical principle that every well-constructed Sudoku puzzle must obey.

What Is the Unique Rectangle Technique?

The Unique Rectangle technique — sometimes called the UR technique — is a strategy that exploits a fundamental rule of Sudoku puzzle design: every valid Sudoku puzzle must have exactly one solution. A puzzle with two or more solutions is considered broken or poorly constructed. Reputable puzzle creators and computer generators always verify that their puzzles are uniquely solvable. The Unique Rectangle technique turns that guarantee into a powerful solving weapon.

At its heart, the technique looks for a specific configuration of four cells arranged in a rectangle that spans exactly two rows, two columns, and two boxes. If those four cells all contain the same two candidate digits — and nothing else — then the puzzle would have at least two valid solutions. Since we know the puzzle has only one solution, something must prevent that pattern from forming. That “something” is the logical clue you use to eliminate a candidate or place a digit.

The four cells involved are called the Unique Rectangle, and the dangerous two-digit pattern they might form is called a Deadly Pattern. Your job as the solver is to identify when a deadly pattern is about to form and then use that knowledge to make a deduction.

It is important to note upfront: the Unique Rectangle technique is only valid when you are certain the puzzle has a unique solution. For competition Sudoku or puzzles from trusted sources, this is a safe assumption. Avoid using it on hand-crafted or informal puzzles unless uniqueness is guaranteed.

Understanding the Deadly Pattern

To truly grasp why the Unique Rectangle works, let’s think about what a deadly pattern actually means. Imagine four cells arranged like the corners of a rectangle. Call them A, B, C, and D. Now suppose every one of those cells contains exactly the candidates 3 and 7 — nothing else. In that scenario, you could fill A and C with 3 and 7 in one arrangement, and B and D with 7 and 3. Then you could swap them: A and C get 7 and 3, and B and D get 3 and 7. Both arrangements would satisfy every Sudoku rule for those rows, columns, and boxes. The puzzle would have two solutions.

This is the deadly pattern. The moment you see four cells in a rectangle across two boxes, all sharing only two candidates, you know the puzzle would break — so that situation cannot be the final state. Logically, at least one of those cells must have an additional candidate that resolves the ambiguity. Identifying which cells have extra candidates, and what those candidates are, is how you extract useful information from the pattern.

The cells in a Unique Rectangle are often labeled as floor cells (the two cells that definitely contain only the two shared candidates) and roof cells (the two cells that may have additional candidates). The roof cells are where the logical action happens.

The Main Types of Unique Rectangle

There are several recognized variations of the Unique Rectangle technique, each slightly different in what you can deduce. Understanding the most common types will cover the vast majority of situations you encounter in intermediate to hard Sudoku puzzles.

Type 1 — One Extra Candidate

In a Type 1 Unique Rectangle, three of the four cells contain only the two shared candidates, and the fourth cell contains those two candidates plus at least one extra. Because the deadly pattern cannot occur, that fourth cell must ultimately be solved with one of its extra candidates — meaning you can eliminate the two shared candidates from it entirely. This is the simplest and most commonly seen form.

Type 2 — Two Cells With the Same Extra Candidate

In Type 2, two of the four cells (the roof cells) each contain the two shared candidates plus the same single extra candidate. Since the deadly pattern cannot form, that extra candidate must end up in one of those two roof cells. This means you can eliminate that extra candidate from any other cell that sees both roof cells — essentially using the roof cells like a conjugate pair.

Type 3 — Two Cells With Different Extra Candidates

Type 3 is slightly more complex. The two roof cells each have extra candidates, but the extras are different. Together, the extra candidates in the two roof cells behave like a virtual naked pair, naked triple, or similar grouping. You can use standard elimination techniques on the surrounding cells as if those roof cells were a single combined unit holding those extra candidates.

Type 4 — One Extra Candidate Locked in the Roof

In Type 4, one of the two shared candidates appears only in the roof cells within a particular row, column, or box. Because that candidate is locked into the roof, the roof cells cannot be resolved using the other shared candidate — so the other shared candidate can be eliminated from both roof cells. This type requires checking whether a candidate is locked by looking at the broader context of a house (row, column, or box).

A Worked Example: Spotting and Using a Type 1 UR

Let’s walk through a concrete example to make the technique tangible. Suppose you are working on a hard Sudoku puzzle and you have narrowed down candidates across the grid. You notice the following situation:

  • Row 2, Column 3 (R2C3): candidates are 4 and 8
  • Row 2, Column 7 (R2C7): candidates are 4 and 8
  • Row 6, Column 3 (R6C3): candidates are 4 and 8
  • Row 6, Column 7 (R6C7): candidates are 4, 8, and 2

These four cells form a rectangle: rows 2 and 6, columns 3 and 7. Check the boxes: R2C3 is in box 1, R2C7 is in box 2, R6C3 is in box 4, and R6C7 is in box 5. They span two rows, two columns, and — critically — two different boxes on each side. The rectangle is valid.

Three of the four cells (R2C3, R2C7, R6C3) contain only the candidates 4 and 8. The fourth cell, R6C7, contains 4, 8, and also 2. This is a classic Type 1 Unique Rectangle. If R6C7 were solved as either 4 or 8, the remaining three cells would still leave the deadly pattern intact. To avoid the deadly pattern, R6C7 must be resolved by its extra candidate.

Your deduction: eliminate both 4 and 8 from R6C7. That leaves only the candidate 2 in R6C7, so you can immediately place the digit 2 there. You have just solved a cell — and potentially unlocked a cascade of further deductions — purely by recognising that the puzzle must have a unique solution.

This is the power and elegance of the Unique Rectangle technique. Without it, you might have been stuck considering dozens of other possibilities. With it, one observation collapses the ambiguity instantly.

Tips for Finding Unique Rectangles in Your Puzzles

Spotting Unique Rectangles becomes easier with practice. Here are some practical tips to train your eye:

  • Look for conjugate pairs first. If you notice two cells in the same row or column with exactly the same two candidates, check whether those candidates appear in another row or column at the same column or row positions. You are essentially looking for two matching pairs aligned into a rectangle.
  • Verify the box rule. A valid Unique Rectangle must span exactly two boxes on each side. If all four corners fall within the same two boxes only (not crossing into a third), the rectangle qualifies.
  • Keep your candidate lists up to date. Unique Rectangles are only visible when your pencil marks are current. Use other techniques to eliminate candidates regularly so potential URs become visible.
  • Start with Types 1 and 2. These are the most straightforward and appear most often in published puzzles rated as hard or expert. Types 3 and 4 are rarer and require more analysis, but knowing they exist helps on especially tricky puzzles.
  • Use digital solvers for practice. Many Sudoku apps highlight Unique Rectangle patterns. Spend time in a solver’s step-by-step mode to see how it identifies the pattern so you can replicate that logic yourself.

How the Unique Rectangle Fits Into Your Strategy Toolkit

The Unique Rectangle technique sits comfortably in the intermediate-to-advanced tier of Sudoku strategies. It is more powerful than basic techniques like naked pairs or box-line reduction, but generally less involved than strategies such as X-Wings, Swordfish, or Alternating Inference Chains. This makes it an ideal next step for solvers who have mastered the fundamentals and want to tackle harder puzzles without resorting to trial and error.

One of the best things about the Unique Rectangle is that it often provides a clean, single-step deduction rather than requiring you to trace long chains of logic. In many hard puzzles, a single Type 1 or Type 2 UR observation can break the puzzle wide open, reducing the candidate pool enough for simpler techniques to finish the job.

Combine the Unique Rectangle technique with other pattern-based strategies for the best results. For example, after using a UR to eliminate a candidate, look for newly formed hidden singles, naked pairs, or pointing triples that the elimination may have created. Sudoku strategies work best as an integrated toolkit rather than isolated tricks.

Key Takeaways

  • The Unique Rectangle technique is based on the principle that every valid Sudoku has exactly one solution — a deadly pattern with two solutions must be avoided.
  • A Unique Rectangle is formed by four cells in two rows, two columns, and two boxes, all sharing the same two candidate digits.
  • The main types (1 through 4) differ in how many extra candidates appear in the roof cells and what eliminations you can make.
  • Type 1 is the easiest: three floor cells with only the shared pair, and one roof cell with an extra candidate that you can immediately exploit.
  • Always verify that your puzzle is uniquely solvable before applying this technique, as it relies entirely on that guarantee.
  • Regular practice and keeping accurate candidate lists are the two most important habits for spotting Unique Rectangles efficiently.

The Unique Rectangle technique is one of the most satisfying strategies in all of Sudoku solving. It takes a rule that puzzle designers follow — uniqueness of solution — and flips it into a logical tool that works in your favour. Once you start seeing these rectangular patterns in your grids, you will find that puzzles you once considered impossibly difficult suddenly reveal a clear, logical path forward. Keep practising, keep your pencil marks sharp, and enjoy the moment when a deadly pattern hands you the answer on a silver platter. Happy solving!

Play a puzzle