Maze

Find your way from the start to the exit of a fresh maze.

How to play Maze

Swipe along the corridors to reach the exit

Steer your marker with the arrow keys, WASD, or the on-screen pad. Wind through the corridors from the start to the exit marker as quickly as you can. Every game generates a brand-new maze.

How to escape any maze

The oldest reliable trick is the wall follower, or the hand-on-the-wall rule. Pick one hand, say your right, and imagine keeping it pressed to the wall as you move. At every junction you turn as far that way as you can, and at a dead end you turn around, still tracing the same wall. Keep to the same hand for the whole run and the wall leads you around every dead-end pocket and out through the exit. Mazes generated fresh like these are almost always perfect mazes, meaning no loops and exactly one path between any two points, and that is precisely the condition that makes wall-following certain to work. On a small grid you can often beat the arrows entirely by planning; on a big one, the hand rule is your safety net when the plan runs out.

Faster route-finding tips

Wall-following guarantees an escape but not a quick one, since it can march you down every blind alley. When you can see more of the layout, plan with your eyes and use the keys only to carry out the plan.

Two methods with names attached

The wall follower has smarter cousins. In the 1800s a French engineer named Charles Tremaux worked out a marking method that beats any maze, loops included. Each time you walk a corridor, mark it once at the entrance. At a junction, prefer a corridor with no marks, and never enter one that already carries two. Follow those rules and you will reach the exit, and your marks will show a clean route back. The other workhorse is dead-end filling, which suits mazes you can see from above, like these. Find every dead end and mentally wall it off back to its junction. Repeat, because filling one blind alley often turns the corridor feeding it into a new dead end. What survives the filling is the true path, and often the whole solution simply appears. Neither method needs luck. That is the quiet truth of mazes: they fall to patience and bookkeeping, never to speed alone.

Labyrinths and myth

The maze is one of humanity's oldest ideas. Greek myth tells of the Labyrinth built by the craftsman Daedalus at Knossos on Crete to hold the Minotaur. The hero Theseus survived it only by unspooling a thread from Ariadne so he could find his way back out, and that thread even shaped our language: a ball of thread was once called a clew, which is where the word clue comes from. Medieval cathedrals kept the older form alive, laying unicursal labyrinths into their floors as walking paths for prayer; the famous one at Chartres in France was set around 1200. Strictly, that classical labyrinth was unicursal, a single winding path with no choices. A true maze, like the ones here, is multicursal, full of branches and dead ends built to mislead. The most famous survivor is the hedge maze at Hampton Court Palace, planted around 1700 and still swallowing tourists today, while the yew maze at Longleat, planted in 1975, packs nearly two miles of paths into a single English garden.

Mazes for robots

Maze solving became an engineering sport, too. Since the late 1970s, micromouse contests have set small robot mice loose in a sixteen-by-sixteen walled maze. Each robot explores first, builds a map, then computes the best route and sprints it, and the top machines cross the maze in a handful of seconds. Their classic method, flood fill, scores every cell by its distance from the goal and always moves downhill. It is the same family of thinking as dead-end filling, and the lesson transfers straight back to the human game: explore first, learn the shape, then run your fastest line.

Maze leaderboard

Top scores. Log in to compete.

  1. Loading leaderboard…

Maze: frequently asked questions

Is every maze solvable?

Yes. Each maze is built with a recursive-backtracker algorithm that guarantees exactly one path between any two points.

What counts as my best?

Your fastest time to reach the exit, in seconds. Lower is better.

How does the wall-follower method work?

Choose one hand and keep it notionally touching the wall the whole way. At each junction you take the turn on that side, and at a dead end you reverse while still tracing the wall. Following a single continuous wall eventually walks you to the exit.

Does keeping one hand on the wall always find the exit?

It does for a perfect maze, one with no loops and a single path between any two points, which freshly generated mazes like these almost always are. The method can be slow, since it may explore every dead end, but it will not get you permanently lost.

What is the difference between a maze and a labyrinth?

A classical labyrinth is unicursal: one long path with no choices, so you cannot get lost, only walk it. A maze is multicursal, with branching corridors and dead ends designed to confuse, so it genuinely has to be solved.

Is every generated maze actually solvable?

Yes. Each new maze is built so that a continuous route exists from the start to the exit. There is always a way through. The challenge is finding it quickly rather than whether a path exists at all.

What is the quickest approach when I can see the whole layout?

Trace the route with your eyes first, spotting the dead ends and the branch that actually connects, then use the arrow keys or pad only to execute it. Planning beats reacting corridor by corridor.

How do robots solve mazes so fast?

Contest robots called micromice explore the maze first to build a map, then compute the shortest route and sprint it. Their classic method, flood fill, scores every cell by its distance from the goal and always moves downhill. The idea works for people too: learn the layout first, then run your line.

Is Maze free to play?

Yes. Maze is completely free on Inkplay, with no download, no sign-up, and no in-game purchases. Open the page and play instantly on desktop or mobile.

Can I play Maze unblocked?

Yes. Maze runs entirely in your browser with no download, install, or plugins, so it loads instantly and keeps working even on school or work networks where bigger game sites get blocked.

More games to play

In the mood for more? Try 2048, Memory Match, Lights Out, Minesweeper, or browse all puzzle games and the full games list on Inkplay.

This game has been removed

It's no longer available. Try one of our other games instead.

Browse games