What Is a Bank Clearing Code? Routing Numbers, Sort Codes, and IBAN

A bank clearing code is the numeric identifier that tells the banking system which financial institution should receive a payment. In the United States, that code is the nine-digit routing transit number (RTN) printed on every check and required for direct deposits, bill payments, and wire transfers. Other countries use their own versions under different names and formats, but the job is always the same: route money to the right bank. Get the number wrong and a payment can be delayed for days or land at the wrong institution entirely.

What a Clearing Code Does

Think of a clearing code as a bank’s address within the payment network. When you set up a direct deposit or send a bill payment, the clearing code tells the system which of thousands of banks should receive the money. Your account number then narrows it down to your specific account at that bank.

The word “clearing” refers to the process banks use to exchange payment instructions and settle balances with each other. Every electronic bill payment and every direct-deposited paycheck moves through a clearing system, and the clearing code is what makes that handoff work without human intervention.

The US Version: The Routing Transit Number

The American clearing code is the ABA Routing Transit Number, a nine-digit code managed by the American Bankers Association. The first two digits identify the Federal Reserve District where the bank is located (01 for Boston through 12 for San Francisco), and the remaining digits identify the specific institution.1Legal Information Institute. 12 CFR Appendix A to Part 229 – Routing Number Guide It’s required for every ACH transaction, check, and domestic wire transfer processed through the US banking system.2Nacha. ACH Payments Fact Sheet

ACH and Wire Numbers Are Not Always the Same

A detail that trips people up: some banks assign one routing number for ACH transfers (direct deposits, bill payments) and a different routing number for wire transfers. Use the ACH number on a wire, or the wire number on an ACH payment, and the transaction may fail or get delayed. Confirm which type of transfer you’re making and use the corresponding number. Your bank’s website will list both when they differ.

Large Banks Often Have Multiple Routing Numbers

If you bank with a large national institution, your routing number is usually tied to the state or region where you opened your account. A Bank of America customer in California will have a different routing number than one in New York, even though they’re at the same bank. Smaller community banks and online-only banks tend to use a single routing number across all customers. The number that matters is the one tied to your specific account, not just any number belonging to your bank.

When Your Bank Merges

If your bank was recently acquired or merged with another institution, your routing number may change. Under ABA policy, the surviving bank must select a primary routing number by the effective date of the merger and then has up to about three years to fully retire the old numbers. During that transition, your old routing number should still work, but the bank isn’t required to keep it active indefinitely.3American Bankers Association. Routing Number Policy and Procedures Check your online banking portal for the updated number and refresh any recurring payments that still use the old one.

Where to Find Your Routing Number

Your routing number appears in several places. It’s worth checking more than one so you have the right version for the transaction you need.

On a Check

The nine-digit routing number is printed in magnetic ink at the bottom-left corner of a personal check, followed by your account number and then the check number.1Legal Information Institute. 12 CFR Appendix A to Part 229 – Routing Number Guide Keep in mind this is your paper-check routing number, which may differ from your wire transfer routing number.

In Online or Mobile Banking

Log into your bank’s website or app and look under account details, direct deposit setup, or wire transfer instructions. This is the most reliable source because banks typically display the correct routing number for each transaction type. If the bank uses separate numbers for ACH and wires, both will usually appear on the same page.

In the Federal Reserve’s Routing Directory

The Federal Reserve maintains a public E-Payments Routing Directory that lets you search for any routing number by institution name, location, or number. The directory syncs daily with the Federal Reserve’s ACH and Fedwire databases, so the information is current.4Federal Reserve Financial Services. E-Payments Routing Directory The ABA also offers a lookup tool, which the Office of the Comptroller of the Currency recommends for verifying routing numbers before sending wire transfers.5HelpWithMyBank.gov. How Can I Verify the Routing Number of the Payee Before I Send a Wire Transfer

Clearing Codes in Other Countries

Every country with an electronic payment system has its own version of a clearing code. The names and formats differ, but the function is identical: identify the receiving bank inside that country’s payment network.

United Kingdom: Sort Code

The UK uses a six-digit sort code, split into three pairs. The first pair identifies the bank; the remaining four digits identify the specific branch. Sort codes are managed by Pay.UK across the Bacs Payment System, the Faster Payment System, and the Image Clearing System.6Pay.UK. Sort Code Information

Canada: Transit and Institution Numbers

Canadian banks use a nine-digit routing number made up of a three-digit institution number and a five-digit transit (branch) number, with a leading zero added for electronic transfers. On paper checks it’s written as the five-digit transit number, a dash, and the three-digit institution number. For electronic payments the format reverses to a leading zero followed by the institution number and the transit number with no dashes.7Payments Canada. Rule F8 – Direct Payment Routing Numbers

Australia: BSB Code

Australia uses a six-digit Bank-State-Branch (BSB) code, written in XXX-XXX format. The digits identify the bank, the state, and the specific branch.8AusPayNet. BSB Lookup

India: IFSC Code

India’s clearing code is the Indian Financial System Code (IFSC), an 11-character alphanumeric code assigned by the Reserve Bank of India. The first four characters identify the bank, the fifth character is always zero, and the last six characters identify the specific branch. The IFSC is required for electronic funds transfers within India, including NEFT and RTGS transactions.

Germany: Bankleitzahl (BLZ)

Germany historically used an eight-digit Bankleitzahl (BLZ) as its domestic clearing code. The BLZ still exists as the bank identifier embedded within German IBANs, but consumers no longer use it directly. Under SEPA rules, banks derive the necessary routing information from the IBAN itself, so German account holders simply provide their IBAN for both domestic and cross-border euro payments.9Deutsche Bundesbank. Bank Sort Codes

Mexico: CLABE

Mexico uses the CLABE (Clave Bancaria Estandarizada), an 18-digit standardized code. The first three digits identify the bank, the next three identify the branch, the following 11 digits are the account number, and the final digit is a verification check. The CLABE combines the clearing and account identifiers, so it’s typically the only number needed for domestic transfers within Mexico.

How a Clearing Code Differs From SWIFT/BIC and IBAN

Domestic clearing codes only work within their home country’s payment system. For international transfers, two other identifiers come into play, and confusing them with your domestic code is one of the most common reasons cross-border payments fail.

SWIFT/BIC Code

A SWIFT/BIC (Business Identifier Code) is an international standard for identifying a financial institution anywhere in the world. It’s either 8 or 11 characters long: a four-character bank identifier, a two-letter country code, a two-character location code, and an optional three-character branch code.10Swift. Business Identifier Code (BIC) Any cross-border wire transfer needs the recipient bank’s SWIFT/BIC code. Your domestic routing number won’t work internationally.

IBAN

The International Bank Account Number (IBAN) is a standardized account format used for cross-border payments, particularly in Europe and much of the Middle East, Africa, and parts of Latin America. An IBAN can be up to 34 characters long and combines the country code, bank identifier, and account number into a single string.11Swift. White Paper on Use of IBAN in Commercial Payments The SEPA payment schemes across Europe rely on the IBAN as the primary account identifier, and the BIC is derived from it automatically.12European Payments Council. The Schemes Rely on Global Open Standards

When sending money overseas, you generally need the SWIFT/BIC code of the recipient’s bank and, in IBAN-using countries, the recipient’s IBAN. Your domestic clearing code alone won’t get the job done.

What Happens If You Use the Wrong Clearing Code

Entering the wrong routing number is surprisingly easy, and the outcome depends on whether the incorrect number happens to belong to another valid institution.

If the wrong number doesn’t match any bank, the transaction bounces back. That’s the better outcome. If the number happens to belong to a different bank, the money may actually land in someone else’s account, and recovery becomes your problem. The IRS puts it bluntly in its guidance on misdirected tax refunds: if a financial institution accepts the deposit into someone else’s account, you have to work directly with that institution to get your money back.13Internal Revenue Service. Refund Inquiries 18

Recovery is slow. If the IRS initiates a trace on a misdirected tax refund, the receiving bank has up to 90 days to respond and resolution can take up to 120 days. If the bank can’t recover the funds or refuses to return them, the matter becomes a civil dispute between you and the account holder or financial institution.13Internal Revenue Service. Refund Inquiries 18 The same general dynamic applies to misdirected payments beyond tax refunds: once the money is in the wrong hands, getting it back is slow and uncertain.

Verifying Before You Send

Your job is simple: verify the routing number before you hit send, especially for large or one-time transfers. Pull it from your online banking portal rather than relying on an old check or a number someone gave you over the phone. Confirming it against the Federal Reserve’s routing directory takes about 30 seconds and can save you weeks of chasing misdirected funds.4Federal Reserve Financial Services. E-Payments Routing Directory