By Bryce Casson, Founder · Cardocrat · Updated July 2026
The short answer: Yes, at the base rate. Tapping a card at a vending machine earns rewards like any purchase, but vending machines code as general or miscellaneous retail rather than as dining or groceries, so a bonus category almost never applies. Small amounts and occasional coding quirks make the earning minimal.
How vending machines code
A vending machine rings up under a general or miscellaneous retail category code, not the restaurant or grocery codes, so even a snack machine does not earn a dining or grocery bonus. Most cards earn only their base rate. Modern machines with tap-to-pay make it easy to earn that base rate, whereas older cash-only machines earn nothing on a card.
Tiny purchases, tiny rewards
Vending purchases are small, so the rewards are negligible no matter which card you use, and it is not worth pulling out a category card for a $2 soda. The convenience of tap-to-pay is the real benefit here, not the rewards. The idea of matching cards to purchases is covered in does it matter which card you use.
The best card for small taps
Any flat-rate card handles vending fine, since there is no bonus to capture. Use whatever card you would tap for other small everyday purchases, and see the simple options in best cash back cards.
Frequently asked questions
Do vending machines earn credit card rewards?
Yes, at your base rate, when you tap a card. Vending machines code as general retail, not as dining or groceries, so a bonus category does not apply.
Does a snack vending machine earn a dining bonus?
No. Vending machines code as general or miscellaneous retail rather than as a restaurant, so a dining bonus does not apply even to food and drink machines.
Is it worth using a card at a vending machine?
For convenience, yes, thanks to tap-to-pay. For rewards, the amounts are so small that any flat-rate card is fine and a category card is not worth the effort.