Solve Tower of Hanoi by moving one top disk at a time across three pegs without placing a larger disk on a smaller one, with three-, four-, and five-disk modes, optimal-move targets, legal-move feedback, completion detection, accessible peg controls, and restart. Play free with no account or download.
Choose puzzle level
Single-player puzzle
No multiplayer mode
Your turnScore 0
How to play
Solve Tower of Hanoi by moving one top disk at a time across three pegs without placing a larger disk on a smaller one, with three-, four-, and five-disk modes, optimal-move targets, legal-move feedback, completion detection, accessible peg controls, and restart. Choose a puzzle level, make your move, and use Restart whenever you want a fresh game.
Strategy tips
Move only the top disk from a peg and never place a larger disk on a smaller one.
To move the largest disk, first transfer every smaller disk to the spare peg.
The optimal solution uses 2 to the power of the disk count, minus 1 moves.