24 puzzle board of five by five numbered tiles, partly solved, with the gap near the bottom

The 24 puzzle: a 5×5 sliding challenge

The 24 puzzle is the 5×5 sliding puzzle: 24 numbered tiles and a gap, shuffled with 500 real moves so every start can be solved. It uses the same method as the 15 puzzle, with an extra row and column to work through first. Free, with no app, no sign-up and no interstitial before play; it works offline and plays from the keyboard.

Sliding Puzzle board is loading.

Start a new game?

Your current Sliding Puzzle will be abandoned.

How to play Sliding Puzzle

  1. The board holds numbered tiles and one empty space.
  2. Tap or click a tile next to the gap to slide it into the gap. Tapping a tile further along the same row or column slides the whole run.
  3. Arrange the tiles in order, 1 in the top-left, with the gap ending bottom-right.
  4. The move counter and timer start on your first move.
  5. Every shuffle is made from real moves, so it can always be solved.

Keyboard

Arrows
Slide the tile next to the gap in that direction
Tab / Enter
Move between tiles and slide the focused tile
U
Undo
Y
Redo
H
Hint
P
Pause
N
New game
?
This help

How to play the 24 puzzle

  1. Tap or click a tile next to the gap to slide it; tapping further along the row or column slides the whole run.
  2. On a keyboard, an arrow key slides the tile next to the gap in that direction; Tab and Enter pick and slide a specific tile.
  3. Arrange tiles 1 to 24 in reading order with the gap in the bottom-right.
  4. Each tile that moves one cell counts as one move.
  5. Undo and redo are unlimited, and your game is saved on the device.

24 puzzle strategy: peel it down to 4×4

The 5×5 board has about 7.8 septillion solvable positions, far too many for a quick optimal search. The human method scales well, though: each finished row and column turns the board into the next smaller puzzle.

Top row: 1, 2, 3, then 4 and 5 together

Place 1, 2 and 3 directly. Then park 5 where 4 belongs, bring 4 underneath it, route the gap into the top-right corner and slide 5 right and 4 up.

Left column: 6, 11, then 16 and 21 together

Place 6 and 11 below 1. Park 21 where 16 belongs, 16 to its right, bring the gap below 21, then slide 21 down and 16 left. You now have a 15 puzzle in the lower-right 4×4.

Keep the gap close

Most wasted moves on 5×5 come from dragging the gap across the board. Bring each tile in along the shortest route that does not cross your finished rows.

What the hint does here

On 5×5 the full search only finishes near the end of a solve. Before that the hint shows the Closest move, a slide that brings the tiles nearer to home; treat it as a nudge, not a route.

Daily, stats and printables

The move counter and timer start with your first slide, and the timer pauses when you switch tabs. Stats are kept per board size in your browser: played, won, win rate, best and average time. The 5×5 board keeps its own best time.

Undo and redo are unlimited. The first two hints in each puzzle are free; if ads are switched on later, further hints offer a short ad or a 30-second wait. Every shuffle has a puzzle code such as A7K3Q, so ?p= replays the same start, and Share result copies your time and moves. There is no daily sliding puzzle and no printable version.

Plays anywhere, no app, no account

The 24 puzzle fits a phone screen without scrolling, and the arrow keys move the tile next to the gap so you can solve it without a mouse. Tidy Puzzles runs entirely in your browser: there is no app to install, no account to create and no interstitial before you can play. After the first visit the game also works offline, because each puzzle is generated on your device from a seed. Every board can be played with the keyboard alone, on a phone or a desktop, and your stats and unfinished puzzles stay in this browser rather than on a server.

Frequently asked questions

How do you solve the 24 puzzle?

Finish the top row and the left column, placing the last two tiles of each as a pair. That leaves a 15 puzzle; repeat until only a 2×2 corner is left.

How long does the 24 puzzle take?

Expect several hundred moves by hand. The game is saved on your device, so you can finish it later.

Is the 24 puzzle always solvable here?

Yes. Each shuffle is 500 random moves from the solved board, so it can always be solved.

Does the hint solve the 24 puzzle for me?

No. It marks one tile at a time, usually the move that brings the tiles closest to home, and an optimal move near the end.

Is the 24 puzzle much harder than the 15 puzzle?

It takes longer rather than needing new ideas. Solve one row and one column and you are back to the 15 puzzle.

Last updated 2026-09-27. Written and maintained by the Tidy Puzzles team; puzzles are generated on your device. How it works.