A sort code is a six-digit number that identifies which bank branch holds your account
In the UK and Ireland, a sort code is the routing number that tells the banking system which specific branch your money is held at. It appears on your cheques, bank statements, and online banking portal. When someone sends you money via bank transfer, they use your sort code along with your account number to make sure the payment reaches the right place.
The six digits break into three pairs. The first two identify the bank itself (Barclays, HSBC, Lloyds, and so on). The second pair narrows it down to the region or processing centre. The final pair identifies the individual branch. So a sort code like 20-90-90 tells the system: this account is at a specific Barclays branch in a specific location.
Sort codes matter because UK banks do not route transfers by branch name or address—they route by this number. Without it, a transfer can be delayed, sent to the wrong branch, or rejected. If you give someone an incorrect sort code, the money may still reach you eventually, but it will take longer and may trigger fraud checks.
Key Takeaways
- A sort code is a six-digit number unique to your bank branch, required for any bank transfer into your account.
- The first two digits identify your bank, the middle two identify the region or processing centre, and the last two identify your specific branch.
- You can find your sort code on your cheques, bank statements, online banking, or by calling your bank.
- Giving someone the wrong sort code will delay a transfer and may cause it to be rejected or sent to the wrong account.
Where to find your sort code
Your sort code appears in several places. On a paper cheque, it is printed in the bottom left corner in the format XX-XX-XX. On your bank statement—whether printed or online—it sits next to your account number, usually at the top of the page or in the account details section.
If you use online banking, log in and look for "account details" or "account information". Most banks display your sort code there alongside your account number. You can also call your bank's customer service line and ask; they will confirm it over the phone. Never rely on a sort code someone else gives you—always verify it with your bank directly.
Sort codes versus account numbers
A sort code and an account number work together but do different jobs. The sort code identifies the branch; the account number identifies you within that branch. Together they form what is called your bank details. You need both to receive a transfer.
Think of it this way: the sort code is like the postcode of a bank branch, and the account number is like your house number on that street. The postcode gets the letter to the right neighbourhood; the house number gets it to your door. If you give someone only one, the transfer cannot complete.
What happens if you provide the wrong sort code
If you give someone an incorrect sort code, the transfer will be sent to a different branch or rejected outright. Some banks have fraud detection systems that will flag a transfer to an unexpected sort code and hold it for review. This can add several days to the process.
In some cases, the money may end up in another customer's account at the wrong branch. If this happens, the sending bank can attempt to recover it, but this requires a formal trace and can take weeks. The safest approach is to double-check your sort code before giving it to anyone, and to ask the person sending you money to confirm they have written it down correctly.
Sort codes in different banking scenarios
You will need your sort code for standing orders, direct debits, and one-off bank transfers. If you are setting up a payment to someone else, you will need their sort code and account number. Employers use sort codes to pay salaries directly into employee accounts. Landlords use them to collect rent. Utility companies use them to take monthly payments.
Online payment services like PayPal and Wise also ask for sort codes when you link a UK bank account. International transfers sometimes require your sort code as well, though they may also ask for a SWIFT code or IBAN (International Bank Account Number) depending on the destination country.
Sort codes and security
A sort code on its own is not sensitive information in the way a password or PIN is. It is printed on your cheques, which are public documents, and appears on statements you might share with employers or landlords. However, you should not give your sort code to someone you do not trust, because combined with your account number, it allows them to set up payments from your account or attempt transfers.
Never share your sort code via email or text unless you initiated the contact and are certain you are communicating with your bank. Scammers sometimes pose as banks and ask for sort codes as part of a phishing attempt. Your bank will never ask for your sort code by email or phone—they already have it on file.
Frequently Asked Questions
Can I change my sort code?
No. Your sort code is tied to the branch where your account is held. If you want a different sort code, you would need to close your account and open a new one at a different branch. Most people never need to do this. If your branch closes, your bank will transfer your account to another branch and provide you with a new sort code.
Do I need a sort code for online banking?
You do not need your sort code to log into online banking—you use your username and password for that. However, you will need it if you are setting up a transfer to someone else's account or if someone is sending you money. Your bank will display it in your account details section.
Is a sort code the same as a routing number?
Sort codes are used in the UK and Ireland. The United States uses routing numbers, which serve the same purpose but are nine digits instead of six. Canada uses transit numbers. Australia uses BSB codes. They all do the same job: identify which branch holds your account.
What if I do not have a cheque book?
You can still find your sort code without cheques. Check your bank statement, log into online banking, or call your bank. Many people no longer use cheques but still need their sort code for transfers and direct debits, so banks make it easy to find.
Can someone steal money using just my sort code?
Not with the sort code alone. They would also need your account number. Together, these two pieces of information allow someone to set up a payment or direct debit from your account, which is why you should not share them with people you do not trust. If you suspect fraud, contact your bank immediately.