Skip to content

Maze generator

Pick a difficulty and download mazes ready to print, with the start and finish marked and the answers at the end. Every maze has a number: the same number always rebuilds the same maze.

Works anywhere in the world, wherever you are.

Difficulty

14 × 18 cells. One single path from start to finish.

The same number always rebuilds the same puzzle (1 to 999,999).

Paper
Answer key
Puzzles in the PDF

They are numbered in a row from the chosen number.

Maze no. 1

The answer goes through 125 cells.

Everything is generated in your browser: nothing is sent to a server.

Sheet preview · 1 pagesFirst page of the PDF: Maze No. 1

About this calculator

How the maze is made

The maze is carved with a randomised depth-first search: from the first cell it opens a passage to an unvisited neighbour and backs up when none is left. That gives long, winding corridors.

It is a perfect maze: every cell is reachable and there is exactly one path between any two cells, so the route from start to finish is unique.

Levels

Easy: 8 × 10 cells, for preschool and the first grades. Medium: 14 × 18. Hard: 22 × 28. Expert: 32 × 40, for patient adults.

The page shows how many cells the answer goes through — a good sense of how long the route is.

Printing a batch

Put up to 20 mazes in one PDF, numbered in a row, one to a page, with the answer keys at the end (four to a page, the route drawn in red).

Important limitations

  • Rectangular mazes only; no shapes (circle, heart) or pictures.
  • Difficulty comes from size; a small maze can still feel easy even with a long route.
  • On screen the maze is for viewing and checking; print it to solve it.

Frequently asked questions

Yes. They are perfect mazes: there is one single path from start to finish, and it is the one drawn on the answer key.

Easy (8 × 10) for preschool, medium (14 × 18) for elementary school. Adjust per child.

Yes: print copies of the same PDF, or share the maze number so someone else can generate the identical maze.

No. Everything is generated in your browser and the PDF downloads directly.

This calculation runs in your browser and is never sent to a server. Your last values may be saved on your device only, for convenience. Results are estimates and are not financial, tax, accounting or legal advice.