A branch bank code identifies which physical or virtual location of your bank holds your account
A branch bank code is a number or alphanumeric code that tells the banking system which specific branch of a bank processes your account. When you open a checking or savings account, your bank assigns you to a branch — either the one where you opened the account or a processing center that handles accounts in your region. The branch code is how the system knows where to send instructions about your account, where to pull records from, and which staff can help you in person if you visit.
The code itself varies by country and banking system. In the United States, banks use a routing number (also called a routing transit number or RTN) that includes branch information within a nine-digit code. In other countries — Canada, the UK, Australia — the branch code is a separate piece of information you'll see on statements or in your online banking portal. The branch code is not the same as your account number. Your account number identifies you; the branch code identifies where your account lives in the bank's system.
Key Takeaways
- A branch bank code tells the banking system which location processes your account and handles transactions on it.
- In the US, branch information is embedded in your routing number; in other countries it appears as a separate code on statements and in online banking.
- You need the branch code when setting up direct deposit, wire transfers, or automatic payments — any transaction that moves money between institutions.
- Your branch code does not change unless you formally transfer your account to a different branch, which is rare for most account holders.
- If you cannot find your branch code, your bank's customer service or your account statement will show it within minutes.
Where to find your branch code
The easiest place to look is your bank statement — paper or digital. The branch code usually appears near the top, alongside your account number and routing number. If you bank online, log into your account and look for account details or account information. Most banks display the branch code there without requiring you to call.
If you have checks, the routing number is printed at the bottom left. The routing number includes the branch information, though it is not broken out as a separate code on the check itself. Your debit card does not print the branch code, but your bank's mobile app often does if you tap into account details.
If you cannot locate it after checking those places, call your bank's customer service line or visit a branch in person. Have your account number ready. The representative will give you the code in under a minute — this is routine information they provide dozens of times a day.
When you actually need to provide a branch code
You need the branch code when you are setting up a transaction that moves money between two different financial institutions. The most common situations are direct deposit (your employer's payroll system needs to know which branch to send your paycheck to), wire transfers (you are sending money to someone else's account at a different bank), and automatic bill payments (a biller needs to know where to pull money from your account).
You also need it if you are setting up an external transfer in your online banking — moving money from your account at Bank A to your account at Bank B, for example. The sending bank uses the branch code to confirm it is pulling from the right place and to route the instruction correctly.
Within your own bank — transferring between your checking and savings accounts at the same branch, for instance — you usually do not need the branch code. The bank's internal system already knows both accounts are in the same place.
How branch codes work in the US routing number
The US routing number is nine digits. The first four digits identify the Federal Reserve district and the bank itself. Digits five through eight identify the specific branch. The ninth digit is a check digit — a mathematical verification that the routing number is valid. When you give someone your routing number for a wire transfer or direct deposit, you are giving them all the information they need, including the branch code, even though it is not separated out as its own field.
This is why a routing number alone is enough to set up direct deposit or a wire transfer. The receiving bank's system reads the routing number, extracts the branch code from digits five through eight, and knows exactly where to send the money. You do not have to provide the branch code separately in the US — it is already built in.
Branch codes in other countries
Canada uses a three-digit branch code that appears separately from the routing number (called the transit number). You will see it listed as "Branch" on your statement. The UK uses a six-digit sort code that identifies both the bank and the branch; it appears on checks and statements. Australia uses a six-digit BSB code (Bank-State-Branch) that works the same way.
If you are receiving money from outside the US or sending it abroad, you may need to provide your branch code separately, depending on the country. International transfers often require more detail than domestic ones. Your bank can tell you exactly what information to give the sender or what to request from someone sending you money from another country.
What happens if you give the wrong branch code
If you provide an incorrect branch code, the transaction usually does not go through at all. The receiving bank's system validates the code against its records. If the code does not match a real branch, the transfer is rejected before any money moves. You will get a notification that the transaction failed, and you can correct the information and try again.
In rare cases, a transaction might be delayed while the bank investigates whether the code is valid. This can add a day or two to a wire transfer or direct deposit. The money does not go to the wrong place — the system is designed to stop it rather than route it incorrectly. Once you provide the correct code, the transaction processes normally.
When your branch code changes
Your branch code does not change under normal circumstances. Even if your bank merges with another bank, closes your branch, or consolidates branches, your account keeps the same branch code. The bank updates its internal systems to reflect the change, but the code you use for transactions stays the same.
The only time your branch code would change is if you formally request to transfer your account to a different branch — for example, if you move to a new city and want your account processed by a branch closer to you. This is uncommon. Most people keep the same branch code for the life of the account, even if they move or their original branch closes.
Frequently Asked Questions
Is a branch code the same as a routing number?
In the US, the branch code is part of the routing number, not separate from it. The routing number contains the branch code within its nine digits. In other countries, the branch code and routing number are listed separately on your statement.
Do I need my branch code for online transfers within my own bank?
No. When you transfer money between your own accounts at the same bank using online banking, the system already knows both accounts are yours and where they are located. You only need the branch code for transfers to accounts at different banks.
What if my bank does not show a branch code on my statement?
Call customer service or check your online account details. Some banks do not print the branch code on paper statements but display it in the online portal. If it is not there either, the bank can provide it when ready — it is standard information they keep on file.
Can I use an old branch code if my bank closed that branch?
Yes. Even if your original branch closed, the code remains valid for your account. The bank's system routes transactions using that code to wherever your account is now processed. You do not need to update anything.
Do I need a branch code for a wire transfer?
In the US, you need the routing number, which contains the branch code. In other countries, you may need to provide the branch code separately along with the account number and bank name. Ask your bank what information to give the person sending you money.