How to get free stuff from a vending machine

A vending machine is an invaluable, yet totally frustrating piece of equipment. It's a godsend whenever your tummy's growling or you need an ice-cold drink on a hot summer day. But when something gets stuck inside or the machine flat out malfunctions, it quickly becomes your archenemy. And when you're broke, it's basically just one big tease.

So I get why so many people are interesting in hacking soda and snack vending machines. While it could be considered stealing, hacking a vending machine feels more like retribution, punishing it for all those times it did you wrong. But how does one actually hack a vending machine?

There are many different brands and types of vending machines (coin-op, credit/debit card, contactless (RFID, NFC), etc.), so there's no Konami code that will work on all of them, and hitting or kicking it will only get you so far. You could use a drill and screw, but only if you want to get caught.

Below are some hacks that may work for you. Some look like legit ways to break into a Coke or candy machine, while others may be too good to be true. It's up to you to decide. (Report back with your success or fail stories.)

1. The Code for Free Nesquik Drinks

If you're by a coin-operated Nesquik vending machine, next time you need a cool, refreshing chocolate milk, try using this code for a free drink: 44455544455. The numbers correspond to the 4th and 5th drink option button. After inputting them, just select your drink. More info here. (Code 137137137 might also work on older models with keypads.)

2. The Take-Your-Cash-Back Trick

For the thief on the go, all you need is some paper money and packing tape. Just like the old coin-and-string trick (which has been shown time and time again not to work), you stick the tape at one end of the bill and insert it into the machine. Once the machine has registered the dollar amount, use the famous pull-out method and you've got yourself a free drink! And if you're feeling especially sinister, forget the drinks and snacks—once the machine has registered a dollar amount, hit the change button. More info here.

3. Get Free Change Out of Soda Machines

If it's the dough you're looking for and you're near an older soda machine (Coca-Cola, in this case), look no further. Press the code 432112311, then hold down the change lever until you hear the sweet clinkity-clink of coin raining down. This method is perfect for laundry day when you're short a couple quarters. More info here.

4. Set Your Own Price (e.g. $0) For Pepsi

You know those newer Pepsi machines with the really big buttons? You might be able to get a free drink by using this trick. This will enable you to set the price for the drink, and zero seems as good a price as any, right? More info here. (Code 42313214321 might also work on other machines.)

5. Trick Conveyor Belt Coke Machines

Pepsi aren't for everybody, so if you're a Coke fan and come across the conveyor belt machines, this one is for you. Insert money and choose your drink, then stick your hand in the machine and push against the door to confuse it. Once it gives you your money back, keep repeating this process until you have all the drinks you want. More info here.

How to get free stuff from a vending machine

Image via foldingwishes

6. Trick Older Snack & Soda Machines

Just like the in the Coke machine hack above, this one requires you to push up on the door (or gate) at the bottom to make it think it didn't dispense anything even though it really did. After a short wait, you can select another item or get a refund with the coin return mechanism. We tried this and it didn't work, so your mileage may very. More info here.

7. Trick Gumball Machines into Taking Pennies

While originally inspired for vending gumball machines in the UK, this one can potentially work anywhere, but you'll also need a bit of luck (and probably an older vending machine). The concept is simple, take a small coin, then wrap layers of foil over it to make it seem like a bigger and more valuable coin. More info here. (It can also work with electrical tape, as seen below.)

8. Use Fake Paper Coins

Much like the tinfoil/tape process, you can trick a candy machine with a paper or cardboard coin, but realistically, you'll need a fairly old vending machine for this to have a shot (if even then... we're a little suspicious). You can also try this with parking meters as well, but again, most coin mechanisms are too smart for this, but you never know. More info here.

9. Have Some Pure Luck

Some older vending machines have a glitch (which is probably well fixed by now) that will return a ripped dollar bill to you while still giving you credit for it. If only this could work with a cut credit card and a store card reader. :/

Did Any of Them Work for You?

While some of these could really work with the right machine, we have our doubts about others. What about you... which ones are real and fake? If you tried any, let us know if you succeeded or not in the comments below (don't forget... if there's no video, then it didn't happen).

Want to master Microsoft Excel and take your work-from-home job prospects to the next level? Jump-start your career with our Premium A-to-Z Microsoft Excel Training Bundle from the new Gadget Hacks Shop and get lifetime access to more than 40 hours of Basic to Advanced instruction on functions, formula, tools, and more.

Buy Now (97% off) >

Other worthwhile deals to check out:

  • 97% off The Ultimate 2021 White Hat Hacker Certification Bundle
  • 98% off The 2021 Accounting Mastery Bootcamp Bundle
  • 99% off The 2021 All-in-One Data Scientist Mega Bundle
  • 59% off XSplit VCam: Lifetime Subscription (Windows)
  • 98% off The 2021 Premium Learn To Code Certification Bundle
  • 62% off MindMaster Mind Mapping Software: Perpetual License
  • 41% off NetSpot Home Wi-Fi Analyzer: Lifetime Upgrades
Cover image via Lissandra Melo/Shutterstock

What is the code for vending machines?

NAICS Code: 454210 Vending Machine Operators | NAICS Association.

How do you get stuff out of a vending machine?

There is an easy way to try to dislodge something stuck in a vending machine that does not involve moving, shaking, punching, kicking, or yelling at the machine. Simply push up the flap where you would normally collect your snack. Then, let the flap snap back down.

Can a vending machine be free?

Vending.com provides you with free, high-quality vending machines stocked with your choice of drinks, snacks or food! Our Operators will stock and service the machines as needed, and you could even earn a commission off your vending machine sales. You get a vending machine at zero cost to you. Yep, zero!