Just got your bank card in Spain and feeling a bit dizzy looking at that long IBAN? Especially when making a transfer or setting up a service, you’re often asked for various numbers like the ‘Código de Entidad’ and ‘Código de Oficina’. Today, we’ll break it down for you and share a quick way to look them up.
What is a Bank Entity Code?
Simply put, the ‘Código de Entidad’ is a unique ‘ID number’ for each bank. In Spain, every bank is assigned a 4-digit code by the Bank of Spain. This code is crucial for identifying the specific bank.
A typical IBAN account number looks like this: ESXX XXXX XXXX XX XXXXXXXXXX. Following the country code ‘ES’ and the two check digits, the next four digits are the bank’s entity code. For example, if you see ESXX 0049...., you can be almost certain it’s a Santander IBAN account.
Common Bank Entity Codes
To make things easier, I’ve compiled a list of entity codes for some commonly used banks. Sometimes, just seeing the code can help you instantly recognize the bank, which is very convenient.
| Bank Name | Entity Code |
| Banco Santander | 0049 |
| BBVA | 0182 |
| CaixaBank | 2100 |
| Banco Sabadell | 0081 |
| ING Bank | 1465 |
| Bankinter | 0128 |
| Abanca | 2080 |

This is just the tip of the iceberg. Sometimes you might encounter merged banks or smaller regional banks, so the codes for these Spanish banks might not be on this list. In that case, you’ll need to look it up. The most official way is to search directly on the Bank of Spain’s website. They have an official search engine where you can enter the bank’s name to find its code, or vice versa. For most of us, a simple Google search for ‘código entidad + bank name’ will usually provide the answer quickly and easily.
I hope this short guide helps those who are new to Spain or not very familiar with the banking system. Have you ever run into trouble with transfers because of an incorrect code? Feel free to share your experiences and discuss in the comments below!