SWIFT Code vs IBAN: What's the Difference? (2026 Guide)
Understand the difference between SWIFT/BIC codes and IBAN numbers. Learn when you need each, how they work together for international transfers, and how to look them up.
Edge Team
When you set up an international transfer, the form asks for a SWIFT code, a BIC code, an IBAN, or some combination of all three. If you have ever wondered which is which, whether you need both, or what happens if you only have one — this guide answers all of it.
The short version: a SWIFT/BIC code identifies a bank, while an IBAN identifies a specific bank account. They serve different purposes, but you often need both to complete an international payment.
What Is a SWIFT Code?
A SWIFT code (also called a BIC code) is an 8- or 11-character identifier that uniquely identifies a bank or financial institution worldwide. SWIFT stands for the Society for Worldwide Interbank Financial Telecommunication — the organization that operates the global messaging network used by over 11,000 financial institutions in 200+ countries.
SWIFT Code Structure
DEUT DE FF 500
││││ ││ ││ │││
││││ ││ ││ └── Branch code (3 chars, optional)
││││ ││ └──── Location code (2 chars)
││││ └──────── Country code (2 chars, ISO 3166)
└──────────── Bank code (4 chars)
Breaking it down:
| Component | Characters | Purpose | Example |
|---|---|---|---|
| Bank code | 4 letters | Identifies the institution | DEUT (Deutsche Bank) |
| Country code | 2 letters | Country of the bank | DE (Germany) |
| Location code | 2 alphanumeric | City or region | FF (Frankfurt) |
| Branch code | 3 alphanumeric | Specific branch (optional) | 500 (specific branch) |
If the branch code is omitted (8-character SWIFT code), it defaults to the bank's head office. You may also see XXX as the branch code, which explicitly means head office — DEUTDEFFXXX is the same as DEUTDEFF.
SWIFT Code Examples
| Bank | SWIFT/BIC Code | Country |
|---|---|---|
| Deutsche Bank (Frankfurt) | DEUTDEFF | Germany |
| HSBC (London) | MIDLGB22 | United Kingdom |
| JPMorgan Chase (New York) | CHASUS33 | United States |
| BNP Paribas (Paris) | BNPAFRPP | France |
| National Commercial Bank (Riyadh) | NCBKSAJE | Saudi Arabia |
| Emirates NBD (Dubai) | EABORUAEXXX | UAE |
| ING Bank (Amsterdam) | INGBNL2A | Netherlands |
What Is an IBAN?
An IBAN (International Bank Account Number) is a standardized account identifier used in over 80 countries. It wraps a domestic bank account number in a universal format that includes a country code, check digits for error detection, and the bank's routing information.
IBAN Structure
DE89 3704 0044 0532 0130 00
││ │
││ └── BBAN (bank code + account number)
│└────── Check digits (error detection)
└─────── Country code
IBANs range from 15 to 34 characters depending on the country. Unlike SWIFT codes (which are the same length worldwide), IBAN length is country-specific.
For a deep dive into IBAN structure, validation, and country formats, see our complete IBAN guide.
SWIFT Code vs IBAN: The Key Differences
| Feature | SWIFT/BIC Code | IBAN |
|---|---|---|
| Identifies | A bank (institution) | A bank account (specific account) |
| Length | 8 or 11 characters | 15–34 characters (varies by country) |
| Format | Always the same worldwide | Country-specific structure |
| Contains | Bank code, country, location, branch | Country, check digits, bank code, account number |
| Used by | 200+ countries (including US, Canada, Asia) | 80+ countries (mostly Europe, Middle East) |
| Error detection | None built-in | MOD-97 check digits catch typos |
| Example | DEUTDEFF | DE89370400440532013000 |
The Analogy
Think of it this way:
- SWIFT code = the bank's "address" (like a building's street address)
- IBAN = the specific account within that bank (like an apartment number within the building)
A SWIFT code gets the payment to the right bank. An IBAN gets it to the right account within that bank.
When Do You Need a SWIFT Code, an IBAN, or Both?
This depends on where the money is going.
Within SEPA (Europe) — IBAN Only
For euro transfers within the SEPA zone (36 countries), you only need the IBAN. Since 2016, the "IBAN-only rule" means banks cannot require a BIC/SWIFT code for SEPA Credit Transfers or SEPA Direct Debits. The bank's routing information is embedded in the IBAN itself.
International Transfer to an IBAN Country — Both
For international transfers outside SEPA (or non-euro transfers), you typically need both the IBAN and the SWIFT/BIC code. The SWIFT code routes the payment through the interbank network to the correct institution, and the IBAN identifies the specific account.
International Transfer to a Non-IBAN Country — SWIFT + Account Number
For payments to countries that do not use IBANs (US, Canada, Australia, Japan, etc.), you need the recipient bank's SWIFT code plus their domestic account number and any local routing information (ABA routing number in the US, sort code in the UK for non-IBAN contexts, BSB in Australia).
Summary Table
| Transfer Type | What You Need |
|---|---|
| SEPA (euro, within Europe) | IBAN only |
| Europe → Middle East | IBAN + SWIFT code |
| Europe → United States | SWIFT code + ABA routing number + account number |
| Europe → Australia | SWIFT code + BSB + account number |
| Within Saudi Arabia | IBAN only (mandated by SAMA) |
| Anywhere → IBAN country | IBAN + SWIFT code (recommended) |
How to Find a SWIFT Code
Try Edge for free
500 API credits, no credit card required. Start integrating in minutes.
Get free API keyFrom Your Bank
- Online banking: Usually listed under account details or in the "international transfer" section
- Bank statements: Often printed alongside account information
- Customer service: Call your bank — they will provide it immediately
From a SWIFT/BIC Directory
SWIFT codes are published in official banking directories. You can look up any bank's SWIFT code using:
- The SWIFT organization's own directory (swift.com)
- Your country's central bank directory
- Edge's BIC/SWIFT Lookup API, which resolves SWIFT codes from IBANs or bank codes programmatically
From an IBAN
In many countries, the SWIFT code can be derived from the IBAN because the IBAN contains the bank code, which maps to a specific SWIFT code in the national bank registry. This is how Edge's API works — send an IBAN, get back the BIC/SWIFT code along with the validation result.
curl https://api.edge-api.com/v1/iban/validate \
-H "Authorization: Bearer YOUR_API_KEY" \
-d "iban=DE89370400440532013000"
The response includes the corresponding BIC/SWIFT code, bank name, and branch details — no need to ask the customer for the SWIFT code separately.
BIC vs SWIFT Code: Are They the Same?
Yes. BIC (Business Identifier Code) and SWIFT code refer to the exact same thing. The code is officially called a BIC by the ISO 9362 standard, but because it is primarily used on the SWIFT network, most people call it a SWIFT code.
You may also see it called:
- SWIFT/BIC code
- SWIFT ID
- BIC code
- SWIFT number
These all refer to the same 8- or 11-character bank identifier.
How SWIFT and IBAN Work Together in a Payment
Here is what happens when you send an international transfer using both:
You initiate the transfer at your bank, providing the recipient's IBAN and the recipient bank's SWIFT code.
Your bank validates the IBAN — checks the structure, length, and MOD-97 check digits to make sure the account identifier is valid.
Your bank sends a SWIFT message (an MT103 payment instruction) through the SWIFT network, addressed to the recipient bank using the SWIFT code.
The SWIFT network routes the message to the recipient bank (possibly through intermediary/correspondent banks if there is no direct relationship).
The recipient bank receives the SWIFT message and uses the IBAN to credit the correct account.
The payment settles through the interbank settlement system (TARGET2 for euro payments, CHAPS for GBP, Fedwire for USD, etc.).
The entire process typically takes 1–3 business days for standard international transfers, though SEPA Instant transfers settle in under 10 seconds within Europe.
Common Mistakes When Using SWIFT Codes and IBANs
1. Using an 8-Character SWIFT Code When 11 Is Required
Some banks and payment systems require the full 11-character SWIFT code. If you only have the 8-character version, append XXX to specify the head office: DEUTDEFF → DEUTDEFFXXX.
2. Confusing the SWIFT Code and IBAN
They look completely different, but people do mix them up. If a form asks for the IBAN and you enter an 8-character SWIFT code, the payment will fail. Remember: SWIFT codes are short (8–11 characters), IBANs are long (15–34 characters).
3. Using an Outdated SWIFT Code
Banks merge, rebrand, and restructure. SWIFT codes can change when this happens. Always verify the SWIFT code is current before sending a payment.
4. Not Validating the IBAN Before Sending
A single typo in an IBAN can route the payment to the wrong account or cause it to be rejected. Always validate IBANs programmatically before initiating payments.
5. Omitting the SWIFT Code for Non-SEPA Transfers
Within SEPA, IBAN-only transfers work. Outside SEPA, you almost always need the SWIFT code as well. Omitting it can cause delays or failed payments.
For Developers: Programmatic SWIFT and IBAN Lookup
If you are building payment infrastructure, you need to validate IBANs and resolve SWIFT codes programmatically. Asking users to manually look up and enter SWIFT codes creates friction and errors.
Edge provides APIs that handle both:
IBAN Validation + BIC Resolution — Validate an IBAN and get the corresponding SWIFT/BIC code, bank name, and branch details in a single call.
BIC/SWIFT Lookup — Look up bank details by SWIFT code, or find the SWIFT code for a given bank.
Bank Directory Search — Search banks by name, country, or city and get their SWIFT codes and IBAN-related details.
These APIs handle the complexity of maintaining up-to-date bank registries across 80+ countries so your team can focus on building the payment experience.
Frequently Asked Questions
Can I send money with just a SWIFT code?
No. A SWIFT code identifies the bank, not the account. You also need the recipient's account number (IBAN in IBAN countries, or domestic account number + routing details in non-IBAN countries).
Can I send money with just an IBAN?
Within the SEPA zone, yes — the IBAN is sufficient for euro transfers. For international transfers outside SEPA, you typically need the SWIFT code as well.
Is SWIFT code the same for all branches?
Not necessarily. A bank may have different SWIFT codes for different branches. The 8-character SWIFT code identifies the bank at the head office level. The 11-character version includes a branch identifier. Some banks use a single SWIFT code for all branches; others have branch-specific codes.
How do I find a SWIFT code from an IBAN?
The IBAN contains the bank code, which can be mapped to a SWIFT code using a bank directory. Edge's IBAN Validation API does this automatically — it returns the BIC/SWIFT code as part of the validation response.
Do US banks have IBANs?
No. The United States does not use the IBAN system. US bank accounts are identified by an ABA routing number + account number. For international transfers to the US, you need the recipient bank's SWIFT code, routing number, and account number.
Related articles
Start building with Edge
Get 500 free API credits instantly. No credit card required. Full access to IBAN validation, sanctions screening, exchange rates, and all 12 services.
Trusted by fintechs and banks across the GCC.