A sort code is a six-digit number that identifies which bank or building society holds your account
In the UK, a sort code is the routing number that tells the banking system which specific branch or institution your money is held at. It appears on your cheques, bank statements, and online banking portal. When someone sends you money—whether through a bank transfer, standing order, or direct deposit—they use your sort code along with your account number to make sure the payment reaches the right place.
Sort codes are formatted as three pairs of numbers separated by hyphens: for example, 20-17-80. Each pair has a specific meaning in the banking system. The first pair identifies the bank or building society. The second and third pairs narrow it down further to the specific branch or processing centre. Without the correct sort code, a transfer can be delayed, sent to the wrong account, or rejected entirely.
Key Takeaways
- A sort code is a six-digit number unique to your bank or building society and is required for all UK bank transfers.
- You can find your sort code on your cheque book, bank statement, online banking dashboard, or by calling your bank.
- The sort code works alongside your account number—you need both for someone to send you money.
- Sort codes are specific to individual branches or processing centres, so different accounts at the same bank may have different codes.
Where to find your sort code
Your sort code appears in several places. If you have a cheque book, it is printed in the bottom left corner, usually in a box with your account number. On your bank statement—whether paper or digital—the sort code is listed near the top with your account details. Most online banking platforms display it in the account information or account summary section, sometimes labelled as "Sort Code" or "Bank Details".
If you cannot locate it through any of these methods, call your bank's customer service line. You will find the number on the back of your debit card or on your bank's website. Have your account number or card details ready, and they can confirm your sort code in seconds. Some banks also let you view it through their mobile app under account settings or payment details.
How sort codes work in a transfer
When you give someone your bank details to send you money, you provide two pieces of information: your sort code and your account number. The sort code acts like a postal address for your bank—it routes the payment to the correct institution and branch. Your account number then identifies your specific account within that branch. Together, they form what is called your International Bank Account Number (IBAN) when combined with a country code, which is used for transfers from outside the UK.
The receiving bank uses the sort code to verify that the destination exists and is active. If the sort code is wrong or does not match the account number, the transfer may be rejected before it leaves the sender's bank, or it may be returned after a delay. This is why accuracy matters—even one digit wrong can cause problems.
Sort codes versus account numbers
Sort codes and account numbers are different and both are necessary. Your account number is unique to your individual account and is typically eight digits long. Your sort code identifies the bank or branch and is six digits. Think of it this way: the sort code is like the street address of a building, and the account number is like the flat number inside. A transfer needs both to reach the right money in the right place.
Some people confuse sort codes with other banking identifiers. The SWIFT code (also called BIC) is used for international transfers and is different from a sort code—it is longer and identifies banks globally rather than by UK branch. The IBAN combines your country code, sort code, and account number into one standardized format for international payments. For transfers within the UK, you only need the sort code and account number.
What happens if you use the wrong sort code
If you provide an incorrect sort code, the outcome depends on how wrong it is. If the sort code does not exist in the banking system, the transfer is usually rejected when ready and the money stays in the sender's account. If the sort code exists but does not match the account number you provided, the receiving bank may reject it, or in some cases, it may be sent to a different account at that branch.
If money is sent to the wrong account by mistake, it is not automatically returned. The person who received it has no legal right to keep it, but recovering it requires the sender to contact their bank and request a trace. The receiving bank will then contact the account holder and ask them to return the funds. This process can take several weeks. To avoid this entirely, always double-check both your sort code and account number before giving them to someone.
Sort codes for different types of accounts
Most current accounts, savings accounts, and business accounts all have sort codes. However, the sort code may differ depending on the account type or the branch where it was opened. Some banks use the same sort code for all accounts at a particular branch, while others assign different codes to different account types or processing centres. If you have multiple accounts at the same bank, check each statement to confirm the sort code for each one—they may not be identical.
Building societies and smaller financial institutions also have sort codes. The format and function are the same as with banks. If you are unsure which sort code to use for a particular account, always check the statement or online banking portal for that specific account rather than assuming it is the same as another account you hold.
Frequently Asked Questions
Can I use someone else's sort code to send them money?
No. You need the recipient's sort code, not yours. Their sort code tells the banking system where their account is held. Using your own sort code would send the money to your own bank instead. Always ask the person for their sort code and account number before making a transfer.
Is it safe to share my sort code?
Yes. Your sort code is not sensitive information—it is printed on your cheques and is part of your public bank details. Someone cannot access your account or take money using only your sort code. They would also need your account number, and even then, they can only send money in, not take it out. However, do not share your full banking details with untrusted sources.
Do I need a sort code for online banking or mobile payments?
For transfers to other people's accounts, yes—you will need their sort code and account number. For payments to businesses or bills, the company usually provides the sort code and account number you need. For payments within your own bank using online banking, you typically do not need to enter a sort code; the system already knows where your account is.
What if my bank does not have a sort code?
All UK banks and building societies have sort codes. If you cannot find yours, contact your bank directly. They may have changed their sort code, or you may be looking in the wrong place. Some newer digital banks display it differently in their apps, but it will be there somewhere in your account details.
Can a sort code change?
Rarely, but yes. Banks occasionally consolidate branches or update their systems, which can result in a sort code change. If this happens, your bank will notify you and provide a new sort code. Old sort codes usually continue to work for a transition period to avoid disrupting payments. Check your bank's website or contact them if you suspect your sort code has changed.