Mazes
Maze Generator — Printable PDF
Generate printable maze PDFs with custom grid size, difficulty, and layout—perfect, braided, or room-based.
Last updated:
What this tool does
This maze generator produces print-ready PDF mazes with control over grid size, difficulty, and structure. Choose perfect mazes (single solution), braided mazes (multiple loops), or room-based layouts. Optionally include a solution-path overlay page for answer keys.
Free downloads
Ready-made Maze printables — free PDF downloads
No setup needed — download these print-ready mazes as free PDFs. Each one was made with the generator above, so you can recreate or fully customise any of them.

Maze — Easy
Print-ready maze (Easy) as a free PDF — made with the generator above so you can tweak and reprint.
↓ Download PDF
Maze — Medium
Print-ready maze (Medium) as a free PDF — made with the generator above so you can tweak and reprint.
↓ Download PDF
Maze — Hard
Print-ready maze (Hard) as a free PDF — made with the generator above so you can tweak and reprint.
↓ Download PDF
Maze — 10×10
Print-ready maze (10×10) as a free PDF — made with the generator above so you can tweak and reprint.
↓ Download PDF
Maze — 15×15
Print-ready maze (15×15) as a free PDF — made with the generator above so you can tweak and reprint.
↓ Download PDF
Maze — 20×20
Print-ready maze (20×20) as a free PDF — made with the generator above so you can tweak and reprint.
↓ Download PDF
Maze — 25×25
Print-ready maze (25×25) as a free PDF — made with the generator above so you can tweak and reprint.
↓ Download PDF
Maze — 30×30
Print-ready maze (30×30) as a free PDF — made with the generator above so you can tweak and reprint.
↓ Download PDF
Maze — Easy, with answer key
Completed answer key for the Easy maze — print-ready PDF for fast marking.
↓ Download PDF
Maze — Medium, with answer key
Completed answer key for the Medium maze — print-ready PDF for fast marking.
↓ Download PDF
Maze — Hard, with answer key
Completed answer key for the Hard maze — print-ready PDF for fast marking.
↓ Download PDF
Settings
Customize your maze
perfect 20×20 maze on A4, plus a solution page.
Type
Difficulty
Grid size
Line thickness
Start / finish
Paper size
Preview
Sample maze
Live preview of the same maze your PDF will contain.
People also used
Math Maze Generator
Print math maze worksheets where students solve arithmetic to find the correct path through the grid.
Sudoku Generator
Generate printable Sudoku puzzles with six per page, multiple difficulty levels, and optional solutions.
Simple Maze — Ages 3-5
Wide-path maze for preschoolers. Single clear route from start to finish.
Feedback
Spotted something off with this tool?
What you can do with this maze generator
This tool builds printable mazes scaled to A4 or US Letter paper. Pick a grid size, select easy, medium, or hard difficulty, and choose between three maze types: perfect mazes with one unique solution, braided mazes that include loops and alternate routes, or room-based layouts that carve larger open chambers into the grid. You can also print a second page showing the solved path, useful for answer keys or checking your own work.
What you can customise
- Grid size — from small grids for young children to large grids that fill the page with hundreds of cells.
- Difficulty — easy (wider paths, fewer dead ends), medium (balanced), or hard (narrow corridors, many false turns).
- Maze type — perfect (one solution, no loops), braided (multiple paths, loops allowed), or rooms (open chambers connected by corridors).
- Line thickness — thin, medium, or thick walls to suit your printer and eyesight.
- Start and finish placement — opposite corners or random locations on the grid edges.
- Solution overlay — include or omit a second page with the solved path drawn in.
- Seed value — enter a number or word to reproduce the exact same maze later, or leave blank for a random design.
Who this maze generator is for
Teachers
Print a stack of mazes for early finishers, morning work, or brain breaks. The difficulty slider lets you match the challenge to age groups, and the solution page makes marking faster.
Parents and homeschoolers
Keep children occupied on rainy afternoons or long car journeys. Save a seed value to regenerate a favourite maze if the printout gets lost.
Puzzle enthusiasts
Generate hard, large-grid mazes with braided loops for a longer solve. The random seed ensures you never see the same layout twice unless you want to.
How to use the tool
- Choose your maze type: perfect for a classic puzzle, braided for variety, or rooms for a different visual style.
- Select difficulty (easy, medium, or hard) and adjust the grid size slider to control how many cells fill the page.
- Pick line thickness and decide whether start and finish should sit in opposite corners or random edge positions.
- Tick the solution checkbox if you want an answer-key page included in the PDF.
- Optionally enter a seed (any number or word) to make the maze reproducible.
- Click generate and download your branded PDF, ready to print on A4 or US Letter paper.
Worked classroom example
A Year 4 teacher needs 30 unique mazes for a Friday activity. She sets the tool to medium difficulty, grid size 20, perfect maze type, and medium line thickness. She leaves the seed blank and clicks generate 30 times, saving each PDF with a number in the filename. She ticks the solution box on one generation to print a master answer key for herself. On Friday, each child gets a different maze; the variety keeps trading and comparing answers to a minimum, and the teacher can quickly check finished work against her solution sheet.
Methodology: recursive backtracker with carve variants
The generator uses a depth-first recursive-backtracking algorithm to carve paths through an initialised grid of walled cells. For perfect mazes, carving stops when every cell is visited once, guaranteeing a single solution. Braided mazes add a second pass that removes some dead ends by opening extra walls, creating loops. Room-based mazes carve clusters of adjacent cells into open chambers before running the main algorithm. A breadth-first search computes the solution path from start to finish.
Designed for A4 and US Letter printing
The PDF scales automatically to fit both A4 (210 × 297 mm) and US Letter (8.5 × 11 inch) paper without clipping. Margins are set to keep walls away from the edge, so even older printers with large unprintable zones will produce clean results. Print at 100 per cent scale; shrink-to-fit is unnecessary and may make narrow passages harder to follow.
Notes and limitations
- Very large grid sizes (above 50 × 50) may produce walls too thin to see clearly when printed; test a sample before printing many copies.
- Braided mazes do not guarantee multiple distinct solutions—they guarantee loops, which may or may not create alternate solution paths depending on start and finish placement.
- The room-based layout carves fixed-size rectangular chambers; you cannot specify custom room shapes or positions.
- Solution paths are drawn as a continuous line; no step-by-step waypoint markers are included.
- The tool does not support colour fills, shading, or themed graphics inside the maze.
FAQs
Quick answers
Can I print the same maze again later?
Yes. Enter a seed value (any number or word) before generating. Write down that seed; entering it again with the same settings will reproduce the identical maze layout.
What is the difference between perfect, braided, and room mazes?
Perfect mazes have one unique solution and no loops. Braided mazes include loops and multiple paths, though not necessarily multiple solutions. Room mazes carve rectangular open chambers connected by narrower corridors.
How do I make a maze harder without changing the grid size?
Switch the difficulty from easy to medium or hard. This narrows paths, increases dead ends, and makes the solution route less obvious. You can also choose a perfect maze type to eliminate loops that might offer hints.
Will the solution page show step-by-step directions?
No. The solution page draws a continuous line from start to finish along the correct path. It does not include arrows, numbered steps, or turn-by-turn instructions.
Can I change the start and finish to the middle of the maze?
No. Start and finish points are always placed on the outer edges of the grid, either in opposite corners or at random edge positions. Interior start points are not supported.
Does the tool work on US Letter paper?
Yes. The PDF is designed to print correctly on both A4 and US Letter without clipping or requiring scale adjustments.
What happens if I set the grid size very high?
The maze will pack more cells into the same page area, making walls and paths narrower. Above 50 × 50, lines may become difficult to trace on some printers. Test a sample before printing many copies.
Related tools