Everyday banking

What is a sort code?

Quick definition: A sort code is a six digit UK banking code that helps route payments to the correct bank, building society or account servicing location.

At a glance

  • It is normally written as three pairs of numbers.
  • It is used with an account number for many UK payments.
  • It identifies routing information, not a customer's full identity.
  • Some providers use sort codes for digital or centralised accounts rather than a local branch.

Explain it simply

A sort code helps the banking system know where to send a payment. In the UK it is usually shown as six numbers, such as 12-34-56. You normally give it with your account number when someone needs to pay you by bank transfer. The sort code does not tell someone everything about your account, but it helps identify the bank or payment route. If it is typed wrongly, a payment may fail or go to the wrong account, so it is worth checking before sending money.

Student explanation

A sort code is part of the UK payment addressing system. It is used with an account number when sending Faster Payments, Bacs payments and many other domestic transfers. Historically, sort codes were closely linked to bank branches. Today, they may also identify central processing locations, online banks or account ranges. Students may encounter sort codes when receiving wages, paying rent, applying for student support or setting up a Direct Debit. It is useful to know that the sort code identifies the routing destination, while the account number identifies the individual account at that destination.

Professional explanation

A sort code is a six digit routing identifier used within UK account-to-account payments and account validation processes. It supports clearing and settlement by indicating the participant, payment scheme access route or account servicing location associated with the account number. Although often described as a branch code, modern usage includes centralised and digital account infrastructures. Sort codes are relevant to Faster Payments, Bacs, CHAPS eligibility checking, Confirmation of Payee, account modulus checking and operational exception handling. They should be distinguished from Bank Identifier Codes and International Bank Account Numbers, which support different cross-border identification and routing contexts.

UK example

When Jamie sets up a standing order for rent, the landlord gives a sort code and account number for the receiving account.

Why it matters

A correct sort code helps payments reach the right destination and helps customers understand why UK bank details usually need two separate numbers.

Common misunderstanding

A sort code identifies routing information for the bank or account range. It does not uniquely identify the customer's account without the account number.

Sources and further reading

Last reviewed: 14 July 2026

This glossary provides general educational information. It does not provide financial, legal or investment advice.