How to play Nonogram

A nonogram is a grid with numbers along its edges. The numbers tell you how the cells of each row and column are filled, and by combining rows with columns you work out every cell. The puzzle is also known as griddlers, hanjie or paint by numbers.

Play Nonogram Today's daily Nonogram

The rules

Each row has a clue on its left and each column has a clue above it. A clue is a list of numbers, and each number is the length of one run: a block of consecutive filled cells. Read clues left to right for rows and top to bottom for columns.

  1. Lengths. A clue of 3 1 means a run of three filled cells and then a run of one filled cell, and nothing else is filled in that line.
  2. Order. The runs appear in the same order as the numbers. In a row with 3 1, the three comes before the one, reading from the left.
  3. Gaps. Runs are separated by at least one empty cell. Two numbers can never touch, otherwise they would be one longer run.
  4. Empty lines. A clue of 0 means the whole line is empty.

A grid is solved when every row and every column matches its clue. Every nonogram on this site has exactly one solution, and you never need to guess: each cell can be worked out from the clues.

Fill and Mark

There are two kinds of marks. In Fill mode, a tap shades a cell. In Mark mode, a tap places a cross, which means “this cell is definitely empty.” Crosses matter as much as filled cells, because they cut a line into shorter open stretches. Drag across a row or column to fill or cross several cells in one stroke.

Here is the 5x5 grid we will solve. Notice the clue 5 above the middle column and the clues 3 1 on the second and third rows.

Figure 1. The starting grid. Row clues are on the left, column clues on top.33131131325114
Figure 1. The starting grid. Row clues are on the left, column clues on top.

Solving the example step by step

Step 1: the overlap in row 1

Row 1 has a single run of 3 in five cells. Push the run as far left as it goes and it covers columns 1 to 3. Push it as far right as it goes and it covers columns 3 to 5. Column 3 is covered either way, so that cell must be filled, wherever the run ends up. This is called the overlap method, and it is the most useful idea in the whole puzzle.

Figure 2. Step 1. The leftmost and rightmost positions of the 3 in row 1 overlap in column 3.33131131325114
Figure 2. Step 1. The leftmost and rightmost positions of the 3 in row 1 overlap in column 3. Shaded cells are the ones the step looks at; outlined cells are the ones it decides. New marks are drawn in red.

Step 2: lines with exactly one fit

Add up a clue and the gaps it needs. Row 2 is 3 1: three cells, a one-cell gap and one more cell, total five. The row is exactly five cells wide, so there is only one way to place it: fill columns 1 to 3, leave column 4 empty, fill column 5. Rows 3 and 4 work the same way. Row 4 is 1 3, so it is filled, empty, then three filled.

Figure 3. Step 2. Rows 2, 3 and 4 each need all five cells (runs plus gaps), so each has only one arrangement.33131131325114
Figure 3. Step 2. Rows 2, 3 and 4 each need all five cells (runs plus gaps), so each has only one arrangement. Shaded cells are the ones the step looks at; outlined cells are the ones it decides. New marks are drawn in red.

Step 3: columns that are already complete

Now switch to the columns. Column 1 has the clue 3, and rows 2, 3 and 4 already give it a run of three. Its other cells, R1C1 and R5C1, must be empty, so cross them out. Column 2 has the clue 2, and R2C2 and R3C2 already form that run, so R1C2 and R5C2 are crossed too.

Figure 4. Step 3. Columns 1 and 2 already contain their runs, so the remaining cells are crossed out.33131131325114
Figure 4. Step 3. Columns 1 and 2 already contain their runs, so the remaining cells are crossed out. Shaded cells are the ones the step looks at; outlined cells are the ones it decides. New marks are drawn in red.

Step 4: the full column

Column 3 has the clue 5, which fills the entire column. You could have filled it at the very start; it is shown here because only one cell, R5C3, is still open.

Figure 5. Step 4. A 5 in a five-cell column fills it, so R5C3 is filled.33131131325114
Figure 5. Step 4. A 5 in a five-cell column fills it, so R5C3 is filled. Shaded cells are the ones the step looks at; outlined cells are the ones it decides. New marks are drawn in red.

Step 5: finishing rows 1 and 5

Row 1 needs a run of 3. Its first two cells are crossed, so the run must be columns 3 to 5: fill R1C4 and R1C5. Row 5 has the clue 1, and R5C3 is already that one cell, so R5C4 and R5C5 are crossed out. Every row and column now matches its clue.

Figure 6. Step 5. Only three open cells remain in row 1, exactly enough for its 3; row 5 already has its single filled cell.33131131325114
Figure 6. Step 5. Only three open cells remain in row 1, exactly enough for its 3; row 5 already has its single filled cell. Shaded cells are the ones the step looks at; outlined cells are the ones it decides. New marks are drawn in red.
Figure 7. The solved grid. Check any line: column 4, for example, reads 1 1, top to bottom.33131131325114
Figure 7. The solved grid. Check any line: column 4, for example, reads 1 1, top to bottom.

Tips for your first grids

  • Start with big numbers. A run longer than half the line always overlaps itself, so the overlap method finds cells right away. A clue that adds up to the full line width (runs plus single gaps) is solved outright.
  • Alternate rows and columns. Each new filled cell or cross gives the crossing lines more to work with. Most of the solve is ping-pong between the two directions.
  • Use crosses generously. Marking empty cells is how you split a line into smaller open stretches that only certain runs can fit.
  • Finished lines. When a line has all its runs, cross out the rest immediately; it often unlocks the lines that cross it.

Easy nonograms are 5x5. Medium is 10x10, where the thick lines every five cells help you count. To see how harder grids are solved, read the nonogram techniques guide, then play a nonogram or try the daily puzzles.

Keep going