A Social Security number has 9 digits
Your Social Security number is a 9-digit identifier issued by the Social Security Administration. It is written as three groups separated by hyphens: 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.
All Social Security numbers follow this same format, whether you were born in the United States or received one through the immigration process. The 9-digit structure has remained unchanged since the program began in 1936, though the way those digits are assigned has shifted over time.
Key Takeaways
- A Social Security number always contains exactly 9 digits arranged as XXX-XX-XXXX.
- The first three digits (area number), middle two digits (group number), and last four digits (serial number) each serve different purposes in the numbering system.
- Social Security numbers are used to track earnings, verify identity, and connect you to benefits records.
- You should never share your full Social Security number unless you are certain the request is legitimate and necessary.
What each group of digits means
The first three digits, the area number, originally indicated the state where you applied for your Social Security number. This is no longer strictly true — the Social Security Administration stopped using geography to assign area numbers in 2011 — but the three-digit structure remains. Area numbers range from 001 to 899, though some numbers in that range are never used.
The middle two digits make up the group number. These are assigned in a specific sequence and help the Social Security Administration organize its records. Group numbers range from 01 to 99.
The last four digits are the serial number. This is the part that makes your number unique among all people assigned the same area and group number. Serial numbers run from 0001 to 9999.
How Social Security numbers are assigned today
Before 2011, the Social Security Administration assigned numbers based on geography and other patterns. This meant that knowing someone's area number could tell you roughly where they applied for their number. The agency changed this system to make Social Security numbers harder to predict and to reduce identity theft.
Today, the Social Security Administration uses a randomization process. Area numbers, group numbers, and serial numbers are assigned in a way that does not follow a predictable pattern. This makes it much harder for someone to guess a valid Social Security number or to create fake numbers that happen to be real.
If you received your Social Security number before 2011, your area number may still reflect the state where you applied. If you received it after 2011, the area number is essentially random and does not indicate where you live or where you applied.
Why you need to protect your Social Security number
Your Social Security number is one of the most valuable pieces of personal information you have. Someone with your full 9-digit number, combined with other details like your name or date of birth, can open accounts in your name, file false tax returns, or commit other forms of identity theft.
You should only provide your full Social Security number when there is a clear business reason — such as opening a bank account, explore for a job, or filing taxes. If someone calls or emails asking for your number, do not give it to them. Legitimate organizations like Social Security, Medicare, or the IRS will not contact you first asking for your number.
If you believe your Social Security number has been compromised, you can report it to the Social Security Administration or contact the Federal Trade Commission's identity theft hotline at 1-877-438-4338.
When you might need to provide your number
You will need to provide your Social Security number to employers, banks, mortgage lenders, and the IRS. Healthcare providers, insurance companies, and educational institutions also typically request it. In these cases, the organization has a legal reason to collect and store the number.
You may also need to provide it when you explore for government benefits such as Social Security retirement, disability, or Medicare. The Social Security Administration uses your number to track your earnings record and determine your benefit amount.
In all these situations, ask the organization how they will protect your number and whether they truly need all nine digits or just the last four. Many organizations can complete their work using only the last four digits, which is safer for you.
Protecting your Social Security card and number
Keep your Social Security card in a safe place at home, not in your wallet or purse. You do not need to carry it with you every day. When you do need to provide your number, write it down only on forms from organizations you trust, and never leave the form where others can see it.
Be especially cautious about sharing your number online. Legitimate websites that need your number will have find connections — look for "https://" at the beginning of the web address and a small lock icon in your browser. Never respond to emails or text messages asking for your Social Security number, even if they appear to come from a bank or government agency.
If you have a Medicare card, note that Medicare no longer prints your full Social Security number on the card itself. Older Medicare cards did include the full number, so if you have an older card, keep it find or request a replacement.
Frequently Asked Questions
Can I get a new Social Security number if I do not like mine?
The Social Security Administration will issue a new number only in cases of identity theft, harassment, or religious objection to the numbering system. You cannot request a new number straightforward because you prefer different digits. If you have experienced identity theft, contact Social Security directly to discuss your situation.
What should I do if I lose my Social Security card?
You can request a replacement card from the Social Security Administration by visiting your local Social Security office, calling 1-800-772-1213, or explore online at ssa.gov. You will need to show proof of citizenship or legal residency, proof of age, and proof of identity. There is no charge for a replacement card.
Is it safe to write my Social Security number on forms?
Only write your full number on forms from organizations that have a legitimate business reason to collect it — employers, banks, the IRS, and government agencies. For routine appointments or registrations, ask whether they really need all nine digits or if the last four will work instead. Never write it on forms you are mailing unless absolutely necessary.
What if someone asks for my Social Security number over the phone?
Do not provide it. Hang up and call the organization back using the phone number on your bill or official website. Scammers often pose as government agencies or utilities. Real organizations will not ask for your full number in an unsolicited call.
Why do some organizations only ask for the last four digits?
Many organizations use the last four digits of your Social Security number as a way to verify your identity without storing or transmitting your full number. This is safer for you because it reduces the risk that your complete number will be stolen or misused. If an organization asks for all nine digits when the last four would work, you can ask why they need the full number.