Facts··4 min read

9 Facts About Vending Machines You Probably Didn't Know

The first vending machine dispensed holy water. Japan has one machine for every 30 people. A quick tour of the strangest true facts in vending.

Short answer

The first known vending machine was built by Hero of Alexandria in the 1st century AD to dispense holy water, and today Japan operates roughly one vending machine for every 30 residents — the highest density in the world.

Key takeaways

  • Vending is nearly 2,000 years old.
  • Japan leads the world in machines per capita.
  • Beverages remain the single largest vending category.

The origin story

Hero of Alexandria described a coin-operated device that dispensed a measured amount of holy water when a coin dropped onto a lever. That is the oldest documented vending machine on record.

Commercial vending arrived in 1880s London with postcard machines, and the first US machines sold gum on New York City subway platforms in 1888.

Density, variety, and scale

Japan is the global outlier at roughly one machine per 30 people, selling everything from hot soup to fresh eggs and umbrellas.

In the US, cold beverages consistently make up the largest share of vending sales, followed by salty snacks and candy.

Vending machines are among the most reliable retail formats ever built: a well-maintained machine runs 24 hours a day, every day, with no staffing.

The modern era

Refrigerated smart coolers have pushed vending into fresh food — salads, wraps, protein boxes, and cold-pressed juice now sit alongside soda.

Energy-efficient LED lighting and modern compressors mean a current-generation cooler draws a fraction of the power of a 1990s machine.

Frequently asked

What was the first vending machine?
A holy-water dispenser described by Hero of Alexandria in the 1st century AD, activated by the weight of a dropped coin.
Which country has the most vending machines per person?
Japan, at roughly one machine for every 30 residents.