The 4-Digit Code Behind Every Card Swipe Sets Your Rewards and Store Fees

A merchant category code, or MCC, is a four-digit number that tells the card system what type of business a store is. A grocery store gets one code, a fast-food counter another, a gas pump a third. The code rides along with every card transaction, so banks and card networks know where the money was spent.

That small number does more than label a store. It can change the fee the merchant pays, whether your card earns bonus points and whether a purchase is declined. Here is how it works, as of December 1, 2026.

What an MCC is and where it comes from

MCCs are based on the international standard ISO 18245, and each card network keeps its own detailed list. Visa’s Merchant Data Standards Manual (October 2026) defines the MCC as a four-digit number that describes a merchant’s primary business. That business is measured by annual sales volume. Some codes, however, mark a specific type of transaction rather than a store type.

The IRS has used the same idea. Its Revenue Procedure 2004-43 describes an MCC as a code a payment card organization assigns based on a merchant’s main business activity. Back then, businesses paying by card could rely on a seller’s MCC for some 1099 reporting decisions. Since tax year 2011, though, card payments to merchants have been reported on Form 1099-K instead.

Who assigns the code

You do not choose your MCC by filling out a form with the network. Instead, the acquirer, the bank that signs up the merchant to take cards, assigns it. Visa’s manual calls correct assignment an important requirement for acquirers and their agents, and Visa can order corrections.

A few of Visa’s rules show how it works in practice:

  • Pick the most accurate code. If a business has more than one line, it uses the code for its biggest line by sales, or separate codes for each line.
  • “Miscellaneous” codes are a last resort. Codes that usually end in 99 are allowed only when no specific code fits.
  • Separate businesses get separate codes. For example, a florist inside a hotel uses the florist code, 5992, if it has its own name, area or register.
  • Payment facilitators assign codes too. When a small seller signs up through a payment facilitator, that company must review the seller’s business and pick the right code.

Some businesses must use more than one code by rule. A gas station with pay-at-the-pump uses 5542 for pump sales and 5541 or another code for sales inside the store.

Common merchant category codes

These examples come from Visa’s October 2026 manual. Mastercard and other networks use largely the same numbers for common types.

MCC Category Everyday example
5411 Grocery stores and supermarkets A neighborhood supermarket
5812 Eating places and restaurants A sit-down restaurant
5814 Fast food restaurants A burger drive-thru
5541 Service stations Paying for gas inside the station
5542 Automated fuel dispensers Paying at the pump
4111 Local and suburban commuter transport, including ferries Transit fares; Visa also places ride-share here
5732 Electronics stores A phone and laptop shop
5992 Florists A flower stand
7011 Lodging (hotels and motels) A hotel without its own brand code
6011 ATM cash withdrawals Taking cash from an ATM
6051 Quasi-cash, including cryptocurrency and money orders Buying crypto with a card

Large airlines, hotel chains and car rental brands often have their own codes. If they do, Visa requires them to use it for all core sales, including baggage fees and upgrades.

How the MCC changes merchant fees

Card networks set interchange, the fee paid to the card-issuing bank, partly by merchant type. So the MCC helps decide which rate applies. Visa’s US interchange schedule effective October 24, 2026 shows the effect clearly.

  • Groceries. A basic Visa credit card at a qualifying supermarket can cost as little as 1.18% plus 5 cents, depending on the store’s volume tier. The same card at a general retailer costs 1.51% plus 10 cents.
  • Debit at the grocery store. A small-bank debit card at a supermarket carries a flat 30 cents. At a general retailer, it is 0.80% plus 15 cents.
  • Fuel. Consumer credit at the pump costs 1.15% plus 25 cents, capped at $1.10 per sale. That cap matters when a fill-up runs $80 or more.

So a wrong code can cost a business money, or give it a rate it does not qualify for. Visa can require corrections either way. Our guide to credit card processing fees explains the other parts of the bill.

How it affects your rewards

For cardholders, the MCC mostly shows up in rewards. When a card pays extra on “dining” or “groceries,” the issuer usually decides what counts by looking at the merchant’s code. Many card agreements say so in the rewards terms.

That is why surprises happen. A coffee bar inside a supermarket may code as grocery, not dining, if it shares the store’s registers. Likewise, a warehouse club or superstore may not code as a grocery store even though you bought food there. Online orders can also carry a different code than the same brand’s physical store.

You can often see the category yourself. Some card apps show it in the transaction details, and a business can find its own code on its merchant statement or by asking its provider.

If a purchase did not earn the bonus you expected, check how it appears on your statement. Then ask your card issuer which category it was assigned. Issuers generally go by the code the merchant’s bank sent, and a cardholder cannot change it.

Blocked and restricted purchases

Because the code arrives with each authorization request, issuers can approve or decline by category. Here are common cases:

  • Company cards. Employers can limit cards to travel, fuel or office supplies and block other categories.
  • Benefit cards. Some health spending account cards work only at certain merchant types, such as pharmacies and medical offices.
  • Cash-like purchases. Buying cryptocurrency or money orders uses code 6051 or 6012. Some issuers decline those charges, and some card agreements treat them like cash advances, with higher interest and fees.

California adds one more rule. Under AB 1587, signed in September 2023, the state requires a separate code for gun sellers. Since May 1, 2025, acquirers must assign the firearms and ammunition code to qualifying California dealers. The law covers licensed dealers whose largest share of sales is firearms, accessories or ammunition. The Attorney General can seek a civil penalty of $10,000 per violation. Visa’s manual lists this code, 5723, and says to use it only where the law requires it.

Our money and business guides cover more about how card payments work. This article is general information, not financial or legal advice.

Frequently asked questions

Who assigns a merchant category code?

The merchant’s acquiring bank, or a payment facilitator for its sub-merchants, assigns the code. It must follow the card network’s rules on picking the most accurate category.

Can a business change its MCC?

A business can ask its acquirer or payment provider to review the code if its main line of business has changed. The new code still has to match what the business actually sells.

Why didn’t my purchase earn bonus rewards?

Most likely, the merchant’s code did not match the bonus category. For example, food bought at a superstore may not code as groceries. Your issuer can tell you how the charge was classified.

Is MCC 5411 always a grocery store?

It is meant for grocery stores and supermarkets selling a full line of food for home use. Stores whose main business is something else usually get a different code.

Writes about money, banking and small business for The Daily Telescope.

Leave a Reply

Your email address will not be published. Required fields are marked *