Undocumented immigrants can earn Social Security credits through work, but cannot collect benefits unless they become lawful permanent residents or citizens
If you work in the United States without authorization, your employer may still withhold Social Security taxes from your paycheck. Those taxes go into your Social Security account and build work credits toward future benefits. However, the Social Security Administration (SSA) will not pay you benefits based on those credits unless you later gain legal status — either through a green card, asylum, or citizenship. If you never gain legal status, the taxes you paid remain in the Social Security trust fund and do not return to you.
The rule applies equally to all benefit types: retirement, survivor benefits (paid to your family if you die), and disability. Work credits accumulated before you had legal status count toward benefits once you do, but you cannot receive payments while undocumented.
Key Takeaways
- Social Security taxes withheld from your paycheck build work credits even if you are undocumented, and those credits remain on your record permanently.
- You cannot receive any Social Security benefit — retirement, survivor, or disability — while undocumented, regardless of how many credits you have earned.
- If you later gain legal permanent resident status or citizenship, you can claim benefits based on all work credits you earned before and after gaining status.
- The SSA does not report immigration status to immigration enforcement agencies, and explore for a Social Security number or checking your record does not trigger deportation proceedings.
How work credits accumulate before you have legal status
Social Security credits are earned through work and payroll tax withholding. In 2024, you earn one credit for each $1,730 in wages (this amount changes yearly). You can earn up to four credits per year. Most people need 40 credits total to be may be able to access for retirement benefits — roughly 10 years of full-time work.
If your employer withholds Social Security taxes from your pay, those credits are recorded under the Social Security number or Individual Taxpayer Identification Number (ITIN) you provided. The credits stay on that record indefinitely. You do not lose them if your immigration status changes, and you do not lose them if you leave the country. They remain yours to claim later if you gain legal status.
Some undocumented workers use an ITIN instead of a Social Security number. An ITIN is a nine-digit number issued by the Internal Revenue Service (IRS) for tax purposes only. Work credits can be earned under an ITIN, but you cannot receive Social Security benefits based on an ITIN account — you must have a valid Social Security number to collect.
What happens if you gain legal status later
If you become a lawful permanent resident (green card holder) or U.S. citizen, you become may be able to access to claim Social Security benefits. The SSA will count all work credits you earned before and after gaining status. You do not have to re-earn credits or start over.
To claim benefits after gaining legal status, you will need to contact the SSA in person or by phone. Bring your green card, passport, or citizenship certificate along with proof of your work history (pay stubs, tax returns, or W-2 forms). The SSA will verify your credits and calculate your benefit amount based on your lifetime earnings record.
The timing of when you claim matters. Retirement benefits can be claimed as early as age 62, but the monthly amount is smaller if you claim before your full retirement age (which ranges from 66 to 67 depending on your birth year). If you wait until age 70, the monthly benefit is larger. Survivor and disability benefits have different rules and do not depend on your age.
Pathways to legal status that lead to Social Security may be able to access
Several immigration statuses allow you to later claim Social Security benefits. Becoming a lawful permanent resident through family sponsorship, employment sponsorship, diversity visa, or humanitarian protection (asylum or refugee status) all lead to may be able to access. U.S. citizenship, whether through naturalization or birth, also makes you may be able to access.
Some temporary statuses do not lead to Social Security may be able to access on their own. For example, Temporary Protected Status (TPS) and Deferred Action for Childhood Arrivals (DACA) allow you to work legally and build Social Security credits, but they do not make you may be able to access to claim benefits while you hold that status. However, if you later transition from DACA or TPS to permanent residency or citizenship, you become may be able to access to claim.
If you are undocumented and considering immigration options, speak with an immigration attorney or accredited representative. Organizations like the American Immigration Lawyers Association (AILA) can help you find legal counsel. An attorney can explain which pathways might be available to you and how they affect your Social Security record.
Privacy and reporting: what the SSA does and does not do
The Social Security Administration does not share immigration status information with U.S. Immigration and Customs Enforcement (ICE) or other immigration agencies. Checking your Social Security record, requesting a replacement card, or contacting the SSA about your account does not trigger immigration enforcement action. The SSA's role is to administer Social Security benefits and maintain earnings records, not to enforce immigration law.
However, the SSA does verify that the name and number you provide match their records. If you used a false name or number when you were hired, the SSA may flag a mismatch. This mismatch does not automatically report you to immigration authorities, but it can delay your ability to claim benefits later if you cannot explain the discrepancy.
If you are concerned about your immigration status and want to check your Social Security record, you can create an account on ssa.gov and view your earnings history online without speaking to anyone. You can also call the SSA's main line at 1-800-772-1213 and ask questions about how your record works.
What happens to taxes you paid if you never gain legal status
If you work in the United States and Social Security taxes are withheld from your paycheck, but you never gain legal status and never claim benefits, those taxes do not return to you as a refund. They remain in the Social Security trust fund and help pay benefits to current retirees, disabled workers, and survivors.
This is different from income tax withholding. If you file a tax return using an ITIN, you may be owed a refund of income taxes you overpaid. Social Security taxes work differently — they are not refundable, and there is no way to recover them if you do not claim benefits.
Some people ask whether they can withdraw their Social Security contributions or transfer them to another country's retirement system. The answer is no. Social Security is a social insurance program, not a savings account. Once taxes are withheld, they belong to the program.
Frequently Asked Questions
Does using a fake Social Security number affect my ability to claim benefits later?
If you used a number that does not belong to you, the SSA will not count those earnings toward your record. Work credits are only recorded under the correct number. If you later gain legal status and have a valid Social Security number, you can only claim credits earned under that number. Speak with an immigration attorney about how to address past use of incorrect numbers before you claim benefits.
Can my family members claim benefits based on my work record if I am undocumented?
No. Survivor benefits are only paid to family members if the worker has legal status at the time of death or has already claimed retirement benefits. If you are undocumented when you die, your family cannot claim survivor benefits based on your work record, even if you had many work credits.
What if I have worked under multiple Social Security numbers?
Contact the SSA and explain the situation. The SSA can sometimes consolidate earnings records if you can prove the numbers belonged to you. You will need documents like pay stubs, tax returns, or employment letters showing the dates you worked. An immigration attorney can help you prepare this documentation.
Does the SSA report undocumented workers to immigration authorities?
No. The SSA does not share immigration status information with ICE or other immigration enforcement agencies. However, if your name and number do not match SSA records, the mismatch is reported to your employer, which may affect your job. This is a wage reporting issue, not an immigration enforcement action.
Can I claim Social Security benefits if I have a green card but have not yet become a citizen?
Yes. Lawful permanent residents (green card holders) are may be able to access to claim Social Security benefits once they meet the work credit requirement. You do not have to wait until you become a citizen. Contact the SSA with your green card and earnings records to begin the process.