A Social Security number has nine digits, divided into three parts
Your Social Security number (SSN) contains exactly nine digits. They are arranged in three groups: the first three digits, then two digits, then four digits. You will see it written as XXX-XX-XXXX. Each part has a specific meaning tied to when and where the number was issued.
The nine-digit format has been standard since Social Security numbers were first created in 1936. Every SSN issued in the United States follows this same structure, whether you were born here or received the number through work authorization.
Key Takeaways
- A Social Security number always contains nine digits in the format XXX-XX-XXXX, with no letters or other characters.
- The first three digits (the area number) originally indicated the state where the number was issued, though this changed in 2011.
- The middle two digits (the group number) have no geographic meaning and are assigned in a specific sequence.
- The last four digits (the serial number) are unique to you and distinguish your number from all others issued in the same area and group.
What the first three digits mean
The first three digits are called the area number. For many decades, these digits indicated the state where you applied for your Social Security number. For example, numbers beginning with 001 to 003 were issued in New Hampshire, while numbers starting with 575 to 576 were issued in California.
This geographic assignment ended in 2011. The Social Security Administration stopped tying area numbers to location and began assigning them randomly. If you received your number before 2011, the first three digits still reflect where you applied. If you received it after 2011, the first three digits have no geographic meaning — they are straightforward part of a randomized sequence.
What the middle two digits mean
The middle two digits are called the group number. These digits are assigned in a specific pattern but do not indicate anything about you personally — not your age, gender, state, or any other characteristic. They are straightforward a way to organize numbers within each area number.
Group numbers are assigned in a non-sequential order. The Social Security Administration uses a formula to determine which group numbers are issued in which order. This makes it harder to predict what the next number in a sequence will be, which adds a layer of security to the numbering system.
What the last four digits mean
The last four digits are called the serial number. This is the part that makes your Social Security number unique. Once an area number and group number are assigned, the serial numbers run from 0001 to 9999. No two people will have the same combination of all nine digits.
The serial number is assigned sequentially within each area-group combination. This means if two people received numbers with the same first five digits, their serial numbers would be consecutive or close to it. The serial number is the only part of your SSN that is truly individual to you.
Numbers that are never issued
Not every possible nine-digit combination is a valid Social Security number. The Social Security Administration never issues numbers with certain patterns. Area numbers of 000, 666, or 900 and above are never used. Group number 00 is never used. Serial number 0000 is never used.
These exclusions exist partly for administrative reasons and partly for security. Because certain patterns are never issued, you can tell whether a number is potentially valid just by looking at its structure. If someone gives you a number with 000 in the first three digits or 666 anywhere in the first five digits, it is not a real Social Security number.
Why the nine-digit format matters
The nine-digit structure is important because it is the standard format used across all government and financial systems in the United States. Banks, employers, the IRS, and state agencies all expect Social Security numbers in this exact format. If you are filling out a form and the field asks for your SSN, it will be expecting nine digits with no letters or special characters other than hyphens.
When you provide your Social Security number to an employer, financial institution, or government agency, they will use all nine digits to verify your identity and link records to you. A partial number or incorrect number will not match their records. This is why it is important to write or type your full nine-digit number accurately whenever you are asked for it.
Frequently Asked Questions
Can I have a Social Security number with fewer than nine digits?
No. Every valid Social Security number has exactly nine digits. If you have a number with fewer digits, it is incomplete or incorrect. You should contact the Social Security Administration to verify your number or request a replacement if yours has been lost or damaged.
Do the hyphens count as part of my Social Security number?
No. The hyphens are formatting only. Your Social Security number is nine digits: XXX-XX-XXXX. When you enter your number into a computer system or form, you may be asked to include the hyphens or to enter only the digits. Either way, the number itself is the same nine digits.
What if I was born outside the United States — does my Social Security number have nine digits?
Yes. If you received a Social Security number through work authorization or immigration status, it still contains nine digits in the standard XXX-XX-XXXX format. The structure is the same for all Social Security numbers issued in the United States, regardless of where you were born.
Can I tell if a Social Security number is real just by looking at it?
You can tell if it is possibly real by checking for the excluded patterns: area numbers of 000, 666, or 900 and above; group number 00; or serial number 0000. If a number has any of these, it is definitely not valid. But if it avoids these patterns, you cannot determine whether it is real without checking Social Security Administration records.