The UK Bank Routing Number
Table of Contents
TL;DR
What Is a Sort Code?
How Is a Sort Code Structured?
What Is a Sort Code Used For?
Sort Code and Account Number Together
How to Find Your Sort Code
Sort Code vs IBAN vs SWIFT Code
Sort Codes for International Transfers
FAQs
TL;DR
A sort code is a six-digit code (formatted as XX-XX-XX) that identifies a specific bank and branch within the UK banking system. It is used in conjunction with the account number to route domestic payments — including Faster Payments, BACS Direct Credits, BACS Direct Debits, and CHAPS — to the correct institution. For international transfers into UK accounts, the sort code is incorporated into the UK IBAN, which is the international standard account identifier for UK bank accounts.
What Is a Sort Code?
A sort code is a six-digit number used in the United Kingdom (and the Republic of Ireland) to identify a specific bank and branch within the domestic payment routing infrastructure. The term "sort" derives from the historical practice of physically sorting cheques by bank and branch — the sort code was the identifier used by bank clearing staff to route paper cheques to the correct institution before electronic clearing was introduced. Today the sort code performs the same routing function electronically, embedded in BACS, Faster Payments, and CHAPS payment instructions to direct transfers to the correct bank's clearing infrastructure.
Every UK bank account is associated with a specific sort code and an account number. The sort code identifies the bank and branch at which the account is held; the account number identifies the specific customer account within that bank. Together, the sort code and account number form the complete addressing information required for UK domestic payment routing — equivalent in function to the combination of routing number and account number used in the United States, or the BSB and account number used in Australia.
How Is a Sort Code Structured?
The sort code is six digits presented in three pairs separated by hyphens: XX-XX-XX. The first two digits identify the bank — for example, 04 identifies Clydesdale Bank, 08 identifies The Co-operative Bank, 09 identifies Santander UK (for some product lines), 20 identifies Barclays, 23 identifies NatWest, 30 identifies Lloyds Bank, 40 identifies HSBC, and 60 identifies NatWest (the same bank uses multiple sort code prefixes across different product lines and legacy banking entities). The remaining four digits identify the specific branch within the bank's network. In practice, many banks have migrated to centralized processing — a single sort code routes to the bank's central processing center rather than a specific physical branch — so the branch-level information in sort codes is less operationally meaningful than in the era of branch-based paper cheque clearing.
What Is a Sort Code Used For?
Sort codes are embedded in every UK domestic bank transfer instruction. For Faster Payments — the UK's instant payment system — the sort code and account number of the recipient are the two required fields for payment routing. For BACS Direct Credits (payroll, government benefits) and Direct Debits, the sort code and account number identify both the paying and receiving accounts. For CHAPS high-value same-day transfers, the sort code routes the payment to the correct bank's RTGS connection. Standing orders and recurring payment instructions stored at a bank reference the payee's sort code and account number. Direct Debit mandates — the pre-authorization for companies to collect recurring payments — include the payer's sort code and account number as the debit instruction. Essentially, every routine banking transaction involving a specific UK bank account references the sort code as the routing identifier.
Sort Code and Account Number Together
The combination of sort code (six digits) and account number (eight digits) is the complete UK bank account addressing system for domestic payments. The sort code alone does not identify a specific customer account — it identifies the bank and branch. The account number alone does not identify a specific bank — it is only meaningful within a specific institution. Together, they form a globally unique identifier for a specific UK bank account (within the UK domestic payment system). This two-field system differs from the single-code IBAN system used in mainland Europe, where all the routing information is combined into one self-contained string. For domestic UK payments, the sort code and account number system works reliably; for international payments, the UK IBAN (which incorporates both) is the preferred format.
How to Find Your Sort Code
Your sort code appears on your bank debit card (typically printed below the card number), on your cheque book (on the MICR line at the bottom of each cheque), in your online or mobile banking account details screen (usually labeled as "sort code" in the account information section), on your bank statements (in the account summary header), and in the welcome pack provided when your account was opened. If you cannot locate your sort code through these channels, your bank's website includes a branch finder tool that lists the sort code for each branch, and telephone or online banking support can also confirm the sort code for your account.
Sort Code vs IBAN vs SWIFT Code
The sort code is a domestic UK routing identifier — it is used exclusively within the UK's domestic payment infrastructure and is not recognized by SWIFT's international messaging network. For international payments into UK bank accounts, the IBAN (International Bank Account Number) is the appropriate identifier — the UK IBAN combines the country code (GB), check digits, the sort code, and the account number into a single 22-character string (format: GB XX XXXX XXXXXXXX, where XX is the check digit, XXXX is the first 4 digits of the sort code, and XXXXXXXX is the account number). The SWIFT/BIC code of the UK bank (for example, BARCGB22 for Barclays, HBUKGB4B for HSBC, NWBKGB2L for NatWest) identifies the institution in the international SWIFT network, while the IBAN identifies the specific account within that institution. Both the IBAN and the SWIFT code are typically required for international transfers into UK accounts.
Sort Codes for International Transfers
When receiving an international money transfer from outside the UK, providing the sender with the UK IBAN (which incorporates the sort code) and the bank's SWIFT/BIC code is the standard approach. Some international senders — particularly those using digital platforms like Wise or Remitly — may ask for the sort code and account number separately rather than the IBAN, in which case providing the six-digit sort code (XX-XX-XX format) and the eight-digit account number individually is equally valid. Most modern international transfer platforms accept either format and will construct the correct routing information from whichever format is provided.
FAQs
What is a sort code in UK banking?
A sort code is a six-digit number (presented as XX-XX-XX) that identifies a specific UK bank and branch for domestic payment routing. It is used alongside the account number in all UK bank transfers including Faster Payments, BACS, and CHAPS. The first two digits identify the bank; the remaining four identify the specific branch or processing centre.
Where can I find my sort code?
Your sort code is printed on your debit card (usually below the card number), in your online or mobile banking account details screen, on your cheque book, on bank statements, and in your original account opening documentation. Your bank's website branch finder also lists sort codes by branch location.
Is a sort code the same as a routing number?
A sort code is functionally equivalent to a US ABA routing number — both identify the bank and branch for domestic payment routing. They are not the same number and are not interchangeable between countries. US routing numbers are nine digits; UK sort codes are six digits. For international payments, the SWIFT/BIC code (not the sort code or routing number) is used to identify the bank across borders.
Do I need a sort code for an international transfer to a UK account?
For international transfers to UK accounts, you typically provide the UK IBAN (which encodes the sort code) and the bank's SWIFT/BIC code rather than the sort code separately. Some platforms ask for the sort code and account number individually. In either case, the sort code is part of the required information — the UK IBAN simply presents it in a standardized international format alongside the country code and check digits.
Can two different banks have the same sort code?
No. Each sort code is uniquely assigned to a specific bank (and branch or processing centre) by Pay.UK, the UK's retail payments authority. No two different banks share the same sort code. The first two digits of the sort code identify a specific institution unambiguously, and the full six digits identify a specific branch or processing location within that institution. The complete sort code and account number combination is globally unique within the UK domestic payment system.
