Routing numbers are always 9 digits long. Account numbers may be up to 17 digits long. Some banks list the routing number first on the check, while other banks list the account number first, and still more list the routing number, check number, then account number.