Bob wants a soda/candy bar/whatever from a vending machine. He puts the dollar into the machine, it ejects the bill. He puts it back in, the machine ejects it again. Bob takes the bill out, smooths out the wrinkles, puts it back in. The machine makes a "Ka-ching!" noise, Bob is thrilled.

[[BaitAndSwitch The machine ejects the bill again.]]

Eventually, Bob is ironing out the dollar on an ironing board he just pulled out of {{Hammerspace}} trying to get the machine to accept it.

And it ''still'' won't.

Maybe he'll try to use coins instead. They end up in the coin return.

Commonly PlayedForLaughs.

Compare VengefulVendingMachine.

TruthInTelevision, since vending machines do tend to be quite touchy at times.



* A famous Pepsi ad from the 1990s is possibly the TropeCodifier.

[[folder:Anime and Manga]]
* In ''LightNovel/ACertainMagicalIndex'', there is a vending machine that eats people's money without dispensing its drinks. Mikoto Misaka says it's because the machine is old. She gets drinks from it by hitting or [[ShockAndAwe shocking]] it, but she's often forced to run afterwards because taking something from a vending machine without paying is illegal.

* A RunningGag in ComicBook/{{Luke Cage}}'s own comic was the soda machine in his old office (an old model that gave you a Styrofoam cup of soda) that tormented him. He was actually lucky if it ''just'' didn't give him the soda. One time it dispensed the soda before dispensing the cup, another time, the cup was upside down. Once it somehow gave him a cup of chicken soup. ('''[[CatchPhrase "Christmas!"]]''' shouted Cage.) One time it gave up and ''did'' give him the soda, ''after'' he had already given up and left! The machine was eventually destroyed when a villain bombed the whole office, but it's curse remained, as Cage tended to have bad luck with crazy vending machines since then.

[[folder:Films -- Animation]]
* Done in ''Disney/ChickenLittle'' when [[PunnyName Runt of the Litter]] tries to get a soda. A particularly cruel example, since the characters' ''lives'' actually depend on the acquisition of said soda. When the machine won't take his dollar, Runt goes into a ferocious rage, thrashing and pounding the machine, much to the astonishment of the others. The machine reluctantly spits a single soda bottle out.
-->'''Runt''': What happened? I blacked out there for a second.

[[folder:Films -- Live-Action]]
* In ''Film/SilentMovie'', there's a Coca-Cola machine that has multiple dispensers, and fires the Coke can at high speed out of whichever dispenser you aren't watching.
* In Music/TheMonkees' ''Film/{{Head}}'', Micky is staggering through a desert, nearly delirious - he finds a Coke machine out there, drops in a coin...and nothing comes out. As he pounds on it screaming maniacally, the Coke jingle plays merrily on the soundtrack.
* Used in the short ''Blair Witch'' parody by Toxic Bag, ''The Bag Witch Project'', in which some gamers hopelessly lost in the hallways of a convention center search in vain for [=GenCon=]. They keep moving in circles and winding up at the same vending machine, which invokes this trope every time they return.

[[folder:Live-Action TV]]
* ''Radio/OurMissBrooks'': In "The Weighing Machine", the eponymous machine takes a penny from Miss Brooks but doesn't give her weight. Egged on by her friends, Miss Brooks spends the rest of the episode trying to get the penny returned on principle.
* In one episode of ''[[Series/TerminatorTheSarahConnorChronicles Terminator: The Sarah Connor Chronicles]]'', John is trying to buy a snack out of a vending machine and the device fails to push the chip bag far enough forward for it to fall out of its holder. Annoyed, John tries tapping on the glass to see if he can jar the chips loose. [[KillerRobot Cameron]] promptly steps up to tap the glass ''once'', and the chips are quickly dislodged, [[SuperStrength along with about a dozen other snacks]]. [[spoiler: Except that this never ''actually'' happened, [[ItMakesSenseinContext being]] [[AllJustADream all just a dream]]]].
* A vaguely similar joke occurs on ''Dave's World''. In the episode "Cyberspace", a program is described for an evil ATM which, after the customer inserts the card and enters the PIN, gives out nothing, not even the card back.
** Sadly TruthInTelevision. [[ Sometimes]], an ATM (generally a remote one) will be [[ParanoiaFuel sabotaged by a third party for fraud purposes, with pretty much the results given above.]]
* In the ''Series/{{Scrubs}}'' episode "My Best Friend's Baby's Baby and My Baby's Baby", PanickyExpectantFather Turk is given one job: Get ice chips. When the ice machine won't co-operate, he gets his hand jammed in it. In an earlier episode, a similar incident happens when the hospital vending machine cheats him out of some Rolos.
* In the ''Series/{{Frasier}}'' episode "Rooms With a View", when the Cranes are waiting for Niles to have surgery, Martin tries to get a candy bar from a hospital vending machine. When it jams, an increasingly tense Daphne throws a chair at it.
* In ''Series/RedDwarf'' episode "Only the Good", we get a vending machine with artificial intelligence that gets angry when Rimmer uses a coin-on-a-string to get a free chocolate bar. Rimmer is unimpressed with its threats of terrible vengeance, only to get clonked on the back of the head by a flying soda can at the end of the episode.
* On ''Series/DiagnosisMurder'', this happened to Dr. Mark Sloan, and in a bit of an IdiotBall moment he tried reaching into the machine to get the stuck snack and ended up breaking a finger.

[[folder:Video Games]]
* One of the most outrageous puzzles in ''VideoGame/{{Stationfall}}'' involves getting your purchase out of a vending machine when it becomes stuck. [[spoiler: It involves an ostrich.]]
* In ''VideoGame/ZorkGrandInquisitor'', part of a puzzle involves getting out a piece of candy stuck inside a vending machine.

[[folder:Western Animation]]
* Done in the ''WesternAnimation/PhineasAndFerb'' episode "Ain't No Kiddie Ride" with a kiddie ride.
* The whole plot of the ''WesternAnimation/VeggieTales'' short "Lunch: An Animated Parable" is about one of these.
* ''WesternAnimation/SpongeBobSquarePants'':
** In the episode "Wet Painters", this happens to Patrick when he was trying to put a dollar in a vending machine, which is what [=SpongeBob=] is telling him ''not'' to do.
** In "Rock Bottom", [=SpongeBob=] tries to get a candy from the machine across the street from the bus stop, but every time he tries he misses the bus. He finally comes through, but as he reaches for the candy bar inside the bus pulls up, going back and forth as [=SpongeBob=] sticks his arm in and out, even revving up as he touches the candy bar. Finally, he makes a dash for it and the bus rides off without him. To top it off, someone comes and takes the candy bar, and as [=SpongeBob=] crosses the street to catch him, three busses in succession go by.
* A background gag on ''{{WesternAnimation/Futurama}}'' features a vending machine for "Refreshing Crack". The vial gets stuck, leading the user to beg the machine not to hold out on him.
* Done more often than it is possible to count on ''WesternAnimation/TheSimpsons''. In one notable case, Homer is trying to buy a soda with a stolen $1 trillion bill.
* Taken to the extreme in the ''WesternAnimation/Sealab2021'' episode "All That Jazz", where Murphy is trapped under an Evil Vending Machine for ''months''.
* WesternAnimation/BeavisAndButtHead try to buy pork rinds from a machine that doesn't drop the goods - they figure if they try it again they'll get two for the price of one (?!?). While Beavis guards the machine, Butt-Head cadges a dollar from an old woman and goes to get change at the convenience store. When he spots a bunch of old nachos that are going to get thrown out, he buys them all and heads home, forgetting all about Beavis.
* This happens in the ''WesternAnimation/HarveyBirdmanAttorneyAtLaw'' episode "Gone Efficien...t".
* ''WesternAnimation/FamilyGuy'' did this when Peter tried to buy a pair of used women's underwear from a vending machine. The machine mocks his use of a crinkled dollar in an Asian woman's voice.