Routing Number vs. Account Number: Which Is Which, and What Happens If You Swap Them
Last verified against primary sources: September 20, 2026.
Two numbers travel together on almost every US payment, and they do different jobs: the routing number names the institution, the account number names you. Almost every failed direct deposit traces back to mixing them up.
The short version
- Routing number — 9 digits, always. Fixed length, assigned to the financial institution, and usually the same for everyone at a small institution. It tells the network where to send the money.
- Account number — variable length. Typically somewhere between 8 and 12 digits, and assigned by the institution to you. It tells the bank which customer's balance to touch.
Think of it as the difference between a street address and an apartment number. The routing number gets the money to the building; the account number gets it to the right door. Deliver to the wrong building and nothing arrives. Deliver to the right building and the wrong door and it lands on a stranger.
Where you see each one
On a paper check the two sit side by side along the bottom, in magnetic ink: routing number first, then your account number, then the check number. In a banking app they appear in the same pair under account details, though the app usually masks the account number until you tap to reveal it. Both also show up on the ACH authorization forms employers use for direct deposit, which is why a payroll form asks for the pair rather than one combined string.
If you want to see how a real institution presents them, Navy Federal prints the routing number in full and keeps the account number masked in its app, and publishes 256074974 as its single routing number for all members.
When they get swapped
The failure modes are not symmetric, and that asymmetry is the useful part:
- Routing number wrong, account right. The payment usually bounces back. Annoying, slow, but rarely lost — the receiving institution cannot find the destination bank and rejects the transfer.
- Routing number right, account wrong. This is the dangerous one. The money arrives at your bank and gets credited to a real account that belongs to someone else. Recovering it means a reversal request and the other holder's cooperation.
A third, quieter failure is a digit missing off either end. Because the routing number is exactly nine digits, a leading zero dropped by a spreadsheet — a number like 021000021 silently becoming 21000021 — will fail validation or, worse, be padded differently by two systems. Store both numbers as text, never as a number.
Times you need neither
- Transfers between your own accounts at the same institution are internal; no routing number is involved.
- Person-to-person apps such as Zelle route on an email address or phone number.
- Card payments and card-funded transfers use the card network, not your account and routing pair.
Knowing that list is worth as much as knowing the numbers: if a form asks for your routing number in one of those situations, that is a reason to stop and check who you are giving it to.
Handling both
Together, the pair is enough to set up a debit against your account, so treat the combination the way you would treat a card number — share it only on forms you initiated, never in response to a message that arrived asking for it. A routing number alone is not a secret; it is printed on every check you hand to a stranger. The account number is the one that needs guarding.