Routing Number Guide

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

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:

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

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.