Features

You feed in a wrinkled dollar, the machine spits it back. You smooth it on the edge of the machine, try again, and this time it takes it. In about a second, the machine ran your bill through a checklist most people never think about.

Features — 130

How a vending machine knows your crumpled dollar is real

Filed UnderMoney, How It Works
Read Time~3 minutes
PublishedNovember 13, 2026 at 8:05 PM
Two white drink vending machines against a beige wall, with a shopping cart parked beside them
Photo: Huu Huynh / Pexels

          Everybody has had the argument with a vending machine: the bill goes in, the bill comes back, you flatten it, you try the other way around, and eventually it accepts. It feels random, but it isn't. Inside the machine sits a bill validator, and it checks your dollar against everything it knows a real dollar should be — in about a second, with no patience for wrinkles.

A short journey with a verdict
          When you slide a bill into the slot, rollers pull it inside and carry it past a row of sensors. The validator scans it, compares what it sees to stored templates of genuine bills, and makes a call: accept, and the bill drops into the cash box, or reject, and the rollers run in reverse and hand it back. The whole trip takes about a second. Nothing about the decision is a guess — it's a checklist, and the bill has to pass all of it.

“ The machine isn’t judging your dollar. It’s failing to recognize it.”

Three checks, all at once
          The first check is magnetic. United States paper money is printed with ink that has magnetic properties, and the validator reads the magnetic pattern across the bill's surface the way a cassette player reads a tape. A color photocopy might look right, but its ink isn't magnetic, and the machine knows the difference.
          The second check is optical. Sensors look at the bill's image — the portrait, the borders, the fine patterns — and compare it to the templates stored in the validator's memory. The size and proportions have to match too. A bill that's been trimmed, or printed at the wrong scale, fails here.
          The third check is ultraviolet. Genuine bills have a thin security thread woven into the paper, and under ultraviolet light that thread glows. The paper itself matters too: real currency paper is a cotton-and-linen blend with no brighteners, so it stays dull under UV, while ordinary printer paper lights up. A counterfeit printed on regular paper glows in a way a real bill never does.

Why crumpled bills fail
          Crumples defeat the optical check. A crease bends the portrait and the borders out of shape, and the sensors see a distorted pattern that doesn't match the template. A fold can hide part of the bill entirely. Wet bills, torn bills, and very old faded bills fail for the same reason: the machine can't match what it sees to what it expects. Smoothing the bill flat restores the pattern, which is why the flatten-it-on-the-edge trick works. Newer validators are more forgiving — they scan more carefully and tolerate more wear — but an old machine in a hallway is picky, and no amount of smoothing fixes a bill that's torn through the portrait.

The machine is cautious on purpose
          A validator that accepted everything would fill up with slugs and photocopies. A picky one annoys you, but it protects the owner. So the machine is tuned to reject anything it can't verify, and a rejection doesn't mean your dollar is fake — it means the machine couldn't prove it's real. The crumpled dollar in your pocket is genuine. It just arrived looking like a question the machine couldn't answer.

← Previous
Why laugh tracks exist

Enjoying the magazine?

A new story goes up every night at midnight. Find your next one by section.

Browse the sections