Klotski rules
down to the exit
empty spacesNo lifting or jumping
counts as 1 moveEven around a corner
above the exitBottom row, center
How to play on this page
- Drag or swipe a block to slide it. Tap one side to move it one space that way.
- Classic is the famous 81-move layout. Puzzles has 40 more, Easy to Expert.
- Hint plays the next move of a shortest solution and shows how many are left.
- Undo takes back one move. Close the page and your puzzle is saved.
- A new daily puzzle for everyone at midnight Japan time, longer toward Sunday.
- Keyboard: Tab to pick a block, arrow keys to move it, Ctrl+Z to undo.
Tips for solving Klotski
- The big block goes sideways too: 6 of its 9 moves in the classic 81-move solution.
- Park the small blocks in corners or the top row to clear a path.
Puzzles and fewest moves
The fewest moves for every puzzle was checked by a computer search of every possible move.
| Level | Fewest moves |
|---|---|
| Classic | 81 moves (the famous starting layout) |
| Easy | 3–28 moves (10 puzzles). Start here if you’re new |
| Medium | 30–58 moves (10 puzzles) |
| Hard | 60–98 moves (10 puzzles) |
| Expert | 100–135 moves (10 puzzles) |
| Daily | 15–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.