A bank branch code is a short number or code that identifies the specific location where your account is held
When you open an account at a bank, your money doesn't live in some central vault. It lives at a particular branch—a physical location or a processing center. A branch code (also called a routing number, sort code, or branch transit number, depending on your country and bank) tells the payment system exactly which branch to send money to or pull money from. Without it, a transfer might get lost or delayed because the system wouldn't know which of hundreds or thousands of branches you mean.
In the United States, the term most commonly used is routing number. In the UK and Ireland, it's called a sort code. In Canada, it's a transit number. In Australia, it's a BSB code. The function is the same everywhere: it's the address of your branch within the banking network.
Key Takeaways
- A branch code identifies which specific bank location or processing center holds your account, and is required for wire transfers, direct deposits, and ACH payments.
- In the US, this code is called a routing number; in the UK it's a sort code; in Canada it's a transit number; the name changes but the purpose stays the same.
- You can find your branch code on the bottom left of your checks, on your bank's website, by calling customer service, or through your online banking portal.
- Using the wrong branch code will cause a transfer to fail or be delayed, but the money will typically be returned to the sender within one to three business days.
Where to find your branch code
The easiest place to look is the bottom left corner of a check from your account. The first set of numbers printed there is your routing number. If you don't have checks, log into your online banking account—most banks display the routing number on the account details page or in a section labeled "Account Information" or "Wire Transfer Details."
You can also call your bank's customer service line or visit a branch in person and ask for your routing number. Have your account number ready. Some banks also print it on statements or debit cards, though not all do. If you're setting up a direct deposit for payroll or benefits, your employer or the benefits office will often ask you for this number, and your bank can provide it in seconds.
Why you need it for different types of payments
A wire transfer requires your branch code because the money is moving out of your account immediately and going to another bank. The sending bank needs to know exactly where to route it. The same is true for ACH transfers (the system used for direct deposits, bill payments, and peer transfers like Venmo or PayPal). Even though ACH is slower than a wire, it still needs your routing number to find the right branch.
If you're setting up direct deposit for your paycheck or government benefits, your employer or the benefits office will ask for your routing number and account number together. This tells their system which bank and which branch to deposit the money into. Without the correct routing number, the deposit will fail and bounce back to the sender, delaying your payment by several days.
For bill payments through your bank's online system, you usually don't need to enter a routing number—the bank already knows where to send it. But if you're paying a bill by check or setting up a third-party payment service, the routing number may be required.
What happens if you use the wrong branch code
If you provide an incorrect routing number, the transfer will usually fail at the sending bank before it ever leaves. The sender will see an error message, and no money will move. This is the safest outcome because it stops the problem immediately.
In some cases, the money may reach a different bank or branch by mistake. When this happens, that bank will typically notice the account number doesn't match their records and return the funds to the sender. This process usually takes one to three business days, sometimes longer depending on the banks involved. During that time, you won't have access to the money.
If the wrong routing number happens to match a real account at a different bank, and the account number also exists there, the money could theoretically land in someone else's account. This is rare, but it's why double-checking the routing number before you send is important. If this does happen, contact your bank immediately—they can file a trace to recover the funds.
Branch codes versus account numbers
These two numbers work together but do different things. Your routing number (branch code) identifies the bank and branch. Your account number identifies your specific account at that branch. Think of it like an address: the routing number is the street and city; the account number is the house number. You need both to send or receive money.
When you give someone your banking details for a transfer, you'll provide both numbers. A check has both printed on it—the routing number on the left, the account number in the middle. Online banking portals usually display both together under "Account Details" or "Wire Instructions."
Branch codes for online and digital banks
Online banks and digital-only financial institutions still have routing numbers, even though they don't have physical branches you can walk into. These banks use routing numbers assigned by the Federal Reserve (in the US) or their country's equivalent banking authority. The routing number directs transfers to the bank's processing center, not to a physical location.
If you bank with an online-only institution like Ally, Charles Schwab, or a credit union, you can find your routing number the same way: check your account details page, call customer service, or look it up on the bank's website. Many online banks have multiple routing numbers depending on the type of transaction (wire versus ACH), so make sure you're using the right one for what you're doing.
International transfers and branch codes
If you're sending money to another country, you may need additional codes beyond the branch code. Most international transfers require a SWIFT code (also called a BIC code), which identifies the bank internationally, and sometimes an IBAN (International Bank Account Number), which is a standardized account number format used outside the US.
The branch code or routing number alone is not enough for international transfers. Ask the recipient for their SWIFT code and IBAN, or ask your bank for the wire instructions for that country. Using incomplete information will cause the transfer to fail or be delayed significantly.
Frequently Asked Questions
Is my routing number the same at every branch of my bank?
No. Each branch has its own routing number. If you move or switch to a different branch, your routing number may change. Check your new branch's details or call to confirm. Some banks use a single routing number for all branches in a region or for all online transactions, so it depends on your bank's structure.
Can someone use my routing number to steal money from my account?
Your routing number alone is not enough to access your account. A thief would also need your account number, and even then, they can only pull money out through ACH if they have authorization. Never share your full account number with people you don't trust, but your routing number is safe to give out—it's printed on every check you write.
What's the difference between a routing number and a SWIFT code?
A routing number identifies a bank branch within the US banking system. A SWIFT code identifies a bank internationally and is used for transfers between countries. If you're sending money abroad, you need the SWIFT code. For domestic US transfers, you need the routing number.
Do I need my routing number to use my debit card?
No. Your debit card works with your account number and card number, not your routing number. You only need the routing number when someone else is sending money to your account or when you're initiating a transfer out of your account.
What if my bank doesn't have a routing number listed online?
Call customer service or visit a branch. Every bank that participates in the US payment system has a routing number—it's required by law. If you can't find it online, the bank's phone line can provide it in under a minute. Have your account number ready when you call.