If you’ve recently moved to Spain, you might have noticed something confusing when setting up a salary account or signing a mobile phone contract: the bank account number format seems to change. Sometimes it starts with ‘ES,’ other times it’s just a long string of numbers. It can be a bit baffling. After chatting with friends, I realized many newcomers face this issue, so today, let’s break down how Spanish bank accounts really work.
The Core of Spanish Bank Accounts: The IBAN
In Spain today, the most common and standard format for an account number is the IBAN , which stands for International Bank Account Number. Its main purpose is to standardize transfers within the European Union and beyond, reducing errors.
A complete Spanish IBAN has a total of 24 digits. It is structured as follows:
- ES: The country code for Spain.
- XX: Two check digits, calculated by the system based on the rest of the number to validate its accuracy.
- XXXX XXXX XX XXXXXXXXXX: These 20 digits are your original domestic Spanish bank account number, also known as the CCC.
So, whenever you need to provide your bank details for transfers, contracts, or other purposes, like when [checking your Spanish bank account details], just provide your 24-digit IBAN starting with ES. With this [Spanish bank account] number, you can’t go wrong!

The Relationship Between IBAN and CCC
Simply put, the IBAN is just the old 20-digit CCC with four characters added to the front. Although the CCC is still around, you’ll mostly only see it used internally by banks or in very specific local situations. This table makes it clear:
| Format | Full Name | Digits | Primary Use |
| IBAN | International Bank Account Number | 24 | International and domestic transfers, contracts, payments, etc. |
| CCC | Código Cuenta Cliente | 20 | Being phased out by the IBAN; forms the main part of the IBAN |
In many banking apps, the account details page will list both your IBAN and CCC, so you can check and compare them yourself. The 20-digit CCC is typically broken down into several parts, representing: the bank code, branch code, check digits, and your personal account number.
Don’t Forget the SWIFT/BIC Code!
Finally, let’s talk about another code you’ll encounter when making international transfers: the SWIFT or BIC code. This code is like an ID number for the bank, used to identify the specific recipient bank within the global banking network. It’s usually an 8 or 11-character code made up of letters. For example, CaixaBank’s BIC is CAIXESBBXXX, and BBVA’s is BBVAESMMXXX.
To sum up: for daily activities within Spain, you just need to know your IBAN. If you need to receive money from abroad, you’ll have to provide both your [Spanish bank’s] IBAN and its SWIFT/BIC code. We hope this post helps, so you’ll never have to worry about bank account digits again!