How to play Nonogram: rules, clues and first techniques

A Nonogram is a picture hidden behind a set of numbers. It looks cryptic for about five minutes; after that, the numbers become a very orderly kind of logic. This guide covers the rules, how to read the clues, and the first technique that gets nearly every puzzle moving.

The goal

A Nonogram (also called hanjie, griddlers or picross) is a rectangular grid in which each cell is either filled or empty. You are never told which cells are which. Instead, every row and every column has a short list of numbers beside it, and from those numbers alone you work out the whole grid. When you finish, the filled cells usually form a small picture.

The rules

  1. Each number is a block of consecutive filled cells. A clue of 3 means there is one run of exactly three filled cells in that line.
  2. Several numbers mean several blocks, in that order. A clue of 2 1 means a run of two filled cells, then at least one empty cell, then a run of one — reading left to right (for a row) or top to bottom (for a column).
  3. Blocks are always separated by at least one empty cell, but the clue does not say how many. That unknown gap is what the puzzle is about.
  4. A clue of 0 (or no clue at all) means the line is completely empty.

A properly made puzzle has exactly one solution, and you never need to guess. If you feel you have to, there is a deduction you haven't spotted yet — or an earlier mistake to find.

Reading a line

The most useful habit is to ask two questions about any line: how much room do the blocks need, and how much room is there?

The blocks need their own cells, plus one empty cell between each pair. For a clue of 4 3 that is 4 + 1 + 3 = 8 cells. If the line is 10 cells wide, you have 10 − 8 = 2 cells of slack. The slack is how far each block can slide from its leftmost possible position to its rightmost. The smaller the slack, the more you know.

Technique 1: overlap

This is the technique everything else builds on. Imagine pushing every block as far left as it will go, then as far right. Any cell that is filled in both arrangements must be filled in the real answer.

One block. A clue of 7 in a line of 10 has slack 3. Pushed left, the block covers cells 1–7. Pushed right, it covers cells 4–10. Cells 4 to 7 appear in both, so they are filled before you know anything else. A useful rule: a block longer than the slack always has block length minus slack certain cells in the middle of its range.

Several blocks. Take 4 3 in a line of 10, with slack 2:

BlockLeftmostRightmostCertain cells
4cells 1–4cells 3–63 and 4
3cells 6–8cells 8–108

Three cells filled from a clue that looked like it said almost nothing. A block that is no longer than the slack gives you nothing on its own, and that is fine — you move to another line.

Technique 2: lines that fill themselves

When the slack is zero, there is only one arrangement. A clue of 3 2 1 in a line of 8 needs 3 + 1 + 2 + 1 + 1 = 8 cells exactly, so the line must be three filled, one empty, two filled, one empty, one filled — ■■■□■■□■. Look for these first; they are free. A clue that equals the line length (a 5 in a 5-wide grid) is the simplest case.

Technique 3: edges and crossing out

  • Start at an edge. If the very first cell of a line is filled, the first block must begin there. In a clue of 3 2, cells 1–3 are filled and cell 4 must be empty.
  • Close finished blocks. Once a block is fully placed, cross out the cells on either side of it. They cannot be filled.
  • Cross out unreachable cells. If a stretch of empty cells is too short for any block still to be placed, it can only be empty.

Crossing out matters as much as filling. Marking a cell as definitely empty is a deduction too, and it is often the deduction the crossing line was waiting for. That is why good Nonogram apps give you a separate way to mark empties.

A tiny worked example

A 5×5 grid. Row clues, top to bottom: 1, 3, 5, 1, 1. Column clues, left to right: 1, 2, 5, 2, 1.

  1. Row 3 is a 5 in a line of 5 — slack zero — so the whole row is filled. Column 3 is also a 5, so the whole column is filled.
  2. Rows 1, 4 and 5 each have a clue of 1, and column 3 already supplies that one filled cell. Every other cell in those rows is empty.
  3. Column 2 is a 2. Row 3 gives one filled cell, and row 4 is now empty in this column, so the second must be row 2. Column 4 works the same way.
  4. Row 2 now has columns 2, 3 and 4 filled — exactly its 3 — so columns 1 and 5 of that row are empty. Every clue is satisfied.
□ □ ■ □ □
□ ■ ■ ■ □
■ ■ ■ ■ ■
□ □ ■ □ □
□ □ ■ □ □

No guessing, and no step needed more than one line of reasoning. Larger puzzles are this same process repeated: find the lines with the least slack, fill the certain cells, then use the new cells to give the crossing lines more to work with.

Practical habits

  • Sweep, then rest. Work through every row and column once looking only for overlap and full lines. Then repeat. Each pass tends to unlock the next.
  • Work from the outside in. Edge lines and long clues give the most information early.
  • Recheck a line whenever you change a cell in it. A single new cell often finishes a block.
  • Treat a contradiction as information. If a line cannot satisfy its clue, one of your earlier cells is wrong — go back rather than forwards.

The best way to make these ideas automatic is to do a few dozen small puzzles. Nonogram by Northcell is built for that: puzzles that each have a single logical solution, short lessons on the techniques above, and hints that point to a line where progress is possible without filling it in for you — all offline.