Altamens

Guide

How to Solve Nonograms: Rules, Techniques and a Worked Puzzle

To solve a nonogram, read each number as the length of a run of filled squares, then fill only the squares that every possible arrangement of those runs agrees on, and cross out the squares that none of them can reach. Below are the rules, five techniques with worked lines and a 5×5 puzzle solved step by step.

Puzzles to practise on

Nonogram rules in one minute

A nonogram is a grid with a list of numbers beside every row and above every column. Each number is the length of a run of filled squares in that line, in order: left to right for rows, top to bottom for columns. Between two runs there is at least one empty square. A clue of 0 means the whole line is empty.

So a row of 5 squares with the clue 3 1 holds a run of 3, then a gap, then a run of 1. ■■■×■ is one way to fit it. You fill squares you are sure of and mark the ones you know are empty with an ×. The same puzzle is also called picross, griddlers, hanjie or a Japanese crossword; the rules do not change.

1. Lines that add up exactly

Add the clue numbers plus one gap between each pair of runs. If the total equals the length of the line, there is only one way to place the runs, so you can fill the whole line at once.

2. The overlap rule

When a run is long compared with its line, slide it as far left as it can go, then as far right. The squares it covers in both positions must be filled, wherever the run really is.

Example: the clue 7 in a line of 10. Pushed left, the run covers squares 1 to 7; pushed right, squares 4 to 10. Squares 4 to 7 are filled in both, so fill them: ···■■■■···. A quick way to count: a single run of length k in a line of n gives 2k − n sure squares, here 14 − 10 = 4.

With several runs, first find the slack: the line length minus the shortest space the clue needs (runs plus one gap between each). Every run longer than the slack gives that many fewer sure squares. For 3 4 in a line of 10, the clue needs 3 + 1 + 4 = 8 squares, so the slack is 2. The run of 3 gives one sure square (square 3) and the run of 4 gives two (squares 7 and 8): ··■···■■··.

3. Cross out what no run can reach

Empty squares are clues too, so mark them. Two situations come up all the time:

4. Work from the edges

The edge of the grid, or an ×, acts like a wall. If the first square of a row is filled and the first clue is 3, that run must be squares 1 to 3, and square 4 must be empty.

An × near the edge also shortens the line. If square 1 is crossed out, treat the line as starting at square 2 and apply the overlap rule again: the clue 4 in what is left of a line of 5 now fills all four remaining squares.

5. Switch between rows and columns

Every square belongs to one row and one column, so each new mark is a new clue for the crossing line. Work in passes: go through all the rows, then all the columns, and repeat until a full pass changes nothing. Most small puzzles fall within two or three passes.

A 5×5 nonogram solved step by step

Row clues, top to bottom: 3, 2 2, 4, 1, 4. Column clues, left to right: 2, 5, 1 1 1, 3 1, 1 1. Squares are named by row and column.

  1. Lines that add up exactly. Column 2 is 5, so fill all of it. Row 2 is 2 2, so it reads ■■×■■. Column 3 is 1 1 1: filled in rows 1, 3 and 5, empty in rows 2 and 4. Column 4 is 3 1: filled in rows 1 to 3, empty in row 4, filled in row 5. Rows 3 and 5 (clue 4) agree: by the overlap rule their middle three squares are filled.
  2. Complete lines. Row 1 (clue 3) now has columns 2, 3 and 4 filled, which is its whole run, so cross out columns 1 and 5. Row 4 (clue 1) has column 2 filled, so cross out the rest of the row.
  3. Edges. Column 1 (clue 2) has row 1 crossed out, row 2 filled and row 4 crossed out. Its run of 2 must include row 2 and cannot use row 1, so it covers rows 2 and 3. Fill row 3 and cross out row 5.
  4. Count what is left. Row 3 (clue 4) now has columns 1 to 4 filled, so cross out column 5. Row 5 (clue 4) has column 1 crossed out, so its run is columns 2 to 5: fill column 5.
  5. Check the last column. Column 5 reads ×, ■, ×, ×, ■, which matches its clue 1 1. The puzzle is solved.

The solved grid

Row by row, ■ is a filled square and × an empty one.

What to do when you get stuck

First, check that you have crossed out every square you can. Missing ×s are the most common reason a solve stalls, because they are what lets the overlap and edge rules work on the crossing lines.

Next, recount the slack in each line that is not finished: a single new × can turn a line with no sure squares into one with several. If nothing moves after a full pass, pick one undecided square, assume it is filled and follow the consequences. If they lead to a line that breaks its clue, the square must be empty. That is still logic, not a guess, as long as you go back when the assumption fails.

Practising with Pixel Logic

Pixel Logic is the nonogram in our logic puzzles collection. Tap a square to cycle it through blank, filled and ×. The first four rounds use 4×4 grids and later rounds 5×5. Each board is a randomly generated pattern that is only used if it has exactly one solution, and almost all of them can be solved one line at a time with the techniques above. Our calculation over every 4×4 and 5×5 grid puts that at 98.5% of 4×4 boards and about 99% of 5×5 boards.

A clue changes colour when its line matches it. Checking a wrong grid costs no hearts, and a hint fills or crosses out one square, though a hinted puzzle counts as practice rather than towards stars. You can play in your browser without an account.

Frequently Asked Questions

Are nonograms and picross the same thing?

Yes. Nonogram, picross, griddlers, hanjie and Japanese crossword are names for the same puzzle: number clues beside each row and column give the lengths of the filled runs in that line.

Do you have to guess to solve a nonogram?

Not in a well-made puzzle. A good nonogram has one solution that can be reached by logic. Large or carelessly made ones can need trial and error or allow more than one answer. Every Pixel Logic board has exactly one solution.

What does a 0 mean in a nonogram?

It means the row or column has no filled squares at all. Cross out the whole line at once; it often unlocks the lines that cross it.

Where should I start a nonogram?

Start with the biggest clues compared with their line: full lines, lines that add up exactly, and long runs where the overlap rule gives sure squares. Then cross out what is complete and switch to the crossing lines.

Are nonograms good for your brain?

Practice makes you better at nonograms: you learn the patterns and where to look first. Research on brain training finds that gains on a practised task carry over to everyday thinking much less reliably, so enjoy them as puzzles. The science page summarises the evidence.

Sources

  1. Simons, D. J. et al. (2016). Do "Brain-Training" Programs Work? Psychological Science in the Public Interest, 17(3), 103 to 186.

Updated 17 November 2026