Just arrived in Spain? Dealing with banks can be one of the most confusing things at first. I recently got my bank card and a pile of documents, and that super long number on them was instantly baffling. What’s an IBAN? What’s a CCC? It took me a while to figure it out. Today, I’m sharing what I’ve learned to help others who are new here!
That long string of characters your Spanish bank gives you is actually your IBAN, which stands for International Bank Account Number. It’s used for virtually all transfers within the SEPA (Single Euro Payments Area) zone now. Its purpose is to make your account uniquely identifiable worldwide, which helps automate processing and reduce errors.
The Structure of an IBAN
The IBAN might look long, but it’s quite simple when you break it down. A standard Spanish IBAN has 24 characters, which can be seen in five parts:
- ESXX
- XXXX
- XXXX
- XX
- XXXXXXXXXX
So, the full structure is: ESXX XXXX XXXX XX XXXXXXXXXX. The ‘ES’ at the beginning stands for Spain (España), and the next two digits are the overall check digits for the entire IBAN. Breaking it down like this makes it much less intimidating, right?
What About the CCC?
Before the IBAN system, Spain used the Código Cuenta Cliente (CCC), or Client Account Code. It’s essentially the 20 digits that follow the ‘ESXX’ country and check code in your IBAN. Although the IBAN is standard now, you might still come across the CCC on older forms or within some banks’ internal systems. Just remember that the CCC is now outdated the CCC is simply a part of your full IBAN.
To make things clearer, I’ve created a simple table to distinguish the key codes. This will come in handy when you’re at the bank or managing your account online:
| Code Name | Digits | Position in IBAN | Description |
| Bank Code | 4 | Digits 5-8 | Identifies the bank, e.g., 2100 for CaixaBank or 0049 for Santander. |
| Branch Code | 4 | Digits 9-12 | Identifies the specific branch where you opened the account. |
| Check Digits | 2 | Digits 13-14 | Used to validate the preceding bank and branch codes, as well as the following account number. |
| Account Number | 10 | Last 10 digits | This is your unique account number. |

Once you understand this structure, you’ll have no trouble whether someone is transferring money to you or you’re setting up direct debits for utilities. Just use the full IBAN. That long string of numbers won’t be daunting anymore! I hope this post is helpful. If there are any inaccuracies in this explanation of the Spanish bank structure, feel free to point them out!