What is a Sort Code?

A sort code is a six-digit number that identifies the bank and branch holding a UK account. This guide explains how sort codes work, where to find them, and how they fit into the UK payments system.

A sort code is a six-digit numerical code used to identify a specific bank and branch within the UK banking system. Written in three pairs separated by hyphens (e.g. 20-00-00), sort codes are essential for routing payments to the correct destination.

Every UK bank account has a sort code and an account number (typically eight digits). Together, these two numbers uniquely identify a bank account and are needed for most domestic payment methods, including BACS, Faster Payments, CHAPS, direct debits, and standing orders.

How Sort Codes Work

The six digits are structured as follows:

Digits Purpose
First two digits Identify the bank (or banking group)
Last four digits Identify the specific branch or processing centre

Common First-Digit Ranges

First Two Digits Bank
20 Barclays
30 Lloyds Banking Group
40 HSBC
60 NatWest Group
09 Santander
04 Monzo (and others)
23 Metro Bank

Note: These are examples, not an exhaustive list. Many banks use multiple ranges, and digital banks may use sort codes from their partner banks.

Virtual Sort Codes

Modern digital banks and fintech providers (such as Monzo, Starling, and Revolut) do not have physical branches. Their sort codes point to virtual branches or processing centres rather than a specific high street location.

Similarly, some traditional banks have consolidated branches, so a sort code may no longer correspond to an open branch but still functions correctly for payment routing.

Where to Find Your Sort Code

You can find your sort code in several places:

For businesses, the sort code and account number appear on your business bank account documentation and are needed whenever customers need to pay by bank transfer.

Sort Codes and UK Payment Systems

Sort codes play a critical role in the UK’s payment infrastructure:

BACS

The Bankers’ Automated Clearing System uses sort codes and account numbers to process BACS payments, including direct debits and direct credits. BACS processes payments in a 3-day cycle.

Faster Payments

The Faster Payments Service uses the same sort code and account number details but processes payments in near real time (typically within seconds). Most UK bank transfers made through online or mobile banking use Faster Payments.

CHAPS

The Clearing House Automated Payment System handles high-value, same-day payments. CHAPS also uses sort codes and account numbers but is typically reserved for large transactions such as property purchases.

Direct Debits and Standing Orders

When you set up a direct debit or standing order, the payee needs your sort code and account number to collect or receive payments on a regular schedule.

Sort Code vs IBAN

Feature Sort Code + Account Number IBAN
Used for UK domestic payments International (and some UK) payments
Format 6-digit sort code + 8-digit account number Up to 34 alphanumeric characters
UK IBAN structure N/A GB + check digits + sort code + account number
Required for BACS, Faster Payments, CHAPS, Direct Debit SEPA, international wire transfers

A UK IBAN (International Bank Account Number) incorporates the sort code and account number within a longer standardised format. For example, a UK IBAN looks like: GB29 NWBK 6016 1331 9268 19, where “NWBK” is the bank identifier, “601613” is the sort code, and “31926819” is the account number.

For domestic UK payments, the sort code and account number are sufficient. IBANs are required for international transfers and payments within the SEPA area.

Sort Codes for Business

On Invoices

When issuing an invoice that requests payment by bank transfer, include your:

Clear bank details on invoices help customers pay promptly and reduce the risk of misdirected payments.

For Payroll

If you run payroll, you need each employee’s sort code and account number to pay salaries via BACS or Faster Payments. Incorrect sort codes will cause payments to bounce or, worse, be sent to the wrong account.

Changing Your Business Bank Account

If you switch banks and get a new sort code, you need to:

Verifying Sort Codes

Before making a payment, you can verify a sort code using:

Confirmation of Payee is particularly important for businesses making large or first-time payments. It helps prevent authorised push payment (APP) fraud, where a scammer provides false bank details to redirect a payment.

Fraud Prevention

Sort codes and account numbers are not secret — they appear on cheques, invoices, and bank statements. However, having someone’s sort code and account number alone does not allow them to withdraw money from the account. To do so, they would need:

The main fraud risk related to sort codes is payment redirection — where a scammer impersonates a supplier and provides fraudulent bank details for an invoice payment. To mitigate this:

Nexbal is launching in the UK · beta open

Join the Nexbal beta

Early access, 30 days free, and your feedback shapes the product.