Paying a contractor or supplier in Mexico starts with their CLABE, the 18-digit account number every SPEI transfer uses. One wrong digit and the payment bounces or, worse, lands in the wrong account. Paste a CLABE below to check its check digit and see the bank, plaza and account it encodes. It runs in your browser, so nothing you type is sent anywhere.
CLABE validator
Checker loading. If it doesn't appear, use the manual steps below.
How a CLABE is built
| Digits | Meaning | Example (032180000118359719) |
|---|---|---|
| 1 to 3 | Bank code | 032 |
| 4 to 6 | Plaza (city) code | 180 |
| 7 to 17 | Account number | 00011835971 |
| 18 | Check digit | 9 |
How to check a CLABE by hand
- Multiply the first 17 digits by the weights 3, 7, 1, repeating.
- Keep only the last digit of each product and add them.
- Take the last digit of the sum, subtract it from 10 and keep the last digit. That's the check digit.
A passing check digit proves the CLABE is well formed. It doesn't confirm the account holder, so check the beneficiary name with your contractor before the first payment.
Common bank codes
| Code | Bank |
|---|---|
| 002 | Banamex |
| 012 | BBVA México |
| 124 | Citi México |
| 014 | Santander |
| 021 | HSBC |
| 030 | BanBajío |
| 036 | Inbursa |
| 044 | Scotiabank |
| 058 | Banregio |
| 072 | Banorte |
| 127 | Banco Azteca |
| 137 | BanCoppel |
| 638 | Nu México |
| 646 | STP |
| 722 | Mercado Pago W |
Codes come from Banco de México's list of SPEI participants (Banxico SPEI). The validator knows 34 common codes and flags any others for you to look up.
SPEI vs SWIFT for payments to Mexico
| SPEI | SWIFT | |
|---|---|---|
| Currency | Mexican pesos (MXN) | Usually USD |
| Details needed | CLABE and beneficiary name | Bank SWIFT code, CLABE or account number, beneficiary name and address |
| Speed | Usually seconds, 24/7 | Usually 1 to 5 business days |
| Fees | Low | Sender, intermediary and receiving fees can apply |
For contractor payments in pesos, SPEI is usually the better rail. More on paying people abroad in how to pay international contractors, contractor payments and paying overseas suppliers as a non-US company.
Paying and getting paid in MXN with OneSafe
OneSafe is a neobank for companies that operate globally. A OneSafe account lets eligible businesses pay MXN by SPEI from a USD balance, receive MXN by SPEI (converted to USD), and send USD by ACH, wire or SWIFT across 115+ countries (supported rails). SPEI transfers to other virtual accounts aren't supported. Fees are on the pricing page and timing on the processing times page.
Sign-up is free. Sending money needs a paid plan (plans). Need to give a US client your own payment details? Use the wire instructions template.
FAQ
What is a CLABE?
A CLABE (Clave Bancaria Estandarizada) is the 18-digit standardized account number used for bank transfers in Mexico, including SPEI payments. Every Mexican bank account that can receive transfers has one.
How is a CLABE structured?
The first 3 digits are the bank code, the next 3 are the plaza (city) code, the next 11 are the account number and the last digit is a check digit calculated from the other 17.
How do I check a CLABE's check digit?
Multiply each of the first 17 digits by 3, 7, 1, 3, 7, 1 and so on, keep only the last digit of each product and add them up. Take the last digit of the total, subtract it from 10, and take the last digit of the result. That is the check digit.
Is a CLABE the same as a SWIFT code?
No. A CLABE identifies a specific account in Mexico. A SWIFT/BIC code identifies a bank. A payment from outside Mexico by international wire usually needs both: the bank's SWIFT code and the beneficiary's CLABE.
What is SPEI?
SPEI is Mexico's interbank electronic payment system, run by Banco de México. It moves pesos between accounts identified by CLABE, around the clock, and most payments arrive within seconds.
Should I pay a Mexican contractor by SPEI or SWIFT?
If the contractor wants pesos, a local SPEI payment to their CLABE is usually faster and cheaper than an international SWIFT wire, which can take several days and lose money to intermediary fees. SWIFT makes sense when they need USD in a dollar account.
Can a US or global company pay suppliers in Mexico by SPEI?
Yes, through financial platforms that offer SPEI. OneSafe lets eligible businesses pay MXN by SPEI from a USD balance and receive MXN by SPEI, which converts to USD.
These tools are for information only. They check formats and check digits, not account ownership. Always confirm payment details with the account holder before you send money. OneSafe is a financial technology company, not a bank. Banking services are provided by licensed partners. OneSafe product details come from faq.onesafe.io as of 5 December 2026.




