LOGIC · FREE TO PLAY

Tower of Hanoi

Move a stack between pegs without putting a large disc on a small one.

Enable JavaScript to play. Instructions remain available below.

How to play Tower of Hanoi

  1. Three discs start on peg 1, largest at the bottom.
  2. Select a source peg and then a destination peg.
  3. Only the uppermost disc moves; it cannot rest on a smaller disc.
  4. Move all three discs to peg 3. A three-disc puzzle can be solved in seven moves.

A useful way to practice

Write down what is known and what is only assumed. Look for constraints that eliminate possibilities, then test a small next step. A wrong answer is useful information about the strategy you chose.

What your result means

This is a recreational logic activity. Results describe performance on this particular task, with this device and these rules. They are not a clinical assessment, IQ score or promise of improvements in daily life. Your best result and recent sessions stay in this browser; no account is required.

Is Tower of Hanoi free?

Yes. You can play the full activity without a payment, download or account.

Can I use a keyboard?

Use Tab to focus buttons and Enter or Space to activate them. Answer fields accept normal typing. The maze also supports arrow keys. Timed tests will differ between touch, mouse and keyboard input.

Why did my result change?

Practice, a different generated puzzle, distractions and input timing all affect results. Compare several sessions rather than drawing a conclusion from one attempt.