top of page

Merchant Category Code (MCC) – what is it and how it works?

Jun 11, 2025
4 min read

Updated: Dec 29, 2025

Merchant Category Code (MCC) is a four-digit code assigned to merchants that defines the main type of their business activity. These codes are defined by card networks such as Mastercard and Visa, and they play a key role in the authorization and classification of payment transactions.


How does MCC work?

When a store or business sets up a payment terminal (a device enabling card payments), it must declare its primary business activity — this is when an MCC code is assigned. This code is visible in the payment system during every transaction.

For example:

  • A BP gas station might have the code 5541 – “Service stations (with or without ancillary services).”

  • A grocery store, like Lidl, would have MCC 5411.

  • A specialty store, such as one selling nuts – MCC 5441.

Some codes are broad (e.g., “gas station”), while others are very specific. Each transaction can have only one MCC — the one assigned to the terminal by the acquiring bank (acquirer).

Transaction information (amount, terminal location, store name, MCC code, etc.) is transmitted from the terminal to the payment gateway, then to the card network, and finally to the bank. MCC is one of the key elements used by banks to decide whether to approve or reject a transaction.


How many MCC codes are there?

The number of MCC codes depends on the payment network – Visa, Mastercard, Mir, etc. – and typically ranges between 750 and 800. Interestingly, some companies and industries have their own unique codes. For example:

  • PLL LOT (Polish Airlines) has the code 3182 – “LOT Polish Airlines.”


Grouping MCC codes – a problem without a perfect solution

Each bank and payment institution has its own method for classifying MCCs into broader categories such as: transportation, dining, healthcare, etc. Unfortunately, there is no universal standard – different institutions may assign the same MCC to different categories. Moreover, business activities may change over time, making it difficult to maintain an accurate classification.

This creates challenges for developers of payment solutions, especially those enabling card spending limits based on MCC categories:

  • Should users be allowed to choose from all 800 codes themselves?

  • Or is it better to offer pre-built category buckets, like “restaurants” or “pharmacies”?

At Sparados, we chose flexibility – we allow manual MCC assignment via CSV or API, and for user convenience, we offer predefined MCC groups in the corporate panel. This allows users with more advanced needs (e.g., insurance companies) to precisely set where a card can be used – split into pharmacies, private clinics, hospitals, etc.


MCC limits – whitelists and blacklists

Banks and fintechs usually implement two models for filtering transactions based on MCC:

  • Whitelist – only transactions from specified MCCs are allowed.

  • Blacklist – transactions from specified MCCs are blocked.

This enables control over where a user can spend money – e.g., a corporate card can be restricted to MCCs related only to business travel.


Limitations and exceptions in practice

Each terminal has only one assigned MCC. This means:

  • If you buy alcohol at a gas station, the transaction will still have the gas station MCC (5541) – not a liquor store.

  • A lunch card will accept any purchase at a restaurant, even if it’s not a qualified meal – which can lead to misuse.

That’s why card terms and conditions often include additional rules and clarifications on what can and cannot be financed.


Reporting based on MCC

Issues with MCC classification also affect transaction reporting. Fortunately, solutions are available that learn from user data and dynamically adjust categories to their needs. Automatic classifiers can eventually assign the correct category on their own.

An added difficulty arises when small business owners don’t update their MCC after changing business activity – for example, a fishing gear store starts selling bicycles but forgets to notify the acquiring bank. Luckily, such situations are becoming increasingly rare.


Fun Fact: Valentine’s Day vs Women’s Day – who wins in flower shops?

According to data from Sparados:

  • Valentine’s Day (14.02.2025): the number of transactions in flower shops rose from an average of 273 to 3122.

  • Women’s Day (08.03.2025): a whopping 4532 transactions – over a 1560% increase from the daily average!

On Women’s Day, the number of purchases was 45% higher than on Valentine’s Day – it looks like March 8th is the real flower holiday in Poland.


Chart from card transactions in the period 10.02.2025 – 10.03.2025

wykres

Summary:

MCC is the foundation of how payment systems work, impacting transaction control, classification, and reporting. Although the system is not perfect and requires constant updating, it offers tremendous customization potential – both for financial institutions and end users. At Sparados, we believe that flexibility and automation are key to modern payment solutions.


Read more of our articles:


Find out how we can help your business!

SPARADOS - THE OPTIMAL SOLUTION

Sparados S.A.

Sparados SA with headquarters in Lublin, at 17A Rusałka St., 20-103 Lublin, entered into the register of enterepreneurs of the National Court Register with the KRS No. (National Court Register No.): 0000985680, NIP (Tax ID No./VAT Reference No.): 9462719635 and REGON (Business ID No.): 522752701, with a fully paid share capital of PLN 333 370,00.

 

Data Protection Officer: Weronika Dawidzka

Email: [email protected]

Contact: +48 781 761 200

  • Instagram
  • Facebook
  • LinkedIn
  • YouTube

Sparados App

Download on the Apple Store
Download on the Apple Store
Get it on Google Play
Get it on Google Play

© 2026 Sparados. All right reserved

EFSG_en.png
NCBR_logo_ENG.png
RDF_en.png

Designed by

Sparados S.A. (Tax Identification Number/NIP: 9462719635), with its registered office in Lublin at ul. Rusałka 17A, 20-103 Lublin, is neither a payment service provider nor a payment institution within the meaning of the Act of 19 August 2011 on Payment Services. The Company does not hold an authorization from the Polish Financial Supervision Authority (KNF) to provide payment services, does not hold user funds, and provides solely a technological platform for expense management and integration with third-party payment service providers.

Payment services, including the maintenance of accounts, issuance of payment cards, and execution of transactions, are provided by appropriately licensed payment service providers operating within Europe, in accordance with applicable laws and under the supervision of relevant regulatory authorities.

The use of payment functionalities is subject to the acceptance of the terms and conditions of the respective payment service provider. The agreement for the provision of payment services is concluded directly between the user and said provider.

Sparados S.A. shall not be held liable for the execution of payment transactions or for their settlement between the user and the payment service provider. The Company acts exclusively as a technology solution provider enabling access to these services.

bottom of page