IBAN format by country
United Kingdom IBAN format: length, structure and example
A UK IBAN always has 22 characters: the country code GB, two check digits and the 18-character BBAN, made up of the 4-letter bank code (BIC prefix), 6-digit sort code and 8-digit account number. Example: GB29 NWBK 6016 1331 9268 19.
- IBAN length
- 22 characters
- Country code
- GB (positions 1-2)
- Check digits
- Positions 3-4, mod-97
- BBAN structure
- 4a 6n 8n (4 letters, 6 digits, 8 digits)
- Bank code (BIC prefix)
- Positions 5-8
- SEPA
- Yes, non-euro
Validate an IBAN from the United Kingdom
Runs entirely in your browser. Nothing you type is sent, stored or tracked.
United Kingdom IBAN structure
Positions count from the first character of the IBAN. Values in the last column come from the specimen for the United Kingdom in the SWIFT IBAN Registry, release 102 (June 2026).
| Field | Positions | Length | Specimen |
|---|---|---|---|
| Country code | 1-2 | 2 | GB |
| IBAN check digits | 3-4 | 2 | 29 |
| Bank code (BIC prefix) | 5-8 | 4 | NWBK |
| Sort code | 9-14 | 6 | 601613 |
| Account number | 15-22 | 8 | 31926819 |
SWIFT notation: GB2!n4!a6!n8!n, where n = digits, a = upper-case letters, c = letters or digits and "!" means a fixed length.
United Kingdom IBAN example
GB29NWBK60161331926819
Print format: GB29 NWBK 6016 1331 9268 19
- Country code: GB
- IBAN check digits: 29
- Bank code (BIC prefix): NWBK
- Sort code: 601613
- Account number: 31926819
This is the published specimen from the SWIFT IBAN Registry, not a real customer account. It passes the mod-97 check, so use it to test forms and integrations; never send money to it.
National account format in the United Kingdom
6-digit sort code plus an 8-digit account number. Bacs Direct Debit and Faster Payments use these, not the IBAN.
Also used by the Isle of Man (IM), Jersey (JE) and Guernsey (GG).
To find the bank code (BIC prefix) in any IBAN from the United Kingdom, read characters 5-8. The validator above splits every field out for you.
SEPA and direct debits in the United Kingdom
The United Kingdom stayed in the SEPA schemes after Brexit, so a UK IBAN can be used for euro SEPA Credit Transfers and, where the bank supports it, SEPA Direct Debits.
Most UK subscriptions are collected in pounds through Bacs Direct Debit instead. Bacs works on the 6-digit sort code and 8-digit account number inside the IBAN, the mandate is a Direct Debit Instruction (DDI) lodged through AUDDIS, and failed collections come back on ARUDD reports with codes such as 0 (refer to payer), 1 (instruction cancelled) and B (account closed). Payers are covered by the Direct Debit Guarantee.
Bacs return codes are listed in the Bacs Direct Debit code reference.
Every SEPA reason code, with what to do next, is in the SEPA Direct Debit reason code reference.
Why a direct debit fails even with a valid IBAN
An IBAN validator only proves the number is well formed. A direct debit can still come back unpaid because of what sits behind the account:
- Account closed or moved: the IBAN was valid when the mandate was signed (SEPA reason code AC04, Bacs ARUDD code B).
- Insufficient funds: the most common soft failure, and the one where the timing of the next attempt matters most (SEPA AM04, Bacs ARUDD 0 "refer to payer").
- Mandate problems: no valid mandate, a cancelled instruction or a payer who refused the debit (SEPA MD01 and MS02, Bacs ARUDD 1).
- Account cannot be debited: savings accounts and some e-money or blocked accounts reject direct debits outright (SEPA AC06 and AG01).
- Refunds after the fact: under the SEPA Core scheme a payer can reclaim an authorised debit for 8 weeks, so a collection that "succeeded" can still reverse.
Look up any return code in the SEPA Direct Debit reason codes and Bacs Direct Debit codes, or see how Slicker handles failed direct debits.
Frequently asked questions
How many characters does an IBAN from the United Kingdom have?
An IBAN from the United Kingdom always has 22 characters: the country code GB, two check digits and an 18-character BBAN made up of the 4-letter bank code (BIC prefix), 6-digit sort code and 8-digit account number.
What does an IBAN from the United Kingdom look like?
The SWIFT IBAN Registry specimen for the United Kingdom is GB29 NWBK 6016 1331 9268 19 (electronic format GB29NWBK60161331926819). It is a published sample, not a real customer account, and it passes the mod-97 check.
Is the United Kingdom part of SEPA?
Yes for euro payments: UK banks can send and receive SEPA Credit Transfers and SEPA Direct Debits in EUR. Pound sterling direct debits run on Bacs, which uses the sort code and account number rather than the IBAN.
Where is the bank code in an IBAN from the United Kingdom?
Characters 5-8 (NWBK in the specimen) are the bank code (BIC prefix). Characters 9-14 (601613) are the sort code. The account number is characters 15-22. Positions count from the first letter of the country code.
Other IBAN formats
Losing subscription revenue to failed direct debits?
Slicker reads the reason code of every failed SEPA, Bacs or card payment and decides whether, when and how to retry, or when only the customer can fix it. Smart retries run on your existing billing platform, and you only pay when we outperform your current setup in a 50/50 test.