ZagTrader

IBAN formats by country

Spain IBAN Format (ES)

Written and maintained by ZagTrader. Last reviewed . How this page is sourced and checked

A Spain IBAN has 24 characters: ES, two check digits and a 20-character national account number (BBAN), which contains a 4-character bank code.

Length
24 characters
IBAN structure
ES2!n4!n4!n1!n1!n10!n
Bank code length
4 characters
Example
ES91 2100 0418 4502 0005 1332

Spain IBAN structure

After the country code and check digits, the BBAN is 4 digits, then 4 digits, then 1 digit, then 1 digit, then 10 digits.

PartIn the exampleWhat it is
Country codeESISO 3166 code of the country
Check digits91Two digits from the ISO 7064 MOD 97-10 calculation
Bank code21004 characters, national bank identifier
Branch code04184 characters, branch identifier
Account number450200051332The rest of the BBAN, including any national check digits

The example is the sample IBAN given for this country in the IBAN registry, not an account to pay. Structure notation: n digits, a upper-case letters, c letters or digits; 4!n means exactly four digits.

Check a Spain IBAN

Questions

How many characters does a Spain IBAN have?
24 characters: the country code ES, two check digits and a BBAN of 20 characters.
What does a Spain IBAN look like?
For example ES91 2100 0418 4502 0005 1332 on paper, or ES9121000418450200051332 in electronic form.
Where is the bank code in a Spain IBAN?
The national bank code has 4 characters, at positions 5 to 8 of the IBAN.
How do I check a Spain IBAN?
Paste it into the IBAN checker on this site. It tests the length, the structure and the check digits in your browser.

Other countries with 24-character IBANs

All IBAN countries

Formats from the IBAN Registry (release 99, December 2024) that Swift publishes as the ISO 13616 registration authority, read from public mirrors of the registry. Check the current registry before relying on a format.