Sudoku Flow

How to Make a Sudoku Puzzle, by Hand or by Program

How a Sudoku is made: start from a finished grid, take digits out while it keeps exactly one answer, then grade it. By hand, and how our app does it.

Updated 2026-11-06

Step 1: a finished grid

You need a correct, completely filled grid. A quick way by hand: write 1 to 9 in the top row, start each next row three places further along, and start each new band of three rows one place further. Every row, column and box then holds 1 to 9 once.

A grid made like this has an obvious pattern. Swapping digits throughout (every 1 for a 5, say), swapping rows inside a band, swapping whole bands, and doing the same with columns all keep it a finished Sudoku while hiding the pattern.

A finished grid made by hand: each row is the one above it, shifted.

Step 2: take digits out

Take out one digit at a time, in any order. After each one, check that the puzzle still has exactly one answer. If it now has two, put the digit back and try another square. When no digit can come out any more, the puzzle has as few givens as that grid and that order allow.

Step 3: make sure there is one answer

This is the hard part by hand: you must be sure that no other way of filling the grid works. Solving the puzzle yourself step by step, without guessing, is a good test. If every step is forced, nothing else can fit, so the answer is unique. A program can simply count the answers.

A real puzzle made this way

We did it with a program, starting from the answer of the first Easy puzzle on our printable sheets. It tried each of the 81 squares once, in a random order: 57 digits came out for good, and 24 had to go back because a second answer appeared. Those 24 digits make a puzzle with exactly one answer. Its hardest step is a Pointing Pair, so our app would file it under Hard:

A puzzle made from a finished grid: 24 digits left and exactly one answer.

How our app's puzzles were made

The same way, by a program. It fills a random finished grid, keeps one random square in each box, then tries taking out the other squares in a random order, putting a digit back whenever a second answer appears, until the puzzle has as many empty squares as its level calls for; when a grid cannot get there, it starts again aiming for two fewer. Our hint engine then solves every puzzle step by step and files it under the hardest technique it needed. Easy puzzles had some digits given back afterwards, to make them gentler, and were checked again.

Tips for making your own

  • Stop early for an easier puzzle: more givens usually mean easier steps.
  • Many puzzle makers place the givens in a symmetric pattern. It looks good, but it is a tradition, not a rule.
  • Test-solve your puzzle, or ask someone else to, before you share it.
  • Our Sudoku maker makes new puzzles in your browser, checks that each has exactly one answer and rates it with our app's hint engine.

Practice

Every Find the Mistake puzzle on this site has exactly one wrong digit, and you can play each board right on its page.

Sudoku guides

Sudoku app icon

Want more boards like this?

We also make a Sudoku app for iPhone, iPad, Mac and Android. There are no ads in it at all, it works offline, and when you ask for a hint it shows you the technique instead of just filling in a number.

Sudoku Flow is made by Rubigo Games, the developer of the Sudoku app recommended on this site.