The Basic Structure of a Social Security Number
A Social Security number has nine digits divided into three parts: the area number (first three digits), the group number (middle two digits), and the serial number (last four digits). Written out, it looks like XXX-XX-XXXX. The hyphens are just formatting — the actual number is nine digits with no spaces or punctuation.
The Social Security Administration (SSA) assigns these numbers in a specific pattern, though the meaning behind each section has changed over time. Understanding the format helps you recognize a valid number when you see one on forms, tax documents, or official correspondence.
Key Takeaways
- A Social Security number contains nine digits split into three sections: area (3 digits), group (2 digits), and serial (4 digits), written as XXX-XX-XXXX.
- The area number originally indicated the state where someone applied for their number, but this connection no longer holds for numbers issued after 2011.
- Certain area numbers are never issued — for example, 000, 666, and 900–999 are not valid Social Security numbers.
- The group and serial numbers follow a specific assignment pattern that the SSA uses to prevent duplicate numbers and track issuance.
- You should never share your full Social Security number unless you are dealing with a government agency, financial institution, or employer that has a legitimate reason to request it.
What the Area Number (First Three Digits) Meant
For many decades, the area number indicated the state where a person applied for their Social Security number. Someone who applied in California would receive a number starting with 545–573, while someone in New York would get 050–134. This made it possible to guess roughly where someone had applied based on their number alone.
The SSA stopped using this geographic system in June 2011 and switched to random assignment. Numbers issued after that date no longer have a geographic connection — the area number is straightforward the first part of a random nine-digit sequence. This change was made partly to prevent identity theft (since the old system made numbers more predictable) and partly to handle the growing population and the risk of running out of numbers in certain regions.
If you have an older number issued before 2011, the area number still reflects where you applied. If your number was issued after 2011, the area number has no geographic meaning.
What the Group and Serial Numbers Do
The group number (middle two digits) and serial number (last four digits) work together to create a unique identifier within each area number. The SSA does not assign these randomly — they follow a specific sequence to avoid duplicates and to track how many numbers have been issued.
Historically, the group number was assigned in a non-sequential pattern (odd numbers first, then even), and the serial number counted up from 0001. This made it harder for someone to guess a valid number by straightforward trying sequential combinations. The exact assignment rules have changed over time, but the principle remains: these six digits may support that no two people receive the same nine-digit number.
Numbers That Are Never Issued
Not every nine-digit combination is a valid Social Security number. The SSA has rules about which numbers will never be assigned:
- Area number 000 is never issued.
- Area number 666 is never issued.
- Area numbers 900 through 999 are never issued.
- Group number 00 is never issued.
- Serial number 0000 is never issued.
These restrictions exist partly for historical reasons and partly to prevent confusion. For example, 000-00-0000 is sometimes used as a placeholder in databases or on forms, so the SSA avoids issuing it to an actual person. If you see a number that violates any of these rules, it is not a valid Social Security number.
How to Spot an Invalid Number
You can do a quick check of any Social Security number by looking for the patterns listed above. If the area number is 000, 666, or 900–999, the number is invalid. If the group number is 00 or the serial number is 0000, the number is also invalid. These checks work regardless of when the number was supposedly issued.
Keep in mind that passing these basic checks does not mean a number belongs to the person claiming it — it only means the number follows the format rules. A valid-looking number could still be someone else's, or it could be a number that has not yet been issued. Only the SSA can confirm that a specific number belongs to a specific person.
Why the Format Matters on Tax Forms and Official Documents
Tax forms, W-2s, 1099s, and other IRS documents all require a Social Security number in the standard nine-digit format. When you fill out a form, you may see boxes for each digit, or a single line where you type all nine digits with or without hyphens. Most software and government systems accept both formats — with or without the hyphens — and convert them automatically.
If you are filing taxes or submitting documents to a government agency, make sure the number you enter matches your official Social Security card exactly. A typo in even one digit can cause your return to be rejected or delayed, or it can be matched to the wrong person's record. Double-check before you submit.
Protecting Your Social Security Number
Understanding the format of a Social Security number can help you spot when someone is asking for it inappropriately. Legitimate requests come from employers (for tax withholding), banks and lenders (for credit checks), the IRS (for tax filing), and government agencies (for benefits or licensing). You should not need to provide your full number to a doctor's office, a store, a school, or a utility company — many of these organizations ask for it out of habit rather than necessity.
When you do share your number, verify that you are dealing with the real organization. Scammers sometimes pose as the SSA, the IRS, or a bank to trick people into revealing their numbers. The real SSA will not call you unexpectedly or threaten you with arrest. If someone calls claiming to be from the SSA and you are unsure, hang up and call the SSA directly at 1-800-772-1213 to verify.
Frequently Asked Questions
Can I tell what state someone is from based on their Social Security number?
Only if the number was issued before June 2011. Older numbers still carry a geographic code in the area number. For any number issued after 2011, the area number is random and tells you nothing about where the person applied or where they live.
What should I do if I think my Social Security number has been stolen?
Contact the SSA at 1-800-772-1213 or visit ssa.gov to report it. You should also place a fraud alert with the three major credit bureaus (Equifax, Experian, and TransUnion) and monitor your credit report for unauthorized accounts. The Federal Trade Commission's website (identitytheft.gov) has step-by-step instructions for reporting identity theft.
Do I need to memorize my Social Security number?
You should know it well enough to fill out forms accurately, but you do not need to recite it from memory in everyday life. Keep your Social Security card in a safe place at home, not in your wallet. When you need the number, look it up rather than relying on memory, which reduces the chance of a typo on important documents.
Is it safe to put my Social Security number on a check?
No. Banks and the IRS do not require your Social Security number on checks. If a business asks you to write it on a check, ask why they need it and whether they can use a different form of ID instead. Many businesses ask out of habit, and most will accept an alternative.
What does it mean if a number has a group number of 00?
It means the number is invalid. The SSA never issues group number 00, so any number with those middle digits is not a real Social Security number. This is one of the quick checks you can use to spot a fake or mistyped number.