Spain IBAN Format
24-character IBAN · EUR Euro · SEPA zone
A Spain IBAN is 24 characters long and always begins with the country code ES, followed by two check digits. The next 4 characters are the Bank Code (Entidad). This is followed by the Branch Code (Oficina) (4 characters). The remaining 10 characters identify the individual account number. The Spain IBAN uses the EUR (Euro) and is a <strong>SEPA member</strong>, meaning euro transfers from other SEPA countries are fast and low-cost.
Example IBAN
IBAN Structure
| Position | Length | Field | Type |
|---|---|---|---|
| 1–2 | 2 | Country Code | a |
| 3–4 | 2 | Check Digits | n |
| 5–8 | 4 | Bank Code (Entidad) | n |
| 9–12 | 4 | Branch Code (Oficina) | n |
| 13–14 | 2 | Check Digits (DC) | n |
| 15–24 | 10 | Account Number | n |
Major Banks in Spain
| Bank Name | Bank Code | BIC / SWIFT |
|---|---|---|
| Abanca | 2080 | ABNAESBB |
| BBVA | 0182 | BBVAESBB |
| Banco Popular | 0075 | POPUESPP |
| Banco Sabadell | 0081 | BSABESBB |
| Banco Santander | 0049 | BSCHESBB |
| Banco de Crédito Social Cooperativo | 0239 | BCOEESBB |
| Bankinter | 0128 | BKBKESBB |
| CaixaBank | 2100 | CAIXESBB |
| ING España | 1465 | INGDESBB |
| N26 Spain | 1491 | NTSBDEB1XXX |
| Revolut Spain | 1550 | REVOLT21 |
Validate a Spain IBAN
Paste a Spain IBAN below to check it.
^ES\d{2}\d{4}\d{4}\d{2}\d{10}$
Pattern validates length, country code, check digit positions, and field character types. Does not verify the MOD-97 checksum (use the validator above for full validation).
$iban = strtoupper(str_replace(' ', '', $input));
if (!preg_match('/^ES\\d{2}\\d{4}\\d{4}\\d{2}\\d{10}$/', $iban)) {
// Invalid Spain IBAN format
}
const iban = input.replace(/\s+/g, '').toUpperCase();
const pattern = /^ES\d{2}\d{4}\d{4}\d{2}\d{10}$/;
if (!pattern.test(iban)) {
// Invalid Spain IBAN format
}
import re
iban = input_str.replace(' ', '').upper()
pattern = r'^ES\d{2}\d{4}\d{4}\d{2}\d{10}$'
if not re.fullmatch(pattern, iban):
# Invalid Spain IBAN format
These snippets check format only. For full IBAN validation including MOD-97 checksum, use a dedicated IBAN library or the validator on this page.
How to Find Your Spain IBAN
Spain accounts are traditionally identified using: Bank Code / Código Entidad (4n) + Branch Code / Código Oficina (4n) + Control Digits / Dígitos de Control (2n) + Account Number / Número de Cuenta (10n). Your IBAN encodes these same components in the standardised international format.
-
1
Mobile banking app — Open your bank's app, navigate to account details or "Account Info." Your IBAN is usually displayed alongside your account number. Look for a field labelled "IBAN" or "International Account Number."
-
2
Bank statement — Your Spain IBAN appears in the account header of your printed or PDF bank statement, typically near the top of the first page.
-
3
Online banking — Log in to your bank's website and go to "Account Details," "Account Summary," or "Profile." Most Spain banks display the IBAN prominently in account settings.
-
4
Bank branch or helpline — Call your bank's customer service or visit a branch with your ID. They can provide your full IBAN instantly.
Once you have your IBAN, use the validator above to confirm it is correctly formatted before sharing it.
Sending Money to Spain
- Recipient's full name
- IBAN (24 characters, starts with ES)
Spain is a SEPA member. IBAN alone is sufficient for SEPA euro transfers. The traditional Spanish CCC (Código Cuenta Cliente) format maps directly to the BBAN. The 2 control digits use MOD-11 to validate the account. Spanish banks display accounts as 20-digit CCC numbers.
Specialist services typically charge significantly less than high-street banks for international transfers.
Quick Facts
- IBAN Length
- 24 chars
- Country Code
- ES
- Currency
- EUR
- SEPA
- Yes
- BBAN Format
- 20n
- IBAN Required
- mandatory
- Adopted
- 2001