Move the whole tower to the flag, one disk at a time! A free Tower of Hanoi puzzle for kids ages 6–13, from 3 to 8 disks, with hints and star ratings.
How to play Tower of Hanoi
Three pegs stand on the board, and one has a 🚩 flag. Your job is to move every disk onto the flag peg. Drag the top disk of any peg and drop it on another. Or tap a peg to lift its top disk, then tap where it should go. On a keyboard, press 1, 2 or 3 to pick a peg and again to drop.
There is just one rule to remember: a bigger disk can never go on a smaller one. If your child tries, the peg wobbles and says “Too big!”. Moves are counted, and the game shows the smallest possible number for that level.
| Levels | Challenge |
|---|---|
| 1 | 3 disks with every move shown, to learn the pattern |
| 2–3 | 3 disks to the middle peg, then 4 disks |
| 4, 6, 8, 11, 14 | Mixed-up starts: disks are spread over all three pegs and must be stacked on the flag |
| 5, 7, 10, 13, 16 | Full towers of 5, 6, 7 and 8 disks |
| 9, 12, 15 | Move limits: finish close to the best number of moves |
Stars: finishing in the fewest possible moves earns three stars, finishing within about one and a half times that earns two, and any finish earns one. On move-limit levels, running out of moves means trying again.
What your child learns
Planning several steps ahead. You can’t just grab the biggest disk and move it. Everything on top of it has to be cleared away first, and to somewhere it won’t block you later. Children learn to think “first this, then that, and only then…” which is the heart of planning.
Breaking problems into smaller ones. The secret of the Tower of Hanoi is that every big tower is made of smaller towers. To move 5 disks, you move 4, then one, then 4 again. Many children discover this on their own around the 4- or 5-disk levels. Recognizing that a big problem is made of small, familiar ones is a powerful idea in math and in computer programming, where it is called recursion.
Patterns. With practice, kids notice that the smallest disk moves every other turn, always circling in the same direction. Spotting patterns like this turns a hard puzzle into an easy one.
Patience and self-checking. Mixed-up starts and move limits encourage children to stop and think before every move instead of trying things at random.
Tips for parents
- Start at level 1, even with older kids. The guided level shows the classic 7-move solution. Watching the pattern once makes later levels click.
- Say the plan out loud. Ask “Which disk needs to move first? Where should it go so it isn’t in the way?” Talking through a plan is the best way to build the habit.
- Use the tower trick. When your child gets stuck on 4 disks, remind them that they already know how to move 3. “Move the little tower out of the way, move the big disk, then put the little tower back.”
- Don’t chase three stars too early. One star is an achievement on 7 or 8 disks. Come back later to improve.
- Hints are a learning tool. One hint at the right moment is often all it takes to see the pattern again.
Offline activities and variations
- Coins or pancakes. Stack different-sized coins, plastic lids or toy pancakes and play on three plates.
- Stacking cups. Use nested cups as disks. Even preschoolers enjoy moving three of them with the “no big on small” rule.
- Count the moves. Have your child solve 1, 2, 3 and 4 disks and write down the fewest moves: 1, 3, 7, 15. Can they guess the next number? Each one is double the last, plus one.
Common mistakes
The most common mistake is putting the smallest disk on the wrong peg at the very start. With an odd number of disks, the first move of a full tower goes straight to the target peg. With an even number, it goes to the spare peg. Another mistake is undoing progress by moving the same disk back and forth. If your child feels stuck, a hint shows the next good move without solving the whole puzzle for them.