← Back to Blog
EducationDecember 28, 20246 min read

MCC Codes Explained: What They Are and Why They Matter

Understanding Merchant Category Codes and how they help with transaction classification and compliance.

If you've worked with payment processing or financial data, you've probably encountered MCC codes. Our API returns the mcc_code field for every transaction, but what exactly are these codes and why should you care?

What is an MCC Code?

A Merchant Category Code (MCC) is a four-digit number assigned by credit card networks (Visa, Mastercard, etc.) to classify businesses by the type of goods or services they provide. These codes are defined in ISO 18245.

For example:

MCCCategoryExamples
5411Grocery Stores, SupermarketsWalmart, Kroger, Whole Foods
5812RestaurantsMcDonald's, Chipotle, local restaurants
5541Service Stations (Gas)Shell, BP, Chevron
5815Digital Goods: MediaNetflix, Spotify, Apple Music
4121Taxicabs and RidesharesUber, Lyft, taxi companies
5942Book StoresAmazon (books), Barnes & Noble

Why MCC Codes Matter

1. Credit Card Rewards

Credit card companies use MCC codes to determine which purchases qualify for bonus rewards. A card offering "3x points on dining" uses MCC codes to identify restaurant transactions.

2. Expense Policy Enforcement

Corporate cards can block or flag transactions based on MCC codes. For example, a company might block gambling MCCs (7995) on employee cards. See our expense management use case.

3. Tax Categorization

MCC codes help accountants categorize business expenses for tax purposes. Different MCC codes may have different tax treatment (e.g., meals vs. office supplies).

4. Regulatory Compliance

Banks use MCC codes to comply with regulations around high-risk merchant categories like gambling, adult entertainment, or cryptocurrency purchases.

5. Spending Analysis

MCC codes provide a standardized way to categorize spending for analytics. They're more reliable than merchant names for aggregating spending data.

MCC Codes in Easy Enrichment

Our API returns the MCC code along with other enrichment data:

{
  "merchant_name": "Starbucks",
  "category": "Food & Drink",
  "subcategory": "Coffee Shops",
  "mcc_code": "5814",
  "business_type": "Fast Food Restaurant",
  "is_chain": true,
  "confidence": 0.98
}

We also provide a business_type field that gives a human-readable description of the MCC category.

Common MCC Code Ranges

RangeCategory
0001-1499Agricultural Services
1500-2999Contracted Services
3000-3999Airlines
4000-4799Transportation
4800-4999Utilities
5000-5599Retail Stores
5600-5699Clothing Stores
5700-7299Miscellaneous Retail & Services
7300-7999Business & Professional Services
8000-8999Professional Services & Membership

Limitations of MCC Codes

While MCC codes are useful, they have limitations:

  • Merchant choice: The merchant chooses their MCC when setting up payment processing. A grocery store with a pharmacy might use either MCC.
  • Aggregators: Payment aggregators like Square or PayPal may use generic MCCs that don't reflect the underlying business.
  • Multi-purpose merchants: Amazon sells books (5942), electronics (5732), and groceries (5411), but uses a single MCC.

This is why our API provides both MCC codes AND our own categorization. Our AI-powered categories are often more accurate for consumer-facing applications, while MCC codes are better for regulatory and compliance use cases.

Get MCC Codes with Easy Enrichment

Our API returns MCC codes, categories, and 15+ other fields for every transaction.See pricing.