Step-by-step guide

How to solve nonograms: the rules and 20 techniques

A nonogram is a picture logic puzzle on a grid. The numbers beside each row and above each column tell how long the blocks of filled squares in that line are, in order, with at least one empty square between two blocks. You fill the squares that every possible arrangement of a line shares, mark the ones that must stay empty, and repeat until the picture appears.

  • 20 techniques, each with a worked example
  • 7 puzzles to solve on this page
  • No sign-up

By Wisdom Effect · Updated

On this page

What is a nonogram?

A nonogram is a grid of squares with numbers along its top and its left side. The numbers describe a hidden picture: each one is a run of filled squares in its row or column. You work out, square by square, which squares are filled and which stay empty. No arithmetic is needed and nothing is hidden by chance: every square follows from the numbers.

Goal
Fill squares so that every row and column matches its number clue; the filled squares form a picture.
You need
A pencil and an eraser, or the puzzles on this page.
Usual sizes
5×5 and 10×10 for beginners, 15×15 and 20×20 for regular solvers, up to 30×30 and more.
Made in
Japan, 1987, by Non Ishida and Tetsuya Nishio, each on their own.
Other names
Hanjie, Paint by Numbers, Picture Logic, Japanese crossword.
A solved nonogram. The clue 5 beside row 2 is its five filled squares.

The rules of nonograms

  1. Every row and every column has a clue

    The clue is the list of numbers beside a row or above a column. Each number is one block: a run of filled squares with no gap in it.

  2. The blocks come in the order of the numbers

    Left to right in a row, top to bottom in a column. The clue "3 1" means a block of three filled squares and, somewhere after it, a block of one.

  3. Two blocks of one line never touch

    Between two blocks of the same line there is at least one empty square. Before the first block and after the last one there may be any number of empty squares, or none.

  4. A square is either filled or empty

    Fill the squares you are sure of. Mark the squares you know stay empty with a small cross or a dot, so you do not have to work them out again.

  5. The puzzle is solved when every line matches its clue

    A good nonogram has exactly one solution, and you reach it by logic alone, never by guessing. The filled squares form a picture.

The clue "3 1" in a line of six squares: a block of three, a gap of at least one square, a block of one. It fits in 3 ways. Squares 2 and 3 are filled in all of them, which is how solving starts.

Solve your first nonogram

Five rows, five columns. The steps under the grid solve it with level 1 moves only. Try it yourself first, then compare with the steps.

Tap a square to fill it, drag to fill several. Switch to Cross for the squares you know are empty.

  1. Step 1

    Fill the full rows

    Rows 2 and 3 have the clue 5 in a line of five squares. Fill them completely.

  2. Step 2

    Cross out the finished columns

    Columns 1 and 5 have the clue 2, and each already holds two filled squares. They are finished: cross their other three squares.

  3. Step 3

    Fit the top row

    Row 1 has the clue "1 1" and three open squares left. One square, a gap and one square use all three: fill squares 2 and 4, cross square 3.

  4. Step 4

    Finish columns 2 and 4

    Columns 2 and 4 have the clue 4 and three filled squares at the top. A block is one run, so the fourth square is the next one down, in row 4. Then both columns are finished and row 5 gets a cross in each.

  5. Step 5

    Finish the middle column

    Column 3 has the clue 4 and a cross at the top, so only four squares are left for it: fill rows 4 and 5. Rows 4 and 5 now read 3 and 1, as their clues say. Solved.

The order to work in

Every nonogram, small or large, is solved in the same loop. Go down this list and start again from the top each time you find a new square.

  1. Fill every line whose clues use up the whole line, and cross out every line with the clue 0.

  2. Use the overlap move on every clue longer than half of its line.

  3. After each new square, read the line that crosses it. A new square in a row is news for a column.

  4. Cross out finished lines and close finished blocks at once. Crosses solve as much as filled squares do.

  5. Look along the edges and next to crosses: blocks that touch them can only grow one way.

  6. When nothing moves, count the spare squares of every line again. Something has usually changed.

  7. Only when no single line helps, test a square and follow it to a contradiction.

20 nonogram solving techniques

The first 18 are moves on a single row or column, from the simplest to the ones that need a careful count. The last two are for the moment when no single line helps. Each move shows a line before and after.

  • known before the move
  • new in this move
  • known to be empty

Level 1: six sure moves

These moves need almost no counting. Look for them in every row and column before anything else, and look again each time the grid changes.

Fill a line whose clue is the whole line

When a single clue equals the length of the line, every square is filled.

Before

After

A 5 in a line of five squares has only one place to go. Look for these first: on a 10×10 grid a 10 gives you ten squares at once and tells every crossing column where one of its blocks is.

Fill a line that its blocks and gaps use up

When the clues plus one empty square between each pair add up to the length of the line, the whole line is known.

Before

After

Add the clues and add 1 for each gap between them: 2 + 1 + 2 = 5. In a line of five nothing can slide, so you fill both blocks and cross the square between them.

Cross out a line with the clue 0

When the clue is 0, or the line has no clue at all, every square of the line is empty.

Before

After

An empty line looks like no help, but its crosses cut the crossing lines into shorter pieces, and short pieces are easier to solve.

Cross out the rest of a finished line

When a line already holds every filled square its clues ask for, all its other squares are empty.

Before

After

Count the filled squares against the clues after every move. The moment a line is complete, cross what is left. Beginners skip this move more than any other, and then miss what the crosses would have told the crossing lines.

Close a finished block

When a block has reached its full length, the squares right before and right after it are empty.

Before

After

Two blocks of one line never touch, so a finished block has an empty square on each side, or the edge. Here the run of three can only be the 3 of the clue "3 1", so both neighbours get a cross although the 1 is not placed yet.

Fill the only squares left

When the squares that are not crossed out are exactly as many as the clue needs, fill them all.

Before

After

Crosses shrink a line. A 3 with only three open squares left has nowhere else to go. The same works with several clues: count the open squares against the blocks and the gaps between them.

Level 2: counting moves

Most of every nonogram is solved with these nine moves. One idea is behind all of them: you often know some squares of a block long before you know where the block ends.

Overlap: the middle of a long block

Push the block as far left as it goes, then as far right. The squares it covers both times are filled.

Before

After

A 7 in a line of ten covers squares 1 to 7 at one end and squares 4 to 10 at the other. Squares 4 to 7 are inside the block wherever it ends up. The shortcut: the line has 10 − 7 = 3 spare squares, so the block keeps 7 − 3 = 4 squares in the middle. Any block longer than half of its line gives you something.

Overlap with several blocks

Pack all blocks to the left, then all to the right. A square covered by the same block both times is filled.

Before

After

Count the spare squares first. A line of ten with the clue "5 2" needs 5 + 1 + 2 = 8 squares, so 2 are spare. Every block longer than the spare count keeps its length minus the spare count: the 5 keeps 3 squares, the 2 keeps none. The overlap has to come from the same block. The end of one block lying on the start of the next tells you nothing.

A filled square on the edge starts a block

When the first square of a line is filled, the first block starts there: fill the whole block and cross the square after it.

Before

After

Nothing can come before the first square, so the first block begins in it. The same holds at the far end with the last block, and right after a cross once you know which block comes next.

Grow a block away from the edge

When a filled square sits closer to the edge than the length of its block, the block has to stretch away from the edge.

Before

After

The 4 covers squares 1 to 4 or squares 2 to 5. Squares 2, 3 and 4 are in both, so fill them. A cross works like an edge: a filled square near a cross grows away from the cross in the same way.

Cross out what a block cannot reach

A block stretches only so far from a filled square. The squares beyond its reach are empty.

Before

After

The 3 includes square 4, so it lies somewhere between squares 2 and 6. Squares 1, 7 and 8 are out of reach whichever way it grows. In a line with one clue this cleans up both ends at once.

Cross out a stretch that is too short

When a stretch of open squares between crosses, or between a cross and the edge, is shorter than the block that would have to go there, the stretch is empty.

Before

After

The cross leaves two open squares at the start of the line. A 4 does not fit in two squares, so both are empty. What is left is a line of five squares for the 4, where the overlap move fills three more.

Work out which stretch holds which block

Blocks keep the order of the clues. When only one stretch of open squares is long enough for a block, the block is there, and its neighbours fall into place around it.

Before

After

The cross splits the line into a stretch of three squares and a stretch of five. The 4 fits only in the five, and the 1 comes before the 4, so the 1 is in the first stretch. Now read the five squares as a line of their own with the clue 4: the overlap fills its middle three.

Join the squares of one block

When two filled squares belong to the same block, every square between them is filled.

Before

After

With a single clue all filled squares of the line are one block, so the squares between them are filled too. With several clues, join only when the two squares cannot belong to different blocks.

Keep two blocks apart

When joining two filled squares would make a block longer than any clue of the line, the square between them is empty.

Before

After

Filling square 4 would make a run of three, and the longest block of this line is 2. So square 4 gets a cross, and the line falls apart into two small pieces that solve at once.

Level 3: reading the whole line

Harder puzzles ask one more question before every move: which block is this square part of? The three moves below answer it. After them come the two moves for the rare moment when no single line helps.

Work out which block a square belongs to

Before you grow a block from a filled square, check which clue the square can belong to. Often only one fits.

Before

After

Could square 7 be the 1? Then the 3 would have to come after it, and one square is not enough room. So square 7 belongs to the 3, which covers squares 5 to 7 or squares 6 to 8: square 6 is filled. When a square could belong to two different blocks, do not grow anything from it yet.

Count the room a block needs before it

Every block needs room for the blocks before it and after it. A filled square with too little room on one side belongs to the first block, or to the last one.

Before

After

If square 3 were part of the second block, the first 2 would need squares 1 and 2 and would touch it. So square 3 belongs to the first block, which covers squares 2 and 3 or squares 3 and 4. Square 1 is empty either way.

List every way the line can go

A square that is filled in every possible arrangement of the line is filled. A square that is empty in every arrangement is empty.

Before

Every way it can go

After

This is the idea behind every other move on this page, and on a short or crowded line you can use it directly. Here square 4 is either the 1, with the 2 to the right of the cross, or the end of the 2, with the 1 in square 1. That makes three arrangements, and square 2 is empty in all three.

Test a square and look for a contradiction

When no row or column tells anything new, suppose one open square is empty (or filled) and follow what that forces. If a line becomes impossible, the square has the opposite value.

This is not guessing. A guess is kept because it looks right. A test is followed only until it breaks, and a broken line is proof. If the test does not break anything after a few steps, undo all of it and test another square: a test that merely works proves nothing.

Pick the square to test where it has the most consequences: in a line with few open squares, next to filled squares, or on the edge.

?
Stuck: test the ringed square
The test breaks a line
So the square is the opposite
  1. Suppose the first square of row 3 is empty.

  2. Row 3 has the clue "1 2". With square 1 empty, the 1 can only be square 2.

  3. Column 1 has the clue "2 1". Its square in row 3 is empty, so the block of 2 has to be rows 1 and 2: the first square of row 1 is filled.

  4. Column 2 has the clue 2, and its squares in rows 2 and 3 are now filled. That is the whole block, so its square in row 1 is empty.

  5. Row 1 has the clue 3, but it now reads filled, empty, filled. Squares 1 and 3 with a cross between them cannot be one block of three.

The assumption led to an impossible row, so it was wrong: the first square of row 3 is filled. From there the ordinary moves finish the puzzle.

Try it: this is the same puzzle at the moment line logic stops.

Tap a square to fill it, drag to fill several. Switch to Cross for the squares you know are empty.

Edge logic: test along the edges first

A test in the first or last row or column shows its result fastest, because a block that touches the edge can only grow one way.

Edge logic is the same test, started in the best place. A filled square in the top row is the start of a block in its column, so the whole block is known at once, and with it several squares of the second row. The second row either accepts them or breaks. Either way you know after two or three steps.

Corners are the best squares of all: they start a block in their row and in their column at the same time.

?
Stuck: test the ringed square
The test breaks a line
So the square is the opposite
  1. Suppose the top left corner is filled.

  2. Row 1 has the clue "1 2". A filled corner is the whole first block, so the square next to it is empty.

  3. Column 1 has the clue 2. A block that starts on the edge can only grow down: rows 1 and 2 of column 1 are filled.

  4. Column 2 has the clue "1 2" and its top square is now empty. The filled square in row 4 belongs to the 2 at the bottom, so the 1 can only be in row 2.

  5. Row 2 has the clue 1, but it now holds two filled squares side by side.

So the corner is empty. That one cross is enough: the ordinary moves solve the rest of the grid.

Try it: this is the same puzzle at the moment line logic stops.

Tap a square to fill it, drag to fill several. Switch to Cross for the squares you know are empty.

Practice puzzles

Four puzzles, each a little harder than the one before. All of them are solved with single rows and columns: no testing is needed.

Puzzle 1

5×5. Level 1 moves, and the overlap move on the 3.

Tap a square to fill it, drag to fill several. Switch to Cross for the squares you know are empty.

Puzzle 2

10×10. Start with the 10, then use the overlap move on the 8s and 6s.

Tap a square to fill it, drag to fill several. Switch to Cross for the squares you know are empty.

Puzzle 3

10×10. Two full rows and two full columns open it; the stem needs crosses.

Tap a square to fill it, drag to fill several. Switch to Cross for the squares you know are empty.

Puzzle 4

10×10. Lines with three and four clues: count the spare squares before every move.

Tap a square to fill it, drag to fill several. Switch to Cross for the squares you know are empty.

Want more? Make a fresh puzzle with the Free Nonogram Puzzle Generator and print it, with its answer.

Five mistakes that cost the most time

Guessing

One guessed square can look right for twenty moves and then wreck the grid. Fill a square only when you can say why it must be filled.

Not marking empty squares

Half of the information in a nonogram is where the blocks are not. Without crosses you solve the same line again and again.

Overlapping different blocks

When you pack the blocks left and then right, a square counts only if the same block covers it both times.

Growing a block from the wrong clue

A filled square in a line with several clues may belong to more than one of them. Work out which block it is before you extend it.

Solving one line to the end

A line rarely solves in one go. Take what it gives, move to the lines that cross it and come back when they have changed.

Other kinds of nonogram

The moves above carry over to every relative of the nonogram. Each kind changes one thing: the colors, the clues or the shape of the squares.

  • Color Nonogram

    A nonogram in several colors: each clue number has a color, and the finished grid is a color picture.

    How to play
  • Zebra Nonogram

    A nonogram with striped clues: shaded lines count the filled squares, white lines the empty ones.

    How to play
  • Triangle Nonogram

    A nonogram with half squares: triangles in the clues give the picture smooth diagonal edges.

    How to play
  • Hexagon Nonogram

    A nonogram on a hexagon of triangles: clue lines run in three directions instead of two.

    How to play
  • Curved Nonogram

    A nonogram without a grid: curves cut a frame into areas, and clues at their ends tell which areas to shade.

    How to play
  • Mosaic

    A picture logic puzzle with the numbers inside the grid: each counts the shaded squares around it.

    How to play

All of them side by side: 7 Nonogram Variations and How to Solve Them (2026).

Nonogram words

Clue
The numbers beside a row or above a column.
Block
A run of filled squares with no gap; one number of a clue.
Line
A row or a column. Every rule works the same way for both.
Cross
The mark for a square that is known to be empty (some solvers use a dot).
Spare squares
The length of a line minus what its clues need: the blocks plus one gap between each pair.
Overlap
The squares a block covers wherever it lies in its line.
Line logic
Everything you can tell from one row or one column on its own.
Edge logic
Testing squares along the edge of the grid, where a wrong choice shows fastest.

Questions and answers

What do the numbers in a nonogram mean?

Each number is a block of filled squares in that row or column, and the blocks come in the order of the numbers. The clue "4 2" means a run of four filled squares, at least one empty square, then a run of two. The numbers do not tell you where the blocks start.

Where do I start a nonogram?

Start with the lines that are known at once: a clue as long as the line, clues that with their gaps use up the line, and the clue 0. Then take every clue longer than half of its line and fill the squares the block covers wherever it lies. After that, read each line that crosses a new square.

Do you ever have to guess in a nonogram?

No. A well-made nonogram has one solution that logic alone reaches. In hard puzzles you may test a square, but that is not a guess: you follow the test until a line becomes impossible, which proves the opposite value.

What does a 0 or an empty clue mean?

The line has no filled squares. Cross out all of it: the crosses shorten the crossing lines and often start the puzzle.

Why should I mark empty squares with a cross?

A cross records something you have already proved, so you never work it out twice. Crosses also split a line into shorter stretches, show where a block cannot fit and tell you when a block is finished.

What is the overlap technique in nonograms?

Imagine a block pushed to one end of its line and then to the other. The squares it covers in both positions are filled. In numbers: a block keeps its length minus the spare squares of the line, so a 7 in a line of ten keeps 4 squares in the middle.

What is edge logic in nonograms?

Edge logic is testing a square in the first or last row or column. A block that touches the edge can only grow one way, so the test fixes several squares at once and a wrong choice breaks a neighbouring line after two or three steps. The square then takes the opposite value.

What should I do when I am stuck?

Go through every row and column again and count the spare squares: after a few new crosses the overlap move often works where it did not before. Check that every finished block is closed and every finished line is crossed out. If no line helps at all, test a square on the edge.

How long does a nonogram take to solve?

A 5×5 takes a minute or two. A 10×10 usually takes a few minutes once you know the overlap move. Grids of 15×15 and more can take half an hour or longer, depending on the picture.

How is a color nonogram different?

Every clue number has a color, and the block is filled in that color. Two blocks of the same color still need an empty square between them, but two blocks of different colors may touch. The moves on this page work the same way; you only count the gaps differently.

Make your own nonogram book

Print-ready nonogram books for Amazon KDP, every puzzle with one solution and its answer key.

Nonogram book generator

Just one page? Free Nonogram Puzzle Generator