Skip to content

Sudoku

English

Language

Sudoku Techniques: From Singles to Swordfish

Practice each technique at its level

  • EasyHidden Single · Naked Single
  • MediumNaked Pair · Hidden Pair · Pointing · Claiming (Box/Line)
  • HardNaked Triple · Hidden Triple · X-Wing
  • ExpertXY-Wing · Swordfish · Simple Coloring

Daily Sudoku · Printable

This guide covers every technique our puzzles are built on, in the order a solver should try them. Each diagram is a real position from one of our puzzles, found automatically by the same logic engine that grades the levels. Row and column numbers run along the edges, so r5c2 means row 5, column 2. Small digits are candidates (notes); circled digits form the pattern; struck-out red digits are the candidates the technique removes.

TechniqueLevel that first needs it
Hidden single, naked singleEasy
Naked pair, hidden pair, pointing, claimingMedium
Naked triple, hidden triple, X-WingHard
XY-Wing, Swordfish, simple coloringExpert

1. Singles: the hidden single and the naked single

Singles place digits directly, and they do most of the work in every Sudoku, at every level. There are two kinds, and it helps to look for them in this order.

Hidden single

Hidden single: in box 4 (rows 4–6, columns 1–3) the digit 3 can only go in row 5, column 2, because the 3s at r3c1, r8c3 and r6c5 rule out every other empty cell of the box.

A hidden single is a digit that has only one possible home in a row, column or box. In the diagram, box 4 still needs a 3. The 3 in r3c1 rules out column 1, the 3 in r8c3 rules out column 3, and the 3 in r6c5 rules out row 6. The only cell left is r5c2, so the 3 goes there, even though that cell might allow other digits too.

To find hidden singles, take one digit at a time and cross-hatch: for each box that lacks the digit, mark the rows and columns that already contain it. This is the fastest technique to run in your head, and it is the one beginners should practice first.

Naked single

Naked single: the cell in row 9, column 6 sees the digits 1 to 8 in its row, column and box, so it must be 9.

A naked single is a cell with only one candidate left. In the diagram, r9c6 can see 1, 2, 3, 4, 5, 6, 7 and 8 somewhere in row 9, column 6 or box 8. Only 9 remains. Naked singles are easiest to spot late in a puzzle or once you keep notes, because then a cell with one note stands out at once.

2. Pairs: naked pair and hidden pair

Pairs do not place digits; they remove candidates so that new singles appear. They are the first step of every medium puzzle.

Naked pair

Naked pair in row 8: cells r8c1 and r8c2 both allow only 7 and 8, so 8 is removed from r8c9.

When two cells in the same unit hold exactly the same two candidates, those two digits must go into those two cells, in one order or the other. In row 8, r8c1 and r8c2 can each be only 7 or 8. No other cell of row 8 can therefore be 7 or 8, and the 8 in r8c9 is crossed out.

Hidden pair

Hidden pair in row 4: the digits 1 and 9 can only go in r4c2 and r4c9, so those cells lose their other candidates 6, 7 and 8.

A hidden pair is the same idea seen from the digits' side. In row 4, the 1 and the 9 each have only two possible cells, and they are the same two cells: r4c2 and r4c9. Those cells are reserved for 1 and 9, so every other candidate in them can go: the 8 in r4c2 and the 6, 7 and 8 in r4c9. Hidden pairs are harder to see than naked ones because the extra notes disguise them.

3. Pointing and claiming (box/line interactions)

These two techniques use the overlap between a box and a row or column. They often need only one digit's notes, which makes them quick to check.

Pointing

Pointing: in box 6 the digit 6 can only be in r4c8 or r4c9, both in row 4, so 6 is removed from r4c1.

In box 6, the 6 can only go in r4c8 or r4c9. Both are in row 4, so whichever is right, the 6 of row 4 lives inside box 6. The candidate 6 in r4c1, further along the same row, is impossible. The box 'points' along the row.

Claiming

Claiming: in column 7 the digit 6 can only be in r1c7 or r3c7, both inside box 3, so 6 is removed from r1c9 and r3c9.

Claiming works the other way round. In column 7, the only places for 6 are r1c7 and r3c7, and both lie in box 3. The column therefore claims the 6 of that box, and the other 6s in box 3, at r1c9 and r3c9, are removed. Some books call this a box/line reduction.

4. Triples: naked triple and hidden triple

Triples extend pairs to three cells and three digits. They are the first of the hard-level techniques.

Naked triple

Naked triple in row 9: r9c2 (3, 5), r9c5 (3, 4) and r9c9 (3, 4, 5) together hold only 3, 4 and 5, so those digits are removed from r9c4, r9c6 and r9c7.

Three cells in one unit whose candidates, taken together, are only three digits form a naked triple. The cells do not need to show all three digits each. In row 9, r9c2 allows 3 or 5, r9c5 allows 3 or 4, and r9c9 allows 3, 4 or 5. Between them they must use up 3, 4 and 5, so those digits are removed from the other cells of the row: r9c4, r9c6 and r9c7.

Hidden triple

Hidden triple in column 3: the digits 2, 5 and 8 appear only in r1c3, r3c3 and r6c3, so 1 and 6 are removed from r3c3 and 3 from r6c3.

In column 3, the digits 2, 5 and 8 can only go in three cells: r1c3, r3c3 and r6c3. Those cells must hold those digits, so their other candidates are removed: 1 and 6 from r3c3, and 3 from r6c3. Hidden triples are among the rarest patterns in our puzzles, and the hint button is a good way to learn what they look like.

5. X-Wing

X-Wing on the digit 3: in rows 2 and 7 the 3 can only be in columns 2 and 7, so 3 is removed from r5c2.

The X-Wing follows one digit across two rows. In row 2, the 3 can only go in column 2 or column 7. In row 7, exactly the same is true. The four cells form a rectangle, and the two 3s must sit on opposite corners: either r2c2 and r7c7, or r2c7 and r7c2. In both cases, columns 2 and 7 each get their 3 from rows 2 and 7, so the 3 can be removed from every other cell of those columns, here from r5c2.

The pattern also works with rows and columns swapped. To hunt for it, pick a digit and list the rows where it has exactly two candidates; any two of those rows that use the same two columns make an X-Wing.

6. XY-Wing

XY-Wing: the pivot r1c6 (2, 5) sees r2c4 (1, 5) and r4c6 (1, 2); either wing must be 1, so 1 is removed from r3c6, which sees both wings.

The XY-Wing uses three cells with two candidates each. The pivot, r1c6, can be 2 or 5. It sees two wings: r2c4 with 1 or 5, and r4c6 with 1 or 2. If the pivot is 5, r2c4 must be 1; if the pivot is 2, r4c6 must be 1. Either way, one of the wings is 1. Any cell that sees both wings therefore cannot be 1. Here that is r3c6, which shares box 2 with r2c4 and column 6 with r4c6.

Look for XY-Wings by starting from cells with exactly two notes. They are common in expert puzzles and often unlock the rest of the grid.

7. Swordfish

Swordfish on the digit 8: in columns 3, 4 and 8 the 8 can only be in rows 6, 7 and 8, so 8 is removed from r6c1, r6c2, r7c2 and r8c1.

A Swordfish is an X-Wing with three lines instead of two. In this position, the 8 has two or three possible cells in each of columns 3, 4 and 8, and all of them lie in rows 6, 7 and 8. Those three columns need three 8s, and they can only take them from those three rows. So the 8s of rows 6, 7 and 8 are used up by columns 3, 4 and 8, and the 8 can be removed from the other cells of those rows: r6c1, r6c2, r7c2 and r8c1.

Not every line needs three candidates; two in some lines is fine, as long as the union covers exactly three lines in the other direction.

8. Simple coloring

Simple coloring on the digit 2: a chain r4c1, r8c1, r7c3, r7c5 is colored blue and amber; r4c5 sees a blue cell (r4c1) and an amber cell (r7c5), so it cannot be 2.

Simple coloring follows one digit through a chain of strong links. A strong link joins the only two cells in a unit that can hold the digit: exactly one of them is true. Here the 2 has strong links r4c1–r8c1 (column 1), r8c1–r7c3 (box 7) and r7c3–r7c5 (row 7). Color the chain alternately: r4c1 and r7c3 blue, r8c1 and r7c5 amber. Either every blue cell is 2 or every amber cell is.

Now look at r4c5. It sees the blue r4c1 along row 4 and the amber r7c5 down column 5. Whichever color is true, r4c5 sees a 2, so its candidate 2 is removed. This is the color trap. The second rule, the color wrap, applies when two cells of the same color see each other: that color must be false everywhere.

How to practice