Updated:

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

Explore this topicOpen ChatGPT

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).

definition
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.

CodeDigitsWho maintains itMain use
MCC4Defined by ISO 18245; card networks like Visa maintain their own lists; your acquirer assigns itClassifying merchants for card payments (Visa's codes derive from SIC and ISO codes)
SIC4No longer the federal statistics standard (NAICS replaced it in 1997), but the SEC still uses itShowing a company's type of business and assigning filing review in EDGAR
NAICSUp to 6Developed under the Office of Management and Budget with Canada and MexicoClassifying 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:

RangeCategory
0001–1499Agricultural services
1500–2999Contracted services
3000–3299Airlines
3300–3499Car rental
3500–3999Lodging
4000–4799Transportation services
4800–4999Utility services
5000–5599Retail outlet services
5600–5699Clothing stores
5700–7299Miscellaneous stores
7300–7999Business services
8000–8999Professional services and membership organizations
9000–9999Government 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 categoryMCCDescription
Software & Technology5734Computer software stores
7372Computer programming, data processing, integrated systems
4816Computer network and information services
Digital & Marketing7311Advertising services
7333Commercial photography and graphic design
7392Consulting, public relations
Office & Business7399Business services, not elsewhere classified
7394Equipment rental and leasing
5045Computers, peripherals, and software wholesalers
5111Stationery, office supplies, printing
Travel & Transportation4511Air carriers and airlines
4111Local and suburban commuter transportation
4789Transportation services (not elsewhere classified)
4214Fr8 carriers and trucking
Lodging & Hospitality7011Hotels, motels, and resorts
7033Campgrounds and recreational vehicle parks
Restaurants & Dining5812Restaurants and eating places
5814Fast food restaurants
5462Bakeries
Retail & Wholesale5411Grocery stores and supermarkets
5311Department stores
5499Specialty food stores
5200Home supply and hardware stores
Health & Medical8011Doctors and medical services
8021Dentists
8043Optometrists
5975Hearing aids and medical equipment
Education & Training8299Schools and educational services
8244Business and secretarial schools
Nonprofits & Donations8398Charitable and social service organizations
Government & Fees9402Postal services, government only
9399Government services, not elsewhere classified
Construction & Trade1761Roofing and siding contractors
5039Construction materials not elsewhere classified
5211Lumber and building materials stores
Business & Equipment5966Direct marketing, telemarketing merchants
5046Commercial equipment (not elsewhere classified)
5085Industrial supplies
Legal & Professional8111Legal services
Courier & Delivery4215Courier services, air or ground
Retail & Specialty5992Florists
5714Drapery, window covering, and upholstery stores
5940Bicycle shops and bicycle repair
5912Drug stores and pharmacies
5300Wholesale clubs and membership organizations
5933Pawn shops
5712Home furnishings, furniture stores
5722Household appliance stores
5948Leather goods and luggage store
Travel & Tourism4722Travel agencies and tour operators
Financial Services4829Money transfer
Agriculture0763Agricultural cooperatives
Logistics & Distribution4225Public warehousing and storage
Recreation & Leisure7992Golf courses, public
7032Sporting and recreational camps
7997Membership sports and recreation clubs (includes swimming pools)
5541Service stations
5542Automated fuel dispensers
7538Auto 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.

ApproachBest forTrade-off
Allow-listPurpose-built cards, such as a software or travel cardTightest control, but legitimate purchases outside the listed codes get declined
Block-listGeneral-purpose cards, blocking high-risk codes like 7995More 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.

Try Ramp for free
Share with
Ali Mercieca•Finance Writer and Editor
Ali is a finance writer, editor, and SEO strategist. In addition to working with the Ramp team, Ali worked with Robinhood on the editorial strategy for their financial literacy articles and with Nearside, an online banking platform, overseeing their banking and finance blog. Ali holds a B.A. in Psychology and Philosophy from York University and writes about editorial content strategy and SEO on her Substack.
Ramp is dedicated to helping businesses of all sizes make informed decisions. We adhere to strict editorial guidelines to ensure that our content meets and maintains our high standards.

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

How Wu Yee keeps 12 Head Start sites on one grant plan, one purchase at a time

“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

What it takes to pay for an NFL season: inside the Denver Broncos’ finance rebuild

“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

San Marcos Unified gives maintenance teams room to act — and finance a clear record of their spend across 19 schools

“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

How the family-owned business behind 28 senior living communities rebuilt finance to close 19 days faster

“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

From purchase requests to 409 API keys: How AngelList puts spend under owner-level control

“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

ElevenLabs speaks more than 70 languages but its money speaks the same one

“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

How Othership’s first finance hires built one operation across Canada and the U.S.

“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

Infinity Home Services prevents the margin leak nobody can see from the ground, so its 20+ local companies build what they bid