Maze generator — printable mazes with answer key
Choose a square or circle maze, pick easy, medium or hard and download a PDF with the solution on page 2. Every maze has exactly one path from start to finish.
Ready-made printable mazes
Letter PDF · A4 PDF
Letter PDF · A4 PDF
Letter PDF · A4 PDF
Letter PDF · A4 PDF
Letter PDF · A4 PDF
Letter PDF · A4 PDF
Letter PDF · A4 PDF
Letter PDF · A4 PDF
How the maze generator works
Each maze is a grid of cells joined into a single tree of passages, so there is exactly one route between any two points — no loops, no shortcuts. “Long winding paths” uses a depth-first (recursive backtracker) algorithm that makes long corridors; “Many short dead ends” uses Prim's algorithm, which branches constantly and looks busier but is usually quicker to solve.
Every maze has a number. The same number with the same settings always gives the same maze, so you can share the link or print a second copy for a whole class.
Which difficulty for which age?
| Age | Difficulty | Square grid | Circle rings |
|---|---|---|---|
| 4–6 | Easy | 10 × 13 | 6 |
| 7–9 | Medium | 16 × 21 | 10 |
| 10+ and adults | Hard | 24 × 31 | 15 |
Ideas for using mazes
- Quiet-time or early-finisher activity in class
- Pencil-control practice for preschoolers (use Easy with a thick marker)
- Restaurant or travel activity pack
- Race a sibling: same maze number, who finishes first?
- Laminate a page and use a dry-erase marker again and again
More puzzles: word search maker and themed word searches. See all free printable worksheets.
Frequently asked questions
Do the mazes have only one solution?
Yes. Every maze is a perfect maze: exactly one path connects the start and the finish, and the answer page shows it.
Is the maze generator free?
Yes — make, download and print as many mazes as you like, with no sign-up or watermark.
What is a circular maze?
A maze laid out in rings around a centre. You start at the gap in the outer wall and work your way to the middle.
Can I print the same maze again?
Yes. Note the maze number (or copy the page link) and enter it later to get exactly the same maze.