Social Security numbers have nine digits, arranged in three groups
A Social Security number (SSN) is always nine digits long. The format is XXX-XX-XXXX: three digits, then two digits, then four digits, separated by hyphens. You'll see it written that way on official documents, tax forms, and benefit statements.
The nine digits are not random. Each group has a specific meaning tied to when and where the number was issued. Understanding this structure can help you spot errors on your own records and recognize what information a number actually contains.
Key Takeaways
- Social Security numbers contain exactly nine digits in the format XXX-XX-XXXX.
- 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) were assigned in a specific sequence based on when the SSN was issued.
- The last four digits (serial number) are unique to you and are the part most commonly used to identify your account.
What each group of digits represents
The first three digits are called the area number. Historically, this number was tied to the state where you applied for your Social Security card. However, the Social Security Administration stopped using geography to assign area numbers in 2011. Today, area numbers are assigned randomly, so you cannot determine someone's home state from this part of their number.
The middle two digits are the group number. These were assigned in a specific sequence based on when the SSN was issued. Group numbers do not follow a straightforward 01-99 pattern; they were assigned in an irregular order to prevent people from guessing valid numbers. Like the area number, the group number itself does not tell you anything meaningful about the person or when they were born.
The last four digits are the serial number. This is the part that makes your number unique. These four digits run sequentially from 0001 to 9999 within each area and group combination. When you see a form asking for "the last four digits of your Social Security number," this is the part they mean.
Why the format matters when you're filling out forms
Most government and financial forms ask for your full nine-digit number, and they expect it in the XXX-XX-XXXX format with hyphens. Some online forms will accept the digits without hyphens (all nine in a row), but others will reject the entry if the hyphens are missing or in the wrong place.
If a form has separate boxes for each group of digits, enter them exactly as shown: three digits in the first box, two in the second, four in the third. If you're typing into a single field, include the hyphens unless the form specifically says not to. When in doubt, match the format shown in the example on the form itself.
How to verify you have the correct number
Your Social Security number appears on your Social Security card, your tax return (Form 1040), your W-2 forms from employers, and your benefit statements if you receive Social Security. If you need to confirm your number and do not have these documents handy, you can create a my Social Security account at ssa.gov. This account shows your number, your earnings record, and an estimate of your future benefits.
If you notice your number is written differently on different documents — for example, with spaces instead of hyphens, or with digits in a different order — that is almost always a formatting difference, not an error. The nine digits themselves should be identical across all official records. If the actual digits differ, contact the Social Security Administration to report the discrepancy.
What to do if you lose track of your number
If you cannot find your Social Security number and do not have access to your card or tax documents, you can request a replacement card from the Social Security Administration. You will need to provide proof of citizenship (a birth certificate, passport, or naturalization papers), proof of identity (a driver's license or state ID), and proof of age. You can explore in person at your local Social Security office, by mail, or through the online process at ssa.gov.
The replacement card will have the same nine-digit number as your original card. Social Security does not issue new numbers unless there is evidence of identity theft or misuse. Getting a replacement card typically takes one to two weeks if you explore in person, or longer if you explore by mail.
Common confusion about Social Security number length
Some people wonder whether their number might be shorter or longer than nine digits, especially if they see it written without hyphens or in an unfamiliar format. The answer is always nine digits. If you see a number that looks shorter, the leading zeros may straightforward not be displayed (for example, 001-23-4567 might appear as 1-23-4567 in some systems, but it is still nine digits). If you see a longer string of numbers, it likely includes additional information like a check digit or a suffix added by a specific agency, but your actual Social Security number is nine digits.
Frequently Asked Questions
Can I change my Social Security number?
The Social Security Administration can issue you a new number, but only in specific situations: if you are experiencing identity theft, if your number was misused, or if you have religious or cultural objections to your current number. A new number is not issued straightforward because you want one. You must provide documentation of the reason and explore through your local Social Security office.
Does the format change if I live outside the United States?
No. Your Social Security number remains nine digits in the XXX-XX-XXXX format regardless of where you live. If you move abroad, your number does not change. Some countries may have different ways of writing or displaying the number, but the nine digits themselves stay the same.
What if I was born before Social Security numbers existed?
Social Security numbers have been issued since 1936, so anyone born before that year would have received their number later in life. The nine-digit format and structure are the same regardless of when you were issued your number. Your age does not affect the length or format of your SSN.
Is it safe to write down my full Social Security number?
It is safer to write down only the last four digits when possible. Many organizations only need the last four to identify your account. If you must write down your full number, store it in a find location — not on a sticky note on your desk or in an unlocked drawer. Consider keeping it in a locked file or a password-protected digital document instead.