FunWonder

Sudoku Techniques That Actually Help: From Naked Singles to X-Wing

Sudoku looks simple. Fill a nine by nine grid so every row, column, and three by three box holds the digits 1 to 9, each exactly once. The rules fit in one sentence, and the hard part is everything after that. Most puzzles give up their secrets to a small set of techniques, used in the right order. This guide teaches those techniques from easiest to hardest: naked singles, hidden singles, naked pairs, hidden pairs, pointing pairs, and X-wing. Each one comes with a worked example you can follow without a diagram. Learn them in order, and a puzzle that used to stall will start to move.

Naked Single: The Cell With One Answer

A naked single is a cell where only one digit can go. The row, column, and box around it rule out eight of the nine digits, so the ninth digit is forced.

Take an empty cell in the bottom middle box. Its row holds 1, 2, 6, 7, 8, and 9. Its column holds 3 and 4. Its box adds nothing new. Between the three, the digits 1, 2, 3, 4, 6, 7, 8, and 9 are all covered, so the cell must be 5. Fill it in.

Naked singles are the first thing to look for, and they stay useful the whole way through. Every digit you place changes the candidates in its row, column, and box, and each change can create a new naked single somewhere else. After every placement, scan the cells around it for a cell that now has only one possible digit. On easy puzzles, naked singles alone can carry you most of the way. On harder puzzles, they are still the moves that open the board after a pair or a pointing pattern clears the way.

Hidden Single: The Digit With One Home

A hidden single is a digit that has only one possible home inside a row, column, or box, even though the cell itself could hold other digits. The cell does not look solved, because its notes list several candidates. The digit is hidden inside those candidates.

Look at the leftmost column. It has four empty cells. The digit 9 already appears in the rows of three of those cells, so 9 cannot go in any of them. The fourth empty cell is the only one that can take 9. Place 9 there, even though that cell also lists 2 and 6 as candidates. The other candidates do not matter, because 9 has nowhere else to go in that column.

Hidden singles are easy to miss, because the cell looks unfinished. The way to find them is to scan one digit at a time. Pick a digit, say 5, and run your eyes down each row, across each column, and through each box, asking where 5 can still go. When a digit has only one possible cell left in a unit, you have found a hidden single. Do this for each digit in turn, and you will catch the ones that a general scan misses.

Naked Pair: Two Digits, Two Cells

A naked pair is two cells in the same row, column, or box that hold exactly the same two candidates, and nothing else. Those two digits must occupy those two cells in some order, so no other cell in that unit can hold either digit.

Look at the bottom box. Two empty cells both hold exactly the notes 4 and 7, and nothing else. Those two digits must fill those two cells, so no other cell in that box can be 4 or 7. Erase 4 and 7 from the notes of the other empty cells in the box. That erasing often leaves another cell with a single candidate, which solves it.

Naked pairs do not place a digit directly. Their value is in what they erase. By locking two digits into two cells, they clear those digits from the rest of the unit, and the clearing is what creates the next single. Look for naked pairs when the singles run out. They show up most often in rows and boxes that are nearly full, where the remaining empty cells have short candidate lists.

Hidden Pair: Two Digits With Nowhere Else to Go

A hidden pair is the mirror image of a naked pair. Two digits can only go in the same two cells inside a row, column, or box, even though those cells also hold other candidates. The two digits are locked to those two cells, so you can erase every other candidate from them.

Look at the middle row. The digits 2 and 5 appear as candidates in only two cells of that row, the second and the seventh cells. Those two cells also list other candidates, such as 1 and 9, but 2 and 5 have nowhere else to go in the row. So 2 and 5 must occupy those two cells, and you can erase every other candidate from them. Once you do, one of the two cells may be left with a single candidate, which solves it.

Hidden pairs are harder to spot than naked pairs, because the two cells do not stand out. Their notes look like any other crowded cell. The way to find them is to track a pair of digits together. When you notice that two digits keep appearing in the same two cells and nowhere else in a unit, check whether those cells hold other candidates. If they do, you have a hidden pair, and erasing the extra candidates often cracks the unit open.

Pointing Pair: When a Box Points at a Row

A pointing pair happens when a candidate digit appears only in one row, or only in one column, inside a three by three box. Since the digit must go in one of those cells, and they all sit in the same row or column, the digit cannot appear anywhere else in that row or column outside the box.

Look at the top left box. The digit 4 appears as a candidate in only two cells of that box, and both cells sit in the top row of the box, which is row 1 of the grid. Since 4 must go in one of those two cells, and both are in row 1, no other cell in row 1 outside the box can be 4. Erase 4 from the notes of the other cells in row 1.

Pointing pairs are worth looking for when a digit is stuck inside a box and the puzzle will not move. They are common on medium and hard puzzles, and they are the first technique that reaches outside a single unit to clear candidates in a whole row or column. The same idea works with three cells in a line, which is called a pointing triple, and the logic is identical: if all the candidates for a digit in a box sit in one row, that digit is gone from the rest of the row.

X-Wing: The Rectangle That Clears Two Columns

X-wing is the hardest technique in this guide, and the only one that uses four cells at once. It works on a single digit that appears in exactly two cells in each of two rows, where those cells share the same two columns. The four cells form a rectangle, and the digit must occupy two opposite corners of it.

Take the digit 6. In row 2, the only cells that can hold 6 are in columns 3 and 7. In row 8, the only cells that can hold 6 are also in columns 3 and 7. The four cells form a rectangle. Each of rows 2 and 8 must place a 6, and both must use columns 3 and 7, so no other cell in column 3 or column 7 can hold 6. Erase 6 from the notes of every other cell in those two columns.

The same pattern works the other way around. If a digit appears in exactly two cells in each of two columns, and those cells share the same two rows, the digit cannot appear anywhere else in those two rows. The logic is the same: the two units must use the same two lines, so those lines are spoken for.

X-wing only shows up on hard puzzles, and only after the simpler techniques have done their work. Do not hunt for it early. It costs time, and it is easy to misread a near miss as a real X-wing. The check is strict: the digit must appear in exactly two cells in each of the two rows, and the columns must match exactly. If a row has three candidate cells for the digit, there is no X-wing there. When the pattern is real, it can clear a digit from two whole columns at once, which often breaks a puzzle wide open.

When to Look for Each Technique

The order matters. Start every puzzle, and return after every placement, to naked singles and hidden singles. They solve cells directly, and each solved cell creates new singles nearby. Scan for singles first, always.

When the singles run out, look for pairs. Naked pairs and hidden pairs place no digits directly. Their value is in what they erase. By locking two digits into two cells, they clear those digits from the rest of the unit, and the clearing creates new singles. Work through the rows, columns, and boxes that are nearly full, because pairs show up there first.

When pairs have done their work and the puzzle still will not move, look for pointing pairs. They reach outside a box to clear a digit from a whole row or column, which is the step that connects one part of the grid to another.

X-wing comes last. It is a hard puzzle technique, and on easy and medium puzzles you will rarely need it. If you have tried singles, pairs, and pointing patterns and the board is still stuck, that is the time to scan for an X-wing. If you find yourself hunting for X-wings on an easy puzzle, you have probably missed a single somewhere.

What to Do When You Are Stuck

Being stuck usually means a missed move, not a dead end. Work through this list in order.

First, rescan for singles. Go back to naked singles and hidden singles, one digit at a time. Most stuck positions are a single you walked past, often a hidden single in a cell with several candidates.

Second, check your notes. Erase every candidate that is no longer possible. A note you forgot to update can hide a single or a pair for the rest of the puzzle. If you have been solving without notes, turn them on now and fill in the candidates for the empty cells. The pattern you need is often visible only once the candidates are written down.

Third, look for pairs. Scan the nearly full rows, columns, and boxes for two cells with the same two candidates, or two digits confined to the same two cells. Pairs unlock singles.

Fourth, check for a mistake. If a cell has no possible digit left, or a digit has nowhere to go in a unit, an earlier entry is wrong. Go back to the last move you were sure about and recheck the moves after it. A wrong digit early in the puzzle can look harmless for a long time before it creates a contradiction.

Fifth, take a break. Fresh eyes spot what tired eyes miss. Step away for a few minutes and come back to the board. The move that was invisible often shows up at once.

A well formed puzzle never needs a guess. Every puzzle on this site has a unique solution, and careful logic always leads to it. If you feel you must guess, you have missed a logical step. Go back through the list and find it.

How to Practise

The fastest way to learn these techniques is to use them on real puzzles, one at a time. Pick a single technique, such as hidden singles, and hunt for it deliberately for a whole puzzle. Then pick the next one. After a few puzzles, the scan becomes automatic, and you will start to see singles and pairs without thinking about them.

The Sudoku on this site is a good place to practise, with easy, medium, and hard puzzles, each with a unique solution. Start on easy, move to medium when the singles come quickly, and try hard when pairs and pointing patterns feel natural. The timer is there if you want it, but speed comes after accuracy. A clean solve with no mistakes teaches more than a fast one that needed a guess.

Related Games for Sudoku

Put it into practice in Sudoku, and find more games on the FunWonder home page.

More Puzzle games