All guides

Puzzle Guides

Sudoku Solving Techniques: From Scanning to X-Wing, in Order

October 20, 20268 min readBy the Xorin editorial team

Most Sudoku puzzles, including hard ones, can be solved without guessing. Every placement follows from a short list of logical techniques, and the skill is knowing which one to look for next. This guide covers those techniques in the order you should try them, along with the notation and pencil-mark habits that make them work.

The rules and the notation used here

A Sudoku grid has 81 cells arranged in 9 rows, 9 columns, and 9 boxes of 3x3 cells. The goal is to fill every cell so that each row, each column, and each box contains the digits 1 to 9 exactly once. A well-made puzzle has exactly one solution, which is why logic alone is enough to reach it.

Rows, columns, and boxes are all called units. Every cell belongs to three units. Here, rows are numbered 1 to 9 from top to bottom, columns 1 to 9 from left to right, and boxes 1 to 9 reading left to right, top to bottom. So r4c6 means row 4, column 6, a cell inside box 5, the center box.

A candidate is a digit that could still go in a cell. Pencil marks, also called notes, are the small digits you write in a cell to track its candidates.

Scanning and cross-hatching

Scanning is where every solve starts, and it needs no pencil marks. Pick one digit, say 7. Find every 7 already on the grid. Each one rules out its whole row and its whole column for any other 7. Now look at a box that does not yet contain a 7. If those ruled-out rows and columns cover all but one empty cell in that box, the 7 goes in that cell.

This is called cross-hatching because you are mentally drawing lines through the grid. Work digit by digit, 1 through 9, and check every box that is missing that digit. Then do the same for rows and columns.

Start with the digits that appear most often in the clues. They leave the fewest open places, so they finish fastest.

  • Scan one digit at a time, not one cell at a time.
  • Check boxes first, then rows and columns.
  • After each placement, rescan that digit, since the new copy rules out a fresh row and column.

Naked singles and hidden singles

A naked single is a cell with only one possible candidate. You find it by looking at a cell and listing what its row, column, and box already contain. If row 4 holds 1, 2, 5, and 8, column 6 holds 3 and 9, and box 5 holds 4 and 7, then r4c6 can only be 6. Eight digits are eliminated and one remains.

A hidden single is the reverse view. The cell may still have several candidates, but one of those digits has nowhere else to go within a unit. If 3 is a candidate in only one cell of row 2, that cell is 3, regardless of what else is marked in it. Cross-hatching is really a hidden-single search done without notes.

Easy and medium puzzles can usually be finished with these two techniques alone. Once singles dry up, fill in complete pencil marks before going further. Every later technique depends on complete, current candidate lists.

Naked pairs, naked triples, and hidden pairs

A naked pair is two cells in the same unit that contain exactly the same two candidates and nothing else, for example two cells in a row that both show only 3 and 7. Those two digits must go in those two cells, in some order. That means 3 and 7 can be erased from every other cell in that row. If the two cells also share a box, erase 3 and 7 from the rest of the box as well.

A naked triple works the same way with three cells and three digits. The cells do not each need all three digits. Cells showing {1,2}, {2,5}, and {1,5} form a naked triple, because together they contain only 1, 2, and 5, and three cells must hold three different digits. Remove 1, 2, and 5 from the rest of the unit.

The hidden version looks at digits instead of cells. If 4 and 9 appear as candidates in only two cells of a column, and nowhere else in that column, those two cells must be 4 and 9. Any other candidates in those two cells can be erased. Hidden pairs are harder to spot, but they often unlock a stuck puzzle.

Pointing pairs and box-line reduction

Pointing pairs use the overlap between a box and a line. Suppose that inside box 1 the only cells that can hold a 6 are both in row 2. Whichever of them gets the 6, the box's 6 will be in row 2, and row 2 can only have one 6. So no cell in row 2 outside box 1 can be 6. Erase 6 from row 2 in boxes 2 and 3. The same logic works vertically with columns, and with three cells in a line, sometimes called a pointing triple.

Box-line reduction, sometimes called claiming, is the mirror image. If in row 7 the only cells that can hold a 2 all fall inside box 8, then row 7's 2 is somewhere in that part of box 8. Box 8 can only have one 2, so it cannot have a 2 anywhere outside row 7. Erase 2 from the other cells of box 8.

These eliminations rarely place a digit on their own, so check for singles again after each one.

X-Wing, explained correctly

X-Wing is often explained loosely. Here is the exact condition. Pick one digit. Find two rows where that digit is a candidate in exactly two cells each, and those cells sit in the same two columns.

Example: in row 2, the digit 5 can only go in columns 3 and 8. In row 6, the digit 5 can also only go in columns 3 and 8. Both rows need a 5. If row 2 takes its 5 in column 3, row 6 must use column 8, and the reverse. Either way, columns 3 and 8 each get their 5 from row 2 or row 6. So 5 can be erased from every other cell in columns 3 and 8.

The four cells form the corners of a rectangle, and the solution always uses one pair of diagonal corners, which is where the name comes from. The pattern also works with rows and columns swapped: two columns where a digit appears in exactly the same two rows let you clear that digit from the rest of those two rows. The key word is exactly. If either row has a third candidate cell for the digit, there is no X-Wing.

The order to try techniques in

Check cheap techniques first and return to them after every change:

Many puzzles labeled easy through hard in casual games can be finished with steps 1 through 5. If nothing works after step 6, the puzzle may need advanced patterns such as Swordfish or XY-Wing, but check your notes first. Errors are more common than unusually hard puzzles.

Sudoku Puzzle on Xorin uses the classic format described above: 81 cells, the digits 1 to 9, and no repeats in rows, columns, or regions, so every technique here applies directly. If your version has a notes mode, switch to it when scanning stalls; if not, a paper grid beside the screen works for candidates. For a different kind of step-by-step logic, Word Ladder asks you to change one letter at a time while keeping every step a valid word, which rewards the same planning ahead.

  • 1. Scan each digit from 1 to 9 across boxes, rows, and columns.
  • 2. When scanning stops producing digits, fill in complete pencil marks.
  • 3. Look for naked singles, then hidden singles in every row, column, and box.
  • 4. Check each box for pointing pairs and each line for box-line reduction.
  • 5. Look for naked pairs, then hidden pairs, then naked triples.
  • 6. Check each digit for an X-Wing in rows and in columns.
  • 7. After any elimination, return to step 3 before trying anything harder.

Common mistakes that cost puzzles

Guessing too early is the biggest one. When stuck, it is tempting to try a digit and see. On a puzzle with a unique solution, there is almost always a logical step you have not found yet. A wrong guess can take many moves to show itself, and by then many digits depend on it.

Not updating pencil marks is the second. After placing a digit, erase it from the notes of every cell in its row, column, and box. Skipping this leaves stale candidates that hide real singles and make real pairs look like they have extra digits.

  • Incomplete notes: a missing candidate creates false singles and pairs. Mark every possible digit.
  • Calling a naked pair when one of the two cells has a third candidate.
  • Calling an X-Wing when one of the rows has three candidate cells for the digit.
  • Relying on duplicate highlighting, which catches a wrong digit only after it causes a visible conflict.

Key takeaways

  • A well-made Sudoku can be solved entirely by logic, without guessing.
  • Scan digit by digit first, then switch to full pencil marks.
  • Pairs, pointing pairs, and X-Wings remove candidates; singles place digits.
  • After any elimination, go back to looking for singles.
  • Update notes after every placement; stale notes cause most errors.

Games mentioned in this guide