Skip to content

Puzzle guide

Sudoku Solving Techniques, From Easy to Hard

Updated 8 min read

Every Sudoku follows one rule: each row, each column and each 3 by 3 box holds the digits 1 to 9 exactly once. Solving is just finding the next cell that rule decides. This guide walks through the techniques in the order you need them, from quick scanning to the X-Wing, each with a grid from a real puzzle.

Easy puzzles fall to the first three techniques. Medium and hard ones need the rest. Try each one in Sudoku or the daily Sudoku as you read.

SudokuFill the grid so every row, column and box has 1 to 9.Play Sudoku
On this page

How to read the diagrams

Rows are numbered 1 to 9 from the top and columns 1 to 9 from the left, so r1c6 means row 1, column 6. Large black digits are the givens. Small gray digits are pencil marks, also called candidates: the digits still possible in that cell.

area to look atthe pattern5digit you can place5pencil mark to erase

1. Scanning (cross-hatching)

Scanning is where every solve starts. Pick a digit, then pick a box that does not have it yet. Look along the rows and columns that pass through the box. Every copy of your digit in those lines rules out a whole row or column of the box. If only one cell survives, the digit goes there.

29317811245271313764963257832387
The 1s in row 2, row 3 and column 4 cut through the top middle box. The only cell left for 1 is r1c6.

Work through the digits 1 to 9 in order and sweep every box for each one. It sounds slow, but your eyes learn the motion quickly. Digits that already appear six or seven times on the board are the fastest wins.

2. Naked singles

Scanning asks where a digit can go. A naked single asks the opposite: which digit can go in this cell? Collect every digit in the cell's row, column and box. If eight different digits appear, the ninth is the answer.

29387811245271313764963257832387
Row 1, column 8 and the top right box hold every digit except 8, so r1c8 is 8.

Naked singles hide in crowded areas, where a row and a column with lots of givens cross. Check the cells there when scanning stops finding anything.

3. Hidden singles

A hidden single is scanning applied to a row or a column instead of a box. A cell can have several candidates and still be solved, because it is the only place in its row or column where one digit fits.

7948213148652273514685145897615826347515831
In column 2, the digit 6 appears in the pencil marks of r5c2 only. That cell has four candidates, but it must be the 6.

Scanning, naked singles and hidden singles together solve most easy and many medium puzzles. Our easy puzzles start with 43 givens, so you can get a long way with these three alone.

When to start using pencil marks

Pencil marks are for when singles run dry. If you have swept every digit through every box and found nothing, it is time to write down the candidates for the empty cells. Every technique below works on pencil marks, so they are worth the effort.

  • Fill them in one box at a time, checking the row and column of each cell. Doing it carefully once beats fixing mistakes later.
  • Keep them current. Every time you place a digit, erase it from the pencil marks of its row, column and box. Most errors come from stale marks.
  • Look for cells with two candidates. They feed pairs, triples and X-Wings, and they are the first cells to collapse into singles.
  • Do not start too early. On an easy puzzle, marking everything takes longer than scanning. Save it for medium and hard.

4. Naked pairs and triples

If two cells in the same row, column or box have exactly the same two candidates, those two digits must go in those two cells. You do not know which way round yet, but you know no other cell in that unit can use them. Erase both digits from the rest of the unit.

245912478247824623735716841585341788939
r1c1 and r1c7 can only be 2 or 4. Those digits come out of the other cells in row 1, leaving r1c9 with 3 or 7.

A naked triple is the same idea with three cells sharing three digits. Each cell does not need all three. In the next example the cells hold 1 and 9, 1 and 5, and 5 and 9. Together they use exactly 1, 5 and 9, so those three digits are locked inside them.

198155913412967263255936953851375148
Three cells, three digits. Erasing 1 from r1c5 leaves only 3, a brand new naked single.

Notice how one elimination often creates a single somewhere else. That chain reaction is how hard puzzles open up.

5. Pointing pairs

Now the techniques work across two units at once. Look at one digit inside one box. If all its candidates in that box sit in the same row or column, the digit has to be in that line, inside this box. So it cannot be anywhere else in that line. The pair "points" along the line and clears it.

7964862136526666273666566566976166266347513616
Pencil marks for 6 only. In the top left box, 6 fits only in column 3. So the rest of column 3 cannot be 6, and r5c3 loses its 6.

The same works with three cells in a line, sometimes called a pointing triple. Showing marks for a single digit, as here, is the easiest way to spot it.

6. Box-line reduction

Box-line reduction is the pointing pair turned around. Look at one digit in a row or column. If all its candidates in that line fall inside one box, the line's copy of that digit must be in that box. That fills the box's need for the digit, so erase it from the rest of the box.

295357855551124552715555313555756496325555783255535855557
Pencil marks for 5 only. Row 1 must put its 5 in the top middle box, so the other cells of that box cannot be 5.

A simple way to remember the pair: pointing goes from box to line, box-line reduction goes from line to box. Check both directions for every digit before reaching for anything harder.

7. X-Wing

The X-Wing is the first advanced technique most solvers learn. Find a digit that fits in exactly two cells in one row, then another row where it also fits in exactly two cells, in the same two columns. The four cells form a rectangle.

Each row needs the digit once, so it goes in two opposite corners of the rectangle. Either way, each of the two columns gets its copy from those corners. That means the digit can be erased from every other cell in both columns.

3777299372676974378561893723274577287577567472
Pencil marks for 7 only. The rectangle at rows 3 and 8, columns 2 and 7 removes four other 7s from those columns.

It works with columns and rows swapped too: two columns where a digit fits only in the same two rows clears those rows. Hunt for X-Wings one digit at a time, starting with rows that have exactly two marks for it.

A solving routine that works

  1. Scan every digit through every box until nothing new appears.
  2. Check crowded rows and columns for naked and hidden singles.
  3. Fill in pencil marks for the whole grid.
  4. Look for naked pairs and triples, then pointing pairs and box-line reductions.
  5. Try an X-Wing on each digit.
  6. After every placement, go back to step 1. Simple moves are faster to spot and usually reappear.

Every puzzle in our game has exactly one solution, so it can always be solved by logic. If you are stuck, a pencil mark is probably wrong or missing. Practice the routine on the daily Sudoku, which is the same medium puzzle for everyone, then step up to Hard in Sudoku.

Ready to try it?Put these tips to work in Sudoku. Free, no download, no sign up.Play Sudoku

Questions

What is the first thing to do in a Sudoku?

Scan. Pick a digit that appears often, then check each box that is missing it. The rows and columns with that digit usually leave one cell open.

What is the difference between a naked single and a hidden single?

A naked single is a cell with only one possible digit. A hidden single is a cell with several possible digits, but it is the only place in its row, column or box where one of them fits.

When should I use pencil marks in Sudoku?

When scanning and singles stop finding anything. On easy puzzles you rarely need them. On medium and hard puzzles, pairs, pointing pairs and X-Wings all depend on them.

What is an X-Wing in Sudoku?

A pattern where a digit fits in exactly two cells in each of two rows, and those cells line up in the same two columns. The digit can then be erased from the rest of both columns.

Does every Sudoku have a logical solution?

A well made Sudoku has exactly one solution, so it can be solved without guessing. Every puzzle in our game, including the daily one, has a single solution.