A Social Security Number Has Nine Digits

A Social Security number (SSN) is always nine digits long. The number is written as three groups separated by hyphens: the first three digits, then two digits, then four digits. For example: 123-45-6789. Every SSN follows this same format, with no letters or other characters.

The nine digits are not random. Each part of the number carries information about when and where the number was issued. The first three digits are called the area number, the middle two are the group number, and the last four are the serial number. Understanding this structure can help you spot errors when you see your own number or verify that a number format is correct.

Key Takeaways

  • A Social Security number always contains exactly nine digits, formatted as XXX-XX-XXXX with no letters or symbols.
  • The first three digits (area number) originally indicated the state where the number was issued, though this is no longer strictly true.
  • The middle two digits (group number) and last four digits (serial number) complete the unique identifier assigned to each person.
  • When you see a Social Security number written without hyphens, it is still nine digits — for example, 123456789.

What Each Part of the Number Means

The first three digits, called the area number, were originally assigned based on the state where a person lived when they received their SSN. However, the Social Security Administration stopped using geography to assign area numbers in 2011. Today, area numbers are assigned more randomly, so you cannot reliably determine where someone lived based on the first three digits alone.

The middle two digits are the group number. This number helps the Social Security Administration organize and track SSNs within each area number range. Group numbers run from 01 to 65 and are assigned in a specific order as new numbers are issued.

The last four digits are the serial number. This is the part that makes your SSN unique. Serial numbers run from 0001 to 9999 within each group and area combination. Together, all three parts create a nine-digit identifier that belongs to only one person.

How to Read Your Social Security Number

When you look at your Social Security card or any document showing your SSN, you will see the nine digits broken into three sections by hyphens. This format makes the number easier to read and remember. If you ever need to write your SSN without hyphens — such as on certain forms or in online systems — it is still nine digits, just written as one continuous string.

Some documents or systems may display your SSN with only the last four digits visible for security reasons. For example, you might see "XXX-XX-6789" or "***-**-6789" on a statement or confirmation letter. This protects your full number from being exposed unnecessarily while still allowing you to verify that the right account is being referenced.

Why the Nine-Digit Format Matters

The nine-digit format was chosen because it provides enough combinations to assign a unique number to every person in the United States without running out. With nine digits, there are roughly 900 million possible combinations. The Social Security Administration has been using this same format since SSNs were first issued in 1936, and it remains the standard today.

When you are filling out forms, opening accounts, or verifying your identity, the nine-digit format is what institutions expect. If someone asks for your Social Security number and the field only allows fewer than nine digits, that is a sign something may be wrong. Always make sure the system you are using can accommodate all nine digits before entering your number.

Common Mistakes When Writing or Sharing Your SSN

One frequent error is accidentally omitting a digit or adding an extra one. Double-check that you have entered exactly nine digits before submitting any form. Another mistake is forgetting the hyphens when writing the number by hand, which can make it harder for someone else to read and verify.

When sharing your SSN over the phone, spell it out digit by digit rather than reading it as a single number. This reduces the chance of miscommunication. For example, say "one-two-three, four-five, six-seven-eight-nine" instead of "one hundred twenty-three, forty-five, sixty-seven hundred eighty-nine." If you are entering it online, take a moment to review what you typed before clicking submit.

Frequently Asked Questions

Can a Social Security number have fewer or more than nine digits?

No. Every valid Social Security number has exactly nine digits. If you see a number with a different number of digits, it is either incomplete, incorrectly written, or not a real SSN. Always verify that you have all nine digits before submitting your number anywhere.

Does the order of the three sections matter?

Yes. The three sections must appear in the correct order: area number (three digits), group number (two digits), serial number (four digits). You cannot rearrange them. The format XXX-XX-XXXX is the only correct way to write a Social Security number.

What if I see a Social Security number written without hyphens?

It is still nine digits. Some systems, databases, or forms may display or require SSNs without hyphens for technical reasons. The number 123456789 is the same as 123-45-6789 — just formatted differently. Both contain all nine digits.

Are all nine-digit numbers valid Social Security numbers?

No. Not every nine-digit combination is a valid SSN. The Social Security Administration does not issue numbers with area numbers 000, 666, or 900 and above. Additionally, numbers with group number 00 or serial number 0000 are not issued. However, for most purposes, you do not need to verify whether a number is valid — you only need to know it has nine digits.