How to Solve Nonograms: A Step-by-Step Method
A nonogram (also sold as picross or griddlers) is a grid with numbers along the top and left side. Each row’s numbers describe the runs of filled cells in that row, and the same goes for each column. Fill in the right cells and you get a picture. A 15x15 grid covered in numbers looks like a lot, but you solve it with a few small ideas used over and over.

Below are those ideas, then a complete 5x5 puzzle solved one line at a time. Our Pixel Logic has 32 puzzles to practice on, and every one can be solved with this line-by-line reasoning, no guessing.
Reading a clue
3 1 2 on a row means: a run of 3 filled cells, later a run of 1, later a run of 2, in that order from left to right (top to bottom for columns). Runs are separated by at least one empty cell. Any number of empty cells can come before the first run, between runs, and after the last.
Two special cases:
0means the line has no filled cells.- A clue equal to the line’s length means every cell is filled.
Everything else is working out where each run can sit.
Minimum length
Add the clue numbers, then add one for each gap between runs. That’s the least space the clue can fit in. For 3 1 2: 3 + 1 + 2 + 2 gaps = 8.
If the minimum equals the line length, there’s only one arrangement and you can fill the line right away. In a 10-cell row, 4 5 needs 4 + 5 + 1 = 10 cells: four filled, one empty, five filled.
Line length minus minimum is the line’s slack. Slack 0 means the line is solved. Small slack usually gives you a lot.
Overlap
This one does most of the work. Push a run as far left as it can go, then as far right. Any cell it covers in both positions is filled.
For a single run: if the run is longer than the slack, it fills (run − slack) cells in the middle. A run of 7 in a 10-cell row has slack 3, so the middle 7 − 3 = 4 cells are filled.
With several runs, pack them all to the left, then all to the right, and compare where each run lands. A cell is certain only if the same run covers it both times. Two different runs landing on the same cell doesn’t prove anything.
Edges and walls
A filled cell against the grid edge is worth a lot. If a row’s first clue is 3 and the leftmost cell is filled, that cell belongs to the first run, which has to start right there. The first three cells are filled and the fourth is empty.
Cells you’ve marked empty work the same way. An empty cell is a wall, and a filled cell next to a wall anchors a run.
Crossing out
Half the game is marking empties. After a few fills, look at each line for cells no run could reach. If a row’s clue is 2 and column 6 is filled, the run covers either 5–6 or 6–7, so everything else in the row is empty.
Once every run in a line is accounted for, cross out the rest. Pixel Logic does that part for you: when a line’s filled cells match its clue, the remaining cells gray out, and if you later break the line, the auto-crosses come back off. There’s also a cross mode for marking empties yourself.
Rows, then columns, then rows
Every cell sits in one row and one column, so solving a cell in a row gives its column something new. The basic loop is to sweep the rows, sweep the columns, and go back to the rows until the picture is done. If you’re stuck, it’s almost always because some line changed and you haven’t looked at it again.
Worked example
A 5x5 puzzle. Rows are numbered 1–5 from the top, columns lettered A–E from the left.
| Clue | |
|---|---|
| Row 1 | 1 1 |
| Row 2 | 5 |
| Row 3 | 5 |
| Row 4 | 3 |
| Row 5 | 1 |
| Column A | 2 |
| Column B | 4 |
| Column C | 4 |
| Column D | 4 |
| Column E | 2 |
# is filled, x is empty, . is unknown.
Step 1: full lines. Rows 2 and 3 have the clue 5 in a 5-cell line, so both are completely filled.
A B C D E
1 . . . . .
2 # # # # #
3 # # # # #
4 . . . . .
5 . . . . .
Step 2: overlap in the columns. Columns B, C and D each have a run of 4 in 5 cells. Slack is 1, so the middle 4 − 1 = 3 cells (rows 2, 3 and 4) are filled. Rows 2 and 3 are done already, so this adds row 4 in B, C and D.
A B C D E
1 . . . . .
2 # # # # #
3 # # # # #
4 . # # # .
5 . . . . .
Step 3: row 4. The clue is 3, and B, C and D already form a run of 3. That’s the whole row, so A4 and E4 are empty.
Step 4: columns A and E. Column A’s clue is 2, and A2 and A3 are filled. The run is complete, so A1, A4 and A5 are empty. Column E is identical.
A B C D E
1 x . . . x
2 # # # # #
3 # # # # #
4 x # # # x
5 x . . . x
Step 5: row 1. It needs 1 1, but A1 and E1 are empty, so the clue has to fit in B, C and D. Two single runs with a gap need exactly 3 cells, so there’s no slack: B1 filled, C1 empty, D1 filled.
Step 6: back to the columns. Column B now has rows 1 through 4 filled. That’s its run of 4, so B5 is empty, and the same goes for D5. Column C has an empty cell in row 1, so its run of 4 must be rows 2 through 5, which makes C5 filled. That also satisfies row 5’s 1.
A B C D E
1 x # x # x
2 # # # # #
3 # # # # #
4 x # # # x
5 x x # x x
A heart. Each step looked at one line, and nothing was guessed. A 15x15 works the same way with more lines to go around.
On bigger grids
- Start with low-slack lines. On a 15x15, find the lines whose clues nearly fill them. They hand you overlap cells immediately.
- Small clues next to known cells. A
1beside a filled cell is often solved on the spot, and its neighbors can be crossed out. - Cross out as readily as you fill. Crosses are the walls that anchor runs.
- Know which run is which. In a line with several runs, the overlap and edge rules only work if you know which run a filled cell belongs to. Count from the nearest edge or wall.
- Recheck after every change. Most of the solving is going back to lines you’ve already read, now with one more cell known.
In Pixel Logic, start with the 5x5 set, move to 10x10, where overlap and edges carry most of the load, and leave the 15x15 pictures for last.