Mexico SPEI Explained

Mexico runs one of the more distinctive instant payment systems in the world: SPEI, operated directly by the central bank. If you build payments in or into Mexico, SPEI is the backbone you will interact with. Here is what it is, how it moves money, and the pieces around it you need to know.
What SPEI is
SPEI stands for Sistema de Pagos Electrónicos Interbancarios — the Interbank Electronic Payment System. It is operated by Banco de México (Banxico), the country's central bank, and it is the primary system for electronic funds transfers between banks in Mexico. Unlike some countries where an instant scheme is run by a separate industry operator, SPEI is run by the central bank itself, which gives it a particular character: settlement happens in central bank money, and the operator is the monetary authority.
SPEI processes transfers close to real time, typically completing an interbank transfer within seconds. It operates for extended hours, and transfers between accounts at different banks are credited to the beneficiary almost immediately during operating times.
CLABE: the account identifier
To route a payment in Mexico you use a CLABE (Clave Bancaria Estandarizada), an 18-digit standardized bank account number. The CLABE encodes the bank code, the branch, the account, and a check digit, so it uniquely identifies a destination account across the banking system. It is the Mexican equivalent of combining a bank identifier and account number into one standardized string, and it is what you supply to send a SPEI transfer.
Because the CLABE contains a check digit, basic input errors can be caught before a payment is sent, and because it embeds the bank code, the system knows exactly which institution should receive the transfer.
How a SPEI transfer settles
SPEI is built on a real-time settlement model at the central bank. When a payer's bank submits a transfer, it settles against balances the banks hold at Banxico, and the beneficiary bank credits the recipient's CLABE account. Because settlement is in central bank money and happens continuously, there is no deferred net settlement cycle in the way some schemes use; the transfer and its settlement are tightly coupled and fast.
This design gives SPEI strong finality and low systemic risk: since it settles in central bank money, the counterparty risk that comes with deferred settlement is minimized. It also means banks must manage their liquidity at the central bank to keep sending payments.
CoDi: the QR and request overlay
On top of SPEI, Banxico built CoDi (Cobro Digital), a system for requesting and collecting payments using QR codes and near-field prompts, aimed at digitizing point-of-sale and person-to-person collections. CoDi does not replace SPEI; it rides on it. When a customer scans a CoDi QR code and approves, the underlying money movement is a SPEI transfer. The overlay exists to make SPEI easy to use at the point of sale and to push financial inclusion by giving merchants and individuals a low-cost, cashless way to collect payments.
This layering — an instant settlement rail underneath, a user-friendly request-and-QR layer on top — mirrors a pattern seen worldwide, where the core rail handles settlement and an overlay handles the customer experience. It is the same separation you see between Faster Payments and its overlays in the UK, or between UPI's switch and its apps in India, and it lets the customer-facing experience evolve without disturbing the settlement engine underneath.
Why SPEI matters to builders
- Central bank operation means settlement in central bank money and strong finality, but also that you are integrating with infrastructure governed by the monetary authority.
- CLABE is the mandatory routing identifier; validating its check digit and bank code before sending prevents avoidable errors.
- Near-instant, extended-hours operation sets user expectations of speed, so your product should reflect real-time confirmation.
- CoDi is the overlay for QR and request-to-pay experiences built on the same rail.
Key takeaways
- SPEI is Mexico's interbank electronic payment system, operated directly by the central bank, Banxico.
- It settles interbank transfers in near real time, in central bank money, giving strong finality and low counterparty risk.
- Payments are routed using the CLABE, an 18-digit standardized account number embedding bank code, account, and a check digit.
- CoDi is a QR-code and request-to-pay overlay that rides on SPEI to digitize point-of-sale and P2P collections.
- Builders should validate CLABEs, expect near-instant settlement, and use CoDi for QR experiences on the same rail.