A healthcare merchant category code (MCC) is a four-digit number that tells card networks what kind of medical business is taking the payment. Doctors' offices are commonly classified under 8011, dentists under 8021, chiropractors under 8041 and hospitals under 8062. The code your practice carries affects how transactions are classified, how they are monitored for risk and how they can be restricted by card programs.
This guide lists the common healthcare codes, explains the hospital code, shows what happens when a code does not match the business, and separates MCCs from the interchange qualification rules that actually set your card cost.
TL;DR
- MCCs classify the business, not the sale. Payment brands, issuers and acquirers use them to categorize, track and restrict transactions.
- Common healthcare codes: 8011 (doctors), 8021 (dentists and orthodontists), 8041 (chiropractors), 8042 (optometrists and ophthalmologists), 8062 (hospitals), 8071 (medical and dental laboratories) and 8099 (medical services and health practitioners).
- The code must match your primary business. Card networks can audit and require corrections.
- Your MCC is not your rate. Interchange depends on several factors, including merchant category, data quality and timing.
Table of Contents
- What a healthcare MCC does in a card payment
- Common MCCs for doctors, dentists and other providers
- The hospital MCC: 8062
- Why a mismatched code matters
- MCC and interchange are not the same thing
- Restaurant interchange qualification and optimization
- Our perspective on healthcare MCCs
- How to find and confirm your MCC
- Payments built for healthcare practices
- Related topics for healthcare finance teams
- FAQ
- Sources
What a healthcare MCC does in a card payment
Every merchant account is assigned an MCC when it is set up. It travels with each transaction. Merchant category codes classify merchants by the type of goods or services they provide, and payment brands, issuers and acquirers use them to categorize, track and restrict transactions. The same codes are also used for tax reporting.
For a healthcare provider, three practical things follow:
- Approval behavior. Issuers and card programs can allow or block spending by category. A patient using a health benefit card is more likely to be approved when the transaction arrives under a recognized healthcare category.
- Risk treatment. Mastercard requires an MCC in all authorization and clearing messages, reflecting the primary business and supporting risk management. A code that fits your business helps your transactions look like what they are.
- Pricing inputs. Merchant category is one of several inputs to interchange. We cover that below.
The code is chosen when the account is underwritten, based on what your practice does. It is not something a front-desk team changes per patient.
Common MCCs for doctors, dentists and other providers
The list below covers the codes most healthcare practices meet. It follows a published MCC list from a health benefits administrator, which names these categories, plus the hospital code defined in Mastercard's rules.
| MCC | Category | Typical fit |
|---|---|---|
| 8011 | Doctors and physicians, not elsewhere classified | Primary care, specialists, group practices, urgent care |
| 8021 | Dentists and orthodontists | General dentistry, orthodontic practices |
| 8041 | Chiropractors | Chiropractic clinics |
| 8042 | Optometrists and ophthalmologists | Eye care practices |
| 8049 | Chiropodists and podiatrists | Podiatry practices |
| 8050 | Nursing and personal care facilities | Care facilities |
| 8062 | Hospitals | Overnight inpatient stays |
| 8071 | Medical and dental laboratories | Diagnostic and dental labs |
| 8099 | Medical services and health practitioners | Health services that fit no narrower code |
| 4119 | Ambulance services | Ambulance transport |
The same published list also names 5047, medical, dental, ophthalmic and hospital equipment and supplies, which suits a business that sells equipment rather than delivering care.
How to read the list
The codes follow the type of provider. 8011 is the broad code for physicians who do not have a more specific category, so a family medicine group, a cardiology practice and a dermatology office are all commonly found there. Dentists have their own code. So do chiropractors, eye care providers and podiatrists.
Code 8099 is a catch-all for health practitioners and medical services not listed elsewhere. Practices whose services do not map cleanly to a specialty code are the ones most likely to discuss 8099 during underwriting.
Practices that do more than one thing
Many organizations offer a mix: a medical group with an in-house lab, a dental office that sells retail products, a clinic with a cash-pay wellness program. The card brand rule is about the primary business. If your main activity is delivering physician services, the account is classified there. Separate activities that are clearly a different kind of business may need their own merchant account and their own code. Ask your payment partner to review the mix before applying, so the account is structured correctly from day one.

The hospital MCC: 8062
The hospital MCC is 8062. Under Mastercard's rules it applies to charges for an overnight bed occupancy. That definition has consequences for how a hospital organizes its payments.
- Outpatient bills are not covered by the overnight-stay definition and should not be run under 8062.
- Unrelated commercial activity on the premises, such as a gift shop, needs its own appropriate code.
- A hospital can hold more than one code because different departments and businesses on a campus do different things.
For a hospital finance team, this means the payment structure should mirror the actual operation. Inpatient accounts, outpatient clinics, a pharmacy, a cafeteria and a gift shop are different kinds of merchants, and each one is classified by what it sells.
Hospital restaurants and cafeterias
Food service inside a hospital is classified as food service, not as a hospital. Mastercard's rules state that the Restaurant Transaction Category Code (F) applies to restaurants, including those located within hospitals or hotels. A cafeteria that processes its own cards belongs in a restaurant setup with restaurant data, not under the hospital's patient-billing code.
Why a mismatched code matters
Card brands treat MCC assignment as a rule, not a suggestion. Three points from the networks' own documentation:
- Audit and correction. Visa and Mastercard retain the right to audit merchants and require corrections to MCC assignments that do not accurately reflect the primary business.
- Controlled combinations. Mastercard states that valid combinations of transaction category code and MCC are strictly controlled, and that an unauthorized pairing leads to automatic transaction rejection.
- Accuracy supports risk management. The code is there so networks and issuers can understand the business behind a transaction.
For a practice, the lesson is simple: choose the code that describes your real primary business, keep it current when services change, and make sure your processor understands the full picture. A correct code at onboarding avoids rework later.
MCC and interchange are not the same thing
Searchers often mix up two ideas: the MCC and the interchange qualification category. They are related but different.
The MCC says what kind of merchant you are. Interchange is the fee set by the card network that the issuing bank receives on each transaction. Mastercard lists several factors in its interchange requirements: merchant category, time between authorization and clearing, presence or absence of magnetic-stripe data, enhanced transaction data, and the merchant's Mastercard sales and transaction volume.

So the MCC is one input. How a transaction is captured, how quickly it settles and how much data comes with it can matter as well. Mastercard notes that its systems verify the requirements, but merchants and acquirers should aim to meet the criteria for advantageous interchange rates.
What this means for a medical office
- Card-present vs. keyed. Chip, tap or swipe at the front desk captures more data than manually keyed entries.
- Timely settlement. Closing the batch on a regular schedule keeps authorization-to-clearing time short.
- Complete data. Patient portals and payment links should pass the data the networks expect.
- Business cards. Practices that bill other businesses, such as occupational health or supply purchases, can benefit from enhanced transaction data on commercial cards.
For a deeper look at what these costs add up to, see our article on the hidden cost of card processing fees on patient payments and our overview of payment processing fees healthcare providers face.
Restaurant interchange qualification and optimization
Because many readers who look up healthcare codes also run food service, such as hospital cafeterias, clinic cafes and restaurant groups, the same logic applies to restaurants.
Qualification means a transaction meets the requirements of a given interchange category. For restaurants, Mastercard assigns the Restaurant Transaction Category Code (F), and the category applies to restaurants wherever they are located, including inside hospitals and hotels. Whether a transaction lands in a favorable category depends on the same factors listed above: merchant category, timing, data captured and volume.
Optimization is the work of making sure each transaction meets those criteria. A practical checklist for a restaurant or cafeteria:
- Confirm the merchant account is classified as food service and not under a catch-all code.
- Settle batches daily so authorization-to-clearing time stays short.
- Use chip and contactless acceptance at the counter and table.
- Send tips and adjustments through the correct process so the final amount clears properly.
- Review your statement by transaction type, so you can see which transactions fall into higher-cost categories.
Pricing structure decides whether those improvements reach you. Under a flat-rate model, the processor keeps the difference. Under pass-through pricing, interchange savings show up in your statement. That is why we build reporting that shows each transaction.
Our perspective on healthcare MCCs
Most practices do not think about their MCC until a payment does not behave as expected. We think it should be a one-time setup item, handled with the practice at onboarding and then left alone.
Here is how we approach it:
- Start with what the practice does. We look at services, patient mix and how payments are taken before assigning anything.
- Keep the structure honest. A medical group with a lab, a pharmacy and a cafe is several kinds of merchants. We set them up that way.
- Separate the code from the price. An MCC is a label. What you pay depends on pricing model and transaction quality. Our Network Offset Pricing passes through true wholesale interchange rates, with no hidden fees and no flat-rate markup, and our merchants typically save 30-60% compared to major processors.
- Show every transaction. Detailed transaction reporting lets a practice manager see how card type, entry method and timing relate to cost.
- Build for compliance. Healthcare payments call for PCI DSS Level 1 and SOC 2 standards and a processor that understands HIPAA-sensitive workflows.
The result is a setup that is accurate from the first transaction and easy to read afterward. No contracts and no minimums mean a practice can focus on patients, not on its processor.
— PaySec Marketing Team
How to find and confirm your MCC
You do not have to guess. Use this order:
- Check your merchant account paperwork. The application or approval documents list the MCC assigned to your account.
- Look at your processing statements. Many statements and reporting portals show the MCC next to the merchant profile.
- Ask your processor in writing. Request the MCC on each merchant ID, especially if you have more than one location or business line.
- Compare it to what you do. Match it to the list above. A physician practice commonly sits at 8011, a dental office at 8021, and a lab at 8071.
- Update it when the business changes. If you add a pharmacy, a new service line or a retail operation, tell your processor so the structure can be reviewed.
If the code does not describe your primary business, ask for a review. Networks can require corrections, so it is better to address it on your own schedule.
When health benefit cards come into play
Health savings and flexible spending cards are the reason many providers look up MCCs. Those cards are generally designed to work at merchants that carry healthcare categories, which is why benefit administrators publish lists like the one above. If your practice depends on patients using benefit cards, a correct healthcare MCC on your account is a basic requirement. Your payment partner can walk you through any additional card acceptance requirements for your setup.
Payments built for healthcare practices
PaySec provides HIPAA-compliant merchant accounts for healthcare practices with dedicated merchant accounts, in-office and online acceptance, recurring billing for payment plans and real-time reporting. We approve quickly, work without long-term contracts and price with Network Offset or interchange-plus models so the cost of each transaction is visible.
Practices that want to see how it works can review Network Offset, Flat Rate and Custom Enterprise options or explore our merchant services, from in-store processing to ACH and recurring billing. Ready to compare your current statement? Start on our healthcare page.
Related topics for healthcare finance teams
MCCs are one piece of a wider payment setup. These guides cover the rest:
- Healthcare payment processing best practices for patient-facing workflows.
- Healthcare payment gateway integration for IT leaders connecting billing systems.
- Surcharge rules for U.S. providers and card brand surcharge rules.
- Network Offset Pricing explained for the pricing model behind our rates.
FAQ
What is the MCC code for a doctor's office?
The common code is 8011, doctors and physicians not elsewhere classified. Dentists use 8021, chiropractors 8041 and optometrists and ophthalmologists 8042. Your processor assigns the final code based on your primary business.
What is the hospital MCC code?
It is 8062. Under Mastercard's rules it covers charges for overnight bed occupancy. Outpatient bills and unrelated businesses on the premises, such as a gift shop, use their own appropriate codes.
Does my MCC set my processing rate?
No. The MCC is one factor among several. Interchange also depends on the time between authorization and clearing, the data captured, whether the card was present and sales volume. Your pricing model then decides how much of the wholesale cost reaches you.
Can I change my MCC?
It is assigned during underwriting based on your primary business. If your services change or the code does not fit, ask your processor for a review. Card networks can also audit and require corrections to codes that do not reflect the primary business.
Which MCC applies to a cafeteria inside a hospital?
Food service inside a hospital is treated as a restaurant, not as a hospital. Mastercard's restaurant category applies to restaurants located within hospitals or hotels, so a cafeteria that takes its own card payments belongs in a food service setup.
Sources
- Merchant Category Codes (Citi Treasury and Trade Solutions)
- Mastercard Quick Reference Booklet for merchants
- Mastercard Interchange Fees and Rates Explained
- Merchant category codes (MCC) list, HealthEquity
