Open a multi-currency account with Statrys today

What Is a Sort Code? How to Find It & When You Need One

2026-04-09

5 minute read

An illustration of Statrys mascot holding a jigsaw puzzle that says the word sort code
Bertrand Theaud, founder of Statrys

Written by Bertrand Théaud, Statrys Founder

As founder with 20+ years in Asia as a lawyer, investor, and entrepreneur, I look at what competitors charge, what they deliver, and where they cut corners so you can make decisions with full information, not their sales pitch.

Last reviewed April 2026.

Key Takeaways

A sort code is a 6-digit number formatted as XX-XX-XX. The first two digits identify the bank; the final four identify the branch. Every UK bank account has one.

All 3 domestic UK payment rails (BACS, CHAPS, and Faster Payments) require a sort code and an 8-digit account number to route a payment.

For international transfers arriving in the UK, most banks ask for an IBAN rather than a sort code directly. The sort code is already embedded in the IBAN at positions 9 to 14.

If you send a payment using the wrong sort code, contact your bank immediately. Recovery is possible but not guaranteed under the UK Payment Services Regulations.

Your UK supplier has just sent you their bank details and asked for a GBP payment. Or a UK client needs your sort code to complete a transfer to you. If you're not based in the UK, this six-digit number is probably the first time you've had to think about it. Most international payment systems use SWIFT codes or IBANs. Sort codes don't exist outside the UK and Ireland, so they don't come up until there's a UK transaction in the mix.

This guide covers what a sort code is, what it looks like, when you actually need one versus when an IBAN takes over, how to locate yours in four ways, and what to do if a payment goes wrong. There's also a comparison of sort codes with the equivalent codes used in other countries, a question that comes up regularly for businesses handling payments across the UK, the US, and Asia.

This guide draws on official guidance from Pay.UK, IBAN registry specifications, and published policies from UK retail banks as of April 2026. Where relevant, bank-specific sort code prefixes are noted for reference.

What Is a Sort Code?

A sort code is a 6-digit number that identifies the specific bank and branch where a UK bank account was opened. Every UK bank account has one. Payment systems use it to route money to the right place.

When you send money to someone with a UK bank account, or set up a direct debit, standing order, or any domestic transfer, the sort code tells the payment network which bank and which branch should receive the funds. Without it, the payment can't be routed correctly.

Sort codes are specific to the UK banking system. They are not used in the Eurozone, the US, or most other countries. Ireland also uses sort codes, though the Irish banking system is separate from the UK's.

What Does a Sort Code Look Like?

A sort code is always six digits, written in three pairs separated by hyphens: XX-XX-XX. For example: 20-00-00.

The first two digits identify the bank. The last four digits identify the branch. So 20-00-00 tells the payment system: this is Barclays (prefix 20), and here is the specific branch where the account sits.

💡Did you know? If you're dealing with an account at Monzo, Starling, or another UK digital bank, that bank may assign the same sort code to all of its customers, since it operates without physical branches.

Where the Sort Code Sits in a UK IBAN

If you're dealing with an international transfer, you'll often see the sort code embedded inside an IBAN (International Bank Account Number). A UK IBAN is always 22 characters. Here's how it breaks down:

Position What it contains Example (Barclays)
1–2 Country code GB
3–4 Check digits 33
5–8 Bank identifier (4 characters) BUKB
9–14 Sort code (6 digits) 202015
15–22 Account number (8 digits) 55555555

Source: Barclays IBAN Structure

If someone gives you their full UK IBAN, the sort code is already in positions 9 to 14. You don't need to ask for it separately.

When Do You Need a Sort Code?

You need a sort code any time you're involved in a UK domestic payment. There are 4 main situations.

1. Domestic UK transfers

All 3 major payment rails in the UK, BACS (Bankers' Automated Clearing Services), CHAPS (Clearing House Automated Payment System), and Faster Payments, require a sort code and an 8-digit account number:

Payment rail Typical use Speed
BACS Payroll, direct credits, supplier payments 2–3 business days
CHAPS High-value same-day transfers (typically £10,000+) Same day
Faster Payments Everyday transfers, retail payments Seconds to a few hours

If you're sending money from one UK account to another, the sort code and account number are all you need.

💡Relevant: See how CHAPS differs from BACS payments in our guide.

2. Sending Money From Abroad to a UK Bank Account

If you're based outside the UK and paying a UK supplier or individual via SWIFT payments, your bank will typically ask for either a sort code and account number or an IBAN. Most UK banks now prefer IBAN for international transfers, since the IBAN contains the sort code within it. If you're unsure which to use, provide both. A UK bank can work from either.

3. Setting up Direct Debits or Standing Orders

A direct debit gives a third party permission to pull payments from your account on a recurring schedule. A standing order is an instruction to your own bank to push a fixed amount at regular intervals. Both require your sort code and account number.

If you're paying UK rent, a supplier subscription, or any recurring UK commitment, you'll need to provide both.

4. Registering for UK Online or Mobile Banking

Most UK banks ask you to confirm your sort code and account number as part of the identity verification step when you activate online banking.

📌Note on Ireland: Sort codes are also used in Ireland and have the same 6-digit format as UK sort codes. However, most Irish domestic bank transfers now process through SEPA using IBAN, since Ireland is part of the Eurozone. You're more likely to encounter sort codes when dealing with Northern Ireland than with banks in the Republic.

How to Find Your Sort Code

There are 4 ways to quickly find your sort code.

Your Mobile or Online Banking App

Log in to your bank's app or website. Under your account details or account summary, the sort code appears alongside the account number. This is the fastest option and works regardless of the bank.

Your Bank Card

Most UK debit and credit cards print the sort code on the front or back, near the account number. It appears as six digits in pairs (e.g. 20-00-00), sometimes without hyphens. If you don't see it on the front, check the back.

Online-only banks may not print a sort code on the card at all, or may print a single shared sort code that applies to all their customers. If so, find it in the mobile app instead.

an annotated card showing where to find the sort code

Your Bank Statement

Your sort code appears at the top of every bank statement, in the account summary section. On paper statements, it's usually printed near the account number. On PDF statements, search for "sort code" if you can't find it immediately.

Decoding From Your IBAN

If you already know your IBAN, you don't need to find your sort code separately. Take characters 9 to 14 of the IBAN. Those 6 digits are your sort code.

Format of the UK IBAN code

Sort Code vs IBAN: Which Do You Use for International Transfers?

For most international transfers arriving in the UK, you provide your IBAN, not a sort code.

That said, some international banks and payment platforms ask for the sort code and account number directly, particularly if their systems don't support IBAN formatting. If you're ever unsure, give both: the full IBAN and the sort code and account number separately. Any UK bank can handle either.

Use sort code + account number when

  • Both accounts are in the UK (domestic transfer)
  • Sending via Faster Payments, BACS, or CHAPS
  • Setting up a UK direct debit or standing order
  • Using a UK payment app or online banking

Use IBAN when

  • The sender is based outside the UK
  • The transfer uses SWIFT or a SEPA network
  • The receiving or sending bank is in the eurozone
  • The sender's bank asks specifically for IBAN

Sort Code vs SWIFT Code vs Routing Number

The 3 codes serve the same basic purpose in different banking systems: routing a payment to the right bank. But they are not interchangeable.

Sort Code SWIFT/BIC Code Routing Number
Used in UK (and Ireland) Globally, for international transfers United States
Format 6 digits (XX-XX-XX) 8 or 11 alphanumeric characters 9 digits
Identifies Bank and branch Bank Bank and Federal Reserve district
When to use UK domestic payments; UK bank account setup Any international bank transfer, worldwide US domestic ACH transfers and wire payments
Example 20-00-00 BARCGB22 021000021

A SWIFT code (also called a BIC, Bank Identifier Code) is the international standard. Where a sort code identifies a branch within the UK, a SWIFT code identifies a bank globally. If you're wiring money from Hong Kong to a UK account via SWIFT, the sender's bank will need both the UK recipient's SWIFT code and their IBAN (which contains the sort code inside it).

A US routing number works like a sort code for American banks. It routes payments through the ACH system for domestic wire transfers. You can't use a UK sort code in a US payment, and a routing number won't route a UK payment. They're parallel systems that solve the same problem in different countries.

What Happens If You Use the Wrong Sort Code?

The most common outcomes when a wrong sort code is entered:

  • The payment is rejected and returned to you. UK payment systems validate sort codes before processing. Many errors are caught at this stage.
  • The payment is delayed while the bank investigates the discrepancy.
  • In rare cases, the payment is sent to a different account. This happens if the incorrect sort code happens to correspond to a real, active account at a different bank.

What to Do Immediately

Contact your bank as soon as you realise the error. Ask them to attempt a payment recall. Speed matters: the sooner you act, the better the chance the funds can be retrieved before the other bank processes them.

If the money has already reached the wrong account, your bank can request a recall from the receiving bank, but the outcome depends on cooperation from that bank. Under the UK Payment Services Regulations, the sending bank is not automatically liable if you provided incorrect details. The responsibility for accurate payment information sits with the person initiating the transfer.

💡Practical step: Keep a screenshot or PDF confirmation of your original payment instruction, including the sort code and account number you entered. If you need to raise a formal complaint or escalate to the Financial Ombudsman Service, this evidence supports your case.

Sort Codes by UK Bank

The first two digits of any UK sort code identify the issuing bank. Here are the common prefixes for major UK banks:

Bank Sort code prefix (first 2 digits)
Barclays 20, 23
HSBC 40
Lloyds Bank 30
Halifax (Lloyds Banking Group) 11
NatWest 60
Santander UK 09
Nationwide Building Society 07
Monzo 04
Starling Bank 60

Banks can have multiple sort code prefixes, particularly where they've grown through acquisitions. The prefix alone is enough to identify the bank; it won't tell you the branch name. For branch-level information, use the Pay.UK sort code checker.

Final Note

For international transfers to the UK, the IBAN usually already includes the sort code, so you don’t need to provide it separately.

In practice, sort codes matter mainly for domestic UK payments. For cross-border transactions, focusing on the correct IBAN and payment details is what ensures funds are routed correctly and without delays.

Open a Hong Kong Business Account

Access 11 major currencies, real support, and fees that won't surprise you. Trusted by 10,000+ SMEs globally.

Screenshot of the Statrys payment platform's business account dashboard.

Was this article helpful?

Yes

No

FAQs

What is a sort code and what is it used for?

A sort code is a 6-digit number (formatted as XX-XX-XX) that identifies the bank and branch where a UK bank account was opened. It is required for all domestic UK payments — BACS, CHAPS, and Faster Payments — and when setting up direct debits, standing orders, or UK online banking. Without a valid sort code, a UK payment cannot be routed correctly.

Is a sort code the same as a routing number?

How do I find my sort code?

Is the sort code included in the IBAN?

Do I need a sort code for an international transfer to the UK?

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

Disclaimer

This article is for informational purposes only and does not constitute financial or legal advice. Payment processing rules and bank policies can change — verify details with your bank or a qualified adviser before acting.

Get your Hong Kong business account open in a few days

  • icon

    100% online application

  • icon
  • icon
dashboard statrys 2026