How to Solve the 15-Puzzle: A Step-by-Step Strategy
Published
Last updated
How to Solve the 15-Puzzle: A Step-by-Step Strategy
The 15-Puzzle is the sliding puzzle that has been quietly humiliating people since the 1880s, and the reason is not the rules — it is the one-empty-space rule. Fifteen numbered tiles sit on a 4×4 board, and the only move you get is sliding a tile into the gap. Every move that fixes a tile disturbs another one, which is why beginners end up with 1, 2, 3 in the top row and chaos everywhere else. The good news is that solving it is a method, not a talent. This guide walks through the exact order of operations that takes you from scrambled to solved. If you have not opened the board yet, play the 15-Puzzle first — one minute of clicking will make the rest of this make sense.
The Gap Is Your Mover, Not a Hole to Fill
Most beginners treat the empty space as a problem to get rid of. Treat it as the hand that does all the work. Every single move is the same instruction — slide a tile into the gap — which means the gap is the thing that actually moves around the board. To move tile 7, you first move the gap next to tile 7, then click 7. To move it again, you move the gap again. Strong solvers plan where the gap should go next, not just which tile to click. That one mental flip turns random nudging into deliberate movement — and deliberate movement solves the puzzle.
Lock In the Top Two Rows First
The fastest solvers never touch the top rows again once they are done. Start by placing 1, then 2, then 3, then 4 across the top row, left to right. When 4 clicks into place, the top row is finished — do not disturb it. Repeat for the second row: 5, 6, 7, 8. Getting 1 through 8 locked in leaves half the board finished and a clear battlefield below. The common beginner mistake is solving rows in the wrong order and then breaking them again to fix a tile underneath. Once a row is locked, it is locked.
Solve the Last Two Rows Backwards
Here is the part that makes the 15-Puzzle solvable instead of infuriating: do not solve the last row tile by tile. Place 13, then 14, then 15 one at a time and the last tile always gets stuck — you run out of space to rotate it. Instead, solve the bottom two rows together. First place 9, 10, 11 and 12 in the third row, in order, so the bottom row is free for the last three tiles. Then stop treating 13, 14 and 15 as separate problems — keep them together, in order, and use the gap to walk the whole group into the bottom-right corner. The last three tiles move as a team, not one at a time. Thinking of the bottom two rows as one 2×4 block instead of eight individual tiles is the single biggest speed increase there is.
Rotate Three Tiles to Free One
The most useful micro-move in the whole game is the three-tile rotation. When a tile is next to its spot but blocked, pick the tile, the spot and one extra tile, then loop all three around the gap in a small circle. The blocked tile slides into place and the other two return to where they started. It sounds fiddly, but it is the exact move that unsticks ninety percent of “almost done” boards. Practise it on purpose: arrange three tiles in a row with a gap and rotate them clockwise and counter-clockwise until the motion feels natural. You will use it on every single board from then on.
Know the Stuck Points Before They Trap You
Two traps cause most 15-Puzzle frustration. The first is the “two last tiles swapped” feeling: 14 and 15 sit side by side in the wrong order and no amount of rotating fixes them. That specific arrangement is mathematically impossible to solve — a quirk called parity — which is why the famous 1891 version offered a prize nobody could collect. The version on this site never hands you an unsolvable board: it shuffles with 100 legal moves from the solved position, so every scramble is solvable. If the last two tiles still look swapped, it means something earlier went wrong, not that the board is broken — re-solve the bottom two rows as a block instead of forcing the last tile. The second trap is rushing: clicking whatever tile sits near the gap. Each wasted click moves the gap somewhere random and undoes your structure. Slow down, move the gap along deliberate routes, and the board solves itself faster than frantic clicking ever will.
Solve a Fresh Board Right Now
Open the 15-Puzzle, hit Scramble, and follow the order: lock the top row, lock the second row, solve the bottom two rows as one block, and use three-tile rotations when a tile refuses to move. There is no timer and no move counter, so the only pressure in the room is the pressure you bring. Your first solve might take twenty minutes; your tenth will take three. That is the whole pleasure of the puzzle — the method gets faster the more you trust it.
