What Is a Bank Clearing Code? Definition, Formats, and Where to Find It

A bank clearing code is the numeric identifier that tells the payment system which financial institution should receive a transfer. In the United States it’s the nine-digit routing transit number printed on every check. Other countries use their own formats under different names, but the job is always the same: route the money to the right bank before the account number narrows it to the right customer.

What the Code Actually Does

Think of a clearing code as a bank’s address inside the payment network. When you set up a direct deposit or send a bill payment, the code tells the network which of thousands of institutions to deliver the money to. Your account number then identifies your specific account at that bank. Without the clearing code, the system has no way to know where the transaction is supposed to land.

The word “clearing” refers to how banks exchange payment instructions and settle balances with each other. Every electronic bill payment and every direct deposit passes through a clearing system, and the clearing code is what makes that handoff possible without human intervention. About 93% of American workers receive their pay through the ACH Network, and 99% of Social Security payments use it as well.1Nacha. ACH Payments Fact Sheet

The US Version: The Routing Transit Number

In the US, the 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 sits (01 for Boston through 12 for San Francisco), and the remaining digits identify the specific institution.2Legal 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.1Nacha. ACH Payments Fact Sheet

ACH and Wire Numbers Aren’t Always the Same

Some banks assign one routing number for ACH transfers (direct deposits, bill payments) and a different routing number for wire transfers. Using the ACH number to set up a wire, or the wire number for an ACH payment, can cause the transaction to fail or get delayed. Always match the number to the transaction type. If your bank uses different numbers for each, its website will usually list both.

Large Banks Often Have More Than One

At a big national bank, your routing number is typically tied to the state or region where you opened the account. A Bank of America customer in California has a different routing number than one in New York. Smaller community banks and online-only banks tend to use a single routing number across all customers. What matters is the number associated with your specific account, not just any number the bank uses somewhere.

Where to Find Yours

You can pull your routing transit number from several places. It’s worth checking more than one to be sure you have the right version for the transaction you’re making.

On a Check

The bottom-left corner of a personal check shows the nine-digit routing number first, then the account number, then the check number.2Legal Information Institute. 12 CFR Appendix A to Part 229 – Routing Number Guide The number on your check is the paper-check routing number, which may differ from your wire transfer number.

In Online or Mobile Banking

Log in and look under account details, direct deposit setup, or wire transfer instructions. This is the most reliable source because banks display the correct routing number for each transaction type. If separate numbers exist for ACH and wires, both usually appear on this page.

Through the Federal Reserve’s Directory

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

After a Merger

If your bank was recently acquired or merged, your routing number may change. Under ABA policy, the surviving bank picks a primary routing number by the effective date of the merger and has up to about three years to retire the old numbers. The old routing number should still work during that window, but the bank isn’t required to keep it active indefinitely.5American Bankers Association. Routing Number Policy and Procedures Check your online banking portal for an updated number and update any recurring payments that still use the old one.

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 they all identify the receiving bank within 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 and used 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 for electronic transfers. On paper checks, the format is 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, an 11-character alphanumeric code assigned by the Reserve Bank of India. The first four characters identify the bank, the fifth is always zero, and the last six identify the branch. You’ll need it for any electronic funds transfer within India, including NEFT and RTGS transactions.

Germany: Bankleitzahl

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 regulations, banks derive the routing information from the IBAN itself, so German account holders just provide their IBAN for 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 the branch, the following 11 are the account number, and the last is a check digit. CLABE combines the clearing code and account identifier, so it’s typically the only number you need for domestic transfers within Mexico.

What About International Payments?

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

A SWIFT/BIC (Business Identifier Code) is the international standard for identifying a financial institution anywhere in the world. It’s either 8 or 11 characters: 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) You’ll need the recipient bank’s SWIFT/BIC for any cross-border wire.

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

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

What Happens If You Enter the Wrong Code

Entering a wrong routing number is easier than it sounds. The outcome depends on whether the incorrect number happens to belong to another valid institution.

If the number doesn’t match any bank, the transaction bounces back. That’s the better outcome. If it matches a different bank, the money can actually land in someone else’s account, and recovery becomes your problem. The IRS puts it bluntly in its guidance on misdirected 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

The timeline for recovering misdirected funds is not fast. When the IRS initiates a trace on a misdirected 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 turns into a civil dispute between you and the account holder or the institution.13Internal Revenue Service. Refund Inquiries 18 The same general dynamic applies beyond tax refunds: once money is in the wrong hands, getting it back is slow and uncertain.

Instant Payments Use the Same Code

US payments are shifting toward instant settlement, and both major real-time networks use the same routing transit numbers that power traditional ACH and wire transfers. The Federal Reserve’s FedNow Service, which lets banks send and receive payments in seconds around the clock, identifies participating institutions by their routing transit numbers.14Federal Reserve Financial Services. FedNow Service Participants and Service Providers The Clearing House’s Real-Time Payments (RTP) network does the same.15The Clearing House. Routing/Transit Numbers

The routing number you already have isn’t going obsolete. What changes is how quickly the money moves after the routing number does its job. Under FedNow’s rules, the system relies on the routing number to identify the beneficiary’s bank, and the Federal Reserve has no obligation to catch mismatches between a bank name and its routing number in a payment order.16eCFR. 12 CFR Part 210 Subpart C – Funds Transfers Through the FedNow Service That makes double-checking your numbers more important when payments settle in seconds rather than days. Pull the number from your online banking portal rather than an old check or something a caller read to you, and verify it against the Federal Reserve’s routing directory before sending anything large.3Federal Reserve Financial Services. E-Payments Routing Directory