Every time you are paid your wages, set up a standing order, or split the bill with friends, two numbers do the heavy lifting: your sort code and your account number. The sort code is the one most people recognise but fewest could explain. It is, in effect, the postcode of the UK banking system — telling money exactly which bank and branch to head for. This guide explains what a sort code is, how it works, where to find yours, and how to use it safely. This is general information, not financial advice.
What it is
A sort code is a six-digit number that identifies a specific bank and branch within the UK banking system. It is almost always written as three pairs of digits separated by hyphens — for example, 12-34-56.
On its own, a sort code does not point to your individual account. It works as a pair with your account number, which is usually eight digits long:
- The sort code says which bank and branch.
- The account number says which account at that branch.
Together, those fourteen digits uniquely identify a UK bank account, which is why you are asked for both whenever someone needs to pay you or you need to pay someone else.
How a sort code works
When a payment is made, the banking system reads the sort code to route the money to the correct institution and branch, then uses the account number to deposit it in the right account. It is a bit like an address: the sort code is the street and the account number is the house.
The six digits are structured to carry meaning:
- The first two digits generally indicate the banking group or institution (for example, a particular high-street bank).
- The remaining digits historically identified the specific branch that held the account.
In practice, modern banking is far more centralised than it once was, so the "branch" element is now largely administrative rather than tied to a physical building. Sort codes are managed centrally so that the whole system knows which code belongs to which bank, ensuring payments through schemes such as Faster Payments, Bacs (used for direct debits) and CHAPS reach the right destination.
Where to find your sort code
Your sort code is not a secret, and it is printed in several easy-to-find places:
- The front of your debit card — usually shown with your account number.
- Bank statements — typically near the top, alongside your account number.
- Your banking app or online banking — on your account summary or details screen.
- Cheque books — printed along the bottom of each cheque (the sort code, then the account number).
- Paying-in slips, if you still use them.
If you are setting up a payment to someone else, you will need their sort code and account number, not yours — and it is always worth double-checking the digits, as we explain below.
Sort codes and international payments
A sort code is a purely domestic UK identifier. It works for payments within the United Kingdom but means nothing to a bank abroad.
For money crossing borders, the international system uses different identifiers:
- An IBAN (International Bank Account Number), which packages your account details — including, for UK accounts, the sort code and account number — into a single standardised string.
- A SWIFT/BIC code, which identifies the bank itself internationally.
So if you are sending money to or receiving it from overseas, you will generally be asked for an IBAN, and sometimes a SWIFT/BIC code, rather than a bare sort code. Our guide to IBAN and SWIFT explains how those work and when you need each.
Using your sort code safely
Sharing your sort code and account number so that someone can pay money into your account is entirely normal and low risk — they are designed to be given out for exactly that purpose. Employers, friends and customers all need them to send you money.
That said, sensible caution still applies:
- Never share the details that let someone take money out. Your full card number, PIN, online banking passwords and one-time passcodes should stay private. A sort code and account number alone cannot be used to empty your account, but combined with other stolen information they can help fraudsters.
- Beware of unexpected requests to set up payments. A common scam involves a call, email or text urging you to move money to a "safe account" or pay an unfamiliar sort code urgently. Pause and verify independently. Our guide to spotting loan and money scams covers the warning signs.
- Check the recipient's details carefully. If you send money to the wrong sort code and account number, recovering it can be difficult and is not guaranteed.
To reduce that last risk, UK banks operate Confirmation of Payee, a name-checking service. When you set up a new payment, the system checks whether the name you enter matches the name on the account behind that sort code and account number, and warns you if it does not — a useful safeguard against both typos and certain frauds.
A quick worked example
Suppose a friend wants to repay you £40. You give them:
- Sort code: 12-34-56
- Account number: 87654321
- Your name, as it appears on your account.
Their banking app routes the payment using the sort code to your bank and branch, then credits your specific account using the account number, while Confirmation of Payee checks that your name matches. Via Faster Payments, the £40 usually arrives within seconds or minutes. The same details would let you set up a recurring standing order if the payment were regular.
For free, impartial guidance on banking and payments, MoneyHelper and Citizens Advice are reliable sources, and the Financial Conduct Authority regulates UK banks and payment providers. For independent side-by-side comparisons of UK bank accounts and related financial products, QuidCompare provides plain-English guides alongside.
The bottom line
A sort code is the six-digit number that identifies a UK bank and branch, working hand in hand with your eight-digit account number to send money to exactly the right place. You will find it on your card, statements, cheques and banking app, and you can share it freely to receive payments — while keeping your PIN, passwords and one-time codes private. For payments within the UK, the sort code and account number are all you need; cross borders and you will reach for an IBAN and SWIFT/BIC instead.