These maze generators create unique, randomly generated mazes every time — no two mazes are the same. Choose your maze type and size, then print or download a PDF. Answer keys are included so you can verify solutions.
Rectangular mazes use a standard grid of squares with passages carved through the walls. They are the most familiar maze format and work at any size, from small 5×5 puzzles for young children to large 30×40 grids for a real challenge.
Difficulty scales with size: a 10×10 maze takes most people a minute or two, while a 25×25 maze can take significantly longer. Larger mazes also have more branching paths and dead ends, making the solution harder to find by working backwards from the exit.
Hexagonal mazes use a grid of hexagons rather than squares. Each cell has six possible connections instead of four, which creates a different navigation feel — paths curve and branch in less predictable ways than a rectangular grid. Hex mazes tend to feel more complex than a same-size rectangular maze because the geometry is less familiar.
Hexagonal mazes are popular for older children and adults, and for classroom use where you want something visually distinctive.
Are the mazes solvable?
Yes. All generated mazes have exactly one solution path from the entrance to the exit. The generator uses a depth-first search algorithm that guarantees a valid solution exists and that every cell in the maze is reachable.
Can I generate a new maze if I don't like the one shown?
Yes — clicking the generate button creates a completely new random maze. Each maze is unique, so you can generate as many as you need.
What age are these mazes suitable for?
Small mazes (5×5 to 8×8) are appropriate for ages 4–6. Medium mazes (10×15) suit ages 7–10. Large mazes (20×20 and above) challenge older children and adults. Hexagonal mazes tend to run harder than rectangular mazes of the same cell count.
Can I print multiple mazes on one page?
The generator produces one maze per PDF page. To print multiple mazes, generate each one separately and combine the PDFs, or print multiple pages from your browser's print dialog.
This website may contain affiliate links. If you click on an affiliate link and make a purchase, we may receive a small commission at no additional cost to you.