All games

Klotski

0 moves

Get the big block out the exit. How to solve

Level

Min 81 moves

Klotski rules

1Get the big block
down to the exit
2Slide blocks into
empty spacesNo lifting or jumping
3Sliding one block
counts as 1 moveEven around a corner
4You win when it’s
above the exitBottom row, center

How to play on this page

Tips for solving Klotski

Line up the two empty spacesSide by side or stacked, they let the tall, wide and big blocks through.
Classic layout: wide block down firstBefore the big block moves, work the wide block down to the bottom-left corner (21 moves).
How to solve Klotski in 81 moves ›

Puzzles and fewest moves

The fewest moves for every puzzle was checked by a computer search of every possible move.

LevelFewest moves
Classic81 moves (the famous starting layout)
Easy3–28 moves (10 puzzles). Start here if you’re new
Medium30–58 moves (10 puzzles)
Hard60–98 moves (10 puzzles)
Expert100–135 moves (10 puzzles)
Daily15–70 moves (one a day). Mondays 15–22, Sundays 50–70

About Klotski

Klotski is a classic sliding block puzzle on a 4×5 board: slide the blocks around and get the big block out the exit. In China it is known as Huarong Dao (Huarong Pass). You can play it free online here, right in your browser.

Where the names come from

The name Klotski comes from the Polish word klocki, “wooden blocks.” In Huarong Dao the big block is the general Cao Cao escaping through Huarong Pass, and in Japan the puzzle is Hakoiri Musume, “the daughter in the box,” where the big block is a daughter and the others are family members and servants keeping her inside. The classic layout you can play here is the best-known starting position of both.

FAQ

What’s the fewest moves for the classic layout?
81, counting a block slid any distance (even around a corner) as one move.

Do the puzzles get harder in order?
Not quite. In each level, puzzles 1–5 get longer, then puzzle 6 drops back and 6–10 get longer again.