April 22, 2026
Spain IBAN Format Explained
Spanish IBANs are 24 characters and include a 4-digit bank code, 4-digit branch code, 2 national check digits, and a 10-digit account number.
Spanish IBAN Structure
A Spanish IBAN is always 24 characters long:
- ES — country code
- XX — 2 check digits
- XXXX — 4-digit bank code (entidad)
- XXXX — 4-digit branch code (oficina)
- XX — 2 national check digits
- XXXXXXXXXX — 10-digit account number (cuenta)
Example: ES91 2100 0418 4502 0005 1332
View the full Spain IBAN format page for an annotated example and major bank codes.
Spain's CCC Format
The Spanish domestic account format is called CCC (Código Cuenta Cliente). It is 20 digits long and maps directly into the BBAN portion of the Spanish IBAN. The two national check digits are calculated using a Spanish-specific algorithm.
Major Spanish Banks
Banco Santander uses entity code 0049; BBVA uses 0182; CaixaBank uses 2100. These appear in positions 5–8 of any Spanish IBAN.