How to Solve Any Maze: Strategies, Tricks and the Wall-Follower Rule
Mazes guide · 8 min read
If you keep hitting dead ends, learning how to solve a maze is mostly about having a plan before you start tracing. A maze looks like chaos, but every maze is really just a set of corridors with one correct route hidden inside a lot of wrong ones. Once you know a few maze solving strategies, you stop wandering and start working the puzzle on purpose. This guide walks through the methods that get you from start to finish on easy mazes, hard mazes, and everything in between.
Why mazes feel harder than they are
A maze fools your eye. You see the whole tangle at once, so your brain tries to spot the path the way it spots a face in a crowd, all at once. That rarely works past the easy level. The trick is to stop looking for the whole answer and instead follow one rule that guarantees progress. Every method below is just a reliable rule you apply one corridor at a time.
There are two kinds of mazes worth knowing about. In a simply connected maze, every wall is joined to the outer boundary, with no free-floating islands of wall in the middle. Most printable mazes and almost all mazes for kids are this kind. In a multiply connected maze, there are loops and detached walls. The method you pick depends on which one you are holding.
The wall-follower rule (the hand-on-wall trick)
The most famous way to solve a maze is the wall-follower rule, also called the hand-on-wall trick. Pick one hand, left or right, and imagine pressing it flat against the wall as you walk in. Now keep that hand touching the wall the entire time, never lifting it, and let your feet follow wherever the wall leads.
Here is why it works. If a maze is simply connected, every wall is part of one continuous loop that includes the entrance and the exit. By keeping a hand on that loop, you are tracing its edge, and the edge eventually carries you to the way out. You will walk into every dead end along that wall and back out again, but you will never get lost and you will never circle forever.
On paper, you do the same thing with a pencil. Put the tip just inside the entrance against, say, the left wall, then draw forward while always hugging that left side. At every junction, turn the way that keeps the wall under your pencil. It feels slow because you trace dead ends, but it cannot fail on a standard maze, which makes it the best method when you are truly stuck or solving a maze blind.
When the wall-follower fails
The hand-on-wall trick has one weakness. If the goal sits on a detached island of wall in the middle of the maze, following the outer wall will loop you around the outside forever and never touch the island. So if a maze has loops, or the finish is a marker floating in the center rather than an opening on the edge, switch methods. That is where the next two strategies come in.
Work backward from the exit
One of the fastest maze tricks is to ignore the start for a moment and trace from the finish instead. The end of a maze usually has far fewer corridors feeding into it than the start, so working backward narrows your options quickly. Find the exit, follow the only corridor leading away from it, and keep going until you reach a junction. Often a single clean line runs most of the way back toward the entrance before the maze tries to confuse you.
Even better, do both directions at once. Trace a little from the start, trace a little from the end, and try to meet in the middle. The two partial paths usually connect with only a short guess in between, which turns a long maze into two short ones.
Dead-end filling
Dead-end filling is the cleanest method for solving a maze on paper, and it is the one competition solvers use. The idea is simple: any corridor that ends in a dead end can never be part of the solution, so erase it from the picture.
Scan the whole maze for dead ends, the little stubs that go nowhere. Lightly shade or pencil over each one, filling it back from the closed tip to the first junction where it branched off. Now do it again. Filling those stubs creates new dead ends at the junctions you just sealed, so you shade those too. Keep repeating. When you can find no more dead ends, the only corridors left unshaded form the solution path from start to finish. It looks like magic the first time the answer just appears.
Look ahead before you commit
On hard mazes and maze puzzles for adults, the single biggest time-saver is looking a few cells ahead before you draw anything. At every junction, glance down each branch. If a branch clearly closes off or curls back on itself within a short distance, skip it. You only need to commit your pencil to a route once you have ruled out the obvious traps. This is the difference between solving a maze in one clean line and scribbling over five wrong turns.
Practical tips for solving on paper
A few habits make every method above work better.
- Use a pencil, not a pen. You will want to erase trial paths, especially with dead-end filling.
- Trace down the middle of corridors, not along the walls, so your line stays readable and you can see where you have already been.
- Mark junctions you have fully explored with a small dot. If you come back to one, you know not to repeat those branches. This is the paper version of Tremaux's method.
- Turn the page. If you are stuck, rotating the maze sometimes makes the open route pop out, because your eye stops expecting the path to run a certain way.
Mazes for kids vs mazes for adults
The method should match the maze. For easy mazes and younger solvers, just trace from start to finish and back up whenever you hit a dead end. There is no need for anything fancier, and the simple trial-and-error build confidence and fine motor control. Parents and teachers can read more about that in our guide to why mazes are good for kids.
For hard mazes and expert grids, lean on dead-end filling and the work-backward trick. These big mazes have too many corridors to brute-force, so the strategies do the heavy lifting. We cover the dense, large-grid case in detail in tips for solving hard mazes.
A simple progression to get faster
The best way to get better at solving mazes is the same as any puzzle: climb gradually. Start on easy mazes until tracing without dead ends feels automatic, then move to medium where the corridors get longer, then to hard where dead-end filling becomes worth the effort. By the time you reach our Einstein mazes, you will be combining work-backward and dead-end filling without thinking about it.
You do not need to memorize anything. Pick one method, apply it one corridor at a time, and the maze solves itself. Ready to try? Open a grid and put a hand on the wall.
Frequently asked questions
What is the easiest way to solve a maze?
For most printable mazes, the wall-follower rule is the easiest reliable method. Keep one hand, or your pencil, touching the same wall the whole way through and it will carry you to the exit. For solving on paper, dead-end filling is even faster because the answer appears once every dead end is shaded out.
Does the left-hand rule always work?
The left-hand rule (or right-hand rule) always works on a simply connected maze, where every wall connects to the outer boundary. It can fail if the maze has loops or the goal sits on a detached island of wall in the center. In those cases, work backward from the exit or use dead-end filling instead.
How do you solve a maze without getting lost?
Follow one consistent rule rather than wandering. Either keep a hand on one wall the entire time, or mark every junction you have explored with a dot so you never repeat a branch. Both methods guarantee you cover the maze systematically instead of going in circles.
What is the fastest way to solve a hard maze on paper?
Dead-end filling. Shade in every corridor that ends in a dead end, back to its last junction, then repeat until no dead ends remain. The unshaded corridors that are left form the solution. Combine it with tracing backward from the exit to go even faster.
How do you teach a child to solve a maze?
Start with easy mazes that have short paths and few dead ends. Let them trace with a finger first, then a crayon or pencil, and encourage them to back up calmly when they hit a wall. The goal at first is not speed but the habit of trying a route and adjusting, which builds focus and fine motor skills.