Easy

3 × 3 Grid

8 Tiles

Medium

4 × 4 Grid

15 Tiles

Hard

5 × 5 Grid

24 Tiles

Expert

6 × 6 Grid

35 Tiles
Quick Rules
Grid of numbered tiles with one empty space
Tap a tile next to the empty space to slide it
Arrange tiles in order — empty space goes bottom-right
Use arrow keys for quick navigation
Moves
0
tiles slid
Time
0:00
elapsed
Progress 0%
Arrow Keys:
Best Moves
--
this difficulty
Best Time
--:--
this difficulty

Play the Sliding Puzzle Online for Free

The sliding puzzle is a classic game of numbered tiles on a square grid with one empty space. You slide the tiles, one at a time, into the empty space until all the numbers are in order. Its best-known form is the 15 puzzle, a 4×4 grid with fifteen tiles.

The puzzle was invented by Noyes Chapman, a postmaster from Canastota, New York, who developed the idea in the 1870s. It became a craze across the United States and Europe in 1880. Puzzle writer Sam Loyd is often wrongly credited with inventing it, but he only popularised its mystery. This free version has four grid sizes from 3×3 to 6×6, a move counter, a timer and saved best scores. It runs in your browser with no download or sign-up, on desktop, tablet and phone.

Sliding Puzzle Rules

  1. One empty space. The grid has one gap. Only tiles that touch the gap, above, below, left or right, can move.
  2. Slide, do not lift. A tile slides into the gap. Tiles never jump or swap.
  3. Put the tiles in order. Arrange the numbers from 1 upwards, reading left to right and top to bottom, with the empty space in the bottom-right corner.

Every move shifts one tile, and the game counts each slide as a move. The aim is to finish in as few moves, and as little time, as you can.

How to Play Here

  1. Pick a size and press Start Game.
  2. Slide a tile. Click or tap a tile that is next to the empty space. It slides into the gap.
  3. Or use the keyboard. Press the arrow keys to slide a tile in that direction into the gap. On a touch screen, you can also swipe on the board.
  4. Watch your progress. Tiles that are already in the right place turn green, and the progress bar shows the percentage of tiles in position.

The Hint button highlights the tiles you can slide right now. Restart reshuffles the puzzle at the same size, and Menu returns to the size selection. The timer starts with your first move. The side panels show your Moves, Time, and your Best Moves and Best Time for the size you are playing. Best scores are saved in your browser.

Difficulty Levels

Grid size and number of tiles for each level
LevelGridTilesCommon name
Easy3 × 388 puzzle
Medium4 × 41515 puzzle
Hard5 × 52424 puzzle
Expert6 × 63535 puzzle

Every puzzle can be solved. Each one is made by shuffling the finished grid with random legal slides, so a solution always exists. This matters because only half of all possible arrangements of a sliding puzzle can be solved. Sam Loyd's famous 1880 prize puzzle, a solved 15 puzzle with tiles 14 and 15 swapped, was one of the impossible ones. The hardest 15 puzzle positions need 80 moves, and any 8 puzzle can be solved in 31 moves or fewer.

How to Solve a Sliding Puzzle

Solve it one row at a time

Complete the top row first, from left to right, then the second row, and so on. Once a row is finished, do not touch it again. On a 4×4 board, that leaves you with two rows to finish at the end.

Handle the last tile of a row carefully

The last tile of each row is the trickiest, because the gap and the previous tile are in its way. Place the tile below its target square first, bring the gap above it, then slide it up while keeping the rest of the row in place.

Switch to columns near the end

When you have only two rows left, solve them one column at a time, from left to right. This works as a smaller version of the same idea, and it avoids breaking what you have already done.

Use three-tile rotations to fix the last few

With a small group of tiles left, you can rotate three tiles in a loop around the gap to cycle them into place. This is the key trick for the final moves.

Think about the gap, not the tiles

Every move is really a move of the gap. Plan where you want the gap to go, and the tiles will shift as a result.

Fewer moves means more planning

The row-by-row method is simple but not the shortest. To beat your best moves record, look for moves that put two tiles in place at once, and avoid sliding a tile back and forth.

Sliding Puzzle FAQ

Is the sliding puzzle the same as the 15 puzzle?

The 15 puzzle is the best-known sliding puzzle, with a 4×4 grid. This game also has 3×3, 5×5 and 6×6 versions.

Can every puzzle be solved?

Yes. Each puzzle is created by shuffling the solved grid with legal moves, so it can always be unscrambled.

Who invented the sliding puzzle?

Noyes Chapman, a postmaster in Canastota, New York, who developed it around 1874. It became a worldwide craze in 1880.

What is the goal?

Arrange the tiles in numerical order, left to right and top to bottom, with the empty space in the bottom-right corner.

What does the Hint button do?

It highlights the tiles that can currently slide into the empty space.

Are my best scores saved?

Yes. Your best moves and best time are saved for each size in your browser. Clearing your browser data resets them.

Is there a time limit?

No. The timer starts with your first move and only records how long you take.

Does it work on a phone?

Yes. Tap a tile next to the gap, or swipe on the board. The grid resizes to fit your screen.

More Free Puzzle Games

If you like tile and logic puzzles, try Lights Out, Pipes, Memory Match, 2048, Threes, Color Fill or Magic Square. All of them play free in your browser.

Browse all Venjex games