This article needs additional citations for verification. (April 2009) (Learn how and when to remove this template message)
A vending machine is an automated machine that provides items such as snacks, beverages, cigarettes and lottery tickets to consumers after cash, a credit card, or a specially designed card is inserted into the machine. The first modern vending machines were developed in England in the early 1880s and dispensed postcards. Vending machines exist in many countries, and in more recent times, specialized vending machines that provide less common products compared to traditional vending machine items have been created.
The earliest known reference to a vending machine is in the work of Hero of Alexandria, an engineer and mathematician in first-century Roman Egypt. His machine accepted a coin and then dispensed holy water. When the coin was deposited, it fell upon a pan attached to a lever. The lever opened a valve which let some water flow out. The pan continued to tilt with the weight of the coin until it fell off, at which point a counterweight snapped the lever up and turned off the valve.
Coin-operated machines that dispensed tobacco were being operated as early as 1615 in the taverns of England. The machines were portable and made of brass. An English bookseller, Richard Carlile, devised a newspaper dispensing machine for the dissemination of banned works in 1822. Simeon Denham was awarded British Patent no. 706 for his stamp dispensing machine in 1867, the first fully automatic vending machine.
Modern vending machines
The first modern coin-operated vending machines were introduced in London, England in the early 1880s, dispensing postcards. The machine was invented by Percival Everitt in 1883 and soon became a widespread feature at railway stations and post offices, dispensing envelopes, postcards, and notepaper. The Sweetmeat Automatic Delivery Company was founded in 1887 in England as the first company to deal primarily with the installation and maintenance of vending machines. In 1893, Stollwerck, a German chocolate manufacturer, was selling its chocolate in 15,000 vending machines. It set up separate companies in various territories to manufacture vending machines to sell not just chocolate, but cigarettes, matches, chewing gum and soap products.
The first vending machine in the U.S. was built in 1888 by the Thomas Adams Gum Company, selling gum on New York City train platforms. The idea of adding games to these machines as a further incentive to buy came in 1897 when the Pulver Manufacturing Company added small figures, which would move around whenever somebody bought some gum from their machines. This idea spawned a whole new type of mechanical device known as the "trade stimulators".
Internal communication in vending machines is typically based on the MDB standard, supported by National Automatic Merchandising Association (NAMA) and European Vending & Coffee Service Association (EVA).
After payment has been tendered, a product may become available by:
- the machine releasing it, so that it falls in an open compartment at the bottom, or into a cup, either released first, or put in by the customer, or
- the unlocking of a door, drawer, or turning of a knob.
Some products need to be prepared to become available. For example, tickets are printed or magnetized on the spot, and coffee is freshly concocted. One of the most common form of vending machine, the snack machine, often uses a metal coil which when ordered rotates to release the product.
The main example of a vending machine giving access to all merchandise after paying for one item is a newspaper vending machine (also called vending box) found mainly in the U.S. and Canada. It contains a pile of identical newspapers. After a sale the door automatically returns to a locked position. A customer could open the box and take all of the newspapers or, for the benefit of other customers, leave all of the newspapers outside of the box, slowly return the door to an unlatched position, or block the door from fully closing, each of which are frequently discouraged, sometimes by a security clamp. The success of such machines is predicated on the assumption that the customer will be honest (hence the nickname "honor box"), and need only one copy.
An entirely mechanical coin operated vending machine at a hotel
Filling and servicing a vending machine
Common vending machines
A change machine is a vending machine that accepts large denominations of currency and returns an equal amount of currency in smaller bills or coins. Typically these machines are used to provide coins in exchange for paper currency, in which case they are also often known as bill changers.
In the past, cigarettes were commonly sold in the United States through these machines, but this is increasingly rare due to concerns about underage buyers. Sometimes a pass has to be inserted in the machine to prove one's age before a purchase can be made. In the United Kingdom, legislation banning them outright came into effect on 1 October 2011. In Germany, Austria, Italy, Czech Republic and Japan, cigarette machines are still common.
Since 2007, however, age verification has been mandatory in Germany and Italy - buyers must be 18 or over. The various machines installed in pubs and cafés, other publicly accessible buildings and on the street accept one or more of the following as proof of age: the buyer's identity card, bank debit card (smart card) or European Union driver's license. In Japan, age verification has been mandatory since 1 July 2008 via the Taspo card, issued only to persons aged 20 or over. The Taspo card uses RFID, stores monetary value, and is contactless.
Birth control and condom vending machines
A birth control machine is a vending machine for the sale of birth control, such as condoms or emergency contraception. Condom machines are often placed in public toilets, subway stations, airports or schools as a public health measure to promote safe sex. Many pharmacies also keep one outside, for after-hours access. Rare examples exist that dispense female condoms or the morning after pill.
Food and snack vending machines
Various types of food and snack vending machines exist in the world. Food vending machines that provide shelf-stable foods such as chips, cookies, cakes and other such snacks are common. Some food vending machines are refrigerated or frozen, such as for chilled soft drinks and ice cream treats, and some machines provide hot food.
Bulk candy and gumball vending
The profit margins in the bulk candy business can be quite high – gumballs, for instance, can be purchased in bulk for around 2 cents per piece and sold for 25 cents in gumball machines in the U.S., and other countries. Gumballs and candy have a relatively long shelf life, enabling vending machine operators to manage many machines without too much time or cost involved. In addition, the machines are typically inexpensive compared to soft drink or snack machines, which often require power and sometimes refrigeration to work. Many operators donate a percentage of the profits to charity so that locations will allow them to place the machines for free.
Bulk vending may be a more practical choice than soft drink/snack vending for an individual who also works a full-time job, since the restaurants, retail stores, and other locations suitable for bulk vending may be more likely to be open during the evening and on weekends than venues such as offices that host soft drink and snack machines.
The Bulk vending machines of today provide many different vending choices with the use of adjustable gumball and candy wheels. Adjustable gumball wheels allow an operator to not only offer the traditional 1-inch gumball, but they can also vend larger gumballs, and non-edible items such as toy capsules and bouncy balls. Adjustable candy wheels allow an operator to offer a variety of pressed candies, jelly candy, and even nuts.
A full-line vending company may set up several types of vending machines that sell a wide range of products. Products may include candy, cookies, chips, fresh fruit, milk, cold food, coffee and other hot drinks, bottles and cans of soda and other drinks, and even frozen products like ice cream. These products can be sold from machines that include hot coffee, snack, cold food, and 20 US fluid ounces (590 ml) bottle machines. In the United States, almost all machines accept bills with more and more machines accepting $5 bills, along payment from traditional debit and credit cards, or a mobile payment system. This is an advantage to the vendor because it virtually eliminates the need for a bill changer. Larger corporations with cafeterias will often request full line vending to supplement their food service.
Newspaper vending machine
A newspaper vending machine or newspaper rack is a vending machine designed to distribute newspapers. Newspaper vending machines are used worldwide, and they can be one of the main distribution methods for newspaper publishers. According to the Newspaper Association of America, in recent times in the United States, circulation via newspaper vending machines has dropped significantly: in 1996, around 46% of single-sale newspapers were sold in newspaper boxes, and in 2014, only 20% of newspapers were sold in the boxes.
A photo booth is a vending machine or modern kiosk that contains an automated, usually coin-operated, camera and film processor. Today, the vast majority of photo booths are digital. Traditionally, photo booths contain a seat or bench designed to seat the one or two patrons being photographed. The seat is typically surrounded by a curtain of some sort to allow for some privacy and help avoid outside interference during the photo session. Once the payment is made, the photo booth will take a series of photographs and the customer is then provided with prints. Older photo booth vending machines used film and involved the process of developing the film using liquid chemicals.
Stamp vending machine
A stamp vending machine is a mechanical, electrical or electro-mechanical device which can be used to automatically vend postage stamps to users in exchange for a pre-determined amount of money, normally in coin.
A ticket machine is a vending machine that produces tickets. For instance, ticket machines dispense train tickets at railway stations, transit tickets at metro stations and tram tickets at some tram stops and in some trams. The typical transaction consists of a user using the display interface to select the type and quantity of tickets and then choosing a payment method of either cash, credit/debit card or smartcard. The ticket or tickets are then printed and dispensed to the user.
Specialized vending machines
From 2000-2010, the specialization of vending machines became more common. Vending extended increasingly into non-traditional areas like electronics, or even artwork or short stories. Machines of this new category are generally called Automated retail kiosks. When using an automated retail machine, consumers select products, sometimes using a touchscreen interface, pay for purchases using a credit or debit card and then the product is dispensed, sometimes via an internal robotic arm in the machine. The trend of specialization and proliferation of vending machines is perhaps most apparent in Japan where vending machines sell products from toilet paper to hot meals and pornography, and there is 1 vending machine per 23 people.
Automobile vending machine
Bait vending machine
Book vending machine
Book vending machines dispense books, which may be full-sized. Some libraries use book vending machines. GoLibrary is a book lending vending machine used by libraries in Sweden and the U.S. state of California.
French fry vending machine
A French fry vending machine is a vending machine that dispenses hot French fries, also known as chips. The first known french fry vending machine was developed circa 1982 by the defunct Precision Fry Foods Pty Ltd. in Australia. A few companies have developed and manufactured French fry vending machines and prototypes. Furthermore, a prototype machine was also developed at Wageningen University in the Netherlands.
Pizza vending machine
Let's Pizza is the name of a vending machine that makes fresh pizza from scratch. It was developed in 2009 by Italian company Sitos srl. The machine combines water, flour, tomato sauce, and fresh ingredients to make a pizza in approximately three minutes. It includes windows so customers can watch the pizza as it is made. The pizza is cooked in an infrared oven. The device was invented by Claudio Torghele, an entrepreneur in Rovereto, Italy. The vending machine began in Italy and is now spreading into the United Kingdom and becoming popular there.
From the 1950s until the 1970s, vending machines were used at American airports to sell life insurance policies covering death, in the event that the buyer's flight crashed. However, this practice gradually disappeared due to the tendency of American courts to strictly construe such policies against their sellers, such as the Fidelity and Casualty Company of New York (which later became part of CNA Financial).
Marijuana vending machine
A marijuana vending machine originally found a niche market as a vending machine for selling or dispensing cannabis. Recently, thanks to changes in legislations across Europe and the UK, the United States and Canada and other countries around the world, marijuana vending machines (also known as cannabis vending machines) today are widely diffused, and sell a wide range of cannabis, hemp and CBD-related products that starts with the THC-based cannabis flowers in countries where the legislation allows cannabis consumption, or CBD-only, legal cannabis all across the global market, and includes marijuana, hemp and CBD based products that includes, among others, hemp and CBD oils, tinctures and infusions, hemp-based food products, cannabis edibles, CBD cosmetics, hemp beers, sodas and teas, smoke paraphernalia and more.  The first experiments in distributing marijuana through vending machines started in the early 2010s, when they were already in use in the United States and Canada. The primary challenge faced in selling restricted or controlled merchandise like cannabis is to verify the identity of the user in front of the vending machine making the purchase, which is overcome by the application of biometrics and smart vending software technology, the same technology used to verify the buyer's age in the automatic sales of tobacco.
The Mold-A-Rama is a brand name for a type of vending machine that makes blow-molded plastic figurines. Mold-A-Rama machines debuted in late 1962  and grew in prominence at the 1964 New York World's Fair. The machines can still be found operating in dozens of museums and zoos.
Fresh-squeezed orange juice
The fresh-squeezed orange juice contains fresh oranges and a mechanism to cut and squeeze them on order to produce fresh juice.
Prize vending machine
This type of machine sells a container that may contain a prize. Some such machines advertise the possible prizes that may be won. Examples include smart phones, holiday packages, and toys.
Social-networked vending machine
With the rise of the social networks, vending machine has been integrated to social media in order to proliferate the interaction of the vending machine with the users from the physical machine to the social networks. The common application of social-networked vending machine is that the user can connect his/her social account to a specific social media designated by the vending machine, the user will be getting some rewards in return, normally in the form of free gift dispensed from the vending machine.
Popularity in Japan
Regarding the development of advanced technology, Japanese vending machines provide more services by selling different kinds of products. Food, smartphones, SIM cards and even underpants can be found in these machines. Apart from the most popular drink vending machines, Japanese vending machines also offer certain products depending on the demand and need for different locations. For example, products like sanitary napkins and tampons can be found in vending machines in female restrooms, while machines selling condoms are usually located in male restrooms. 
There are a number of reasons which can explain why local vending machines can win their high popularity throughout the country. Convenience, low cost of running, security stability seems to be the main reasons for Japanese to investigate in the field of vending machines. 
A patent for an "automatic goods vending machine" was filed in 1888 in Japan; early surviving vending machines from around the 1900s include one that dispenses stamps and postcards, and one that dispenses sake. Confectionery vending machine became widespread in the 1920s, and juice vending machines became popular in the late 1950s and 1960s. By 2000, the number of vending machines in Japan have grown to 5.6 million. However, after the 2000s, as the world is moving to a more digital age, the number of vending machines in Japan has decreased to 5.03 million and the sales amount has also been decreasing gradually.
Smart vending machines
Similar to the development of traditional mobile phones into smartphones, vending machines have also progressively, though at a much slower pace, evolved into smart vending machines. Newer technologies at a lower cost of adoption, such as the large digital touch display, internet connectivity, cameras and various types of sensors, more cost-effective embedded computing power, digital signage, various advanced payment systems, and a wide range of identification technology (NFC, RFID, etc) have contributed to this development. These smart vending machines enable a more interactive user experience, and reduce operating costs while improving the efficiency of the vending operations through remote manageability and intelligent back-end analytic. Integrated sensors and cameras also represent a source of such data as customer demographics, purchase trends, and other locality-specific information. It also enables better customer-engagement for the brands through interactive multimedia and social media connectivity. Smart vending machines were #79 by JWT Intelligence on its list of 100 Things to Watch in 2014. According to market research by Frost & Sullivan, global shipments of smart vending machines are forecasted to reach around 2 million units by 2018, and further to 3.6 million units by 2020 with penetration rate of 20.3 percent.
- Automat – a fast food restaurant where simple foods and drink are served by vending machines
- Arcade game
- Automated charging machine
- Automated retail
- Coffee vending machine
- Eu'Vend – a vending industry trade show
- Fortune teller machine
- Freedom Toaster
- Gold to Go
- Gumball machine
- Interactive kiosk
- Kiddie ride
- Love tester machine
- Parking meter
- Reverse vending machine
- Slot machine
- Slug (coin)
- Stamp vending machines in the United Kingdom
- Strength tester machine
- Telephone booth
- Ticket machine
- Tower viewer
- Types of retail outlets
- Vend counter
- Vending Times – a trade magazine focusing on the U.S. vending industry
- Water cooler
- Hui, Mary (3 January 2018). "Vending machine for homeless just launched in U.K., to debut in U.S. cities". Chicago Tribune. Retrieved 31 May 2018.
- Jaffe, Eric (December 2006). "Old World, High Tech" (World's First Vending Machine, scroll down to read". Smithsonian.com. Retrieved 4 April 2017.
- "Automatic Vending Machines". Highbeam Business. Archived from the original on 12 February 2010.
- Kerry Segrave (12 July 2002), Vending Machines: An American Social History, McFarland, ISBN 978-0-7864-8159-0
- "What's "Tei-Park"?". Archived from the original on 29 June 2013. Retrieved 5 June 2017.
- Chandler, Alfred (2004). Scale and scope: the dynamics of industrial capitalism (1. paperback ed., 7. print. ed.). Cambridge, Massachusetts: Belknap Press. pp. 398–402. ISBN 978-0-674-78995-1.
- National Automatic Merchandising Association. "History of Vending and Coffee Services". Retrieved 27 October 2016.
- "Cigarette vending machines banned in England". BBC. Retrieved 16 May 2014.
- "First Female Condom Machine Is Launched in France". Retrieved 25 March 2007.
- Holcombe, Madeline (21 April 2017). "A vending machine at the UC Davis campus dispenses Plan B pills". CNN.com. Retrieved 6 June 2017.
- "The "Difference Between a Candy Machine and Gumball Machine". Retrieved 13 July 2018.
- Billboard (in German). Nielsen Business Media, Inc. 5 January 1946. p. 77. Retrieved 6 June 2017.
- Official Gazette of the United States Patent Office. The Office. 1910. p. 453. Retrieved 6 June 2017.
- Billboard. Nielsen Business Media, Inc. 15 December 1958. p. 104. Retrieved 6 June 2017.
- AM, Max Kutner On 12/20/15 at 10:32 (20 December 2015). "As print journalism declines, fate of sidewalk newspaper boxes is unclear". Newsweek. Retrieved 6 June 2017.
- Saunders, R.H. (2016). American Faces: A Cultural History of Portraiture and Identity. UPCC book collections on Project MUSE. University Press of New England. p. 48. ISBN 978-1-61168-893-1. Retrieved 5 June 2017.
- DPICT: The New Magazine of Camera Culture. CC Pub. Limited. 2000. p. 4. Retrieved 5 June 2017.
- Billboard (in German). Nielsen Business Media, Inc. 15 December 1958. p. 107. Retrieved 6 June 2017.
- Faulkner, X.; Finlay, J.; Detienne, F. (2012). People and Computers XVI - Memorable Yet Invisible: Proceedings of HCI 2002. Springer London. p. 293. ISBN 978-1-4471-0105-5. Retrieved 6 June 2017.
- Publishing, DK (2013). DK Eyewitness Travel Guide: Switzerland. DK Publishing. p. 308. ISBN 978-1-4654-1359-8. Retrieved 6 June 2017.
- "Le collectif européen d'artistes mixed-médias UCD – Un certain détachement propose des multiples d'art au travers de distributeurs automatiques" (in French). UCD. Retrieved 16 May 2014.
- Bock, Pauline (January 2016). "How a City in France Got the World's First Short-Story Vending Machines". The New Yorker. Retrieved 22 January 2016.
- Johnson, Bary Alyssa (24 October 2005). "Zoom Systems Offers iPod Vending Machines". PC Magazine. Retrieved 6 June 2017.
- "Vending machines". Japan-guide.com. Retrieved June 2011.
- "Carvana opens used car vending machine in Atlanta". FoxNews.com. Retrieved 29 April 2014.
- "This 150-foot-tall 'vending machine' will serve you a Ferrari". CNN. 16 May 2017.
- "Fishing bait vending machine in Texas is among most convenient things found at San Leon gas station". Houston Chronicle. 31 May 2017. Retrieved 6 June 2017.
- DeAgelis, Martin (9 November 2015). "Odd hours, bait vending machines: How to please striper anglers". Press of Atlantic City. Retrieved 6 June 2017.
- Segrave, K. (2002). Vending Machines: An American Social History. McFarland, Incorporated, Publishers. p. 262. ISBN 978-0-7864-8159-0. Retrieved 6 June 2017.
- Office, Canada. Patent (1938). The Canadian Patent Office Record and Register of Copyrights and Trade Marks. Patent Office. p. 2025. Retrieved 6 June 2017.
- Nicholson, K. (2017). Innovation in Public Libraries: Learning from International Library Practice. Elsevier Science. pp. 120–121. ISBN 978-0-08-101296-3. Retrieved 6 June 2017.
- In California, a New ATM for Books Debuts. Lynn Blumenstein. Library Journal. 26 February 2008. Retrieved 7 May 2011.
- The California State Library GoLibrary Project uses automated materials vending to aid underserved populations in new ways Archived 18 April 2011 at the Wayback Machine. Susan Kantor-Horning. Library Journal. 15 August 2009. Retrieved 7 May 2011.
- Cushing, Belle (14 November 2013). "This French Fry Vending Machine Is Poised for Global Domination". Grub Street. Retrieved 29 October 2015.
- Fuhrmeister, Chris (3 September 2015). "Finally, a Vending Machine That Dispenses Hot French Fries". Eater. Retrieved 29 October 2015.
- Taylor, Kate (4 September 2015). "There's Now a Vending Machine That Dispenses Hot French Fries". Entrepreneur. Retrieved 29 October 2015.
- Grindlay, Danielle (29 January 2015). "Hot chip vending machine invented in SA 32 years ago". ABC Rural. Retrieved 29 October 2015.
- Harris, Jenn (4 April 2014). "This pizza vending machine bakes fresh, not frozen pies, in less than 3 minutes". latimes.com. Retrieved 6 June 2017.
- Tagliabue, John (14 March 2009). "In Italy, a Vending Machine Even Makes the Pizza". The New York Times. Retrieved 6 June 2017.
- Powell, W. Andrew. "The one and only pizza-making vending machine". TheGATE.ca. Retrieved 5 March 2014.
- Tagliabue, John (13 March 2009). "In Italy, a Vending Machine Even Makes the Pizza". The New York Times. Retrieved 11 July 2011.
- "Home". Let's Pizza. Retrieved 1 March 2013.
- ABA Journal. American Bar Association. p. 472. Retrieved 6 June 2017.
- Steven v. Fidelity & Casualty Co. (1962) 58 C2d 862
- "Seattle gets a marijuana vending machine". USA TODAY. 4 February 2015. Retrieved 5 June 2017.
- "Seattle gets a marijuana vending machine". USA Today. 4 February 2015. Retrieved 5 June 2017.
- McElroy, Justin (27 April 2016). "Vancouver dispensary, home to Canada's first marijuana vending machine, vows to stay open". Global News. Retrieved 5 June 2017.
- "Marijuana easily 'dispensed' in Vancouver, fifth estate finds". CBC News. 2 February 2015. Retrieved 5 June 2017.
- "American Green Integrates World Class Biometrics in the American Green Machine". Retrieved 27 June 2017.
- Rossman, Martin (29 October 1962). "Machine Molds Items While Customer Waits". Los Angeles Times. p. B8.
- "Keilson Puts in Molding Units". Billboard. 4 May 1963. p. 53.
- "Mold-Rama Draws 'Em". Billboard. 12 December 1964. p. 43.
- Benderoff, Eric (4 September 2006). "Old Technology Proves a Modern-Day Classic". Chicago Tribune. Retrieved 20 August 2016.
- Johnson, Steve (17 August 2016). "Smelly, Plastic and Nostalgic, Mold-A-Rama Celebrates 50th Birthday at Brookfield Zoo". Chicago Tribune. Retrieved 18 August 2016.
- "Japan's lonely vending machines". 27 October 2017. Retrieved 13 July 2018.
- "Hi-Tech Vending Machines in Japan Pose Constant Challenge". adage.com. Retrieved 4 March 2019.
- "自動販賣機", 维基百科，自由的百科全书 (in Chinese), 27 August 2018, retrieved 4 March 2019
- "日本的自动贩卖机为什么无处不在？ -留园新闻速递 NEWS". www.toutiaoabc.com. Retrieved 4 March 2019.
- Yoshihiro Higuchi. "History of the Development of Beverage Vending Machine Technology in Japan" (PDF). Center of the History of Japanese Industrial Technology.
- "日本那些神奇的自动贩卖机！". 知乎专栏 (in Chinese). Retrieved 4 March 2019.
- "Silkron - Smart Vending Machine Design Reference". www.silkron.com. Retrieved 3 July 2017.
- "100 Things to Watch in 2014". JWT Intelligence. 26 December 2013. Retrieved 1 July 2017.
- ltd, Research and Markets. "Connected Vending Machines – 2nd Edition - Research and Markets". www.researchandmarkets.com. Retrieved 1 July 2017.
- Krug, Bryon. (2003). Vending Business-in-a-Box. BooksOnStuff.