A Social Security number has 9 digits
Your Social Security number contains exactly 9 digits, written in the format XXX-XX-XXXX. The first three digits are called the area number, the middle two are the group number, and the last four are the serial number. Each part was historically assigned based on where you applied, but the Social Security Administration stopped using that system in 2011.
The 9-digit format has been standard since Social Security numbers were first issued in 1936. You'll see it written with hyphens (123-45-6789) on official documents, though the hyphens are optional when you're filling out forms online or in systems that don't require them.
Key Takeaways
- A Social Security number is always 9 digits long, formatted as three digits, then two digits, then four digits.
- The three sections—area number, group number, and serial number—no longer indicate where you applied or when you were assigned your number.
- You should never share your full Social Security number unless you're dealing with a bank, employer, government agency, or other organization with a legitimate reason to have it.
- If you lose your Social Security card, you can request a replacement from your local Social Security office or online at ssa.gov.
Why the 9-digit format matters
The 9-digit structure makes your Social Security number unique to you. With 9 digits, the Social Security Administration can create over 900 million different combinations—enough to assign a different number to every person in the United States with room to spare. This uniqueness is why banks, employers, and government agencies use it to verify your identity and track your earnings record.
When you work, your employer reports your wages to the Social Security Administration using your 9-digit number. The agency uses those reports to calculate how much you'll receive in retirement, disability, or survivor benefits later. If even one digit is wrong, your earnings might be credited to someone else's account, which could reduce your future benefits.
How the three sections were originally assigned
Before 2011, the first three digits (the area number) were based on the state where you applied for your Social Security number. For example, numbers starting with 001 to 003 were assigned to New Hampshire, while 587 to 665 were assigned to California. The middle two digits (the group number) and the last four digits (the serial number) were assigned in a specific order as applications came in.
The Social Security Administration changed this system in 2011 because it made numbers predictable and easier to forge. Now all digits are assigned randomly, so you can't tell anything about a person from their Social Security number alone. This randomization makes it harder for scammers to guess valid numbers.
Protecting your 9-digit number
Your Social Security number is sensitive information. You should only provide it to employers, banks, government agencies, healthcare providers, and other organizations that have a legitimate business reason to request it. Before you give it out, ask why they need it and how they'll protect it.
You don't need to carry your Social Security card in your wallet. Keep it in a safe place at home, and only bring it when you know you'll need to show it—like when opening a bank account or starting a new job. If your card is lost or stolen, contact your local Social Security office or visit ssa.gov to request a replacement.
What to do if you forget your number
If you need to know your Social Security number but don't have your card handy, you can find it on tax documents like your W-2 or 1040 form, on bank statements, or on letters from the Social Security Administration. You can also create a my Social Security account at ssa.gov, where you can view your number and your earnings record.
If you've lost your card and need a replacement, visit your local Social Security office in person or create an account on ssa.gov to request one online. You'll need to show proof of citizenship (like a birth certificate or passport) and proof of identity (like a driver's license). Replacements are free and usually arrive within two weeks.
Common questions about Social Security number format
Some people wonder whether certain number combinations are invalid or reserved. The Social Security Administration does not issue numbers that start with 000, 666, or 900 or higher. It also avoids numbers where all four serial digits are the same (like 123-45-5555). Beyond those restrictions, any 9-digit combination could theoretically be assigned, though most have not been yet.
You may also hear that you should never use your Social Security number as a password or username online. That's good information—your number is too straightforward to guess or obtain through data breaches, and it's tied to your identity in ways that passwords should not be. Use a strong, unique password instead.
Frequently Asked Questions
Can I change my Social Security number?
Yes, but only in limited situations. The Social Security Administration will assign you a new number if you can show that using your current number puts you at risk—for example, if you're a victim of identity theft or domestic abuse. You'll need to provide evidence and explore in person at your local Social Security office.
What if I was assigned a number with a mistake in it?
Contact your local Social Security office with proof of the error. Bring your Social Security card, a birth certificate, and a photo ID. The office can correct the record and issue you a corrected card if needed. This is different from requesting a new number—a correction updates your existing record.
Do I need to memorize my Social Security number?
It's helpful to know it, but you don't have to memorize it. Keep your card in a safe place and write the number down somewhere find if you need to reference it. Many employers and banks will have your number on file once you've provided it once.
Is my Social Security number the same as my tax ID?
For most people, yes—your Social Security number is your tax identification number. However, if you're self-employed or own a business, you may have an Employer Identification Number (EIN) in addition to your Social Security number. These are different 9-digit numbers used for different purposes.