Every merchant account carries a four-digit merchant category code, or MCC, and on most accounts it is chosen once, at boarding, and never looked at again. It deserves more attention than that. The MCC tells issuers and the card networks what kind of business is behind a transaction. Interchange qualification, network registration programs, issuer restrictions on what a card can buy, and risk monitoring all key off it.
Neither Visa nor Mastercard leaves the choice to the merchant. Both put it on the acquirer, and both say when one merchant needs more than one code. This piece sets out those rules from the Visa Core Rules and Visa Product and Service Rules (24 October 2026 edition), Visa's Merchant Data Standards Manual (October 2026), the Mastercard Rules (2 June 2026), Mastercard's Quick Reference Booklet (2 June 2026) and its Security Rules and Procedures, Merchant Edition (4 August 2026).
The Basic Rule: the Code That Most Accurately Describes the Business
Visa's core rule is one sentence: unless otherwise required by law, an acquirer must assign to a merchant outlet the MCC that most accurately describes its business. The Merchant Data Standards Manual explains how. The code describes the merchant's primary business, measured by annual sales volume. A merchant with more than one line of business can either process all its Visa sales under the code for the line with the highest sales, or use a different code for each line.
The manual adds a rule about miscellaneous codes, usually the ones ending in 99. They may be used only when no specific code fits. Visa describes its code descriptions as very accurate, so a catch-all code is a last resort, not a default. Mastercard's booklet says the same of MCC 5999, Miscellaneous and Specialty Retail Stores: it should be used only when all other assignment options have been exhausted.
Mastercard's wording differs but lands in the same place. Rule 5.8.1 requires the acquirer to ensure that each merchant and sponsored merchant is identified in authorization and clearing messages with the MCC that reflects its primary business. The Quick Reference Booklet defines an accurate MCC as a valid code that most reasonably and fairly describes that primary business. Mastercard's merchant screening standards also make it part of boarding: before signing a merchant, the acquirer must assign the code that most accurately describes the nature of the business.
Mastercard's system catches only part of this. A clearing record with an invalid or obsolete MCC is rejected with error 0531, but that edit checks whether the code exists, not whether it fits the merchant. Accuracy is left to the acquirer. Both networks keep the last word. Visa says it can require corrections to MCC assignments, and the Mastercard Rules say Mastercard has ultimate authority to dictate the appropriate MCC in a dispute.
When One Merchant Needs Several Codes
A single code per merchant is the default, not the rule. Visa's core rule requires an acquirer to assign two or more codes to a merchant outlet in these cases:
- The outlet has an automated fuel dispenser and also sells fuel or other goods or services face to face.
- Separate lines of business operate at the same outlet, and a separate merchant agreement exists for each.
- Separate lines of business operate at the same outlet, and the outlets on the premises display different merchant names.
- Separate lines of business operate at the same outlet, and one of them is designated by Visa as high-integrity risk.
- An e-commerce site links to a separate e-commerce site, and each site qualifies for a different code.
The Merchant Data Standards Manual adds detail. Fuel sold at an automated dispenser uses MCC 5542 and other sales use their own code. Cash at an ATM uses 6011 and manual cash disbursement uses 6010. Quasi-cash, including cryptocurrency purchases, uses 6051 or 6012 even when it is not the merchant's main business. A merchant running several websites that sell different things must code each site for what that site sells, even when the sites share a parent site or a merchant entity.
Gambling has its own rule. A card-present merchant uses 7995 for its gambling transactions and the right code for everything else. A merchant that takes gambling transactions online must use 7995 for all of its transactions, even if gambling is not its main business. In the US, transactions that qualify for 7800, 7801 or 7802 (government-owned lotteries, government-licensed online casinos and licensed horse or dog racing) must use those codes even when gambling is not the primary business.
Mastercard reaches a similar result by transaction type. Any transaction properly identified with a gambling code (7800, 7801, 7802, 7995 or 9406), a funding code (4829, 6538 or 6540) or a quasi-cash code (6050 or 6051) must carry that code, whatever the merchant's primary business. A merchant whose main business is selling prepaid gift cards online must use 6051 or process the sales as funding transactions under 6540.
Visa's own documents disagree on shared premises
On businesses sharing one location, Visa's documents do not agree. The general requirements in the Merchant Data Standards Manual say each business on the same premises must have its own code if any one of three things applies: a different merchant name, a distinct area, or separate points of sale. A few pages later, the manual's list of mandatory multiple-code cases requires different codes only when all three apply. The core rule uses different triggers again: a separate agreement, different displayed names, a high-integrity risk line, or linked websites.
The manual says the Visa Core Rules and Product and Service Rules govern where they conflict with it. In practice the safer reading for an acquirer is the broader one. A hotel gift shop with its own name and its own terminal should have its own code, and the manual's own example puts a florist in a hotel under 5992 whether or not the hotel owns it.
Codes That Describe How a Merchant Sells
Most codes describe what a merchant sells. Some describe how. Visa's manual says direct marketing and wholesale club codes describe the way the merchant does business: a direct marketing merchant selling by catalogue, telemarketing or mail, card-absent, must use a direct marketing code whatever it sells. A merchant that moves from a shop to telephone sales may need a different code even though its products are the same.
Payment facilitators get no shortcut. Visa's manual says a facilitator must evaluate the business of every sponsored merchant and assign the code most appropriate to that merchant's business, and the Visa rules require the acquirer to ensure it does. Mastercard's Rule 5.8.1 applies to sponsored merchants in the same terms as to merchants. A facilitator that boards every sub-merchant under one generic code is out of line with both.
What Rides on the Code
Registration. Some codes are a trigger for network registration before the first transaction. Visa requires an acquirer to register high-integrity risk merchants, with an exception for pharmacies accredited by the National Association of Boards of Pharmacy or another regulator Visa recognises, and the manual lists the codes, including card-absent transactions under 5122, 5912, 5966, 5967, 5993, 7273 and 7995, plus certain card-absent uses of 4816, 6211, 5968, 5816, 6051 and 6012. Visa may charge an acquirer that fails the registration requirements USD 100,000 or USD 25,000 a month, depending on a merchant tier the public rules do not define, plus USD 2,000 per merchant per month of non-compliance. Mastercard's Specialty Merchant Registration Program is likewise keyed to codes, from adult content (5967 and 7841) to negative option billing for physical products (5968).
Monitoring. Visa may charge an acquirer USD 25,000 per merchant per month, and permanently disqualify the merchant and its principals, if it finds that the acquirer, merchant, sponsored merchant or agent changed the merchant name, merchant data or merchant performance to get around the Visa Acquirer Monitoring Program or the Visa Integrity Risk Program.
Interchange. Mastercard's booklet describes its custom acceptor business programs as groupings of codes the system uses for interchange qualification, and Visa's public rate table carries separate rates for segments such as supermarkets, utilities, charities and government. A wrong code can put a merchant on the wrong rate in either direction. Mastercard runs a formal miscoding program, with issuer complaints, assessments and interchange recovery from the acquirer, but its Security Rules limit that program to Brazil.
Card controls. Visa's rules set requirements for issuers that let cardholders limit card use by MCC. A sale coded to a category the cardholder has blocked will decline, however legitimate it is.
Codes Change, and So Do Merchants
The code list is not static. The October 2026 edition of Visa's manual moved escort services out of 7273, Dating Services, and into 5967, Adult Content and Services. Visa says it strongly recommends acquirers review merchants' codes periodically for accuracy.
Merchants change too. The manual's own example is a beauty salon, coded 7230, whose day spa grows to outsell the salon. The merchant can move to 7298, Health and Beauty Spas, or run the spa on its own acceptance device under its own code. Once the spa has its own name and its own device, two codes are required. In the US, Visa's rules also require acquirers to give Visa each merchant's primary and any secondary codes, and to keep that information accurate and updated when it changes.
What a Merchant-Services Team Should Do
- Record the basis for the code at boarding: the merchant's lines of business and roughly what share of sales each one brings in. The primary-business test depends on it.
- Treat a code ending in 99 as a decision that needs a note explaining why no specific code fits.
- Ask about every website, every separately named business on the premises and every separate point of sale. Each can require its own code.
- Check the code against both networks' registration lists before the first transaction, not after the first monitoring report.
- For payment facilitators, code each sponsored merchant on its own business and audit a sample.
- Re-check the code when the merchant's sales mix, sales channel or website changes, and on a regular review cycle, and keep the reason for every change.
None of this needs new technology. It needs the MCC treated as an underwriting decision with a recorded reason, made by the acquirer's team rather than accepted from the application form.
Tags
About the author

Kyle Hall
Founder
Kyle Hall is a fintech entrepreneur, software engineer, and marketing strategist with over a decade of experience in high-risk payment processing and SaaS development. He is the CEO of PayKings, a leader in high-risk merchant services, and the founder of PulseCRM, a purpose-built CRM platform for the payments industry. Kyle specializes in building custom payment processing systems and growth strategies that empower merchant services providers to scale and succeed in the digital marketplace.
