Nonogram solving techniques
Every nonogram here can be solved one line at a time, without guessing. What changes from easy to expert is how much you have to squeeze out of each line and how many times you have to go back and forth between rows and columns. This guide covers the four tiers our solver uses to grade grids.
Play Nonogram How to play Nonogram
Tier 1 covers the quick, local rules that solve easy 5x5 grids. Tier 2 is full reasoning about a single line, needed from Medium up. Tier 3 is the same reasoning stretched over many rounds, which is what makes Hard grids hard. Tier 4, a contradiction test, only appears on Expert grids.
The diagrams show real positions from two 10x10 grids. Filled cells are solid squares, crosses mark cells known to be empty, and the results of each step are drawn in red. The shaded line is the one being analyzed.
Tier 1 Overlap, edges and finished lines
Used from Easy up
The overlap method. Place every run of a line as far left as it can go, then as far right as it can go. Any cell that the same run covers in both placements must be filled. A quick way to do this in your head is to compute the slack: the line length minus the minimum space the clue needs (the sum of the runs plus one gap between each pair). Every run longer than the slack fills its middle cells, in fact all but its first slack cells.
Edge anchors. A filled cell at the very edge of a line (or right after a run of crosses at the edge) must belong to the first or last run, so that run starts there. You can fill the whole run and cross the cell just past it.
Finished and full lines. Once a line holds all its runs, cross out the rest. If the open cells plus the filled ones exactly equal the clue total, fill them all. A clue of 0 crosses out the line, and a clue that needs the entire line fixes every cell.
Tier 2 Complete single-line logic
Needed from Medium up
Tier 2 asks a stronger question about one line: of all the ways to place this clue that agree with the cells already known, which cells are filled in every one of them, and which are empty in every one of them? Those cells are certain. The overlap method is a special case of this; with some filled cells and crosses on the board, the full question finds much more.
In practice you rarely list every arrangement. You ask targeted questions instead: which run could this filled cell belong to? Which runs can fit into this gap between crosses? Can the first run reach this far? Each answer narrows the possible placements.
Notice what made this work: a single filled cell close to the edge. The first run has to cover it, and that pins the run into a small window. Looking for filled cells near the ends of a line, and asking which run they belong to, is the most productive Tier 2 habit.
Tier 3 Long chains of rows and columns
Needed from Hard up
Hard grids do not need a new kind of rule. They need the Tier 2 question asked again and again, as each new cell in a row gives a column something to work with, which gives another row something, and so on. Our solver counts these back-and-forth rounds; once a grid needs five or more of them, its later steps count as Tier 3.
Each Tier 3 deduction is small, like this one, and only becomes possible after many earlier rounds. The challenge is bookkeeping: knowing which lines changed and are worth another look. A good routine is to revisit every line that crosses a cell you just decided, before scanning the grid at large.
- Isolated gaps. A stretch of open cells between crosses that is shorter than every remaining run must be empty.
- Matching runs to gaps. When the gaps of a line can hold only certain runs, the big runs often have just one gap long enough, which fixes their position.
- Completed edges. After the first run is fixed, treat the rest of the line as a shorter line with one fewer number.
Tier 4 Testing a cell for a contradiction
Expert only
Sometimes every line is stuck when looked at alone. Then you can test a cell: assume it is filled (or empty), apply the line rules to the lines it affects, and follow the consequences. If some line ends up with no valid arrangement, the assumption was wrong and the opposite is true.
Here is the chain. Row 4 is 4 1, its 4 is already in place, and the 1 can only be R4C7 or R4C10. Suppose it is R4C7. Then R4C10 is empty, and column 10 (1 4 1) must put its 4 in rows 5 to 8, which leaves R9C10 empty. Column 7 (2 5) would have its 5 in rows 4 to 8, so R9C7 is empty too. Row 9 is a single 3, and with R9C7 and R9C10 both empty it would have only R9C8 and R9C9 left, two cells for a run of three. That is impossible, so R4C7 is empty, and row 4’s 1 goes in R4C10.
Good test cells are ones with exactly two possibilities in a nearly finished line, like R4C7 here: either answer has immediate consequences. Keep the test short, and if it does not break within a few lines, try another cell.
A solving routine
- Run the overlap method on every line with big numbers or little slack (Tier 1).
- Cross out finished lines and anchor runs at the edges (Tier 1).
- For each line that changed, ask which run each filled cell belongs to and which gaps each run can use (Tier 2).
- Keep alternating between rows and columns until nothing changes (Tier 3).
- Only then test a cell that has two clear outcomes (Tier 4).
Ready to practice? Medium 10x10 grids need Tier 2, Hard 15x15 grids bring long chains, and Expert 20x20 grids can require a test. If you are new to the puzzle, start with the nonogram rules and walkthrough.