A bank sort code is a six-digit number that identifies which bank or building society holds your account in the UK and Ireland.
The sort code tells the payment system exactly where to send money. When you give someone your sort code along with your account number, you are giving them the routing information they need to move money into your account. Without it, a transfer cannot reach you—the system will not know which branch or institution to send the payment to, even if the account number is correct.
Sort codes are used only in the UK and Ireland. If you are sending money internationally or to someone outside these countries, you will use a different identifier called a SWIFT code or IBAN instead. Within the UK and Ireland, sort codes are the standard for all domestic transfers: standing orders, direct debits, bank transfers, and salary payments.
Key Takeaways
- A sort code is six digits, usually written as three pairs separated by hyphens (for example, 20-17-80), and identifies your specific bank or building society.
- You need your sort code and account number together for anyone to send you money via bank transfer, standing order, or direct debit.
- Your sort code appears on your cheques, bank statements, and online banking portal, and you can ask your bank for it at any time.
- Giving out your sort code and account number is safe—these details alone cannot be used to withdraw money from your account or make payments without your permission.
Where to find your sort code
Your sort code is printed on every cheque you receive from your bank. Look at the bottom left of the cheque: you will see nine digits in total. The first six digits are your sort code, written as three pairs (for example, 20-17-80). The remaining three digits are part of your account number.
If you do not have cheques, you can find your sort code on your bank statement, in your online banking app, or by calling your bank's customer service line. Most banks also display it in the account details section of their website when you log in. Building societies and smaller banks may require you to call or visit a branch, but they will provide it immediately.
Some banks issue a card or reference sheet with your sort code printed on it when you open an account. If you have lost this information, do not worry—your bank can tell you your sort code in seconds, and there is no charge for asking.
How sort codes work in a payment
When you receive a bank transfer, the sender enters your sort code and account number into their banking app or at their bank's counter. Their bank reads the sort code first: it identifies your bank and, in most cases, the specific branch where your account is held. The account number then pinpoints your individual account within that bank.
The sending bank passes this information through the UK's payment clearing system, which routes the money to your bank. Your bank uses the account number to deposit the funds into the correct account. This process usually takes one to two working days for a standard transfer, though faster payments can arrive within hours.
The same process happens in reverse when you send money to someone else. You provide their sort code and account number, and your bank uses those details to route your payment to the correct recipient.
Sort codes versus account numbers
A sort code and an account number are two different pieces of information that work together. Your sort code identifies your bank; your account number identifies your specific account within that bank. You need both to complete a transfer. Providing only one is not enough—the payment system will reject the transaction or send the money to the wrong place.
Account numbers in the UK are usually eight digits long, though some banks use different lengths. Your account number is unique to you within your bank, but the same account number could exist at a different bank. This is why the sort code is essential: it tells the system which bank to look in.
When you write down your details for someone, always provide both your sort code and account number together, usually formatted as "Sort Code: 20-17-80, Account Number: 12345678".
Security and sort codes
Sharing your sort code and account number is safe. These details are not secret in the same way a password or PIN is. Your sort code is printed on every cheque you write, and your account number appears on statements you may share with employers, landlords, or other organisations. Neither piece of information alone can be used to withdraw money from your account or make payments without your permission.
To actually move money out of your account, someone would need additional security information: your online banking password, your card details, or your approval through your bank's app. Sort codes and account numbers are routing information only—they tell the system where to send money, not whether the sender is authorised to send it.
If you are concerned about fraud, the risk does not come from sharing your sort code. It comes from sharing your card details, passwords, or one-time security codes. Protect those carefully. Your sort code and account number can be shared freely with anyone who needs to send you money.
Sort codes for different types of payments
You will need your sort code and account number for several types of payment. For a standing order (a regular payment you set up), you provide these details once, and your bank repeats the payment automatically. For a direct debit (where a company takes regular payments from you), you give the company your sort code and account number, and they submit the request to your bank.
Employers use your sort code and account number to pay your salary directly into your account. Landlords may ask for these details to set up rent payments. Utility companies, insurance providers, and subscription services all use sort codes to collect payments or issue refunds. In each case, the process is the same: the sort code routes the payment to your bank, and the account number identifies your account.
For international transfers, you will not use a sort code. Instead, you will provide an IBAN (International Bank Account Number) or a SWIFT code, which serve similar routing functions but work across borders.
What happens if you give the wrong sort code
If you provide an incorrect sort code, the payment will either be rejected or sent to the wrong bank. Most modern banking systems will catch the error and return the money to the sender within one to two working days. The sender will see a failed transaction and can correct the details and try again.
In rare cases, if the sort code is close to a valid one, the payment might reach a different bank. If this happens, that bank will usually reject it because the account number does not match any account in their system, and the money will be returned to the sender. This process can take several days.
If you are unsure about a sort code, ask the recipient to confirm it or check it against their bank statement or cheque. It is better to verify before sending than to deal with a failed or misdirected payment.
Frequently Asked Questions
Can someone take money from my account if they have my sort code and account number?
No. Your sort code and account number allow money to be sent to your account, not taken from it. To withdraw money or make payments, someone would need your card details, online banking password, or your explicit approval through your bank's app or a signed mandate.
Do I need a different sort code for each type of payment?
No. You have one sort code for your account, and it works for all types of payment: transfers, standing orders, direct debits, and salary deposits. The sort code never changes unless you close the account or switch banks.
What if my bank has multiple branches—do I need a different sort code for each one?
Most modern banks use a single sort code for all their branches, so it does not matter which branch you use. However, some older or smaller institutions may have different sort codes for different locations. Check your cheque or statement to confirm which sort code is linked to your account.
Is a sort code the same as a routing number?
No. A sort code is used in the UK and Ireland. In the United States, banks use a routing number that serves the same purpose. If you are sending money to or from the US, you will need a routing number, not a sort code.
Can I change my sort code?
No. Your sort code is assigned by your bank and cannot be changed. If you switch banks, you will receive a new sort code for your new account. You will need to update your sort code with your employer, landlord, or any organisation that sends you regular payments.