Hidden Quad Technique

A Hidden Quad (also called a hidden quadruple) is four digits that, within one row, column or box, can only go in the same four cells. Those four cells must hold those four digits, so every other candidate in them can be erased.

The four cells are usually crowded with pencil marks, which is why the pattern is "hidden". Reading the cells one at a time shows nothing unusual. Asking where each missing digit can go is what exposes it.

  • Row-based Hidden Quad: If four candidates appear only across four specific cells of a row and nowhere else in that row, all other candidates in those four cells can be eliminated.
  • Column-based Hidden Quad: If four candidates are distributed across four cells in a column and no other cells in the column contain those candidates, the remaining candidates in the four cells can be eliminated.
  • Block-based Hidden Quad: If four candidates are found across four cells in a block, these four candidates must be confined to those cells, allowing you to eliminate other candidates from them.
1
8
3
6
7
7
4
1
4
1
4
5
8
6
2
4
9
4
3
7
8
1
6
5
2
1
3
9
6
4
8
7
5
4
2
1
9
3

In this puzzle, a Row-based Hidden Quad occurs where the numbers 1, 4, 7 and 8 appear in exactly 4 columns in row 3: columns 4, 5, 6 and 9. As a result, these numbers must occupy those cells, and all other candidates can be eliminated from them. Column 4 loses 2, 6 and 9, column 5 loses 2, 5 and 6, column 6 loses 9, and column 9 loses 2, 5 and 9.

Nothing simpler works in this position; the project's solver finds no single, pair, Omission, triplet or Naked Quad before it. The quad pays off at once. With the 5 gone from row 3, column 5, the only cell left for a 5 in column 5 is row 2, so row 2, column 5 is the 5.

Play this exact puzzle.

This puzzle combines Hidden and Naked Singles with one Hidden Quad technique for a challenging and rewarding solve.

How to find a Hidden Quad, step by step

A quad cannot be spotted by eye the way a pair sometimes can. You need a short, deliberate count inside one house.

  1. Choose a crowded house. A hidden quad needs at least five open cells in the house, or there is nothing left over to erase. Rows, columns and boxes with seven, eight or nine empty cells are where quads live.
  2. List the homes of every missing digit. For each digit the house still needs, note the open cells that could take it, such as "1: cells 4 and 5; 8: cells 4, 6 and 9".
  3. Drop the digits that roam. A digit with five or more homes cannot belong to a quad in that house. Keep the ones limited to two, three or four cells.
  4. Test groups of four. Merge the cell lists of four remaining digits. If the merged list names exactly four cells, you have a Hidden Quad. Five cells means no quad, however close it looks.
  5. Strip the four cells. Each cell keeps only the quad digits it already had. Cells outside the four are not affected.
  6. Look for the follow-up. The erased marks often leave some other digit with one home in a row, column or box. Place that Hidden Single before scanning again.

Each digit does not have to appear in all four cells

This is where learners most often go wrong, because textbook diagrams tend to show the four digits sitting in all four cells. The row-3 example above shows the real thing. The 1 can only go in columns 4 and 5. The 4 can only go in columns 6 and 9. The 7 can only go in columns 5 and 6, and the 8 in columns 4, 6 and 9. Not one of the four digits fits in all four cells, yet together they cover exactly those four and no others.

That combined footprint is the whole test. Four digits need four cells, there are only four cells they can use, so each cell must take one of them. Every other candidate in those cells is impossible. The only conditions are that each digit has at least two homes inside the group (a digit with one home is a Hidden Single) and that none of the four digits appears anywhere else in the house.

A Hidden Quad inside a box

The second example sits in a box, and its four cells form a two-by-two square, so no single row or column holds them all. The board is a real position, reached from the starting grid by placing every naked and hidden single until none were left. All nine cells of the bottom-left box are still open.

5
8
4
7
1
2
5
3
7
8
7
8
9
4
9
5
7
3
8
4
1
6
2
2
6
3
1
5
7
4
9
8
4
8
1
2
6
9
7
9
4
6
1
2
7
2
5
4

Count the bottom-left box digit by digit. The 2 can only go in row 7, columns 2 and 3. The 4 can only go in row 8, columns 2 and 3. The 5 is limited to column 3, rows 7 and 8, and the 7 to column 2, rows 7 and 8. Each of the four digits has exactly two homes, and all eight homes land in the same four cells.

So the red marks go. Row 7, column 2 drops 1 and 3 and keeps 2 and 7. Row 7, column 3 drops 6 and keeps 2 and 5. Row 8, column 2 drops 3 and 9 and keeps 4 and 7. Row 8, column 3 drops 9 and keeps 4 and 5. Two of those erased 9s were in row 8, and the only other 9 left in that row is in column 9, so row 8, column 9 must be the 9.

To be honest about this one: the position also allows simpler moves, including a Naked Pair in row 3 and a Hidden Triplet, so a solver working in order would not need the quad here. It is shown because it is the cleanest box quad we found: four digits, two homes each, in a neat square.

Play this puzzle.

Hidden Quad vs Naked Quad, and why quads are rare

A Naked Quad is four cells whose candidates, taken together, are only four digits; you erase those digits from the rest of the house. A Hidden Quad is four digits that fit only in four cells; you erase everything else from inside those cells. One is about what cells contain, the other about where digits can go.

The two always come together. If a house has a certain number of open cells and a hidden set fills some of them, the rest of the open cells can only hold the rest of the missing digits, so they form a naked set. Its size is the number of open cells minus the size of the hidden set. Row 3 above has nine open cells, so its hidden quad sits beside a naked set of five: the other five cells hold only 2, 3, 5, 6 and 9. In the box example the other five cells hold only 1, 3, 6, 8 and 9. In a house with six open cells, a hidden quad would mirror a naked pair, which is far easier to see. The guide why naked and hidden subsets work proves why the two always pair up.

That mirror is a large part of why hidden quads are rare in practice. Whenever the partner set is a pair or a triplet, a solver who tries simpler patterns first finds the partner and makes the same eliminations without ever naming a quad. The site's solver works that way, and in our library of 65,284 puzzles it needed a Hidden Quad in 405, compared with 4,499 for a Naked Quad and 11,710 for a Hidden Triplet.

See a worked example →

How to spot it

Find four digits in a unit that are confined to the same four cells, regardless of whatever other candidates those cells display.

When to use it

It is the rarest of the hidden subsets; look for it in dense units where four digits cluster into four cells.

Common mistakes

  • Confusing it with a Naked Quad; the Hidden Quad's cells carry extra candidates that you must remove.
  • Failing to confirm the four digits appear nowhere else in the unit.

Frequently asked questions

What is a Hidden Quad in Sudoku?
A Hidden Quad, also called a hidden quadruple, is four digits that can only be placed within the same four cells of a row, column or box. Those cells must hold those four digits, so every other candidate is removed from them.
Does each digit have to appear in all four cells?
No. In both examples on this page, not one of the four digits fits in all four cells. A digit can sit in just two of the four cells and still belong to the quad. The test is the combined footprint: between them, the four digits may use those four cells and no other cell in the house.
How is a Hidden Quad different from a Naked Quad?
A Naked Quad is four cells that contain only four digits, and you remove those digits from the rest of the house. A Hidden Quad is four digits that fit only in four cells, and you remove the other candidates from inside those cells. The two are mirror images: the open cells a hidden quad leaves over always form a naked set.
How often do Hidden Quads appear?
Rarely. This site's solver tries simpler techniques first, and across its puzzle library it needs a Hidden Quad in fewer than one puzzle in a hundred, less often than any other technique taught here. Often the matching naked set is a pair or triplet, which makes the same eliminations and is found first.
Back to Techniques