A bank ID code is a set of numbers and letters that identifies your specific bank branch and account type to other financial institutions
When you send money between banks—whether through a wire transfer, ACH payment, or direct deposit—the payment system needs to know exactly which bank and which branch to send it to. A bank ID code is the routing number or identifier that tells that system where your money goes. In the United States, this is called a routing number or ABA number. In other countries, it goes by different names: SWIFT code, BIC code, sort code, or branch code, depending on where the bank operates.
Your bank ID code is not secret. You share it freely every time you set up direct deposit, receive a wire transfer, or ask someone to pay you electronically. It identifies your bank and branch, not your account itself. Your actual account number is what protects your money—that is the number you keep private.
Key Takeaways
- A bank ID code in the US is your nine-digit routing number, found on the bottom left of your checks or through your bank's website.
- You need your routing number plus your account number together to receive wire transfers, ACH payments, and direct deposits.
- Different branches of the same bank may have different routing numbers, so always verify the code with your specific branch.
- Routing numbers are public information and safe to share; your account number is what you protect.
- International transfers use SWIFT codes or BIC codes instead of routing numbers to identify banks across borders.
How a US routing number works
A routing number is nine digits long and appears on the bottom left corner of every check. The first four digits identify the Federal Reserve district where your bank is located. The next four digits identify your specific bank within that district. The last digit is a check digit—a mathematical verification that the routing number itself is valid.
When you give someone your routing number and account number, their bank uses the routing number to send the payment to your bank's processing center, and then your bank uses the account number to deposit it into your specific account. Without the routing number, the payment system would not know which bank to contact. Without the account number, the bank would not know which account to credit.
You can find your routing number in three places: on a check from your account, on your bank's website (usually under "account information" or "wire transfer details"), or by calling your bank's customer service line. If you use multiple branches of the same bank, verify that you have the routing number for the branch where your account is held, because some large banks assign different routing numbers to different branches.
When you need to provide your routing number
You provide your routing number whenever you set up a payment that moves money between banks. Common situations include setting up direct deposit for your paycheck, arranging automatic bill payments from your bank account, receiving a wire transfer from another person or organization, or transferring money to an account at a different bank.
You do not need a routing number for payments within the same bank—if you transfer money from your checking account to your savings account at the same institution, the bank handles it internally. You also do not need it for credit card payments, debit card purchases, or payments made through digital wallets like Venmo or PayPal, because those systems use different routing methods.
If you are receiving a payment and the sender asks for your routing number, always verify it with your bank first. Scammers sometimes pose as payment processors and ask for routing numbers along with other account details. Your bank will never ask you for your routing number—they already have it.
International bank ID codes: SWIFT and BIC
Outside the United States, banks use different identification systems. The most common is the SWIFT code (also called a BIC code—Bank Identifier Code). A SWIFT code is eight or eleven characters long and includes letters and numbers. It identifies the bank, the country, the city, and sometimes the specific branch.
If you are sending or receiving money internationally, you will need the recipient's SWIFT code instead of a routing number. For example, a SWIFT code might look like DEUTDEFF (Deutsche Bank in Frankfurt, Germany) or HSBAAU2S (HSBC in Australia). You can find your bank's SWIFT code on their website, on your statements, or by calling their international department.
Some countries also use additional codes. The United Kingdom uses sort codes (six digits), Canada uses transit numbers, and other nations have their own systems. If you are making an international transfer, ask your bank which code the receiving country requires—they will provide the correct one.
What happens if you use the wrong routing number
If you provide an incorrect routing number, the payment may be rejected outright, or it may be sent to the wrong bank and then returned to the sender. The timeline depends on the payment method. An ACH payment that goes to the wrong bank typically bounces back within one to three business days. A wire transfer sent to the wrong routing number may take longer to reverse because the receiving bank has to investigate and initiate a return.
If money lands in the wrong account at the wrong bank, the receiving bank is responsible for investigating and recovering it. This process can take weeks. The sender's bank will file a claim, the receiving bank will contact the account holder where the money landed, and if that person refuses to return it, the banks may escalate to their legal departments. You are not liable for money that lands in your account by mistake, but you are also not may have access to to keep it.
To avoid this problem, always double-check the routing number before you initiate a payment. If you are unsure, contact your bank directly—do not rely on a number someone else gave you, and do not guess based on a partial number you remember.
Routing numbers versus account numbers
These two numbers work together but serve different purposes. Your routing number identifies your bank and branch—it is the same for everyone with an account at that branch. Your account number identifies your specific account within that bank—it is unique to you. Together, they form the complete address for your money.
Think of it like a mailing address: the routing number is the city and zip code, and the account number is your street address and apartment number. The postal service needs both to deliver your mail to the right place. A bank needs both to deliver your payment to the right account.
Your account number is typically 8 to 12 digits long and also appears on the bottom of your checks, to the right of the routing number. You should keep your account number private, just as you would keep your street address private from strangers. Your routing number, by contrast, is safe to share—it is printed on every check you write.
How to verify your bank ID code is correct
Before you provide your routing number to anyone, verify it through an official source. Log into your online banking portal and look for account information or wire transfer details—most banks display the routing number there. Alternatively, call your bank's customer service number (the one on the back of your debit card or on your statement) and ask for your routing number. Do not use a number from an email or text message, even if it appears to come from your bank.
If you are receiving a wire transfer or ACH payment and the sender asks you to confirm the routing number, provide it only after you have verified it yourself through your bank's official channels. Some fraud schemes involve the sender asking you to confirm a routing number they provide, and if you say yes without checking, they may use that confirmation as proof that you authorized a different transaction.
For international transfers, ask your bank for the SWIFT code in writing or retrieve it from their official website. SWIFT codes are standardized and can be looked up in public directories, but always confirm with your bank that the code you found matches your specific branch.
Frequently Asked Questions
Is my routing number the same as my account number?
No. Your routing number identifies your bank and branch; your account number identifies your specific account. Both are needed together for electronic transfers. The routing number is public; your account number should stay private.
Can someone steal my money if they have my routing number?
Not with just the routing number alone. They would also need your account number, and even then, they cannot withdraw money without authorization. Routing numbers are meant to be shared. If someone asks for your routing number plus additional information like your PIN or online password, that is a red flag for fraud.
Do I need a different routing number for each type of payment?
No. The same routing number works for direct deposits, ACH payments, wire transfers, and bill payments. Some banks may provide a separate routing number for wire transfers only, so check with your bank if you are setting up a wire for the first time.
What if my bank merged with another bank?
Your routing number may change after a merger, but your existing direct deposits and automatic payments usually continue without interruption. Your bank will notify you of any changes and update your account information. If you have set up payments at other institutions using your old routing number, contact those organizations to update it.
How do I find my routing number if I do not have checks?
Log into your online banking account and look for account details or wire transfer information. Call your bank's customer service line. Visit your bank's website and search for "routing number" or "ABA number." All three methods will give you the correct number for your branch.