A clearing code is a short identifier that banks use to route a payment to the correct institution and branch. Different countries use different formats — the UK uses sort codes, the US uses ABA routing numbers, international transfers use BIC/SWIFT codes, and European transfers use IBANs. The code you need depends on where you’re sending money, in which currency, and through which payment system.
If you’re trying to complete a transfer right now, skip to Which clearing code do I need? for a decision table by transfer type.

What is a clearing code?
A clearing code is a standardised identifier used by banks and payment networks to route funds to the correct financial institution. It typically combines a bank identifier, a location identifier, and — depending on the format — a branch or account identifier. Clearing codes are the mechanism that allows automated payments to settle without manual intervention.
Clearing codes are sometimes called clearance codes, bank clearing codes, or local clearing codes, depending on the country and the context. The function is the same — they tell the payment system which bank to send money to and, often, which specific branch within that bank.
Without a valid clearing code, an automated transfer cannot complete. The payment either fails outright or is held in suspense pending manual investigation, which delays settlement and can incur fees.
What is a “clearance cipher”?
“Clearance cipher” is not an official banking term. It typically appears in search queries from non-native English speakers and is almost always a translation or transcription of “clearance code” or “clearing code.” If you’ve been asked to provide a clearance cipher, the person almost certainly means a clearing code — sort code, BIC, SWIFT, or IBAN depending on the transfer type.
A cipher in financial contexts refers to encryption, not payment routing. The two concepts are unrelated.
Common clearing codes by country and transfer type
| Code | Where used | Format | Used for |
|---|---|---|---|
| Sort code | United Kingdom | 6 digits (XX-XX-XX) | Domestic UK transfers, direct debits, Faster Payments |
| ABA routing number | United States | 9 digits | Domestic US transfers, ACH, direct deposits |
| BSB | Australia | 6 digits | Domestic Australian transfers |
| IFSC | India | 11 alphanumeric characters | Domestic Indian electronic transfers (NEFT, RTGS) |
| Transit number | Canada | 5 digits (+ 3-digit institution code) | Domestic Canadian transfers |
| CLABE | Mexico | 18 digits | Domestic Mexican electronic transfers |
| SWIFT/BIC code | International | 8 or 11 alphanumeric characters | Cross-border transfers via the SWIFT network |
| IBAN | Europe, Middle East, parts of Asia | Up to 34 alphanumeric characters | International transfers, especially within and to Europe |
| Branch code | Multiple (varies by country) | Variable | Sub-identifier within a bank, often part of a larger code |
For international transfers, you typically need both an IBAN (or local account number) and a SWIFT/BIC code. For domestic transfers, the country-specific code plus the account number is usually sufficient.
The BIC/SWIFT code structure explained
The Bank Identifier Code (BIC) and SWIFT code are the same thing — two names for the identifier used to route international payments through the SWIFT network. The terms are interchangeable in everyday use.
A BIC/SWIFT code is 8 or 11 characters long, built from four components:
| Position | Component | Length | Purpose |
|---|---|---|---|
| 1–4 | Bank code | 4 letters | Identifies the bank |
| 5–6 | Country code | 2 letters | ISO country identifier |
| 7–8 | Location code | 2 letters or numbers | Identifies the head office location |
| 9–11 | Branch code (optional) | 3 letters or numbers | Identifies a specific branch |
Worked example
BARCGB22XXX — Barclays Bank, London head office:
- BARC — Barclays Bank
- GB — United Kingdom
- 22 — London location code
- XXX — head office (no specific branch)
If the code is only 8 characters (e.g. BARCGB22), it routes to the bank’s head office automatically. The 11-character version with a branch code directs the payment to a specific branch, which can matter for large banks operating multiple international hubs.
You can verify any BIC/SWIFT code through the official SWIFT BIC lookup or via your recipient’s bank statement or online banking portal.
What is an IBAN?
An IBAN (International Bank Account Number) is a standardised account identifier of up to 34 characters that includes the country code, two check digits, and the domestic bank and account details. It is required for most international transfers within Europe and is increasingly used in the Middle East and parts of Asia.
An IBAN looks intimidating but is structured logically. A UK IBAN such as GB29 NWBK 6016 1331 9268 19 breaks down as:
- GB — country code (United Kingdom)
- 29 — check digits (used to validate the IBAN mathematically)
- NWBK — bank identifier (NatWest)
- 601613 — sort code
- 31926819 — account number
The two check digits are calculated from the rest of the IBAN. If you mis-type a single character, the check digit validation fails and the payment is rejected before it leaves your bank — which is one of the reasons IBANs reduce errors compared to free-format account numbers.
For domestic transfers within a country, you usually don’t need to provide the IBAN — the sort code and account number (or country equivalent) is enough.
Which clearing code do I need?
The right code depends entirely on where the payment is going and how it will be processed. Use this matrix:
| Transfer type | Required code(s) |
|---|---|
| UK to UK (domestic) | Sort code + account number |
| US to US (domestic) | ABA routing number + account number |
| EU to EU (euro, SEPA) | IBAN only (BIC sometimes requested) |
| UK to EU (euro) | IBAN + BIC/SWIFT (for SEPA via UK) |
| UK to US (USD) | ABA routing number + account number + SWIFT |
| Any non-SEPA international wire | IBAN (where applicable) + SWIFT/BIC + recipient bank address |
| Crypto-to-fiat off-ramp | Varies — usually IBAN or SWIFT for the cash settlement leg |
If you’re unsure which codes you’ve been given, look at the format:
- Six digits separated into pairs → UK sort code
- Nine digits → US ABA routing number
- Eight or eleven alphanumeric characters → BIC/SWIFT
- Starts with two letters then numbers, up to 34 characters → IBAN
If a recipient sends you only an account number with no clearing code, ask them which country and currency the account is in. The clearing code you need follows from that.
Why clearing codes matter
Clearing codes do three things that matter for any transfer above casual amounts:
- Accuracy — they route the payment to the right institution. A missing or wrong code is the most common reason for delayed or returned transfers
- Speed — automated routing means the payment settles in hours rather than days. Manual intervention typically adds 1–3 business days
- Security — the codes are issued by central banks and payment networks, validated against published directories, and (in the case of IBAN) self-checking through their check digits
For larger international transfers — property purchases, business payments, repatriation — verifying the clearing codes before sending is the single most effective step you can take to avoid delays.
As Anthony Bull, CEO of Cambridge Currencies, puts it: “We see transfers held up for the same handful of reasons every month, and a wrong or missing clearing code is the most common. For a £200,000 property completion, a returned payment costs the client both the FX exposure on the round trip and the legal risk of missing a contractual deadline. It’s why we verify every recipient code with the client by phone before settlement.”
What happens if you use the wrong clearing code?
Three things can happen, depending on how wrong the code is:
The payment is rejected before it leaves your bank. Modern systems validate IBAN check digits and known BIC formats automatically. A clearly invalid code triggers an error at entry, and the funds never leave your account.
The payment is sent but bounces back. The clearing code is valid but doesn’t match the account number, or routes to a closed account. The payment is returned, usually within 2–10 business days, often minus a returns fee from one or more intermediary banks. On an international SWIFT transfer this fee can be £20–£50.
The payment reaches the wrong account. The clearing code routes to a real but unintended recipient. This is rare for automated transfers but possible if the code is correctly formatted and matches a live account. Recovery depends on the receiving bank’s cooperation and is not guaranteed — most jurisdictions place the burden on the sender to verify details before sending.
The Verification of Payee service, now mandatory across the eurozone since October 2025, addresses this for SEPA payments by checking the recipient name against the IBAN before authorisation. For non-SEPA transfers, no equivalent universal check exists yet.
How to find the right clearing code
Reliable sources, in order of trustworthiness:
- The recipient directly — ask the person or business receiving the money. They have authoritative knowledge of their own banking details
- The recipient’s bank statement or online banking — clearing codes are printed on statements and visible in account dashboards
- The bank’s official website — most banks publish their SWIFT/BIC and IBAN format publicly
- The SWIFT BIC lookup at swift.com — the official directory
- For UK sort codes — published by the Bank of England and individual banks
Avoid third-party “code finder” sites where possible. The information is often outdated, and for any transfer above a few thousand pounds, the small effort of confirming with the recipient saves significant downstream risk.
When clearing codes change
Clearing codes are stable in normal operation, but they do change in specific circumstances:
- Bank mergers and acquisitions — the acquiring bank typically migrates the acquired institution’s codes over 12–24 months. UK examples include the integration of various building societies into larger banking groups
- Bank rebrands — when a bank changes its name, the BIC sometimes updates to reflect the new bank code letters
- Branch closures — branch codes within a BIC can be retired when physical branches close
If you’re making a recurring international payment to the same recipient (rent, school fees, supplier invoices), confirm the codes annually. For one-off large transfers, verify within 30 days of sending.
How a currency specialist helps with clearing codes
Banks typically leave the burden of collecting and validating clearing codes entirely on the sender. For domestic transfers this is usually fine — the codes are short and familiar. For international transfers, particularly large ones, the picture changes.
A specialist currency broker like Cambridge Currencies handles the operational layer differently:
- Codes verified by phone with the client before any transfer is initiated
- Recipient bank details checked against the destination country’s expected format
- Returns handled directly by the dedicated specialist if a payment bounces, rather than via a bank call centre
This matters most for high-value transfers where a returned payment carries FX exposure on the round trip. On a £250,000 transfer, a 1% market move during a 3-day returns window costs the client £2,500 — a real cost that operational care prevents.
Frequently asked questions
What is the difference between a clearing code and a SWIFT code?
A clearing code is the general term for any bank routing identifier. A SWIFT code is one specific type of clearing code, used for international transfers through the SWIFT network. UK sort codes, US routing numbers, and Indian IFSC codes are all clearing codes too, but they are not SWIFT codes.
Is a clearing code the same as a BIC?
A BIC (Bank Identifier Code) is the same as a SWIFT code — both refer to the 8 or 11-character identifier used to route international payments. A BIC is therefore a type of clearing code, but not all clearing codes are BICs. Sort codes, IBANs, and routing numbers are also clearing codes.
What is a clearing code for a wire transfer?
For an international wire transfer, the clearing code is almost always the recipient’s SWIFT/BIC code, often combined with an IBAN for European destinations. For a domestic wire within the US, the ABA routing number is used. Always confirm the required combination with the recipient or their bank.
Can I reuse the same clearing code for multiple payments?
Yes. Clearing codes identify the bank or branch, not the transaction. The same SWIFT, IBAN, or sort code can be used for any number of payments to the same recipient unless their bank changes or the account is closed.
What is a local clearing code?
A local clearing code is the domestic equivalent of an international code — a sort code in the UK, a routing number in the US, an IFSC in India. The ‘local’ prefix is sometimes used to distinguish it from the international SWIFT/BIC required for cross-border payments to the same account.
Do clearing codes ever change?
Yes, occasionally. Clearing codes can change when banks merge, rebrand, or close branches. Sort codes and routing numbers are more stable than BICs, but for recurring international payments it’s good practice to verify the codes annually with the recipient.
What happens if I enter the wrong clearing code?
The payment may be rejected before it leaves your bank, returned within 2–10 business days (often with a fee), or in rare cases routed to the wrong account. Verify codes with the recipient before sending, especially for large or international transfers.
Where can I find my clearing code?
On your bank statement, in your online banking dashboard, on the back of your debit card (for sort codes), or by contacting your bank directly. For SWIFT/BIC codes, your bank’s official website lists them publicly. Avoid third-party lookup sites for anything beyond informal use.
Related guides
- What is a SWIFT transfer? — how international wire payments work
- How to send and receive using an IBAN — IBAN structure explained
- SEPA or SWIFT: which should you choose? — picking the right payment rail
- International payments explained — broader overview of cross-border transfers
Speak to a Cambridge Currencies specialist
If you’re preparing a large international transfer — a property purchase, business payment, or personal repatriation — collecting and verifying the right clearing codes is one of the small details that determines whether the transfer settles cleanly or sits in suspense for a week.
Cambridge Currencies operates with FCA-authorised partners Currencycloud (FRN 900199) and ScioPay (FRN 927951), and all transfers are handled by a named specialist who verifies recipient details by phone before settlement. Request a quote and we’ll talk you through the live rate, the all-in cost, and the documentation you’ll need.
