Tower of Hanoi: move the tower, one disk at a time
Tower of Hanoi online: move the whole tower to the flagged peg, one disk at a time, never putting a disk on a smaller one.
Play Tower of HanoiFree, zero ads, no sign-up, on mobile and desktop.
How to play
Tap a peg to lift its top disk, then the peg to put it on. A disk never goes on a smaller one. With 5 disks it takes at least 31 moves; fastest wins.
Example
Move the left tower to the right peg, one disk at a time, never a big one on a small one: at least 7 moves with 3 disks.
Tips to get better
- The smallest disk moves every other turn, always in the same direction around the three pegs.
- To move the largest disk, first stack all the others on the third peg: think in smaller towers.
- With an odd number of disks, the smallest one starts towards the target peg; with an even number, towards the other one.
What this game trains
- Planning and strategy: think several moves ahead and organise your actions.
- Logical reasoning: deduce the solution from the rules, without guessing.
Levels
Easy · Hard · Expert · Hardcore — each level has its own leaderboard.
Challenge your friends
At the end of a game, send your score as a link: your friend plays exactly the same game and you compare your times. There is also a daily challenge and tournaments.