Maze Escape

Every maze is generated fresh, so no two games are the same. Guide the dot from the start to the flag as fast as you can.

Fun & Games Runs in your browser Free, no sign-up New maze every time
Time0:00 Moves0 Best–

Arrow keys / WASD, swipe, or the buttons. Hold a key to run along a corridor.

How to play Maze Escape

  1. Choose a sizeSmall for a quick puzzle, Medium for a challenge, Large for a real labyrinth.
  2. Move the orange dotUse arrow keys or WASD, swipe on the board, or tap the arrow buttons on a phone. Each key press glides you along a corridor until the next turning, so you never have to tap every square.
  3. Reach the flagThe exit is always in the bottom-right corner. Your path is highlighted, and your time and moves are recorded.

Maze sizes

Small (10 × 10)
100 cells. Usually solved in well under a minute.
Medium (16 × 16)
256 cells with longer dead ends.
Large (24 × 24)
576 cells. Use Expand for the clearest view.

Best times are saved separately for each size in your browser.

Maze-solving tips

  • Work backwards. Look at the paths leading into the flag first, then trace them back towards the start.
  • Use the wall-follower rule. Keep one hand on the same wall; in these mazes it always leads to the exit, though not always quickly.
  • Spot dead ends early. Short pockets can usually be ignored at a glance.
  • Watch your trail. Retracing your steps removes the highlight, so you can see which branches you've tried.

How the mazes are made

Each maze is built by a recursive backtracker: starting from the top-left cell, it carves a random path, and whenever it reaches a dead end it backs up to the last cell with unexplored neighbours. The result is a "perfect maze": every cell is reachable and there is exactly one route between any two points, so there is always one true solution. Because the path is random every time, you'll never play the same maze twice. Next, test your strategy with the Number Merge Puzzle.

Frequently asked questions

Is every maze solvable?

Yes. The generator creates a perfect maze, so there is always exactly one path from the start to the flag.

How do I play on a phone?

Swipe on the maze or use the arrow buttons below it. Swipes glide along corridors to the next junction.

Why does the dot keep moving after one key press?

To save tapping, the dot slides along a corridor until it reaches a junction or a dead end.

Are best times saved?

Yes, for each maze size, in your own browser.

More fun & games tools