Sudoku Solving Techniques: From Singles to X-Wing
The sudoku solving techniques worth learning form a short ladder: singles first, then locked candidates and pairs, then hidden pairs and triples, and finally X-Wing, XY-Wing and Swordfish. Our free sudoku page grades its 9x9 puzzles by exactly this ladder, so each level maps onto a rung of it.
The ladder: 10 techniques in four tiers
On the 9x9 Classic, Diagonal, Jigsaw and Hyper maps, a puzzle's difficulty is not how many digits are given. It is the hardest technique a person needs to finish it, and a puzzle that would need a guess is never used. Every puzzle has exactly one solution and can be solved by logic alone. The game groups its techniques into four tiers, and these ten, plus the two Killer-only ones mentioned below, are what its puzzles are built from.
| Technique | Tier | What it does |
|---|---|---|
| Naked single | 1 | A cell has only one candidate left, so write it in. |
| Hidden single | 1 | A digit fits in only one cell of a row, column or box, so it goes there even if the cell has other candidates. |
| Locked candidates | 2 | A digit is confined to one line inside a box (or to one box inside a line), so you can remove it from the rest of that line (or box). |
| Naked pair | 2 | Two cells in one house hold the same two candidates, so those two digits can be removed from every other cell of that house. |
| Hidden pair | 3 | Two digits appear in only two cells of a house, so those cells can hold nothing else; delete their other candidates. |
| Naked triple | 3 | Three cells in a house between them carry only three digits, so those digits leave the house's other cells. |
| Hidden triple | 3 | Three digits are confined to the same three cells of a house, so those cells keep only those digits. |
| X-Wing | 4 | A digit has exactly two spots in each of two rows, and they share the same two columns. It must fill one diagonal pair or the other, so remove it from the rest of those two columns (or the same with rows and columns swapped). |
| XY-Wing | 4 | A pivot cell with candidates X and Y sees two cells holding XZ and YZ. Whatever the pivot becomes, one of those two is Z, so any cell that sees both of them cannot be Z. |
| Swordfish | 4 | The X-Wing idea stretched to three rows and three columns: a digit confined to the same three columns across three rows is removed from the rest of those columns. |
Killer sudoku adds two techniques of its own, the cage combination (tier 1) and the 45 rule (tier 2). They are covered in Killer sudoku rules and cage combinations.
Tier 1: naked and hidden singles
A naked single is the obvious one: look at a cell, cross out every digit already in its row, column and box, and one digit remains. A hidden single flips the question. Pick a digit and a house, and ask where that digit can still go. If the answer is one cell, the digit goes there, however many other candidates the cell holds.
This is all the Easy level asks for: every Easy puzzle on the 9x9 maps is singles only. Medium has fewer starting digits but is still singles for almost every puzzle (57 to 59 out of 60 on Classic, Diagonal, Jigsaw and Hyper). If Medium feels slow, you are probably scanning for naked singles only. Hunt for hidden singles by digit instead.
Tier 2: locked candidates and naked pairs
Hard is where singles run out. Almost every Hard puzzle on those maps lives on tier 2 (54 to 58 out of 60), and locked candidates turned up in all 60 Classic Hard puzzles that were checked.
Locked candidates
It works in both directions. If a digit's only remaining spots inside a box all sit in one row, that digit must be in that row's part of the box, so remove it from the row's cells outside the box. Likewise, if a digit's spots inside a row all sit in one box, remove it from the box's other cells. Same logic for columns.
Naked pairs
If two cells in a house both have exactly the same two candidates, say 3 and 7, those digits belong to those two cells in some order. Remove 3 and 7 from every other cell in the house. Pairs help in a minority of Hard puzzles: on Classic Hard, naked pairs showed up in 18 of 60.
Tier 3: hidden pairs and triples
Hidden pairs and naked or hidden triples are the rarest rung. Only 2 to 6 of every 60 Hard puzzles on a 9x9 map reach tier 3 at all. The idea is the same as a pair, scaled up. In a hidden pair the digits are hidden among clutter, so look for two digits that appear in only two cells of a house and clear everything else out of those cells.
Tier 4: X-Wing, XY-Wing and Swordfish
Expert on Classic, Diagonal, Jigsaw and Hyper means tier 4 in every one of the 60 puzzles per map. The surprise is which tier-4 technique you meet. On Classic Expert the measured counts, taking the easiest available step each time, were:
- XY-Wing in 58 of 60 puzzles
- X-Wing in 12 of 60
- Swordfish in 2 of 60
So an Expert Classic is mostly an XY-Wing puzzle, even though X-Wing gets the headlines. Learn XY-Wing first if you are aiming at Expert. Mini 6×6 and Killer are different: Mini levels are just clue counts (an Easy Mini starts with half the grid filled), and Killer levels combine clue count, cage size and, from Medium, the 45 rule.
Notes are the prerequisite
Tier 1 you can do in your head. Tier 2 and above only work if you can see every cell's candidates, so turn on Notes and fill in pencil marks. On the free page the Auto notes button writes the candidates into every empty cell for you and can be undone. Placing a correct digit also removes it from the notes of its row, column and box, if the Auto-remove notes setting is on (it is by default).

Use the hint as a tutor
The free page's Hint has two presses. The first selects a cell and names the technique, for example "X-Wing — press Hint again to see the digit". A hidden single also tells you the house it lives in. The second press places the digit. If a wrong digit is already on the board, the first press points at it instead. Hints are unlimited here, so a good routine is to take the first press, hunt for the move yourself, and press again only to check. Our how to play sudoku guide covers the basics and the full set of tools.
What to do with this
Start on Easy and Medium until hidden singles come as fast as naked ones. Move to Hard once you can write notes without thinking, and practise locked candidates in both directions. When a Hard puzzle stalls, the answer is usually a locked candidate you have not looked for yet. Only then try Expert, and give XY-Wing the most attention. Open the free sudoku page and let the hint tell you which rung you are on.
Frequently Asked Questions
What is an X-Wing in sudoku?
An X-Wing is a tier 4 technique. If a digit has exactly two possible cells in each of two rows, and those cells fall in the same two columns, the digit must fill one diagonal pair or the other. You can then remove that digit from every other cell in those two columns. The same works with rows and columns swapped.
What is an XY-Wing?
An XY-Wing uses three cells. A pivot cell holds candidates X and Y, and it sees two other cells holding XZ and YZ. Whichever digit the pivot becomes, one of those two cells must be Z, so any cell that sees both of them cannot be Z.
What is the difference between a naked single and a hidden single?
A naked single is a cell with only one candidate left. A hidden single is a digit that has only one possible cell in a row, column or box, even if that cell still has other candidates. Both are tier 1 techniques and together they solve every Easy puzzle.
Which technique do I need for Hard sudoku?
On the 9x9 Classic, Diagonal, Jigsaw and Hyper maps, Hard puzzles are mostly solved with locked candidates, and naked pairs help in some of them. A few Hard puzzles also need hidden pairs or triples. Medium, by contrast, is almost always singles only.
Do I ever have to guess in sudoku?
Not in these puzzles. A puzzle that would need a guess is never used, and every puzzle has exactly one solution reachable by logic alone using the techniques in this post. If you feel stuck, the answer is a technique you have not scanned for yet.
What should I learn first?
Learn naked and hidden singles, then turn on notes and learn locked candidates, which is what Hard asks for. After that, add naked pairs and XY-Wing. On the free sudoku page, pressing the Hint button once names the technique without giving the digit, which makes it a good teacher.