Hard

Unique Rectangle

Four cells forming a rectangle across two boxes. Preventing a deadly pattern that would allow two solutions.

26791557283161864527672918435856479254932768178543921664152728765433
Unique Rectangle
In short

If four cells at the corners of a rectangle, in two rows, two columns and two boxes, could end up holding only the same two digits, the puzzle would have two solutions. So whatever would complete that pattern can be eliminated. In the simplest case, three corners show only those two digits: eliminate both from the fourth corner.

What Is It?

A Unique Rectangle is four cells at the corners of a rectangle that cover two rows, two columns and exactly two boxes, all showing the same two candidates, for example 1 and 3.

If all four corners ended up with only 1 and 3, you could swap the 1s and 3s and get a second solution. A proper puzzle has only one solution, so that can't happen, and whatever would make it happen can be eliminated.

There are four common types. They differ in where the extra candidates sit.

How It Works

  1. Find four cells at the corners of a rectangle, in two rows, two columns and two boxes, that all show the same two candidates.
  2. Type 1: three corners show only those two. Eliminate both digits from the fourth corner.
  3. Type 2: two corners show only those two, and the other two add the same one extra digit. One of them must be that digit: eliminate it from every cell that sees both.
  4. Type 3: the extras of the other two corners, taken together, form a Naked Pair or Triple with other cells of their row, column or box. Eliminate those digits from the rest of it.
  5. Type 4: one of the two digits has only those two places in the other corners' row or column. Eliminate the other digit from both of those corners.

Worked Examples

Example 1: Unique Rectangle Type 1

Step 1: R5C2, R5C3, R9C2 and R9C3 form a rectangle over rows 5 and 9, columns 2 and 3, and boxes 4 and 7. All four show 1 and 3.

2679155728316186452767291843585647925493276817854392166415272876543913131391339

Unique Rectangle with digits {1, 3} at corners R5C2, R5C3, R9C2, R9C3. Three corners contain only {1, 3}. The fourth, R9C2, has extra candidate 9.

Step 2: Three corners show only 1 and 3. If R9C2 did too, the 1s and 3s could swap and the puzzle would have two solutions. Eliminate the 1 and the 3 from R9C2.

26791557283161864527672918435856479254932768178543921664152728765439939

Type 1: Three bivalue corners (green). If R9C2 were also only {1, 3}, the deadly pattern would allow two solutions. Eliminate 1 and 3 from R9C2 (red).

Step 3: R9C2 is left with 9.

26791557283161864527672918435856479254932768178543921664152728765439131391339

Eliminate 1, 3 from R9C2. R9C2 is reduced to {9}, solved. The deadly pattern is prevented.

Example 2: Unique Rectangle Type 2

Step 1: R4C3, R4C6, R6C3 and R6C6 form a rectangle over boxes 4 and 5 with the digits 3 and 8. R6C3 and R6C6 show only 3 and 8; R4C3 and R4C6 both add a 6.

829714654871293317249586592472497351745962965742732849481925735636356368136368186816183838131381815656163636

Unique Rectangle with digits {3, 8} at corners R4C3, R4C6, R6C3, R6C6. Floor corners R6C3, R6C6 are bivalue {3, 8}. Both roof corners R4C3, R4C6 add the same extra candidate 6.

Step 2: To avoid two solutions, R4C3 or R4C6 must be the 6. They share row 4, so exactly one of them is.

8297146548712933172495865924724973517459629657427328494819257356363561318681618131381815656163636

Type 2: the four corners share {3, 8} (green). At least one roof must instead be its extra 6 (orange), and both roofs sit in row 4 with R4C4 — so R4C4 cannot be 6 (red).

Step 3: R4C4 is in row 4 too, so it sees both. Eliminate the 6 from R4C4, which is left with 1 and 3.

82971465487129331724958659247249735174596296574273284948192573563635636813368186816183838131381815656163636

Eliminate 6 from R4C4, leaving {1, 3}. The shared extra candidate 6, locked into the two roofs, breaks the deadly pattern.

Example 3: Unique Rectangle Type 3

Step 1: R1C8, R1C9, R8C8 and R8C9 form a rectangle with 3 and 8. R1C8 and R1C9 show only 3 and 8; R8C8 shows 3 4 7 8 and R8C9 shows 3 7 8.

57621498943651321965425374814671359181582691278251383827277878696989289295635236472467267343679473467936793445357347837846393693469

Unique Rectangle with digits {3, 8} at corners R1C8, R1C9, R8C8, R8C9. Floor cells R1C8 and R1C9 are bivalue {3, 8}. Roof cells R8C8 has extras {4, 7} and R8C9 has extra {7}.

Step 2: One of R8C8 and R8C9 must take an extra digit, 4 or 7. Together they act like one cell showing 4 and 7, and R7C7 in box 9 also shows only 4 and 7: a Naked Pair.

57621498943651321965425374814671359181582691278251272778786969892892956352364724672673436794736936934453574639369369

Type 3: Green marks UR digits {3, 8}. Blue marks extras {4, 7}. R7C7 also has {4, 7}, forming a naked pair with the roof extras in box 9. Eliminate 4 and 7 from other box 9 cells (red).

Step 3: Eliminate 4 and 7 from the rest of box 9: 4 and 7 from R7C8, 7 from R7C9 and 4 from R9C8.

5762149894365132196542537481467135918158269127825138382727787869698928929563523647246726734367947369369344535734783784639369369

Eliminated: {4, 7} from R7C8, {7} from R7C9, {4} from R9C8. The naked pair {4, 7} is locked in the roof extras and R7C7.

Example 4: Unique Rectangle Type 4

Step 1: R3C5, R3C6, R8C5 and R8C6 form a rectangle with 2 and 7. R3C5 and R8C5 show only 2 and 7; R3C6 adds a 6 and R8C6 adds an 8.

9547313745912868394585246931743971562876128359458793416296453435879272672727826812612121826

Unique Rectangle with digits {2, 7} at corners R3C5, R3C6, R8C5, R8C6. Two corners (R3C5, R8C5) are bivalue {2, 7}. R3C6 has extra 6, R8C6 has extra 8, different extras.

Step 2: In column 6 the 7 can go only in R3C6 or R8C6, so one of them is the 7. If the other were the 2, all four corners would hold only 2 and 7: two solutions.

95473137459128683945852469317439715628761283594587934162964534358796826812612121826

Type 4: Digit 7 forms a strong link in column 6, it only appears in R3C6 and R8C6 (green). One must be 7, preventing the deadly pattern. Eliminate 2 from both (red).

Step 3: Eliminate the 2 from R3C6 and R8C6. They are left with 6 7 and 7 8.

95473137459128683945852469317439715628761283594587934162964534358792767277826812612121826

Eliminate 2 from R3C6 and R8C6. R3C6 becomes {6, 7} and R8C6 becomes {7, 8}. The strong link on 7 ensures the deadly pattern is prevented.

Unique Rectangles require recognizing four cells forming a rectangle across two boxes with shared candidates. Type 1 is the most common, look for three bivalue corners. Types 2, 3, and 4 appear when two corners are bivalue and the other two share a trait (same extra, naked subset, or strong link).

Unique Rectangle in a Real Puzzle

A puzzle from our Hard pool, at the moment it needs a Unique Rectangle. Next Step, the game’s hint, tries every easier technique first, and none of them works here.

Without a Unique Rectangle, no technique up to Hard finishes this puzzle. After it, singles finish the puzzle. Step through it below: the board lights what each step talks about.

Unique Rectangle on 3 and 5

Hard puzzle · Unique Rectangle

This is the board after 37 digits have been placed. Next Step tries every easier technique first, and none of them works here.

Step 1 of 4Step 2 of 4Step 3 of 4Step 4 of 4

So R8C6 can't be 3 or 5: if it were, the four corners could swap their 3s and 5s, and a puzzle has only one solution. R8C6 is left with 4. Play it from the start and spot it yourself.

Puzzle key uFNHtRA6 Play this puzzle

Looks Like a Unique Rectangle, but Isn’t

Four cells with the same two candidates are easy to see and easy to get wrong. This position, from another Hard puzzle in our pool, has the shape but is not a Unique Rectangle. Step through it to see why.

Looks like a Unique Rectangle

Hard puzzle · not a Unique Rectangle

R1C2, R1C8, R5C2 and R5C8 form a rectangle over rows 1 and 5 and columns 2 and 8. Three corners show only 2 and 3, and R5C2 shows 2, 3 and 9. It looks like a Unique Rectangle.

Step 1 of 3Step 2 of 3Step 3 of 3

The rule to remember: the four cells must sit in exactly two boxes, two corners in each.

Puzzle key wHcjiLMa Play this puzzle

Practice on 3 Real Puzzles

Hard puzzles from our pool, easiest first. On the way through each one, Next Step comes to one Unique Rectangle, and every other step is easier. Find it yourself, and open the hint only if you are stuck.

Puzzle 1

Hard · 32 clues
Puzzle key n8cK0ubQ
Play this puzzle

Puzzle 2

Hard · 30 clues
Puzzle key 6FqDY0ig
Play this puzzle

Puzzle 3

Hard · 29 clues
Puzzle key Yf5npMT0
Play this puzzle

Frequently Asked Questions

What is a deadly pattern in Sudoku?

A deadly pattern is a set of cells that could be filled in two different ways, both valid. The classic case is four rectangle corners holding only the same two digits: swap those digits at all four corners and the grid still works, so the puzzle would have two solutions, which a proper Sudoku cannot.

Why must the rectangle span exactly two boxes?

Because the digit swap has to leave every row, column and box still valid. With the corners confined to two boxes, each box holds two corners — one of each digit — so exchanging them keeps both digits present everywhere. A rectangle spread across four boxes would not survive the swap, so it is not deadly.

How does a Unique Rectangle Type 1 work?

In Type 1, three corners hold only the two shared digits and the fourth holds those two plus extras. Were the fourth also limited to the shared pair, the deadly pattern would form — so eliminate both shared digits from it. When it has exactly one extra candidate, that cell is solved immediately.

What is the difference between Unique Rectangle Types 1, 2, 3 and 4?

Type 1 has three corners holding only the two shared digits and eliminates those digits from the fourth. Types 2, 3 and 4 each have two such corners and differ in the other pair: Type 2's two share one identical extra candidate, Type 3's extras form a naked subset with another cell, Type 4's carry a strong link.

What is a strong link in a Unique Rectangle Type 4?

A strong link means one of the two shared digits appears in only those two roof cells within their common row or column, so one roof must take it. With that digit guaranteed a home, the other shared digit can be eliminated from both roofs, since placing it there would complete the deadly rectangle.

How do I spot a Unique Rectangle while solving?

Scan for two cells in the same row holding the identical two candidates, then look down their two columns for another row where both cells still carry those digits. Check that the four cells cover only two boxes. Type 1 is the most common, so look first for three corners with nothing but the shared pair.

Key Points to Remember

  • The four cells must form a rectangle spanning exactly two rows, two columns, and two boxes.
  • Type 1 (most common): Three bivalue corners. Eliminate UR digits from the fourth corner.
  • Type 2: Two bivalue corners, two with the same extra candidate. The extra must go in one of them.
  • Type 3: Two bivalue corners. The extras from the other two form a naked subset with cells in a shared row, column or box.
  • Type 4: Two bivalue corners, two with different extras. A strong link on one UR digit lets you eliminate the other.
  • All UR techniques rely on uniqueness: a valid Sudoku has exactly one solution, so deadly patterns cannot occur.

Related Techniques

Learn first:
Learn next:

In Our 160,000+ Puzzles

Our solver graded every puzzle on this site. This is how many puzzles at each level it used Unique Rectangle in.

Easy
0%0 of 30,025 Easy puzzles
Medium
0%0 of 40,115 Medium puzzles
Hard
4.9%3,467 of 70,223 Hard puzzles
Extreme
28%2,796 of 10,089 Extreme puzzles
Diabolical
31%3,096 of 10,112 Diabolical puzzles

First used at Hard, in 4.9% of Hard puzzles.

In a Diabolical puzzle that uses it, it comes up about 1.2 times.

The best way to master Unique Rectangle is to practice spotting it in real puzzles.

© 2026 Sudoku Challenge | sudokuchallenge.com

All Sudoku Techniques

Explore all 28 solving techniques in our complete technique guide.

Naked Single Hidden Single Locked Candidates Naked Pair Hidden Pair Naked Triple Hidden Triple Naked Quad Hidden Quad BUG+1 X-Wing Skyscraper Two-String Kite Empty Rectangle Simple Coloring XY-Wing Swordfish W-Wing X-Cycles XY-Chain XYZ-Wing WXYZ-Wing Finned X-Wing Finned Swordfish Jellyfish ALS-XZ Remote Pairs