A sort code is a six-digit number that identifies which bank or building society holds your account in the UK

The sort code tells the payment system exactly which financial institution to send money to. It works like a postal code for your bank — it narrows down the destination from thousands of banks across the country to one specific branch or processing centre. Every UK bank and building society has its own sort code, and some larger institutions have multiple codes for different departments or regions.

You will find your sort code printed on the bottom left of your cheques, on your bank statements, and in your online banking portal. It appears as three pairs of numbers separated by hyphens — for example, 20-17-80. When you give someone your sort code along with your account number, they have everything needed to send you money via bank transfer.

The sort code is mandatory for most UK payments. Without it, a transfer cannot be processed. This is different from other countries, which use different systems: the US uses routing numbers, Europe uses IBAN codes, and Australia uses BSB numbers. If you are sending money internationally, you will need the recipient's sort code plus their IBAN (International Bank Account Number) to complete the transfer.

Key Takeaways

  • A sort code is a six-digit number that identifies your specific UK bank or building society and is required for all domestic bank transfers.
  • You can find your sort code on your cheques, bank statements, or by logging into your online banking account.
  • Sort codes are paired with your account number to create a complete payment destination — one without the other is not enough.
  • International transfers require your sort code plus your IBAN, not just the sort code alone.

Where to find your sort code

The easiest place to look is your cheque book. The sort code is printed at the bottom left of every cheque, displayed as six digits in three pairs. If you do not have cheques, log into your online banking account — most banks display your sort code on the account overview page or in the account details section.

You can also find it on paper statements mailed to your address, usually near the top or in a section labelled "account details". If you cannot locate it online or on paper, call your bank's customer service line. They will confirm your sort code over the phone once they have verified your identity. Some banks also print it on your debit card or in welcome letters sent when you open the account.

How sort codes are structured

All UK sort codes follow the same format: six digits divided into three pairs. The first pair typically identifies the bank or building society. The second pair narrows it down further — often to a region or processing centre. The third pair may identify a specific branch, though modern banking has centralised processing so this is less common than it once was.

For example, Barclays sort codes all begin with 20, HSBC codes begin with 40, and Lloyds codes begin with 30. Within each bank, different pairs of digits route payments to different processing hubs. This structure allows the payment system to sort millions of transactions daily into the correct institution and account.

Sort codes versus account numbers

Your sort code and account number are two separate pieces of information that work together. The sort code identifies which bank holds your money. Your account number identifies which account within that bank is yours. Together, they form a unique address for your money.

Think of it this way: the sort code is like the street address of a building, and your account number is like the flat number inside. Someone needs both to know where to send your payment. If you give only your account number, the sender's bank will not know which institution to contact. If you give only your sort code, the bank will not know which account to credit.

Your account number is usually eight digits long, though some banks use fewer. You will find it on your cheques (printed to the right of the sort code), on statements, and in your online banking portal. Never share your account number or sort code with anyone you do not trust, as together they allow access to your account for legitimate transfers.

When you need to provide your sort code

You will need your sort code whenever you set up a bank transfer to receive money. This includes salary payments from your employer, refunds from online retailers, payments from friends or family, and transfers between your own accounts at different banks. Your employer will ask for it when you start a new job. Online services will ask for it when you request a refund to your bank account.

You do not need your sort code to make payments out of your account — you only need it when money is coming in. If you are paying someone else, you need their sort code and account number, not yours. Standing orders, direct debits, and regular transfers all require the recipient's sort code to be set up correctly.

Sort codes and payment security

Your sort code is not secret information — it is printed on your cheques and visible to anyone who receives a payment from you. Sharing your sort code alone does not put your account at risk. However, you should never share your sort code together with your account number, PIN, or online banking password to anyone who contacts you unexpectedly.

Legitimate organisations — your bank, your employer, government agencies — will never ask you to confirm your sort code and account number together in an unsolicited call or email. If someone claims to be from your bank and asks for both pieces of information, hang up and call your bank directly using the number on the back of your debit card or on your statement.

Scammers sometimes use a technique called "authorised push payment" fraud, where they convince you to transfer money to an account they control. They may ask you to send money to a sort code and account number they provide, claiming it is for a legitimate reason. Once the money leaves your account, it is extremely difficult to recover. Always verify the recipient's details through an official channel before sending money.

Sort codes for international transfers

If you are receiving money from abroad or sending it internationally, your sort code alone is not enough. You will also need your IBAN (International Bank Account Number), which is a longer code that includes your sort code plus additional digits that identify your country and account.

Your IBAN typically begins with two letters representing your country (GB for the United Kingdom), followed by two check digits, then your sort code, then your account number. For example, a UK IBAN might look like: GB82 WEST 1234 5698 7654 32. You can find your IBAN in your online banking portal, on statements, or by asking your bank. International transfers may also require a SWIFT code, which identifies your specific bank for cross-border payments.

What happens if you provide the wrong sort code

If you give someone an incorrect sort code, the transfer will either fail or go to the wrong bank. Modern payment systems have checks in place to catch obvious errors. If the sort code does not match the account number you provided, the payment may be rejected before it leaves your account.

If the sort code is valid but belongs to a different bank, the money may be sent to that bank's system. The receiving bank will then reject it because the account number does not exist in their records, and it will bounce back to the sender. This process usually takes a few days. The sender will see the money returned to their account and can then correct the sort code and try again.

In rare cases, a payment sent to the wrong sort code might reach a real account at a different bank. If this happens, you will need to contact your bank and the receiving bank to attempt recovery. This is why it is important to double-check sort codes before sending large amounts of money, especially to new recipients.

Frequently Asked Questions

Can I use someone else's sort code to receive money into my account?

No. Your sort code must match your bank and account. If you provide someone else's sort code with your account number, the payment will fail or go to the wrong account. Always give your own sort code when you need to receive money.

Do I need a sort code for online banking or mobile payments?

For payments to other people's bank accounts, yes — you still need their sort code and account number. For payments within your own bank using the mobile app, you usually do not need it. For payments to digital wallets or payment services like PayPal, you may not need a sort code at all, depending on the service.

What if my bank does not have a sort code?

All UK banks and building societies that participate in the payment system have sort codes. If you cannot find yours, contact your bank directly. They will provide it. If you use a digital-only bank or a non-UK institution, they may use a different system (like an IBAN or routing number) instead.

Is my sort code the same as my bank's main sort code?

Not always. Large banks have multiple sort codes for different branches or processing centres. Your personal sort code is the one printed on your cheques and statements — that is the one you should use. Using the bank's main sort code instead of your account's specific sort code may cause delays or payment failures.

Can someone steal money using just my sort code?

No. Your sort code alone does not allow anyone to access or remove money from your account. They would also need your account number, and even then, they can only send money out if they have access to your online banking login or can set up a payment through your bank. Your sort code is safe to share.