Move the whole tower to another peg, one disc at a time, never a larger disc on a smaller one — 127 moves if you never make a mistake.
No account, no email, no wait — the file downloads straight from this page.
The Tower of Hanoi is a puzzle with three rules and a surprisingly deep answer. A stack of discs sits on one of three pegs, largest at the bottom. The goal is to move the whole stack to another peg. You may move only one disc at a time, you may only take the top disc of a stack, and you may never put a larger disc on a smaller one. The French mathematician Édouard Lucas published the puzzle in 1883, together with a story about temple priests moving 64 golden discs; with that many discs the job would take 2^64 − 1 moves, far longer than any priest would live.
This set has seven discs, which is a good size for a desk: easy enough to solve in an afternoon, long enough that you have to think. The smallest possible number of moves for n discs is 2^n − 1, so seven discs take at least 127 moves. The pattern behind the solution is recursive. To move seven discs, first move the top six out of the way, then move the largest disc, then move the six back on top of it — and moving six discs works the same way with five. A handy shortcut for doing it by hand: on every odd-numbered move, move the smallest disc one peg along in the same direction each time; on every even move, make the only legal move that does not involve the smallest disc.
The discs range from 26 mm to 62 mm in 6 mm steps and are 8 mm thick, so the full tower is 56 mm tall. Each disc has a 10.4 mm hole that slides over the 9 mm pegs with 1.4 mm of play in diameter, enough for small hands and for discs that are not perfectly round after printing. The outer edges and both ends of the hole carry a 1.2 mm chamfer at 45 degrees. The chamfer at the bottom of the hole also clears the small fillet at the foot of each peg, so the lowest disc sits flat on the base. The base is 204 × 70 mm with rounded corners, and the pegs are 66 mm apart, so the largest disc on one peg never touches the second largest on the next.
Everything prints on one 204.0 × 186.0 mm plate: the base with its three pegs standing upright, and the seven discs lying flat in two rows in front of it. Nothing overhangs, so no supports are needed. The pegs are 62 mm tall above the base and 9 mm thick; they come out stiffer with three walls and a little slower outer-wall speed. If you can, print the discs in a rainbow of colours — the order of colours makes mistakes obvious and helps children check their moves.
The puzzle is a classic way to teach recursion, powers of two and planning ahead, but it also works as a quiet fidget on a desk. Start with three discs (seven moves), then four (fifteen), and add one disc at a time. The images on this page are computer renders of this STL: the starting tower, a position in the middle of a game, the print plate and a close-up of the discs. They are not photographs of a print.
26 to 62 mm in 6 mm steps, 8 mm thick, with chamfered edges and holes.
The minimum solution for seven discs is 2^7 − 1 = 127 moves; start with fewer discs to learn the pattern.
10.4 mm holes on 9 mm pegs leave 1.4 mm of play, so discs drop on easily.
The pegs are part of the base — nothing to glue and nothing to lose.
Base with upright pegs plus seven flat discs on a 204.0 × 186.0 mm plate.
This model is a fixed design. If you need your own name, text or dimensions on something, the LyraMaker generators build it in your browser for free — no account, no watermark and no limit on downloads.
127 moves for seven discs. In general n discs need 2^n − 1 moves: 7 for three discs, 15 for four, 31 for five, and so on.
Yes. On odd-numbered moves, move the smallest disc one peg along, always in the same direction. On even moves, make the only legal move that does not use the smallest disc. Repeat until the tower has moved.
No. The pegs stand straight up from the base and end in a short cone, and the discs lie flat.
The pegs are 62 mm tall above the base, so the seven 8 mm discs leave 6 mm of peg free. For an eighth disc you would need taller pegs and a wider spacing.
No. They are computer renders of this STL, showing the starting tower, a game in progress and the print plate.
An open desk stand that keeps every USB stick and memory card in one place — visible, reachable and impossible to lose.
A 100 mm architectural model of the Al-Aqsa compound that glows from the inside when you set a light beneath it.
A little figure hauling your phone on a mini cargo carrier — a desk stand people actually stop and ask about.