What Is a Merchant Category Code on a Credit Card Statement?

Updated July 9, 2026 6 min read

Behind every swipe or tap, a purchase gets sorted into a category long before it ever shows up on a statement, and that sorting can quietly shape how the transaction is treated.

The short answer

A merchant category code, often called an MCC, is a four-digit number assigned to a business that classifies the type of goods or services it primarily sells. Card networks and issuers use this code to sort transactions by category, most visibly for calculating category-based rewards, tracking spending patterns, and flagging certain transaction types for special handling.

How a merchant gets its code

When a business sets up the ability to accept card payments, its payment processor assigns it a merchant category code based on its primary line of business, using a standardized list maintained by the card networks. A coffee shop, a hardware store, and an airline each fall under different codes, and that classification generally stays fixed unless the business changes its primary activity or processor. Importantly, the code belongs to the merchant, not to the individual purchase, so every transaction at that business is coded the same way regardless of what was actually bought.

Why the code matters to cardholders

Why a purchase can earn less than expected

A common source of confusion is a purchase that seems like it should qualify for a bonus rewards category but doesn’t. This usually traces back to how the merchant is coded rather than what was actually purchased. A grocery store that also has a pharmacy counter, or a big-box retailer that sells groceries alongside general merchandise, might be coded under a general merchandise category rather than groceries, even though the specific purchase looked like a grocery run. Because the code reflects the merchant’s overall classification rather than the item bought, cardholders sometimes find the rewards result doesn’t match their expectation.

What to weigh when this happens

Since the code is set by the payment processor and not by the cardholder, there’s generally no way to change how a specific purchase is categorized after the fact. Understanding that rewards categories are based on merchant classification, not item type, can help set realistic expectations about which purchases will actually earn a bonus rate. Checking a card’s rewards terms for how it defines a bonus category is often more useful than assuming a purchase will qualify based on common sense alone.

The bottom line

A merchant category code is a quiet piece of infrastructure that shapes how a purchase is treated behind the scenes, from rewards eligibility to how a hold is placed. It’s assigned to the business, not the individual transaction, which explains many of the small mismatches people notice between what they bought and how it was categorized.