A bank branch code is a number or code that identifies the specific location where your account is held

When you open an account at a bank, you open it at a particular branch — a physical location or a virtual one. A branch code is how the banking system tells that specific branch apart from every other branch of the same bank. It is a short identifier, usually between three and six digits, that appears on your checks, statements, and routing information.

The branch code matters because money moving between accounts needs to know where to go. If you give someone your account number alone, the system does not know whether your account lives at the downtown branch, the airport branch, or the online-only division. The branch code removes that ambiguity. It is part of the address for your money.

Different countries use different names and formats for the same concept. In the United States, banks use a routing number (nine digits) that includes branch information. In Canada, the format is a five-digit transit number. The United Kingdom uses a six-digit sort code. Australia uses a six-digit BSB code. The principle is identical: a code that points to a specific branch.

Key Takeaways

  • A branch code identifies which specific location of a bank holds your account, and is required for wire transfers and some direct deposits.
  • In the United States, the routing number serves as the branch code and appears on the bottom left of your checks.
  • You can find your branch code on your bank statement, checks, or by calling your bank or visiting their website.
  • The same bank can have different branch codes for different locations, so using the wrong code will send money to the wrong place.
  • International transfers require the branch code in addition to your account number, and using an incorrect code can delay or reject the payment.

Where your branch code appears and how to find it

Your branch code is printed on the bottom left of every check you receive from your bank. The first nine digits are the routing number, which includes the branch code. If you do not have checks, look at your bank statement — most banks print the routing number on the first page or in the account summary section.

You can also find it online. Log into your bank's website or mobile app and look for account details, account information, or routing information. Most banks have this listed under a settings or account menu. If you cannot find it there, call your bank's customer service line and give them your account number — they will read it to you in seconds.

Some banks maintain a routing number lookup tool on their website where you can enter your branch location and see the code for that branch. This is useful if you have moved or opened an account at a different branch and need to know its specific code.

Why branch codes matter for transfers and deposits

When you set up a direct deposit — for example, to have your paycheck deposited automatically — your employer needs your routing number and account number. The routing number tells their bank which branch of your bank to send the money to. If you give them the wrong routing number, the deposit goes to the wrong bank or the wrong branch, and your paycheck is delayed while it gets sorted out.

Wire transfers depend on branch codes even more heavily. When you wire money to someone else's account, you provide their account number and their routing number. The sending bank uses the routing number to find the receiving bank and branch, then delivers the money there. A single digit wrong in the routing number can send the money to an entirely different institution.

ACH transfers — the system used for most bill payments and recurring transfers — also use the routing number. The ACH network is a clearing house that moves money between banks, and it uses the routing number to sort payments into the correct batches for each bank and branch.

The difference between a routing number and a branch code

In the United States, the terms are often used interchangeably, but they are not quite the same thing. A routing number is nine digits. The first four digits identify the Federal Reserve district and the bank itself. The next four digits identify the specific branch. The last digit is a check digit that the system uses to verify the number is correct.

So technically, the branch code is embedded within the routing number — it is digits five through eight. But in practice, when someone asks for your branch code in the US, they are asking for your full routing number, because you need all nine digits for the transfer to work.

Other countries separate these more clearly. Canada, for example, has a five-digit transit number (which includes the branch) and a three-digit institution number (which identifies the bank). Together they serve the same purpose as a US routing number.

What happens if you use the wrong branch code

If you provide an incorrect routing number, the outcome depends on how wrong it is and which system is processing the payment. For direct deposits and ACH transfers, the receiving bank's system usually catches the error and rejects the payment before it leaves the sending bank. The money stays in the sender's account, and they get a notification that the transfer failed. You then have to correct the information and try again.

For wire transfers, the process is slower and the consequences are more serious. Wire transfers are largely irreversible once sent. If you wire money to an incorrect routing number, the money may go to a different bank or branch, and recovering it requires the receiving bank to cooperate. This can take weeks or may not be possible at all if the receiving bank cannot identify where the money went.

This is why it is worth taking thirty seconds to double-check a routing number before you initiate a transfer, especially a large one. Copy it directly from your bank statement or the bank's website rather than typing it from memory.

Branch codes for online and mobile-only banks

Banks that operate only online — with no physical branches — still have routing numbers. They are assigned by the Federal Reserve just like any other bank. The routing number does not change whether you opened your account in person or online; it identifies the bank's processing center, which serves the same function as a physical branch for routing purposes.

Some online banks use a single routing number for all customers. Others use different routing numbers depending on which state you live in or which service you are using (checking versus savings, for example). When you open an account, the bank will provide you with the correct routing number for your specific account type and location.

International transfers and SWIFT codes

When you send money to a bank account outside the United States, you need more than just a branch code. International transfers use a SWIFT code (also called a BIC code), which is an eight or eleven-character code that identifies the bank and often the specific branch internationally.

A SWIFT code works alongside the branch code or routing number. For example, if you are sending money to a UK account, you would provide the recipient's sort code (the UK equivalent of a routing number) and their SWIFT code. If you are sending to a Canadian account, you would provide their transit number and institution number, plus their SWIFT code.

Your own bank can tell you what information a recipient needs to receive a transfer from you. Different countries have different requirements, and your bank's international department knows which codes and numbers explore to each destination.

Frequently Asked Questions

Is my branch code the same as my account number?

No. Your account number identifies your specific account within a branch. Your branch code identifies which branch holds that account. You need both pieces of information for most transfers. The account number alone is not enough because the receiving bank would not know which branch to credit.

Can I use any branch's routing number if I bank at a large chain?

No. Each branch has its own routing number. If you use the routing number for a different branch, the transfer may be rejected or delayed. Always use the routing number for the branch where your account is actually held. You can find this on your statement or by asking your bank which branch your account is registered to.

Do I need my branch code to check my balance or pay bills online?

No. You only need your branch code when someone else is sending money to your account or when you are setting up a transfer to another bank. For logging into your account, checking balances, or paying bills through your bank's website, you just need your account number and password.

What if my bank merged with another bank — does my routing number change?

Sometimes. When banks merge, the acquiring bank may assign new routing numbers to the acquired bank's accounts, or it may keep the old ones. Your bank will notify you if your routing number changes and will provide the new one. Check your statements after a merger to confirm which routing number is current for your account.

Can I find someone else's branch code if I know their account number?

No. Account numbers are private information, and knowing someone's account number does not tell you their branch code. If you need to send money to someone, ask them directly for their routing number and account number, or ask them which bank and branch they use so you can look up the routing number yourself.