A sort code identifies your specific bank branch, not the bank itself

A sort code is a six-digit number that tells the payment system which branch of your bank holds your account. It is not the same as your bank name or account number. When you send or receive money via bank transfer in the UK, the sort code routes the payment to the right physical location so it arrives in the correct account.

Sort codes are used only in the UK and Ireland. If you are sending money internationally or to a bank outside these countries, you will use a different routing system — usually a SWIFT code or IBAN instead. But for any domestic transfer within the UK, your sort code is essential.

The format is always six digits, usually written as three pairs separated by hyphens: 12-34-56. You will find your sort code on your debit card, cheque book, bank statements, or by logging into your online banking. Your bank can also tell you over the phone if you call their customer service line.

Key Takeaways

  • A sort code is a six-digit number that identifies your bank branch, and it is required for any UK bank transfer.
  • Sort codes are different from your account number, bank name, or international routing codes like SWIFT or IBAN.
  • You can find your sort code on your debit card, cheque book, bank statement, or through your online banking portal.
  • Giving someone your sort code and account number together allows them to send you money, but the sort code alone does not identify your account.

Where to find your sort code

Your sort code appears in several places. The easiest is your debit card — it is printed on the front or back, usually near your account number. If you have a cheque book, the sort code is printed at the bottom left of every cheque, followed by your account number and a check digit.

Your bank statement (paper or digital) also shows your sort code at the top 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 and IBAN.

If you cannot find it anywhere, call your bank's customer service number on the back of your debit card or on their website. They will give you the sort code in seconds. You do not need to visit a branch.

How sort codes work in a payment

When you make a bank transfer, you provide the recipient's sort code and account number. The payment system uses the sort code to route the transfer to the correct branch, then uses the account number to deposit the money into the right account within that branch.

The sort code acts like a postal code for your bank. Just as a postal code directs mail to a specific post office, a sort code directs money to a specific bank branch. Without it, the payment system would not know which of hundreds of branches to send the money to, and the transfer could be delayed or rejected.

Sort codes are managed by BACS (Bankers' Automated Clearing Services), the organisation that runs most UK bank transfers. Each branch of every bank has its own unique sort code. If you move branches or switch banks, your sort code may change.

Sort code versus account number

Your sort code identifies the branch. Your account number identifies your specific account within that branch. Together, they form a complete address for your money. Neither one alone is enough to send you a payment.

Think of it this way: the sort code is the street address of the bank branch, and the account number is the apartment number within that building. A payment needs both to reach you.

Your account number is usually eight digits, though some banks use fewer. It appears on your debit card, cheques, statements, and online banking, right next to or near your sort code.

Sort code versus IBAN and SWIFT

If you are sending money outside the UK or receiving money from abroad, you will use different codes. An IBAN (International Bank Account Number) is a longer code that includes your sort code and account number plus a country code and check digits. A SWIFT code (also called a BIC) identifies your bank internationally, not your specific branch.

Your IBAN always starts with two letters representing your country (GB for the UK), followed by two check digits, then your sort code, then your account number. It is longer than a sort code but carries the same information plus extra validation.

For domestic UK transfers, use your sort code and account number. For international transfers, ask the recipient or your bank which code they need — usually an IBAN, sometimes a SWIFT code, sometimes both.

What happens if you give the wrong sort code

If you provide an incorrect sort code, the payment will be sent to the wrong branch. The receiving bank will usually reject it and send it back to you, which can take several days. Your money will return to your account, but you may lose a day or two in the process.

In rare cases, if the wrong sort code happens to belong to a real account at a different branch, the money could be deposited into someone else's account. This is why it is important to double-check the sort code before you send a large payment. Ask the recipient to confirm their sort code, or look it up yourself using your bank's sort code checker tool.

If money is sent to the wrong account by mistake, contact your bank immediately. They can attempt to recover it, but the process is slower than a normal transfer and success is not may provide.

Sort codes and fraud protection

Knowing someone's sort code and account number does not put your account at risk. These details are meant to be shared — you give them to anyone who needs to send you money. Fraudsters cannot withdraw money from your account using only these two pieces of information.

To protect yourself, never share your PIN, password, or the three-digit security code on the back of your debit card. Your bank will never ask for these details. If someone claims to be from your bank and asks for your PIN or security code, hang up and call your bank directly using the number on your card or their official website.

Your sort code and account number are public-facing details. Your PIN and security codes are not.

Frequently Asked Questions

Can I find out what bank a sort code belongs to?

Yes. Your bank's website usually has a sort code checker tool where you can enter a six-digit code and see which bank and branch it belongs to. You can also call the bank whose name you think it belongs to and ask them to confirm. This is useful if you want to verify a sort code before sending money.

Do I need a sort code to set up a standing order or direct debit?

Yes. Standing orders and direct debits both require your sort code and account number so the payment system knows where to take the money from. You will provide these details when you set up the instruction with your bank or the organisation collecting the payment.

What if my bank has multiple branches near me — do they all have different sort codes?

Yes, each branch has its own sort code. However, most modern banks route all transfers to a central processing centre regardless of which branch you use, so it usually does not matter which sort code you use — the money will reach your account either way. Check with your bank if you are unsure.

Is a sort code the same as a routing number?

No. A routing number is used in the United States and Canada to identify banks and branches. A sort code is the UK and Ireland equivalent. If you are sending money to or from the US, you will need a routing number, not a sort code.

Can someone steal money from my account if they have my sort code?

No. A sort code alone cannot be used to withdraw money or make payments from your account. Fraudsters would also need your PIN, password, or security code — information you should never share with anyone, including people claiming to be from your bank.