A SWIFT code and a BIC are the same thing: a routing address for a bank message, standardised as ISO 9362. If a payment form asks for one and you only know the bank's name, the code is easy to reconstruct once you know the layout.
The four blocks
Positions 1-4 are the institution code, usually a recognisable abbreviation. Positions 5-6 are the ISO country code of the office that holds the code, so a BIC beginning with DEHT belongs to a German entity and the next two characters must be a real country.
Positions 7-8 describe the office within that country. Positions 9-11 are optional and, when present, point at one branch; XXX is the convention for the head office.
| Block | Length | Meaning |
|---|---|---|
| Institution | 4 letters | Bank, usually an abbreviation of the name |
| Country | 2 letters | ISO 3166-1 alpha-2 of the issuing office |
| Location | 2 characters | Office or city code within the country |
| Branch | 3 characters, optional | One branch; XXX means head office |
Eight characters or eleven
An 8-character BIC is complete: it identifies the institution and the office, and the payment can be routed with it. The three extra characters only matter when the bank publishes separate codes per branch or per business line.
Do not pad an 8-character code with XXX yourself and expect it to be official. It is accepted by most systems because it resolves to the head office, but the canonical record is the 8-character value.
Finding the code for a bank
On an invoice or a bank statement it usually sits next to the IBAN. If you only have a bank name, search the name in the bank directory; the institution page lists every code FinCode holds for that bank, and each code page shows which city it belongs to.
Watch for several codes under the same name. A banking group typically has one code per legal entity per country, so the right code depends on which entity actually holds the account.
Mistakes that get a payment returned
The most common failures are a letter O typed for a zero, a BIC copied from a parent company's website instead of the local subsidiary, and a branch BIC used where the bank expects the head-office one.
A BIC never contains a hyphen or a space. If a source shows one, it is formatting, not part of the value.
Browse the SWIFT/BIC directory
SWIFT/BIC →Common questions
Can a BIC contain a 0 or a 1?
Yes, in positions 7 to 11. The first six characters are always letters, which is the quickest way to spot a typo.
Is a BIC required for a SEPA payment?
Inside the euro area SEPA transfers are routed by IBAN alone, so a BIC is optional. Outside it, a BIC is normally required.
More guides
- How bank identifiers work: SWIFT, IBAN and local clearing codesA practical map of the codes used to move money across borders and within a country: what each one identifies, which payment rail needs it, and how to check one before sending.
- IFSC codes explained: structure, MICR and how to verify oneEleven characters, a literal zero in the middle, and the only code NEFT, RTGS and IMPS accept. How an IFSC is built and what to check before a transfer to India.
- CNAPS codes: reading a Chinese bank branch numberTwelve digits that encode the bank category, the clearing region and the branch. What CNAPS is used for, how it differs from a SWIFT code, and why the same bank has hundreds of them.