Every business that accepts cards is assigned a merchant category code, or MCC โ a short number that describes the type of business it is. You never see it, but it quietly affects which of your purchases earn bonus rewards. Understanding MCCs explains why a charge sometimes earns less than you expected.
What an MCC is
A merchant category code is a four-digit number that classifies a business by what it sells โ for example, restaurants, grocery stores, gas stations, or airlines. The payment networks assign these codes, and they travel along with each transaction.
Your card issuer uses the MCC to decide how a purchase is categorized. That's how a card knows whether a given charge counts as "dining" or "groceries" for the purpose of bonus rewards.
Why MCCs decide your rewards
When your card advertises bonus rewards in a category, it's really paying that bonus based on the MCC of the merchant โ not on what you personally bought. So a card that earns extra at grocery stores pays the bonus when a merchant is coded as a grocery store.
This is also how some cards exclude certain purchases. The fine print often defines bonus categories by the merchant codes that qualify, which is why two similar-looking stores can earn different rewards.
Why a store sometimes codes 'wrong'
A purchase may not earn the category bonus you expected because the merchant is coded differently than you assume. A superstore that sells groceries might be coded as a general retailer rather than a grocery store, so grocery bonuses may not apply there.
Similarly, buying gift cards, paying at a warehouse club, or shopping through a third-party platform can change how a charge is coded. The merchant โ not you โ controls its category code.
What to do with this knowledge
If a purchase didn't earn the bonus you expected, the merchant's category code is often the reason. Check your card's terms to see exactly which merchant categories qualify for each bonus, and don't assume a store's name guarantees a particular category. When in doubt, confirm the qualifying categories on your official card terms.
Frequently asked questions
Can I see a merchant's category code?
Not usually โ MCCs aren't printed on receipts or statements for consumers. You generally only notice them indirectly, by which rewards category a purchase ends up earning.
Why didn't my grocery purchase earn the grocery bonus?
The store may be coded as something other than a grocery store, such as a general retailer or warehouse club. Bonuses are based on the merchant's category code, not on the items you bought. Check your card's qualifying categories.
Who decides a merchant's category code?
The payment networks assign category codes to businesses, and the merchant's setup determines which one applies. You as the cardholder have no control over it, which is why coding can sometimes surprise you.
See your card benefits in one place
Benefit Guardian gathers the perks, protections, and credits across your cards so nothing goes unused.
Get started freeKeep learning
Benefit Guardian provides general education, not financial advice. Card terms, rates, and benefits change often โ always confirm details on your official card terms before making decisions.