Merchant category code (MCC): What it is and how it works

- What is a merchant category code (MCC)?
- MCC vs. SIC and NAICS codes
- Who defines and manages MCCs?
- How MCCs are used in the transaction process
- MCC codes and how they map to your industry
- High-risk and restricted MCCs
- How to find your merchant category code
- Setting up merchant categories for your corporate card program
- Control spend at the source with Ramp's MCC-based policy engine
A merchant category code (MCC) is a four-digit number, defined by the ISO 18245 standard, that classifies a business by the goods or services it provides. Every time you swipe a business card, that code is working behind the scenes.
MCCs help banks, card networks, and business accounting systems identify what type of business you are transacting with. They determine how payments are processed, fees are calculated, and your expenses are categorized.
What is a merchant category code (MCC)?
A merchant category code (MCC) is a four-digit number that identifies a merchant's primary business activity. Visa bases that primary business on annual sales volume, so the code reflects what a merchant sells most.
Your acquiring bank or payment processor assigns this code when you set up a card processing account. The MCC tells banks, payment processors, and expense systems what type of goods or professional services the merchant provides.
When you make a card payment, the MCC travels with the transaction. It does not show up on your receipt, but it plays a major role behind the scenes. Card networks use the MCC, along with other transaction details, to determine which interchange rate applies.
Card issuers use it to determine whether a purchase qualifies for rewards. Expense platforms use it to group transactions under the correct category.
Most merchants have one MCC that reflects their primary business. Visa rules also let a merchant with distinct lines of business use a different MCC for each one, and some setups require it, like separate codes for automated fuel pumps (5542) and in-store sales (5541).
MCC at a glance
Four digits, defined by ISO 18245, assigned by your acquirer, and read by card networks, issuers, and expense software.
MCC vs. SIC and NAICS codes
An MCC classifies a merchant for card payments, while SIC and NAICS codes classify businesses for government and statistical purposes. The systems share roots, but you can't swap one for another.
Visa built its MCCs from SIC and ISO codes, yet the two don't map one-to-one. According to Visa's Merchant Data Standards Manual, Visa consolidated several SIC codes into single MCCs, so Visa MCCs and SIC codes don't always correspond.
NAICS replaced SIC for federal statistics in 1997. The U.S. Economic Classification Policy Committee, Statistics Canada, and Mexico's INEGI developed it jointly, according to the U.S. Census Bureau's NAICS page. SIC codes still matter, though: the SEC uses them in EDGAR filings to show a company's type of business, as the SEC's SIC code list explains.
| Code | Digits | Who maintains it | Main use |
|---|---|---|---|
| MCC | 4 | Defined by ISO 18245; card networks like Visa maintain their own lists; your acquirer assigns it | Classifying merchants for card payments (Visa's codes derive from SIC and ISO codes) |
| SIC | 4 | No longer the federal statistics standard (NAICS replaced it in 1997), but the SEC still uses it | Showing a company's type of business and assigning filing review in EDGAR |
| NAICS | Up to 6 | Developed under the Office of Management and Budget with Canada and Mexico | Classifying business establishments for federal statistics on the U.S. economy |
Your NAICS code on tax filings won't tell you your MCC. To find the code card networks actually see, check your payment processor's statement or dashboard.
Who defines and manages MCCs?
Merchant category codes (MCCs) are defined by the International Organization for Standardization (ISO) under ISO 18245. The standard provides a common framework for classifying merchants by the products or services they primarily offer.
Card networks such as Visa, Mastercard, American Express, and Discover use that framework to maintain their own MCC lists. Most codes are consistent across networks, though some vary.
How is your MCC assigned?
When you open a merchant account, your payment processor or acquiring bank assigns an MCC based on your primary business activity. If you run a mixed business, such as a retail shop with a service arm, the code generally reflects the activity that accounts for most of your sales. You don’t choose the code yourself.
Visa’s Merchant Data Standards Manual gives acquirers three guidelines for assigning MCCs:
- Choose the best fit: Use the MCC that most accurately describes the business.
- Account for multiple lines of business: A merchant may use the MCC for its highest-volume line of business across all sales or use a separate MCC for each line.
- Avoid catch-all codes when a specific code fits: Use a miscellaneous code, often ending in 99, only when no other code applies.
If your business changes or its MCC seems inaccurate, you can request a correction from your payment processor. The acquirer is responsible for assigning the correct code, and Visa can require an acquirer to correct an inaccurate one.
MCC lists also change over time as payment brands add, retire, or revise codes. Check your network’s current list, since changes can affect transaction fees, card rewards, and expense tracking.
How MCCs are used in the transaction process
Every time you make a card payment, the transaction includes a merchant category code (MCC). This code tells the card network what kind of business you’re paying. That classification shapes how payment processing routes and records the transaction across financial institutions.
When you swipe, tap, or enter card details, your payment travels through the acquiring bank, the card network (like Visa or Mastercard), and the issuing bank. The MCC is attached to that transaction from the moment your payment processor submits it. That single code influences multiple outcomes in real-time.
- Interchange: Card networks use the MCC, along with other transaction details, to determine which interchange rate applies. For example, transactions with utility companies often receive lower interchange rates than those with online retailers.
- Risk: Visa flags certain MCCs as high integrity risk. Acquirers need extra registration before merchants with those codes can process certain card-absent transactions.
- Rewards: Card issuers use the MCC to determine whether a purchase qualifies for rewards. If your vendor’s MCC does not match the intended category, you may not earn the reward you expect.
- Tax reporting:IRS Revenue Procedure 2004-43, an optional 2004 procedure, classifies MCCs by whether a business mainly provides services or goods. Card payments to service businesses are reportable, while payments for goods aren't.
- Spend controls: The MCC determines whether a transaction gets approved or blocked in regulated industries or card programs with restricted categories. For example, some government or nonprofit cards restrict spending based on MCC codes, allowing only specific categories to pass through.
- Accounting: When your expense platform pulls in transaction data, it reads the MCC to auto-assign the right category, like office supplies, SaaS, or travel. This keeps your general ledger cleaner and reduces manual coding work for your finance team.
Ramp's Accounting Agent auto-codes every card transaction the moment it posts, covering GL, department, class, and location, and syncs it to your ERP, so your team spends less time on manual coding.
Ramp automatically reads MCCs from every card transaction and uses them to categorize spending, apply accounting rules, and flag non-compliant purchases. Instead of relying on manual review, your finance team gets clean data synced to your ERP. This reduces reconciliation time and prevents miscoded expenses from slipping through.
MCC codes and how they map to your industry
Every merchant category code (MCC) connects to a specific type of business. Acquirers assign these codes, using network and ISO definitions, to help categorize merchants based on the primary service or product they provide. Knowing your industry’s MCC allows you to track vendor spending more accurately, flag misclassified expenses, and ensure that rewards and tax reporting apply as expected.
If your business accepts card payments, your MCC reflects your core revenue activity. If you manage spending across vendors, each MCC allows you to consistently group expenses and spot outliers.
There are hundreds of MCCs across industries, but only a few apply to the most common business categories.
MCC ranges at a glance
The first digits of an MCC tell you the broad industry a merchant belongs to. Citi's merchant category code list groups every code into one of these ranges:
| Range | Category |
|---|---|
| 0001–1499 | Agricultural services |
| 1500–2999 | Contracted services |
| 3000–3299 | Airlines |
| 3300–3499 | Car rental |
| 3500–3999 | Lodging |
| 4000–4799 | Transportation services |
| 4800–4999 | Utility services |
| 5000–5599 | Retail outlet services |
| 5600–5699 | Clothing stores |
| 5700–7299 | Miscellaneous stores |
| 7300–7999 | Business services |
| 8000–8999 | Professional services and membership organizations |
| 9000–9999 | Government services |
The 3000–3999 block holds merchant-specific codes for individual airlines, car rental companies, and hotels. Citi also notes that not every card brand recognizes every code, so treat the ranges as a map, then confirm the exact code.
For example, a charge coded 7392 falls in the 7300–7999 business services range, so you know it's a services vendor before you look up the exact code.
Common MCCs by industry
Use this MCC code list to match the vendors you pay most often to their industry and code:
| Industry category | MCC | Description |
|---|---|---|
| Software & Technology | 5734 | Computer software stores |
| 7372 | Computer programming, data processing, integrated systems | |
| 4816 | Computer network and information services | |
| Digital & Marketing | 7311 | Advertising services |
| 7333 | Commercial photography and graphic design | |
| 7392 | Consulting, public relations | |
| Office & Business | 7399 | Business services, not elsewhere classified |
| 7394 | Equipment rental and leasing | |
| 5045 | Computers, peripherals, and software wholesalers | |
| 5111 | Stationery, office supplies, printing | |
| Travel & Transportation | 4511 | Air carriers and airlines |
| 4111 | Local and suburban commuter transportation | |
| 4789 | Transportation services (not elsewhere classified) | |
| 4214 | Fr8 carriers and trucking | |
| Lodging & Hospitality | 7011 | Hotels, motels, and resorts |
| 7033 | Campgrounds and recreational vehicle parks | |
| Restaurants & Dining | 5812 | Restaurants and eating places |
| 5814 | Fast food restaurants | |
| 5462 | Bakeries | |
| Retail & Wholesale | 5411 | Grocery stores and supermarkets |
| 5311 | Department stores | |
| 5499 | Specialty food stores | |
| 5200 | Home supply and hardware stores | |
| Health & Medical | 8011 | Doctors and medical services |
| 8021 | Dentists | |
| 8043 | Optometrists | |
| 5975 | Hearing aids and medical equipment | |
| Education & Training | 8299 | Schools and educational services |
| 8244 | Business and secretarial schools | |
| Nonprofits & Donations | 8398 | Charitable and social service organizations |
| Government & Fees | 9402 | Postal services, government only |
| 9399 | Government services, not elsewhere classified | |
| Construction & Trade | 1761 | Roofing and siding contractors |
| 5039 | Construction materials not elsewhere classified | |
| 5211 | Lumber and building materials stores | |
| Business & Equipment | 5966 | Direct marketing, telemarketing merchants |
| 5046 | Commercial equipment (not elsewhere classified) | |
| 5085 | Industrial supplies | |
| Legal & Professional | 8111 | Legal services |
| Courier & Delivery | 4215 | Courier services, air or ground |
| Retail & Specialty | 5992 | Florists |
| 5714 | Drapery, window covering, and upholstery stores | |
| 5940 | Bicycle shops and bicycle repair | |
| 5912 | Drug stores and pharmacies | |
| 5300 | Wholesale clubs and membership organizations | |
| 5933 | Pawn shops | |
| 5712 | Home furnishings, furniture stores | |
| 5722 | Household appliance stores | |
| 5948 | Leather goods and luggage store | |
| Travel & Tourism | 4722 | Travel agencies and tour operators |
| Financial Services | 4829 | Money transfer |
| Agriculture | 0763 | Agricultural cooperatives |
| Logistics & Distribution | 4225 | Public warehousing and storage |
| Recreation & Leisure | 7992 | Golf courses, public |
| 7032 | Sporting and recreational camps | |
| 7997 | Membership sports and recreation clubs (includes swimming pools) | |
| 5541 | Service stations | |
| 5542 | Automated fuel dispensers | |
| 7538 | Auto service and repair shops |
High-risk and restricted MCCs
Card networks flag certain MCCs as high integrity risk, and those same categories are common candidates to block on employee cards. If you're setting card controls, these codes make a practical shortlist to review first.
Visa's Merchant Data Standards Manual lists these codes as high integrity risk for certain card-absent transactions, such as purchases made online or by phone. Acquirers need to complete extra registration with Visa before their merchants in these categories can process those transactions:
- 4816: Cyber lockers and remote file-sharing services
- 5816: Skill-game wagering, such as daily fantasy sports
- 5968: Negative-option subscriptions
- 6012 and 6051: Crypto merchants
- 6211: Financial trading platforms
- 7995: Betting
Visa's extra scrutiny makes these categories a natural starting point when you decide what employee cards shouldn't touch and how to limit business credit card fraud. Few roles need to place bets, buy crypto, or sign up for negative-option subscriptions on a company card.
Money transfers come up often in the same conversation. MCC 4829 is the code for money transfer services. It's worth reviewing too when you decide which categories each card can use.
Once you know which codes you want to keep off your cards, the next step is setting up merchant categories for your corporate card program with block-lists, allow-lists, or both.
How to find your merchant category code
Finding your merchant category code (MCC) takes just a few minutes if you know where to look. You can locate it through your processor, card transaction data, or expense management platform. Most businesses already have access to it.
1. Check your merchant processing statement
Start with your monthly statement from your payment processor or acquiring bank. These statements usually include your MCC near your merchant ID or business details. Look for a four-digit number labeled “MCC” or “Merchant Category Code.” This is the code tied directly to your account.
2. Log in to your payment processor's online dashboard
Log into your account dashboard if you use an online payment platform. Go to your account settings or business profile. Some platforms list the MCC under “business category,” “industry classification,” or “merchant details.” Check downloadable settlement or reconciliation reports if they are not in your profile.
3. Review a cardholder transaction report
If your customers or employees use corporate cards, you can find the MCC in the transaction data from those card statements. Ask a cardholder on your team to look up a recent charge from your business. The MCC often appears alongside the merchant name in expense reports or card activity logs.
4. Contact your payment processor directly
If you don’t see the MCC in your documents or dashboard, reach out to your processor or acquiring bank. They are responsible for assigning your code when you first set up your merchant account. Ask them to confirm your current MCC and explain how it was selected. You'll also need to contact them if you believe the code is incorrect.
5. Use your expense management or finance system
Many finance tools automatically pull MCCs from card data to help categorize spending, apply policies, and structure reports. You can usually search by vendor or transaction to see the code attached.
Setting up merchant categories for your corporate card program
Controlling how employees use corporate cards starts with merchant category rules in your corporate credit card policy. By setting clear restrictions by MCC, you define where the card works and where it does not. This gives your team the flexibility to spend within policy while reducing risk and overspending.
Merchant category codes (MCCs) allow you to group vendors by business types, like software, travel, restaurants, or fuel. When you set restrictions by MCC, you can block entire categories, limit them to certain roles, or allow specific spend types based on job function.
For example, you might allow software purchases (MCC 5734) only for engineering leads or limit meals (MCC 5812) to client-facing teams. If someone tries to use a card outside those boundaries, the transaction is declined automatically.
Choose an allow-list or block-list
You can build MCC rules two ways: allow-lists name the only categories a card can use, and block-lists name the categories it can't.
| Approach | Best for | Trade-off |
|---|---|---|
| Allow-list | Purpose-built cards, such as a software or travel card | Tightest control, but legitimate purchases outside the listed codes get declined |
| Block-list | General-purpose cards, blocking high-risk codes like 7995 | More flexibility, but any category you haven't blocked goes through |
For example, you could run a block-list that stops betting (7995) and money transfer (4829) charges on every employee card. Your engineering card could then allow-list 5734 for computer software stores.
MCC rules have limits, so treat them as one layer of control:
- Codes describe the vendor: An MCC reflects the vendor's primary business rather than the specific item you bought.
- Codes can vary by location: One vendor can run different MCCs at different locations, so a single rule may catch some charges and miss others.
- Category rules need backup: Pair category rules with merchant-level and amount-level spending limits to close the gaps.
Many corporate card platforms let you set these rules for each card. On Ramp, you can set category restrictions and per-merchant limits on each card, and Ramp enforces them at the point of swipe. This reduces the need for manual review and lowers out-of-policy transactions.
Ramp data shows these corporate card controls block 3.5% of transactions at swipe for policy violations, before they create any accounting work.
Setting up merchant categories also improves your data. Every transaction comes through with the correct classification, so your books stay cleaner and your close moves faster.
Control spend at the source with Ramp's MCC-based policy engine
MCCs aren't always precise. A vendor's code can reflect its primary business rather than what you bought, and a single vendor can use different MCCs across locations. When your spend controls rely on inaccurate MCCs, you're left with policy gaps, surprise overages, and manual cleanup work that drags on for weeks.
Ramp's policy engine doesn't just filter by MCC. It layers multiple controls so you catch policy violations before they happen, not after.
You can set limits by merchant, category, amount, and time window. When an MCC doesn't match reality, Ramp's merchant-level controls step in to enforce your rules exactly as intended.
Ramp ensures MCC accuracy doesn't derail your spend control through several measures:
- Multi-layered policy controls: Combine MCC filters with merchant name and transaction amount so one misclassified code doesn't break your entire policy.
- Real-time enforcement: Ramp declines out-of-policy transactions at the point of sale, so employees know immediately when a purchase violates your rules.
- Merchant-level precision: Target specific vendors by name instead of relying solely on their MCC, so you control spend at gas stations, office supply stores, or any merchant regardless of how they're classified.
Ramp's accounting automation software codes every transaction the moment it posts, so your books stay clean without manual cleanup.
Try an interactive demo to see how Ramp's policy engine stops out-of-policy spend before it hits your books.

FAQs
Check your merchant processing statement, your payment processor's online dashboard, or a cardholder transaction report. You can also contact your processor directly or look up a transaction in your expense management system.
MCC 4829 is Visa's code for money transfer services. It's a common code to review when you set merchant category rules on employee cards.
Your acquiring bank or payment processor assigns your MCC when you set up a card processing account. It bases the code on your primary business, measured by annual sales volume.
Yes, if your code is inaccurate, ask your payment processor or acquiring bank to review it. Acquirers must assign the correct MCC, and Visa can require them to correct inaccurate codes.
Yes. Card issuers use the MCC to decide which rewards category a purchase falls into, so a vendor with an unexpected code may not earn the reward you expect.
“I want to trust the people at our sites to buy what they need, when they need it. With everything in Ramp, they have one place to go and one set of rules to follow. And I can see how all of their spending ties back to the contracts that fund their work.”
Marina Peterson
CFO, Wu Yee Children’s Services

“I assumed I would have to choose between speed and control. What I found is that you can have both. A well-designed system takes friction out, for the finance function and for everyone else.”
Justin Webster
CFO, Denver Broncos

“A well-run district should not have to choose between getting work done at the school site and keeping control of the dollars behind it. We're not hiring more people to do more jobs, so we have to be smarter about the process. With Ramp, the purchase, the receipt, and the record stay together from the start. ”
Nick Brizeno
Director of Purchasing, San Marcos Unified School District

“In senior living, scale only works if the communities still feel personal. We needed the back office to carry more of the complexity, not the people serving residents. Ramp helped us build that infrastructure, so the experience in the community could stay human.”
Ryan Cole
CFO, Agemark Senior Living

“AI is moving faster than the finance context around it. Prices change, models change, and the value is not always obvious from an invoice. We needed enough detail to know which bets deserved more investment — and which ones did not.”
Greg Cooley
Controller, AngelList

“Invoices, cards, tokens. The categories change but the principle doesn't: know where the money is going, remove the work around it, and make sure the spend is worth it.”
Maciej Mylik. Finance
ElevenLabs

“We weren’t trying to retrofit an old finance system. We had a blank canvas, and Ramp gave us the foundation to build a global finance function of the future.”
Justin Dourado
Director of Finance, Othership

“There's just no surprises anymore. No more waiting two months to find out how a job did. We know how it's doing as it's happening.”
Erich Kuss
Financial Systems Manager, Infinity Home Services



