Spain IBAN Format & Generator
Complete reference for Spain IBANs: format structure, bank codes, account numbers, examples, and a free generator for testing.
IBAN Structure for Spain
4 chars
4 chars
10 chars
Spain IBAN Technical Specifications
| Property | Value |
|---|---|
| IBAN Length | 24 characters |
| BBAN Length | 20 characters |
| BBAN Format | 4!n4!n2!n10!n |
| Bank Code | Position 5, 4 digits |
| Branch Code | Position 9, 4 chars |
| Account Number | Position 15, 10 chars |
| SEPA Member | ✅ Yes |
| Notes | Bank: 4 digits; Branch: 4 digits; Check (DC): 2 digits; Account: 10 digits |
Banking System in Spain
Spain's banking system features major banks like Banco Santander, BBVA, and CaixaBank. Spanish IBANs are 24 characters and contain a 4-digit bank code, 4-digit branch code, 2-digit control code, and 10-digit account number. IBAN has been mandatory for all SEPA transfers in Spain since 2014.
Example Spain IBANs
Here are 3 randomly generated but mathematically valid Spain IBANs for testing:
ES61 0929 0390 7158 2161 0608ES34 0961 3588 2149 9296 3893ES64 5418 4871 4412 0882 7118
⚠ These are randomly generated test IBANs — not real bank accounts. Do not use for actual transactions.
Generate Spain IBANs for Testing
Generate valid Spain IBANs right here. All generation is client-side — no data leaves your browser.
Frequently Asked Questions
What is the IBAN format for Spain?
Spain uses a 24-character IBAN with the country code "ES" followed by two check digits and a 20-character BBAN. The format is 4!n4!n2!n10!n. The bank code occupies positions 5 to 8.
Is Spain a SEPA country?
Yes, Spain is part of the SEPA (Single Euro Payments Area) and uses IBAN for all domestic and international transfers.
How long is a Spain IBAN?
A Spain IBAN is exactly 24 characters long. The BBAN portion accounts for 20 characters.
How do I find my Spain IBAN?
Your IBAN is printed on your bank statement, available in your online banking portal, or can be obtained from your bank. It typically appears alongside your BIC/SWIFT code for international transfers.
Can I generate a valid Spain IBAN for testing?
Yes! Use the IBAN generator on this page or visit the IBAN Easy homepage to generate mathematically valid IBANs for any supported country. All generation is client-side and private.
Other IBAN Countries in Europe
- Andorra IBAN (24 chars, SEPA)
- Albania IBAN (28 chars)
- Austria IBAN (20 chars, SEPA)
- Bosnia and Herzegovina IBAN (20 chars)
- Belgium IBAN (16 chars, SEPA)
- Bulgaria IBAN (22 chars, SEPA)
- Belarus IBAN (28 chars)
- Switzerland IBAN (21 chars, SEPA)
Major Bank BIC/SWIFT Codes in Spain
BIC (Bank Identifier Code) / SWIFT codes for major banks in Spain. These codes are used for international wire transfers alongside the IBAN.
| BIC Code | Bank Name | City |
|---|---|---|
ABANES2B | Abanca | A Coruña |
BBVAESMM | BBVA | Madrid |
BAPUES22 | Banco Popular Español | Madrid |
BASKES2B | Banco Sabadell | Alicante |
BSCHESMM | Banco Santander | Madrid |
POPIES2A | Banco Santander (Popular) | Madrid |
BEDMESM1 | Banco de España | Madrid |
BKKBESMM | Bankinter | Madrid |
CECAESMM | CECA Confederación Española | Madrid |
CAIXESBB | CaixaBank | Barcelona |
IBRCESMM | Ibercaja Banco | Zaragoza |
KBANES22 | Kutxabank | Bilbao |
UBBKESMM | Unicaja Banco | Malaga |