A bank ID code is a set of numbers and letters that identifies which bank holds your account
When you send money to someone else's account, you need to tell the payment system which bank to send it to. A bank ID code is how you do that. It is a standardized identifier that every bank has, and it works the same way whether you are sending money across town or across a country.
The exact format and name of the code depends on where you are. In the United States, it is called a routing number (also routing transit number or RTN). In Europe and many other countries, it is called a SWIFT code or BIC code (Bank Identifier Code). Canada uses institution numbers. The purpose is identical: to route your payment to the correct bank.
You will see bank ID codes on checks, in your online banking portal, and on statements. You may need to provide one when you set up direct deposit, arrange a wire transfer, or receive a payment from someone who does not have your account number memorized.
Key Takeaways
- A bank ID code identifies your specific bank within the payment system so money reaches the right institution.
- In the US, this code is called a routing number; in Europe and internationally, it is a SWIFT or BIC code.
- You can find your bank ID code on the bottom left of your checks, in your online banking portal, or by calling your bank.
- Routing numbers are nine digits; SWIFT codes are eight or eleven characters mixing letters and numbers.
- Using the wrong bank ID code will send your payment to the wrong bank, though the payment usually bounces back rather than being lost.
How bank ID codes fit into the payment chain
When you initiate a payment—whether by check, wire transfer, or ACH (automated clearing house) transaction—the payment system needs three pieces of information: the receiving bank, the receiving account number, and the receiving person's name. The bank ID code is the first piece. Without it, the system does not know which bank to contact.
Think of it like a postal address. Your account number is like a house number. The bank ID code is like the city and state—it narrows down which post office (bank) handles that address. The payment cannot reach the right account without both.
For domestic payments within the US, the routing number is the standard. For international payments, the SWIFT code takes over. Some banks have multiple routing numbers depending on which service you are using (wire transfers versus ACH, for example), so it is worth confirming you have the right one for the type of payment you are making.
Where to find your bank's ID code
The easiest place to look is the bottom left corner of any check you have from that bank. The first nine digits printed there are the routing number. If you do not have checks, log into your online banking portal—most banks display the routing number in the account details or settings section, sometimes labeled "bank information" or "account information."
You can also call your bank's customer service line and ask for the routing number. Have your account number ready; they may ask for it to confirm which branch or service you are asking about, since some banks maintain separate routing numbers for different transaction types.
For SWIFT codes, the process is similar. Your bank's website usually lists it under international transfer information. If you cannot find it online, call and ask for your bank's SWIFT code or BIC code. The bank will give you the correct eight- or eleven-character code for international transfers.
Routing numbers versus SWIFT codes: when you need which
Use a routing number (nine digits) for any payment that stays within the United States: direct deposit from your employer, ACH transfers to another US bank account, wire transfers to another US bank, or checks. This includes payments between accounts at different US banks.
Use a SWIFT code (eight or eleven characters) for international wire transfers—sending money to a bank account outside the United States, or receiving money from someone abroad. SWIFT stands for Society for Worldwide Interbank Financial Telecommunication, and the code identifies your bank within that global network.
Some international payments also require an IBAN (International Bank Account Number), which is a longer code that includes the country, bank, and account information in one string. If you are sending money internationally, ask the recipient for both their SWIFT code and IBAN, or ask your bank which one you need for that particular destination country.
What happens if you use the wrong bank ID code
If you provide an incorrect routing number or SWIFT code, the payment will usually be rejected or returned to you rather than sent to the wrong account. The payment system checks that the code matches a real bank before processing the transaction. If it does not match, the transaction fails and your money stays in your account.
If you accidentally use a valid routing number that belongs to a different bank, the payment may reach that bank but will fail when it tries to match the account number. The receiving bank will send it back to your bank, which will credit it back to your account. This process typically takes three to five business days.
The risk of permanent loss is low, but the delay is real. That is why it is worth double-checking the code before you send a large or time-sensitive payment. Ask the recipient to confirm the routing number or SWIFT code they gave you, or verify it directly on your bank's website.
Bank ID codes for different types of accounts
The routing number or SWIFT code belongs to the bank, not to the individual account. This means your checking account, savings account, and money market account at the same bank all share the same routing number. You do not need a separate code for each account type.
However, some large banks operate multiple divisions or subsidiaries, each with its own routing number. If you have accounts at different branches or divisions of the same parent company, they may have different routing numbers. Your online banking portal will show you the correct routing number for each account, so check there rather than assuming.
Credit unions also have routing numbers, structured the same way as bank routing numbers. If you are sending money to or from a credit union account, you will need that credit union's routing number, which you can find the same way—on checks, in online banking, or by calling the credit union.
Why banks maintain multiple routing numbers
Large banks sometimes use different routing numbers for different services. One routing number might be for ACH transactions, another for wire transfers, and another for checks. This allows the bank to route different types of payments through different processing systems, which can speed up certain transactions or explore different rules.
When you set up direct deposit with your employer, your employer's payroll system will ask for a routing number. Make sure you provide the routing number for ACH transactions, not the wire transfer routing number. If you are unsure which one to use, ask your bank or check the bank's website under "direct deposit" or "ACH transfers."
For most people, this complexity is invisible. Your bank's online portal will show you the correct routing number for the transaction type you are doing. But if you are manually entering a routing number and the transaction fails, it is worth asking your bank whether you used the right one for that particular service.
Frequently Asked Questions
Is my bank ID code the same as my account number?
No. Your account number identifies your specific account at the bank. Your bank ID code (routing number or SWIFT code) identifies the bank itself. You need both to send or receive money. The account number is usually 8 to 17 digits; the routing number is always 9 digits in the US.
Can someone steal money from my account if they have my routing number?
Not with just the routing number. They would also need your account number and your name. Even with all three, they cannot withdraw money directly—they would have to initiate an ACH debit, which you can dispute. Never share your full account number with people you do not trust, but the routing number alone is not a security risk.
Do I need a different bank ID code for wire transfers versus ACH transfers?
Sometimes. Some banks use the same routing number for both; others maintain separate routing numbers for wire transfers and ACH. Check your bank's website or call to confirm which routing number to use for the specific transaction type you are doing.
What if my bank does not have a SWIFT code?
All banks that handle international transfers have a SWIFT code. If your bank says it does not, they may not offer international wire transfers, or they may route international payments through a correspondent bank. Ask your bank which SWIFT code to use for international transfers, or whether they can send the money through a partner bank.
How long does a payment take if I use the wrong routing number?
If the routing number is invalid, the payment is rejected when ready and your money is returned within one business day. If the routing number is valid but belongs to the wrong bank, the payment reaches that bank, fails to match the account, and is returned within three to five business days.