A bank code identifies which bank holds your account
A bank code is a number or set of characters that tells the financial system which bank you use. When money moves between accounts—whether you're setting up direct deposit, sending a wire transfer, or receiving a payment—the bank code is how the system knows where to send it. Without it, your money could end up in the wrong place or get stuck in processing.
The exact format and length of a bank code depends on where you live and what type of transaction you're doing. In the United States, the most common bank code is the routing number, which is nine digits long. Other countries use different systems: the UK uses sort codes (six digits), Canada uses institution numbers (three digits), and many European countries use IBAN codes (up to 34 characters). This guide focuses on US bank codes, since that's where most readers need them.
Key Takeaways
- A routing number is the nine-digit bank code used in the United States for transfers between accounts.
- You can find your routing number on the bottom left of your checks, in your bank's online portal, or by calling your bank directly.
- Different types of transactions sometimes require different routing numbers from the same bank—one for ACH transfers and another for wire transfers.
- Entering the wrong routing number will send your money to the wrong bank, though most transfers can be reversed if caught quickly.
Where to find your bank code
The easiest place to find your routing number is on a check from your account. Look at the bottom left corner—the first nine digits are your routing number. If you don't have checks, log into your bank's website or mobile app and look for account details or settings. Most banks display the routing number there, sometimes labeled as "routing number," "ABA number," or "transit number."
If you can't find it online, call your bank's customer service line. Have your account number ready, and they'll give you the routing number in under a minute. You can also search the Federal Reserve's routing number database online by entering your bank name and state, though this requires knowing which specific branch you use.
Why banks use different codes for different transactions
The same bank sometimes has more than one routing number. This happens because different types of transfers use different systems. An ACH transfer (the system used for direct deposit and bill payments) may route through a different processing center than a wire transfer. Some banks also assign different routing numbers to different branches or regions.
When you set up direct deposit with your employer, you'll use one routing number. If you later send a wire transfer from that same account, you might need a different one. Always ask your bank which routing number to use for the specific transaction you're making, rather than assuming all transfers use the same code.
What happens if you use the wrong bank code
If you enter an incorrect routing number, the money will go to a different bank. The sending bank will process the transfer to the account number you provided at that wrong bank. If no matching account exists there, the transfer may bounce back to the sender within one to three business days. If an account does exist, the money stays there until someone notices the error.
If you realize you've sent money to the wrong routing number, contact your bank when ready. Most transfers can be recalled within 24 hours if the receiving bank hasn't released the funds. After that window, you'll need to file a dispute and work with both banks to recover the money, which can take weeks. The faster you catch the error, the better your chances of getting it back without a long process.
Bank codes versus account numbers
A bank code and an account number are two different things, and you need both for most transfers. The bank code (routing number) tells the system which bank to send money to. The account number tells the system which specific account at that bank. Think of it like an address: the routing number is the city, and the account number is the house on that street.
When you give someone your banking information, you'll provide both. Your account number is usually 10 to 12 digits and appears on your checks to the right of the routing number. Never share your full account number with people you don't trust, but sharing your routing number is safe—it's public information that doesn't let anyone access your money on its own.
International bank codes and when you need them
If you're receiving money from outside the United States or sending money abroad, you may need additional codes beyond your routing number. An SWIFT code (also called a BIC code) is an eight or eleven-character code that identifies your bank internationally. An IBAN is a longer code that includes your country, bank, and account information in one string.
Not all US banks use IBAN codes, but most have SWIFT codes. If you're expecting an international transfer, ask your bank for both your routing number and your SWIFT code. The sending bank will use the SWIFT code to find your bank globally, then use your routing number and account number to deposit the money in the right place.
Frequently Asked Questions
Is my routing number the same as my bank code?
In the United States, yes—routing number and bank code mean the same thing. Both refer to the nine-digit number that identifies your bank. Other countries use different terms: the UK calls it a sort code, Canada calls it an institution number, and Europe uses IBAN codes. If you're dealing with a US bank, "routing number" and "bank code" are interchangeable.
Can someone steal money from my account if they have my routing number?
No. A routing number alone cannot access your account. Someone would need both your routing number and your account number to send money out, and even then, many banks require additional verification. Your routing number is public information—it appears on every check you write. Protect your account number and login credentials, but don't worry about keeping your routing number secret.
Do I need a different routing number for each type of transfer?
Sometimes. Most banks use one routing number for ACH transfers (direct deposit, bill pay) and a different one for wire transfers. Some banks also have separate routing numbers for different regions or branches. Always confirm with your bank which routing number to use for the specific transaction you're making, rather than assuming all transfers use the same code.
What if my bank merged with another bank—does my routing number change?
Not automatically. When banks merge, the routing numbers usually stay the same for existing accounts, at least for a period of time. Your bank will notify you if your routing number changes. If you have automatic payments or direct deposit set up, check with your bank after a merger to confirm whether you need to update the routing number with your employer or creditors.