What is a UK sort code?
A UK sort code is a six-digit number used to identify a specific bank or building society and branch in the United Kingdom. It helps route payments to the correct financial institution and account.
UK account numbers also carry a hidden consistency check — the industry "modulus check" — so a sort code and account number pair can be verified for typos before you send money.
Sort code ranges by bank
| Range | Institution | Notes |
|---|---|---|
| 01 | NatWest | Former District Bank series, now National Westminster Bank. |
| 04 | Digital banks & e-money institutions | Shared range used by app-based banks and payment providers (Monzo, Revolut, Chase and others, directly or via ClearBank and Modulr). |
| 05 | Clydesdale Bank (Virgin Money) | Includes former Yorkshire Bank sort codes. |
| 07 | Nationwide Building Society | 07-00 to 07-49 allocated to Nationwide. |
| 08 | The Co-operative Bank | Also hosts government banking sub-ranges operated by Citibank. |
| 09 | Santander UK | 09-00 to 09-19, former Abbey National series. |
| 16 | Royal Bank of Scotland | |
| 20 | Barclays | |
| 21 | Barclays | |
| 22 | Barclays | |
| 23 | Barclays range — agency & challenger banks | Sub-ranges sponsored for newer banks, including Metro Bank (23-05) and other agency institutions. |
| 24 | Barclays | |
| 25 | Barclays | |
| 26 | Barclays | |
| 27 | Barclays | |
| 28 | Barclays | |
| 29 | Barclays | |
| 30 | Lloyds Bank / TSB | |
| 31 | Lloyds Bank / TSB | |
| 32 | Lloyds Bank / TSB | |
| 33 | Lloyds Bank / TSB | |
| 34 | Lloyds Bank / TSB | |
| 35 | Lloyds Bank / TSB | |
| 36 | Lloyds Bank / TSB | |
| 37 | Lloyds Bank / TSB | |
| 38 | Lloyds Bank / TSB | |
| 39 | Lloyds Bank / TSB | |
| 40 | HSBC | Includes first direct (40-47-84) and M&S Bank (40-51-78). |
| 41 | HSBC | |
| 42 | HSBC | |
| 43 | HSBC | |
| 44 | HSBC | |
| 45 | HSBC | |
| 46 | HSBC | |
| 47 | HSBC | |
| 48 | HSBC | |
| 49 | HSBC | |
| 50 | NatWest | |
| 51 | NatWest | |
| 52 | NatWest | |
| 53 | NatWest | |
| 54 | NatWest | |
| 55 | NatWest | |
| 56 | NatWest | |
| 57 | NatWest | |
| 58 | NatWest | |
| 59 | NatWest | |
| 60 | NatWest | Includes agency banks such as Starling Bank (60-83-71). |
| 61 | NatWest | |
| 62 | NatWest | |
| 63 | NatWest | |
| 64 | NatWest | |
| 65 | NatWest | |
| 66 | NatWest | |
| 72 | Santander UK | Former Alliance & Leicester series. |
| 77 | Lloyds Bank / TSB (Scotland) | |
| 80 | Bank of Scotland | |
| 81 | Bank of Scotland | |
| 82 | Clydesdale Bank (Virgin Money) | |
| 83 | Royal Bank of Scotland | |
| 87 | TSB Scotland | |
| 90 | Bank of Ireland (UK) | Northern Ireland. |
| 93 | AIB Group (UK) | Northern Ireland, former First Trust Bank. |
| 95 | Danske Bank | Northern Ireland, former Northern Bank. |
| 98 | Ulster Bank | Northern Ireland. |
How the check works
With only a sort code, we identify the bank from the published allocation ranges above. With an account number as well, we run the official Vocalink modulus algorithm — the same weight tables UK banks use — to confirm the pair is internally consistent. A pass means the number is well-formed for that sort code, not that the account exists; a fail almost always means a typo.
Range allocations identify the issuing institution, not a branch. Branch-level detail comes from the licensed EISCD directory and is not reproduced here. Confirm details with the recipient's bank for high-value payments.
Well-known individual sort codes
-
04-00-04 Monzo Bank
-
23-05-80 Metro Bank
-
40-47-84 first direct (HSBC)
-
40-51-78 M&S Bank (HSBC)
-
60-83-71 Starling Bank
Got questions? We've got answers.
Find answers to common questions about accounts, compliance, fees, and transfers.
What is a sort code?
A sort code is a six-digit number, written as XX-XX-XX, that identifies the bank or building society holding a UK account. Together with an 8-digit account number, it's what you need for most UK bank transfers.
Where can I find my sort code?
It's shown on your bank statements, in your banking app and in online banking, and it's printed on many UK debit cards.
What does the modulus check tell me?
The modulus check confirms that a sort code and account number are a valid combination, which catches most typos. It doesn't confirm that the account exists or who owns it.
Do I need a sort code to send money to the UK from abroad?
International transfers to the UK usually use the recipient's IBAN and the bank's SWIFT code. The UK IBAN already contains the sort code and account number.
Get the app for All things money
Send, spend, save and do more with Pesa — simply and freely.
Download the app