A sort code is a six-digit number that identifies which bank or branch holds your account

A sort code is a six-digit number written in three pairs — for example, 20-45-67. It tells the banking system which specific bank or branch your money is held at. Think of it like a postal code for your bank: just as a postal code directs mail to the right neighbourhood, a sort code directs money to the right financial institution.

Sort codes are used almost entirely in the United Kingdom and Ireland. If you have a UK or Irish bank account, your sort code appears on your cheques, bank statements, and online banking. When someone sends you money — whether from another bank or from abroad — they use your sort code along with your account number to make sure the payment reaches you, not someone else with a similar name at a different bank.

The first two digits of a sort code identify the bank itself (HSBC, Barclays, Lloyds, and so on). The next two digits often identify the region or processing centre. The final two digits usually point to the specific branch. This structure means the banking system can route your payment quickly and accurately, even when thousands of transactions are happening at the same time.

Key Takeaways

  • A sort code is a six-digit number in the format XX-XX-XX that identifies your specific bank or branch in the UK and Ireland.
  • You need your sort code whenever someone sends you money, whether domestically or from abroad, along with your account number.
  • Your sort code appears on your cheques, bank statements, and in your online banking — you do not have to remember it.
  • Sort codes are different from account numbers; together they form the complete routing information for your account.
  • If you are sending money to someone, you must ask for their sort code and account number to may support the payment reaches the correct person.

Where you will see your sort code

Your sort code is printed on every cheque you receive from your bank, usually in the bottom left corner. It appears alongside your account number and the cheque number itself. If you look at a cheque, you will see three groups of numbers at the bottom: the sort code comes first (six digits), then your account number (usually eight digits), then the cheque number.

You can also find your sort code on your bank statements, whether you receive them on paper or view them online. Most online banking platforms display it in your account details or payment information section. If you cannot find it, you can call your bank's customer service line or visit a branch in person — they will tell you your sort code when ready.

Sort codes versus account numbers

A sort code and an account number are two different things, and you need both to send or receive money. The sort code identifies which bank holds the account. The account number identifies which specific account at that bank belongs to you. Together, they form a complete address for your money.

Think of it this way: the sort code is like the street address of a bank building, and the account number is like the apartment number inside that building. Someone sending you money needs both pieces of information. If they have only your sort code, they know which bank to send it to, but not which account. If they have only your account number, they do not know which bank to use.

In other countries, different systems exist. In the United States, banks use a routing number instead of a sort code — it serves the same purpose but is nine digits long. In Europe, many countries use an IBAN (International Bank Account Number), which is longer and includes the country code, bank code, and account number all in one. When you send money internationally, you may need an IBAN or a SWIFT code (also called a BIC code) rather than a sort code.

Why banks use sort codes

Sort codes exist because the banking system needs a fast, reliable way to route millions of payments every day. Without them, banks would have to match account numbers against a massive database every single time, which would slow everything down. A sort code lets the system when ready know which bank to send the payment to, and then that bank can process it internally.

Sort codes also reduce errors. If you accidentally write down a digit of someone's account number wrong, the payment might go to the wrong person — but if the sort code is correct, at least it goes to the right bank, where staff can investigate. The system has been in place for decades and is deeply embedded in how UK and Irish banking works.

What happens if you give the wrong sort code

If you provide an incorrect sort code when sending money, the payment will go to the wrong bank. Depending on the error, one of two things usually happens: the receiving bank might reject the payment and send it back to you, or the payment might sit in a suspense account while the bank tries to figure out where it should go.

If the wrong sort code happens to belong to a real bank, and your account number matches an account at that bank, the money could go to someone else entirely. This is rare but serious. For this reason, always double-check both the sort code and account number before sending money, especially for large amounts. If you are unsure, contact the person or organisation you are paying and ask them to confirm both numbers.

If you have sent money to the wrong sort code, contact your bank when ready. They can sometimes recall the payment or trace where it went, but the sooner you report it, the better your chances of recovery.

Sort codes for international payments

If you are receiving money from outside the UK or Ireland, the sender may not be able to use your sort code. Instead, they will likely need your IBAN (International Bank Account Number) or your bank's SWIFT code (also called a BIC code). Your IBAN includes your sort code within it, along with your country code and account number, all formatted as one long number.

You can find your IBAN on your bank statement or in your online banking. It always starts with two letters (GB for the UK, IE for Ireland), followed by two check digits, then your sort code, then your account number. A SWIFT code is a shorter identifier — usually eight or eleven characters — that identifies your specific bank internationally. Your bank can provide both of these if you need them for an international transfer.

Frequently Asked Questions

Do I need to memorise my sort code?

No. Your sort code is printed on your cheques and statements, and your bank can tell you it when ready. Most people never memorise it. You only need to know where to find it when you need to give it to someone.

Can two people at the same bank have the same sort code?

Yes. A sort code identifies the bank or branch, not the individual account. That is why you always need both the sort code and the account number together. The account number is what makes your account unique.

What if my bank has multiple branches — do they all have the same sort code?

Not always. Some banks assign the same sort code to all branches, while others give each branch its own sort code. It depends on how the bank is structured. Your statement will show the correct sort code for your specific account, so use that one.

Is my sort code private information I should keep secret?

Your sort code alone is not sensitive — it is printed on your cheques, which you hand to people regularly. However, never share your sort code and account number together with someone you do not trust, as that combination allows them to send money from your account or attempt fraud.

What is the difference between a sort code and a SWIFT code?

A sort code is a six-digit UK and Irish system for routing domestic payments. A SWIFT code (or BIC) is an international standard used worldwide to identify banks for cross-border transfers. Your bank has both if you do international banking.