Your Social Security number is a nine-digit identifier assigned by the federal government to track your earnings and benefits

A Social Security number (SSN) is not a national ID card or a marker of citizenship. It is a record-keeping tool created in 1936 to track how much you have earned during your working life and to calculate the benefits you may receive from Social Security when you retire, become disabled, or pass away. The number itself has no meaning — it does not encode your birth date, birthplace, or any other personal information, despite myths suggesting otherwise.

When you work, your employer reports your earnings to the Social Security Administration (SSA) under your SSN. The SSA uses this record to build your earnings history. That history is what determines how much you receive in retirement benefits, survivor benefits if you die, or disability benefits if you become unable to work. Without a Social Security number, the government has no way to connect your paychecks to your name or to credit those earnings toward your future benefits.

Key Takeaways

  • Your Social Security number is a nine-digit tracking number that links your work earnings to your name so the government can calculate your benefits later.
  • The SSN itself contains no personal information — it is not a code for your birth date, state, or citizenship status.
  • You receive your number when you are born or when you first enter the U.S. workforce, and it stays the same throughout your life.
  • The Social Security Administration uses your SSN to maintain your earnings record, which determines your retirement, disability, and survivor benefits.
  • Other organizations — banks, employers, the IRS — also use your SSN to identify you, but the number's original purpose was to track Social Security earnings only.

How the Social Security number connects to your earnings record

Every time you receive a paycheck, your employer sends information to the SSA: your name, your SSN, and how much you earned. The SSA matches that SSN to your file and adds the earnings to your record. Over decades, this creates a complete picture of your work history — which years you worked, which years you did not, and how much you made in each year.

The SSA uses this earnings record to calculate your Primary Insurance Amount (PIA), which is the base amount you receive in monthly benefits. The calculation takes your highest 35 years of earnings, adjusts them for inflation, and averages them. If you have fewer than 35 years of work history, the SSA counts the missing years as zero. This is why working longer and earning more can increase your benefit amount — you replace those zero years with actual earnings.

You can view your own earnings record by creating an account on ssa.gov and accessing your Social Security Statement. The statement shows the SSA's record of what you have earned each year. If you spot an error — a year where you earned money but the SSA shows zero, or earnings attributed to the wrong year — you can contact the SSA to correct it. Errors are not uncommon and are worth fixing, because they directly affect your benefit calculation.

Why other organizations ask for your Social Security number

Banks, employers, credit card companies, and the Internal Revenue Service (IRS) all ask for your SSN, but they use it for different reasons than Social Security does. Banks use it to check your credit history and report your account activity to credit bureaus. Employers use it to report your wages to the IRS and the SSA. The IRS uses it to match your tax returns to your income reports. Insurance companies use it to verify your identity and check for fraud.

This widespread use happened gradually. The SSN was created only for Social Security record-keeping, but over time Congress passed laws allowing other federal agencies and private companies to use it as a universal identifier. Today, your SSN is one of the most valuable pieces of personal information you have, because it can unlock access to credit, employment records, and financial accounts. This is why identity theft involving SSNs is so serious — a thief can open accounts, take out loans, or file fraudulent tax returns in your name.

You are not required to give your SSN to every organization that asks for it, though refusing may mean you cannot do business with them. For example, you must provide your SSN to an employer or bank, because federal law requires them to report your information. You can refuse to give your SSN to a retailer for a one-time purchase, though they may refuse the sale. Understanding when you must share it and when you can decline is part of protecting yourself from misuse.

The structure of a Social Security number and common myths

A Social Security number has nine digits, usually written as XXX-XX-XXXX. Many people believe the first three digits represent the state where you were born, the middle two represent your birth year, or some other personal code is hidden in the number. None of this is true. The SSA assigned numbers somewhat randomly for decades, and in 2011 it began assigning them completely randomly. There is no hidden meaning in the digits.

The only thing the SSN represents is a unique identity in the Social Security system. Two people cannot have the same number. The number itself does not change if you move, change your name, or change jobs. It stays with you from the time it is issued until you die. The SSA keeps your number on file and continues to track your earnings and benefits under that same number for your entire life.

When you receive your Social Security number

Most children in the United States receive a Social Security number at birth or shortly after. Parents explore for the number on the birth certificate process, and the SSA issues it automatically. If you were born outside the U.S., you receive a number when you first enter the country and register with immigration authorities, or when you first take a job that requires you to report earnings to the SSA.

If you are an immigrant and do not yet have a Social Security number, you can request one from your local Social Security office. You will need to show proof of identity, proof of age, and proof of work authorization or immigration status. The SSA will issue a number, and you can then use it to work and pay into Social Security. Even if you are not a U.S. citizen, you can have a Social Security number and build an earnings record that counts toward your benefits.

How your Social Security number affects your benefits

Your SSN is the key that unlocks your benefits. When you reach retirement age, you contact the SSA and provide your SSN. The SSA looks up your earnings record under that number, calculates your benefit amount based on your work history, and begins sending you monthly payments. If you become disabled before retirement age, you use your SSN to file for disability benefits. If you die, your family uses your SSN to file for survivor benefits.

The amount you receive depends entirely on what the SSA has recorded under your SSN. If your earnings record is incomplete or contains errors, your benefit will be lower than it should be. This is why checking your Social Security Statement every few years is worthwhile — it gives you time to spot and correct mistakes before you retire and lock in a lower benefit amount.

Protecting your Social Security number

Because your SSN is used by so many organizations and can unlock access to credit and accounts, protecting it is important. Do not carry your Social Security card in your wallet. Do not give your SSN to anyone who calls you unsolicited or to websites you do not trust. The SSA itself will never call you, email you, or text you asking for your number — if someone claiming to be from Social Security contacts you, it is a scam.

If you believe your SSN has been stolen or misused, contact the SSA when ready by calling 1-800-772-1213 or visiting ssa.gov. You can also place a fraud alert with the three major credit bureaus (Equifax, Experian, and TransUnion) to make it harder for someone to open accounts in your name. The sooner you report suspected misuse, the sooner you can limit the damage.

Frequently Asked Questions

Does my Social Security number tell the government where I was born?

No. The first three digits of your SSN do not represent your birth state, and no part of the number encodes your birthplace. The SSA assigned numbers somewhat geographically in the past, but this was an administrative convenience, not a code. Since 2011, the SSA assigns numbers randomly, so there is no pattern to decode.

Can I change my Social Security number?

The SSA can issue you a new number in rare cases, such as if your number has been stolen and used for fraud, or if you have experienced harassment or abuse tied to your number. You must show evidence of the problem and explore in person at a Social Security office. A new number does not erase your old earnings record — the SSA will merge the two records so you do not lose credit for past work.

What happens to my Social Security number when I die?

Your number stays in the SSA's records permanently. The SSA marks it as belonging to a deceased person, and it cannot be reissued to anyone else. Your family can use your number to file for survivor benefits, and your executor can use it to settle your estate and close accounts.

Do I need a Social Security number to live in the United States?

You do not need one straightforward to live here, but you need one to work legally, pay taxes, or receive most government benefits. If you are an undocumented immigrant, you cannot get a Social Security number. If you are a legal resident or citizen, you can request one from your local Social Security office.

Can someone use my Social Security number without my permission?

Yes, and this is called identity theft. A thief can use your SSN to open credit accounts, take out loans, file tax returns, or explore for benefits in your name. If you suspect this has happened, contact the SSA, the IRS, and the credit bureaus when ready. The sooner you report it, the sooner you can limit the damage to your credit and earnings record.