Free puzzle · ages 6+

Tower of Hanoi Online

Move the whole tower to the last peg, one ring at a time. A bigger ring can never go on a smaller one.

Invented by the French mathematician Édouard Lucas in 1883.

  • 6+ages
  • 5levels
  • 2,178challenges
  • Francefrom
Tower of Hanoi: wooden rings stacked on the first of three pegs

How to play

  1. Move the whole tower of rings from the first peg to the last.
  2. Move one ring at a time: tap a peg to lift its top ring, then tap where it goes.
  3. A bigger ring can never sit on a smaller one.
  4. Try to match the fewest possible moves shown at the top.

What your child learns

Tower of Hanoi is the textbook example of breaking a big problem into smaller ones. Children who crack three rings often spot the pattern that solves any number.

Pick a level

Start easy, or jump straight to a challenge.

Ready to try Tower of Hanoi?

Free in the browser on phones, tablets and computers. No sign-up, no ads.

Play now

Questions parents ask

Is Tower of Hanoi free?

The first 3 Beginner challenges of Tower of Hanoi are free in the browser, with no sign-up and no ads. Family Pro unlocks every challenge at all five levels, the hint coach, solutions and saved progress. During early access, every level is open to try.

What age is Tower of Hanoi for?

Tower of Hanoi is recommended for ages 6+. Start on Beginner and move up a level whenever it feels easy.

What does Tower of Hanoi teach?

Planning ahead: Think a few moves ahead before you move. Logical reasoning: Follow a rule and find the moves it allows. Pattern recognition: Spot the pattern that solves any tower. Working memory: Keep track of where each ring has to go next.

Does it work on phones and tablets?

Yes. It plays in any modern browser on phones, tablets and computers, with touch or a mouse.