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:
| MCC | Category | Examples |
|---|---|---|
| 5411 | Grocery Stores, Supermarkets | Walmart, Kroger, Whole Foods |
| 5812 | Restaurants | McDonald's, Chipotle, local restaurants |
| 5541 | Service Stations (Gas) | Shell, BP, Chevron |
| 5815 | Digital Goods: Media | Netflix, Spotify, Apple Music |
| 4121 | Taxicabs and Rideshares | Uber, Lyft, taxi companies |
| 5942 | Book Stores | Amazon (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
| Range | Category |
|---|---|
| 0001-1499 | Agricultural Services |
| 1500-2999 | Contracted Services |
| 3000-3999 | Airlines |
| 4000-4799 | Transportation |
| 4800-4999 | Utilities |
| 5000-5599 | Retail Stores |
| 5600-5699 | Clothing Stores |
| 5700-7299 | Miscellaneous Retail & Services |
| 7300-7999 | Business & Professional Services |
| 8000-8999 | Professional 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.