MCC codes for online stores: how they are assigned and why they matter
A merchant category code (MCC) is a four-digit code that describes a merchant's main business. The acquirer assigns it, usually from your highest-selling line, and Visa's rules require the code that most accurately describes the business. It travels with every payment, so it can affect issuer and cardholder blocks, authentication rules, method eligibility and fee programmes. Check your code with each provider, and ask for a review when your sales mix changes.
In 30 seconds
- Your acquirer assigns the MCC, not you, and Visa can require a correction.
- With several product lines, Visa's manual points to the line with the highest sales volume, or a separate code per line.
- A wrong code can change who blocks you, which methods you can use and which fee programme applies.
- 6 sources cited
On this page9 sections
Most merchants never choose their merchant category code. Someone at a provider picks it during onboarding, it lands in a field nobody looks at, and it then travels with every payment for years. It only gets attention when something goes wrong: a method is refused, a block appears in one market, or a fee line looks odd.
This article explains what merchant category codes are, how they are assigned, how a wrong MCC affects approvals, fees and rules, and which codes online stores commonly use. It closes with a short check you can run on your own accounts. For the application process itself, see our guide to merchant onboarding.
What is a merchant category code?
Visa’s Merchant Data Standards Manual, October 2026 edition, describes the MCC as a four-digit number assigned to describe a merchant’s primary business, based on annual sales volume in local currency. Visa says it and its members use the data for activity tracking, reporting and risk management. Stripe’s documentation adds a merchant’s view: MCCs are often used for calculating interchange fees, authorising payments and preventing fraud.
The code is part of the payment. Visa’s rules list the MCC among the data elements that must not be intentionally manipulated when an authorisation is reattempted after a decline, so you cannot resend a declined payment under another category.
Who assigns your MCC?
Your acquirer does. Visa’s rules say that, unless the law requires otherwise, an acquirer must assign a merchant outlet the MCC that most accurately describes its business. A payment facilitator must evaluate each sponsored merchant and assign the most appropriate code. Visa keeps the right to require corrections.
In practice, the provider works from what you give it: your application, your website and your stated sales mix. Stripe’s documentation shows how automated this can be. It sets codes for connected accounts from the industry they select. If that fails it may use the website, and if that also fails it falls back to the platform’s MCC or a default of 5734, Computer Software Stores. Each Stripe account has exactly one MCC, and if a review finds one inaccurate, Stripe might update it, after which the platform cannot change it.
That fallback is worth noting. A store could end up with a software code without anyone deciding that it should. Since every provider assigns its own code, a merchant with three providers can also have three different answers to the same question.
Which MCC fits an online store?
The right code follows what you sell. Visa’s manual gives the basic rules:
- Choose the code that most accurately describes the business.
- If you have more than one line of business, either use the code for the line with the highest sales volume for all Visa sales, or use different codes per line.
- Use miscellaneous codes, usually ending in 99, only when no specific code applies.
These are common codes for online retail, using Visa’s names.
| MCC | Visa name | Typical online store |
|---|---|---|
| 5311 | Department Stores | General line across apparel, home, electronics and cosmetics |
| 5399 | Miscellaneous General Merchandise | General merchandise, like a department store on a smaller scale |
| 5651 | Family Clothing Stores | Clothing for the whole family |
| 5691 | Men’s and Women’s Clothing Stores | Adult fashion |
| 5661 | Shoe Stores | Footwear |
| 5732 | Electronics Stores | Consumer electronics |
| 5941 | Sporting Goods Stores | Sports equipment |
| 5942 | Book Stores | New or used books |
| 5977 | Cosmetic Stores | Beauty products |
| 5815 | Digital Goods Media | Books, movies, artwork or music delivered electronically |
| 5817 | Digital Goods: Applications | Apps or software delivered electronically |
| 5262 | Marketplaces | Multi-seller marketplaces registered with Visa as a marketplace |
| 5999 | Miscellaneous and Specialty Retail Shops | Specialised products with no more specific code |
Two codes need care. Visa’s manual says direct marketing codes describe how a merchant conducts business rather than what it sells, naming sales through catalogues, brochures, telemarketing and direct mail. Do not assume a normal web shop belongs there, and ask your provider before accepting one, because these codes carry extra restrictions, as the next sections show. Marketplaces with a single line of goods must use the code for that line rather than 5262.
Example figures, for illustration only. An online store sells 62% clothing, 28% shoes and 10% bags by annual sales in local currency. Under Visa’s guidance, the highest-volume line points to 5691 for all Visa sales, or the store and its acquirer can agree separate codes for each line. If shoes overtake clothing, the store should ask for a review.
Can one online store have more than one MCC?
Sometimes it must. Visa’s rules require two or more MCCs where separate lines of business sit at the same outlet and one of several tests applies, such as a separate merchant agreement for each line, or an e-commerce site linking to a separate website that qualifies for a different code. Visa’s manual adds that where a merchant runs several websites offering distinct goods or services, each one must carry the code that most accurately reflects that site.
A line of business that Visa treats as high integrity risk must also carry its own code. This matters for a general retailer that adds a regulated line. Our guide to multi-brand payment setups covers how brands and websites map to merchant accounts.
Outside those cases, extra codes are optional. Visa’s manual says the acquirer and merchant may decide an additional code and merchant identifier suit a different line of business.
How does a wrong MCC affect approvals?
Issuers and cardholder controls can both act on your category.
- Cardholder controls. Visa’s rules cover issuers that let consumers limit card use by MCC. Those issuers must use decline code 9G, blocked by cardholder, when a payment is declined under such a control. A wrong code can put you inside a block meant for a different kind of merchant. Our decline code dashboard shows how to spot a pattern like this.
- Issuer risk rules. Stripe lists authorising payments and preventing fraud among the uses of the code. We found no issuer data on how much weight it carries, so test your own: compare declines by category if you run more than one code.
- Authentication. Visa’s rules set some requirements by code. Acquirers in Hong Kong must ensure e-commerce merchants on listed codes process with Visa Secure, a list that includes 5691, 5732, 5734 and 5999. Acquirers in Indonesia have a shorter list, including 5999. A move to or from a listed code changes how those payments must flow, and it can affect 3-D Secure drop-off.
We found no reliable public figure for how much a wrong MCC costs in approvals, so we do not quote one. Measure it on your own traffic, as our guide to how to calculate approval rate describes.
How does the MCC affect fees?
Stripe says MCCs are often used for calculating interchange fees. Visa’s US schedule shows why that matters, even if it is not the whole picture. Its consumer credit tables, effective 24 October 2026, have separate card-not-present lines for sectors such as travel, restaurants, charity and government. Charity 1 is 1.35% + USD 0.05, while Product 1 for Visa Infinite spend-qualified cards is 2.60% + USD 0.10.
Three cautions apply. That schedule covers payments within the 50 US states and the District of Columbia, not cross-border sales. The schedule itself does not list MCCs, so ask your provider which programme your code maps to. And Visa points out that merchants pay a merchant discount, not interchange directly, so the effect reaches you through your provider’s pricing. On blended pricing, you may not see it at all. Our article on interchange++ and blended pricing explains the difference.
Which rules depend on your MCC?
Beyond approvals and fees, the code decides what you are allowed to do.
High integrity risk. Visa’s manual lists card-absent transactions on codes including 5122 drugs and druggist sundries, 5912 pharmacies, 5966 outbound telemarketing, 5967 adult content, 5993 cigar stores and 7273 dating services, among others. Visa’s rules say an acquirer must register such merchants and meet extra requirements, including an application to Visa, before it submits their transactions. In most regions outside the US, the pharmacy and cigar store listings apply only if the merchant conducts transactions other than domestic ones.
Payment method eligibility. Methods have their own lists. Stripe’s OXXO documentation prohibits codes including 5966, 5968 and 5969, the direct marketing codes, as well as 5947, gift and novelty shops, and 5912 and 5122. A store placed on one of them through a careless classification could lose access to a method it needs in Mexico.
Provider acceptance. Stripe says you must contact it to use a restricted MCC. Other providers have their own lists, and a code that one accepts another may refuse, which is one reason how many PSPs you need per market can depend on your category.
How do you check and fix your MCC?
Run this once for every provider, and repeat it yearly.
- Ask each provider for your MCC in writing, per merchant account and per website.
- Compare the codes. If providers disagree, find out why before anything breaks.
- Read Visa’s description of your code and of the similar merchants listed beside it in the manual.
- Check your sales mix. Confirm that your highest-volume line still matches the code.
- Check for miscellaneous codes. If you are on one, look for a specific code that fits.
- Check method restrictions. Compare your code with the prohibited lists for the methods you sell.
- Look for 9G and category patterns in your decline data.
- Request changes through your provider, with evidence such as a sales breakdown and your website. Do not reclassify payments yourself.
- Test after any change. Watch approval rates, authentication rates and fees for a few weeks.
Visa strongly recommends periodic reviews of assigned codes to ensure accuracy. Treat a new product line, a new website or a change in main revenue as a trigger.
How does Omno work with merchant category codes?
Omno is not an acquirer, so it does not assign your MCC. Each provider that onboards you sets its own code. What Omno adds is control over where payments go: PSP eligibility rules and merchant-set routing rules decide which provider receives each payment, and the full transaction trail shows every attempt and provider response, so you can compare results across providers. The smart routing and cascading page explains how the rules work.
Key facts
- An acquirer must assign a merchant outlet the MCC that most accurately describes its business, unless the law says otherwise (Visa Rules, 2026).
- Miscellaneous codes, usually ending in 99, may be used only when no other MCC applies (Visa Merchant Data Standards Manual, 2026).
- Issuers that let consumers limit card use by MCC must decline those payments with response code 9G (Visa Rules, 2026).
- Stripe says MCCs are often used for calculating interchange fees, authorising payments and preventing fraud (Stripe docs, 2026).
- If Stripe cannot determine a connected account's code, it uses the platform's MCC or a default of 5734 (Stripe docs, 2026).
- Acquirers in Hong Kong must ensure e-commerce merchants on listed codes, including 5691, 5732 and 5999, process with Visa Secure (Visa Rules, 2026).
Changelog
- First published.