HOLY WATER HEIST: How Ancient Temples Built World’s First Vending Machine To Stop Worshippers Nicking The Sacred Stuff

A silver coin rests on a lever pan as flowing water pours from a valve mechanism tied to holy water dispensing in ancient temple Egypt.
Alex Hedger

Reading Time: 

Bizarre But True! The world’s first vending machine wasn’t designed to shift crisps or fizzy drinks, it was built to stop people stealing holy water from Ancient Egyptian temples…

And the bloke who invented it wasn’t even Egyptian – he was a Greek mathematician living under Roman rule who got fed up watching worshippers help themselves to more consecrated water than they’d paid for.

The Problem Was Simple: People Were Taking The Piss

Temple priests in 1st century CE Alexandria had a problem. Worshippers needed holy water for purification rituals before worship, but measuring out individual portions manually was tedious. Worse, people were taking more than their fair share.

Hero of Alexandria – a Greek engineer living in Roman Egypt, saw the friction and built a solution that wouldn’t need human supervision.

The device was brutally simple. You dropped a silver four-drachma coin into a slot. The coin landed on a pan attached to a lever, which opened a valve. Holy water flowed. When the coin’s weight caused it to slide off the pan, a counterweight snapped the lever back up and shut off the water.  Measured. Fair. And above all, automatic.

Hero Called It a “Sacrificial Vessel” – Revenue Was Secondary

Hero described the machine in his technical treatise Pneumatica as a “sacrificial vessel,” not a commercial device. The goal wasn’t profit. It was controlling sacred resources in a world where religious rituals demanded purification before worship.

But here’s the thing: the mechanism didn’t just solve a religious problem. It generated consistent revenue without requiring staff to stand there all day doling out water. Temples got paid. Worshippers got what they needed and nobody had to police the system.

Romans Nicked The Design And Used It to Serve Wine At Parties

The same coin-operated mechanism that dispensed holy water in temples also showed up at Roman parties across Egypt, but these machines poured wine for guests instead of sanctified water.

Some variants got even weirder. Certain automata could supposedly read tarot cards and tell horoscopes. Hero’s engineering wasn’t just practical, it was spectacle.

He also invented temple doors that opened “magically” when priests lit fires on altars. The heat powered a hydraulic system connected to metal water tanks, which triggered the doors to swing open during religious processions. When the fire went out, the doors closed again.

Then the Idea Vanished for 1,800 Years

Despite Hero’s innovation in the 1st century CE, coin-operated vending machines didn’t reappear until the 1880s, when postcard dispensers showed up in England. The first fully automatic vending machine – a stamp dispenser, wasn’t patented until 1867.

Nearly two millennia of forgotten ingenuity. The knowledge existed. The mechanics worked. But the idea disappeared into history until the industrial age rediscovered it.

Hero’s work is now recognised as some of the earliest formal research into cybernetics – the science of systems, control and communication in machines. He’s described as “the greatest experimentalist of antiquity.”


LATEST MAGAZINE STORIES

The Pixels Are Still Drying On These Latest Magazine Articles . . .

0