What the Social Security number format means
A Social Security number has nine digits split into three parts: XXX-XX-XXXX. The first three digits are the area number, the middle two are the group number, and the last four are the serial number. Each part was assigned for a specific reason when the number was created, though the system has changed over time and the parts no longer follow the original geographic or chronological rules.
You need to know this format because government agencies, employers, banks, and tax software all expect your number in this exact order. When you fill out a form — whether it's a W-4 for your employer, a tax return, or a Social Security benefit process — the nine digits must be entered correctly and in the right boxes. A single digit out of place or transposed will cause the form to be rejected or matched to the wrong person.
The format also matters when you're reading documents about yourself. Your Social Security number appears on your Social Security card, your tax forms, your W-2 from your employer, and any letter from the Social Security Administration. Knowing which digits go where helps you spot errors quickly — for example, if a W-2 shows a different number than your card, that's a red flag that needs fixing before you file your taxes.
Key Takeaways
- A Social Security number is always nine digits in the format XXX-XX-XXXX, with the first three digits called the area number, the middle two the group number, and the last four the serial number.
- You must enter your number in this exact format on tax forms, W-4s, benefit applications, and any official document that asks for it.
- The first three digits were originally assigned based on geography, but since 2011 they are assigned randomly, so you cannot determine where someone lived based on their number.
- If your Social Security number appears differently on two official documents — such as your card and a W-2 — contact the Social Security Administration to correct the record before filing taxes.
- Certain digit combinations are never issued, including numbers starting with 000, 666, or 900-999, and numbers where all three parts are the same.
Where each part of your number comes from
The first three digits, called the area number, were originally tied to the state where you applied for your Social Security card. Someone who applied in California might have received a number starting with 545 to 573, while someone in New York might have gotten 050 to 134. This system lasted from 1936 until 2011, when the Social Security Administration stopped assigning numbers by geography and began assigning them randomly instead.
If you received your Social Security number before 2011, the first three digits may still reflect where you lived at the time. If you received it after 2011, the first three digits have no geographic meaning — they were straightforward the next number in the random sequence. This change was made to prevent identity theft, since criminals could no longer guess which numbers belonged to people in a particular state.
The middle two digits, called the group number, were assigned in a specific order within each area. They run from 01 to 99, but not in straight sequence — the Social Security Administration used a pattern to spread out the numbers. Like the area number, the group number has no meaning beyond being part of your unique identifier.
The last four digits, called the serial number, straightforward count upward from 0001 to 9999 within each area-and-group combination. Together, all three parts create a nine-digit number that is supposed to be unique to you and no one else.
Numbers that are never issued
Not every nine-digit combination is a valid Social Security number. The Social Security Administration never issues numbers where the area number is 000, 666, or 900 through 999. These ranges are reserved and will never be assigned to anyone. If you see a Social Security number starting with one of these digits on a document about yourself, it is an error that needs to be corrected.
The Administration also does not issue numbers where all three parts are identical — for example, 111-11-1111 or 222-22-2222. These are sometimes used as placeholder numbers in examples or test data, but they are not real Social Security numbers. If you encounter one on an official document with your name on it, contact the Social Security Administration when ready.
Additionally, numbers where the group number is 00 (the middle two digits) are not issued. So 123-00-4567 is not a valid number, even though it follows the format. These rules exist to prevent confusion and to keep certain number combinations available for testing and administrative use.
How to enter your number on forms and applications
Most paper forms have nine separate boxes, one for each digit, with hyphens printed between the third and fourth digits and between the fifth and sixth digits. Write one digit per box, left to right, with no spaces or extra marks. If you make a mistake, cross it out neatly and write the correct digit above it, or ask for a new form if the error is hard to read.
Online forms usually have a single text field that accepts nine digits. You can type the number with or without hyphens — the system will accept both 123456789 and 123-45-6789. However, if the form has separate fields for each part (three boxes, then two boxes, then four boxes), enter only the digits with no hyphens. The hyphens are printed on the form itself, not typed by you.
When you enter your number on a tax form like a 1040 or a W-4, double-check it against your Social Security card before submitting. A transposed digit — for example, writing 123-45-6798 instead of 123-45-6789 — will cause the form to be rejected or matched to the wrong person's record. If you discover an error after submitting, contact the agency that received the form and ask them to correct it in their system.
Reading your Social Security card
Your Social Security card displays your number in the format XXX-XX-XXXX, usually in large print in the center of the card. The card also shows your name as it appears in the Social Security Administration's records. If your name on the card does not match your name on your tax return, your return may be rejected or delayed. If you have changed your name due to marriage, divorce, or court order, you must update your name with the Social Security Administration before filing taxes.
The card itself is not proof of citizenship or work authorization — it is only proof that you have a Social Security number. You do not need to carry it with you, and you should not give it to someone just because they ask. Employers need it to file your W-2, banks need it to open accounts, and the IRS needs it on your tax return, but most other requests for your number are optional.
If your card is lost, stolen, or damaged, you can request a replacement from the Social Security Administration. You will need to prove your identity and citizenship, and there is no charge for the replacement. The new card will have the same number as your old card — your Social Security number never changes.
Correcting errors on official documents
If your Social Security number appears differently on two official documents — such as your Social Security card and a W-2 from your employer — one of them contains an error. The most common cause is a typo when the employer entered your number into their payroll system. Contact your employer's payroll department first and ask them to verify the number they have on file. If they confirm it is wrong, ask them to file a corrected W-2 with the IRS.
If the error is on your Social Security card itself, contact the Social Security Administration. You will need to provide proof of your identity and proof of citizenship. The Administration will issue a corrected card with the same number but the correct digits. This process usually takes two to four weeks.
Do not file your tax return with mismatched numbers. The IRS will match your return against W-2s and other documents using your Social Security number. If the numbers do not match, your return will be held for manual review, which delays your refund. It is faster to correct the error before filing than to file and then wait for the IRS to contact you.
Why your Social Security number format matters for taxes
The IRS uses your Social Security number as your taxpayer identification number. Every W-2 your employer sends you, every 1099 form you receive from a bank or client, and every tax return you file must have the same nine-digit number in the same format. If the numbers do not match, the IRS cannot match the income reported on the W-2 to the income you reported on your return.
This mismatch is one of the most common reasons tax returns are delayed or rejected. The IRS will hold your return and send you a notice asking you to confirm your number. If you do not respond, your return will not be processed and you will not receive your refund. Catching errors before you file — by checking your Social Security card against your W-2 — prevents this delay.
If you have changed your name since your last tax return, update your name with the Social Security Administration before filing. Your tax return must show the name that matches your Social Security number in the Administration's records. If your return shows a different name, it will be rejected even if the number is correct.
Frequently Asked Questions
Can I change my Social Security number?
The Social Security Administration can issue you a new number only in rare cases, such as if you can document that someone is using your number to commit fraud or if you are a victim of identity theft with ongoing harm. A straightforward request to change your number because you do not like it will be denied. If you believe your number has been compromised, contact the Social Security Administration and the Federal Trade Commission.
What if I lost my Social Security card and do not remember my number?
You can find your Social Security number on previous tax returns, W-2s, bank statements, or any official document issued in your name. If you do not have access to any of these, contact the Social Security Administration with proof of your identity and citizenship, and they will tell you your number. You can then request a replacement card.
Do I need to memorize my Social Security number?
You do not need to memorize it, but it is helpful to know it when you are filling out forms or opening accounts. Keep your Social Security card in a safe place at home — not in your wallet — and refer to it when you need the number. Write it down only on forms that require it, and do not share it with people who do not have a legitimate reason to ask.
Why does my employer's W-2 show a different Social Security number than my card?
Your employer likely made a typo when entering your number into their payroll system. Contact your employer's payroll or human resources department and ask them to verify the number they have on file. Ask them to file a corrected W-2 with the IRS if the number is wrong. Do not file your tax return until this is corrected.
Are the first three digits of my Social Security number based on where I was born?
Only if you received your number before 2011. The first three digits were originally assigned based on the state where you applied for your card, not where you were born. Since 2011, the Social Security Administration assigns numbers randomly, so the first three digits have no geographic meaning for anyone who received their number after that date.