Skip to content
CardSwipe

Guide

What is a merchant category code, and how does it affect credit card rewards?

A merchant category code (MCC) is a four-digit number that classifies a business by what it mainly sells. Issuers pay bonus rewards based on that code, not on what you bought.

Who sets the code

A merchant's MCC is assigned when it sets up card acceptance with its payment processor. The code describes the business as a whole, based on its main line of trade.

The card networks publish the code lists. Issuers then map groups of codes to their own bonus categories, such as dining, groceries or travel.

Because the store chooses its processor and describes itself, two similar businesses can end up with different codes.

Why it explains strange rewards

A supermarket code earns a grocery bonus. A superstore code does not, even for the same groceries. This is why Target and Walmart rarely earn grocery rates.

A business that sells several things can carry only one code per location or terminal. A pharmacy with a grocery aisle still codes as a pharmacy.

Most surprising rewards outcomes trace back to the code, not to a mistake by the issuer.

How to tell before you pay

The code does not appear on the receipt, and most statements show only a category label. Some issuers show the category in the transaction detail in their app.

The reliable shortcut is the store type. Supermarkets, gas stations and restaurants are predictable. Kiosks, concessions and shops inside other shops are not.

CardSwipe states the likely category alongside each recommendation, and flags cases where the code is uncertain.

Common follow-ups

Can a merchant change its MCC?
Yes. A merchant can ask its processor to reclassify it, and codes do change when a business changes processors. Changes are rare for large chains.
Is the MCC the same for every card network?
Mostly. The networks use largely the same code list, but they can classify the same merchant slightly differently. Issuers on the same network can also map codes to categories differently.
Where can I find a store's merchant category code?
Some issuers show it, or the category it maps to, in transaction details. Otherwise, a past purchase on a card that shows categories is the most reliable test.

Figures come from issuer terms published at the time of writing and are estimates, not guarantees. Your own card agreement governs what you earn. Updated October 2026.

Know the card before you reach the register

CardSwipe is on the App Store Thursday, November 5. Until then the beta is open on TestFlight: install it, add the cards you carry, and check the answer at the next counter you stand at.

Join the beta

No bank login. No card numbers. Ever.

iOS 18 and watchOS 11, US cards. On the App Store Thursday, November 5, 1:00 AM Pacific. Built by Shaurya Dattani and Aarav Patel.

CardSwipe support will never ask for account numbers, passwords, card numbers, or any other credential, for any reason. Reward rates are estimates based on published issuer terms, not guarantees. CardSwipe is not affiliated with, endorsed by, or sponsored by any card issuer named on this site, and carries no paid placement: rankings are computed from published issuer terms alone.