I just moved to Spain not long ago and recently opened an account with Santander, planning to have my family send over some living expenses. But after staring at the pile of documents the bank gave me, I realized the bank account numbers here are quite different from what I’m used to back home. There’s this super long IBAN code that’s just dazzling to look at.
At first, I thought the 16-digit number printed on the front of my card was my account number, just like with bank cards back home. After checking with a friend, I finally understood that’s just the card number, mainly used for card purchases and online payments. The actual bank account number is a different set of digits, which is now typically included within the IBAN.

So, for local transfers in Spain or for someone to send you money, you need to provide your IBAN, not the 16 digits on your card. A complete Spanish IBAN has a total of 24 characters! Here’s how it’s structured:
ESXX XXXX XXXX XX XXXXXXXXXX
Let me break it down for you, and it will be crystal clear:
| Component | Digits | Explanation |
| Country Code | 2 characters | ES stands for España (Spain) |
| Check Digits | 2 digits | Used to validate the entire IBAN’s accuracy |
| Bank Code | 4 digits | Represents your specific bank, e.g., 2100 for CaixaBank, 0182 for BBVA |
| Branch Code | 4 digits | Represents the specific branch where you opened the account |
| Control Digits | 2 digits | These are the check digits for the following 10-digit account number, not to be confused with a SWIFT code. |
| Account Number | 10 digits | This is your unique personal account number |
Simply put, a full Spanish bank account number is actually the last 20 digits. Add ‘ES’ and the two check digits at the beginning, and you get the international standard IBAN. Once you understand this structure, you won’t be confused when looking at your banking app or statements anymore. I have to say, the design is quite rigorous, even if it’s a bit daunting at first. I hope this little explanation helps more friends who have just arrived in Spain!