Ages Without Apps
Watch: First Vending Machine: Hero's Coin Operated Holy Water

Short · October 5, 2026

First Vending Machine: Hero's Coin Operated Holy Water

The first vending machine we know of took a coin and gave out holy water. Hero of Alexandria, a Greek engineer in Roman Egypt, described it in the first century AD in his book the Pneumatics (Book I, chapter 21).

Key facts about first vending machine

  • A five drachma coin dropped through a slot onto a small plate at one end of a lever.
  • Its weight tipped the lever and lifted a lid at the other end, so water ran out of a pipe.
  • When the coin slid off, the lid dropped back and the water stopped.
  • No power, just weight and balance.

A note on the evidence

  • Hero calls it a "sacrificial vessel which flows only when money is introduced"; a modern translation renders it "holy water will flow out", water for sprinkling in sacred rites. Hero says his book collects earlier inventions as well as his own, so he may not have invented it, but his is the oldest surviving description.

Sources for first vending machine

  1. Hero of Alexandria, Pneumatics I.21, trans. J. G. Greenwood, ed. Bennet Woodcroft (London, 1851), "Sacrificial Vessel which flows only when Money is introduced"
  2. Encyclopaedia Britannica, "Heron of Alexandria" (flourished c. AD 62; Pneumatica describes coin operated machines)
  3. Tatiana Bur, "Mechanical Miracles: Automata in Ancient Greek Religion" (MPhil thesis, University of Sydney, 2016), section T8.a "A coin donation releases sacred water" (new translation: "When a five drachma coin is inserted into a certain sacrificial vessel, holy water will flow out")

Images: the engraving of the coin vessel is figure 21 of Woodcroft's 1851 English edition. The manuscript page is a Byzantine copy of the Pneumatics from the early 1300s (Venice, Biblioteca Marciana, Gr. 516). The printed pages are the Latin (1575) and Italian (1592) editions. The coin is a tetradrachm minted in Alexandria under Nero (AD 54-68), Hero's time; it is not the five drachma coin Hero mentions. The step by step diagrams are our own simplified drawings after Hero's figure.

Questions people ask

What are the key facts about first vending machine?

A five drachma coin dropped through a slot onto a small plate at one end of a lever. Its weight tipped the lever and lifted a lid at the other end, so water ran out of a pipe. When the coin slid off, the lid dropped back and the water stopped. No power, just weight and balance.

Is any of this disputed or uncertain?

Hero calls it a "sacrificial vessel which flows only when money is introduced"; a modern translation renders it "holy water will flow out", water for sprinkling in sacred rites. Hero says his book collects earlier inventions as well as his own, so he may not have invented it, but his is the oldest surviving description.

Where can I check the sources?

This page lists 3 sources, including: Hero of Alexandria, Pneumatics I.21, trans. J. G. Greenwood, ed. Bennet Woodcroft; Encyclopaedia Britannica, "Heron of Alexandria"; Tatiana Bur, "Mechanical Miracles: Automata in Ancient Greek Religion".

Where can I watch the video?

The Short is on the Ages Without Apps YouTube channel, and you can watch it on this page.

Enjoyed this story?

Subscribe for the next one.

Related stories and watch next

The full library lives on YouTube. Pick the next story and subscribe so you never miss one.