A national clearing code is a country-specific identifier that routes a domestic payment to the correct bank, and usually the correct branch, inside a country’s payment network. Every country with an electronic payments system assigns these codes to participating institutions, but the name, length, and format change at every border. In the United States it is the nine-digit ABA routing number. In the United Kingdom it is a six-digit sort code. In Australia it is a six-digit BSB. Whatever the local name, the job is the same: tell the network exactly where the money should land.
What the Code Actually Does
A domestic payment moves in two steps. The banks first exchange and reconcile the payment instructions, a step called clearing. Then the funds themselves move between the banks’ reserve accounts, which is settlement. The clearing code makes both steps possible by giving every participating bank and branch a unique address inside the network.
Most clearing codes pack two pieces of information into one string of digits. One segment identifies the financial institution. The other identifies the specific branch that holds the recipient’s account. That two-layer structure lets the network route funds to the right bank first, then to the right branch, with no manual sorting in between.
Speed depends on which payment rail carries the transfer. Real-time gross settlement systems, like Fedwire in the United States, process each transfer individually and settle within minutes. Batch systems, like ACH, collect transfers through the day and settle them in groups, with funds usually available the same or next business day.
What It’s Called in Different Countries
Because “national clearing code” is an umbrella term, each country’s version has its own name and layout. The structure often reflects how that country’s banking network is organized.
United States: ABA Routing Number
The American clearing code is the ABA routing transit number, a nine-digit code created by the American Bankers Association. It appears at the bottom-left of every check and carries wire transfers, direct deposits, automatic bill payments, and ACH transactions.1Board of Governors of the Federal Reserve System. ABA Number – Micro Data Reference Manual
One detail worth pinning down: a single bank can have different routing numbers for paper checks and electronic transfers. Some institutions use one number for both; others assign a separate routing number for ACH. Before you set up a direct deposit or an electronic payment, confirm which variant your bank wants. Using the wrong one can delay the transfer.
United Kingdom: Sort Codes
UK banks use a six-digit sort code, written as three pairs separated by dashes (12-34-56). The first two digits identify the bank; the remaining four identify the branch. Sort codes are required for domestic transfers through Faster Payments and BACS.
Australia: BSB Codes
Australia’s Bank State Branch code is also six digits, but it encodes more. The first two digits identify the institution. The third indicates the state or territory. The last three identify the individual branch.2NAB. Learn What Your Bank Account Name, Number and BSB Are
Canada: Transit and Institution Numbers
Canada uses two separate codes that combine for electronic transfers. The transit number is five digits and identifies the branch. The institution number is three digits and identifies the bank. For an electronic transfer they merge into a nine-digit string: a leading zero, then the three-digit institution number, then the five-digit transit number.3CIBC. Transit Number, Institution Number and Account Number
India: IFSC Codes
India uses the Indian Financial System Code, an 11-character alphanumeric identifier required for NEFT, RTGS, and IMPS transfers. The first four characters are letters identifying the bank (SBIN for State Bank of India, for example). The fifth character is always zero, reserved for future use. The last six characters identify the branch. Because it mixes letters and numbers, the IFSC carries the bank’s identity in readable form rather than as an abstract number.
Germany: Bankleitzahl (BLZ)
Germany’s clearing code is the Bankleitzahl, an eight-digit number identifying the institution. Unlike sort codes or BSB numbers, the BLZ does not separately encode a branch; any branch of a given bank shares the same BLZ.4Xe. IBAN Country List – IBAN Format Example for Germany After Germany’s migration to SEPA for domestic transfers, the BLZ is now mostly encountered inside the German IBAN rather than used on its own.
South Africa: National Clearing Codes
South Africa uses a six-digit national clearing code that acts as a branch code for domestic payments. Many major banks have moved toward universal branch codes, where one six-digit code covers every branch of the same bank, which simplifies things for senders who don’t know the recipient’s branch.
How Clearing Codes Fit with SWIFT and IBAN
A national clearing code handles the domestic leg of a payment. International transfers layer additional identifiers on top.
SWIFT’s Business Identifier Code (BIC) is an 8- or 11-character alphanumeric code that identifies a financial institution globally. The eight-character version identifies the bank; the 11-character version adds a three-character suffix for a specific branch or department.5Swift. Business Identifier Code (BIC) When you send an international wire, the SWIFT/BIC code carries the payment message to the correct bank in the correct country.
The International Bank Account Number (IBAN) is where domestic and international systems converge. An IBAN opens with a two-letter country code and two check digits, followed by the Basic Bank Account Number, which contains the domestic bank identifier and the account number. The exact format and length vary by country.6SWIFT. IBAN Registry The national clearing code sits embedded inside the IBAN. Germany’s IBAN, for instance, places the eight-digit BLZ immediately after the country code and check digits.7ECBS. Germany Bank Account Number
A typical international transfer needs both a SWIFT/BIC and an IBAN. The SWIFT code delivers the message across borders; the IBAN, carrying the embedded clearing code, delivers the funds to the right domestic account once they arrive. Countries that have not adopted IBAN, including the United States, Canada, and Australia, require the national clearing code to be supplied separately alongside the account number.
What Happens When You Use the Wrong Code
An incorrect clearing code doesn’t always mean lost money, but it does mean delays. The outcome turns on whether the wrong code points to a real account somewhere else, or to nothing at all.
If the code matches no valid bank or account, the payment usually bounces back automatically. In the US ACH system, the receiving bank returns the transaction with a standardized error code, and the originating bank normally sees the return within two business days.
The harder scenario is when the wrong code happens to match a real account at a different bank. Someone else’s account gets credited, and recovery becomes much harder. The Consumer Financial Protection Bureau warns that if money goes to an unintended account, you may not be able to get it back.8Consumer Financial Protection Bureau. I Sent Money to Someone and They Couldn’t Get the Money Because the Information Didn’t Match What I Provided. What Can I Do? Your bank can send a payment recall request, but the receiving bank has no legal obligation to return funds already deposited into another customer’s account. Recovery can take weeks and sometimes fails outright.
Verify the code before you send, especially for large transfers. A transposed digit is easy to miss and expensive to fix.
Finding and Verifying Your Bank’s Clearing Code
Where to look depends on how you bank:
- Log in to your online banking portal and open the account details section. The clearing code usually sits alongside your account number.
- Check a recent bank statement, paper or electronic. The full code typically appears near the top.
- Look at a check. In the US, the nine-digit routing number is printed at the bottom-left. In Canada, the transit and institution numbers sit in a similar position.
- Call the bank if you need a specific variant, such as the ACH routing number rather than the wire routing number.
If you need someone else’s code to pay them, ask the recipient to send it along with the account number. Don’t guess from the bank’s name or the branch location; larger banks often carry multiple routing numbers across regions and transaction types.
Before initiating a transfer, run the code through a validation tool. Most national payment networks and many banks offer free lookup services where you can enter a clearing code and confirm the institution it belongs to. Catching a typo at that stage costs nothing. Catching it after the money moves is a different problem.