Social Security and Immigration Status
To receive Social Security retirement, disability, or survivor benefits, you must have a valid Social Security number and a work history in the United States. Immigration status — whether you are a citizen, permanent resident, or in the country without legal authorization — does not determine whether you can receive benefits once you have earned them. What matters is whether you worked and paid Social Security taxes.
However, the path to getting a Social Security number in the first place depends heavily on your immigration status. This is where the rules become specific and where many people's situations diverge.
Key Takeaways
- You must have a valid Social Security number to receive any Social Security benefit, and getting one requires authorization to work in the United States.
- If you worked and paid Social Security taxes before your immigration status changed, those earnings remain on your record and may count toward benefits later.
- Undocumented immigrants cannot obtain a new Social Security number, but some who worked legally in the past may have one already.
- Certain temporary visa holders and people with pending immigration cases can obtain a Social Security number and build work history that counts toward future benefits.
- Your immigration status can affect whether you can actually receive benefits even if you have earned them, depending on your visa category or legal standing.
Getting a Social Security Number Without Legal Work Authorization
The Social Security Administration (SSA) issues Social Security numbers only to people who can show they are authorized to work in the United States. This authorization comes from documents like a green card, an employment authorization document (EAD), a visa that permits work, or U.S. citizenship.
If you are in the country without legal authorization and do not have one of these documents, you cannot obtain a Social Security number from the SSA. This is a hard barrier — there is no exception process, and no other agency can issue one for you.
Some people in this situation have a Social Security number from before their status changed — for example, they worked legally on a visa years ago, obtained a number, and later remained in the country after the visa expired. That number stays valid and the earnings from that period remain on record.
Work History That Counts Even Without Current Authorization
If you worked in the United States and paid Social Security taxes at any point — whether your status was legal then or your status has changed since — those earnings are recorded under your Social Security number. The SSA does not remove earnings from your record based on your current immigration status.
This means that if you worked legally for five years, then your immigration status changed, those five years of earnings still count. If you later become a permanent resident or citizen and reach retirement age, you may be able to claim benefits based on that work history.
The key requirement is that you must have worked and paid taxes under a valid Social Security number at the time. Work done without a Social Security number — even if you were authorized to work — does not create a record that counts toward benefits.
Temporary Visas and Work Authorization
Some visa categories allow you to work and obtain a Social Security number while your status is temporary. These include H-1B visas (specialty occupations), L-1 visas (intracompany transfers), O-1 visas (individuals with extraordinary ability), and others. If you are on one of these visas, you can get a Social Security number and build a work record.
If your visa expires and you do not change to another authorized status, your ability to work ends. However, the earnings you accumulated while authorized remain on your record. Whether you can later claim benefits depends on whether you eventually obtain permanent residence or citizenship.
Temporary Protected Status (TPS) holders and people with pending asylum cases may also be authorized to work and can obtain a Social Security number. The rules vary by visa category and change over time, so checking with an immigration attorney or your visa sponsor is important if you are unsure whether your current status allows work.
Receiving Benefits With Different Immigration Statuses
Even if you have earned Social Security credits and have a valid Social Security number, your immigration status affects whether you can actually receive the benefits you have earned. A U.S. citizen or permanent resident who has worked long enough can claim retirement or disability benefits at any time, regardless of where they live.
The rules are more complex for other visa holders and for people without legal status. Some visa categories allow you to receive benefits; others do not. If you are outside the United States, your ability to receive benefits may depend on your visa status and your country of residence.
An immigration attorney or a Social Security representative can tell you whether your specific status allows you to receive benefits. This is a question worth asking before you reach retirement age, because the answer shapes your planning.
Undocumented Immigrants and ITIN Numbers
Some undocumented immigrants have an Individual Taxpayer Identification Number (ITIN) instead of a Social Security number. An ITIN is issued by the Internal Revenue Service (IRS) for tax purposes only and does not authorize work or create Social Security credits.
If you have an ITIN and have been working without a Social Security number, your earnings are not recorded in the Social Security system. You cannot later claim Social Security benefits based on work done under an ITIN, even if you later become authorized to work or gain legal status.
This is one reason why obtaining legal work authorization and a Social Security number — if you are may be able to access — matters for your long-term financial security. Work done without a Social Security number leaves no record that counts toward retirement or disability benefits.
What Happens to Earnings if Your Status Changes
If you worked legally, paid Social Security taxes, and then your immigration status changed, your earnings record does not disappear. The SSA keeps the record indefinitely. If you later regain legal status — through a green card, asylum approval, or citizenship — you can use that entire work history to claim benefits.
You do not need to have worked continuously or to have been in legal status the whole time. What matters is that you worked and paid taxes during the periods when you were authorized. The SSA will count all of it.
If you are in this situation, it is worth contacting the SSA or an immigration attorney to understand what you have earned so far and what your options are if your status changes in the future.
Frequently Asked Questions
Can I get a Social Security number if I am undocumented?
No. The SSA issues Social Security numbers only to people who can show work authorization — a green card, employment authorization document, may have access to visa, or citizenship. If you do not have one of these, you cannot obtain a Social Security number. If you worked legally in the past and already have one, that number remains valid.
If I worked without a Social Security number, can I claim those earnings later?
No. Social Security credits are created only when you work under a valid Social Security number and your employer reports your wages to the SSA. Work done without a Social Security number — even if you were authorized to work — does not create credits or a record that counts toward benefits.
What if I worked legally years ago and then my visa expired?
Your earnings from the time you worked legally remain on your Social Security record. If you later become a permanent resident or citizen, you can use that entire work history to claim retirement or disability benefits. The SSA does not remove earnings because your status changed after you earned them.
Can I receive Social Security benefits if I am not a citizen?
It depends on your visa status and immigration category. Permanent residents can receive benefits. Some temporary visa holders can. People without legal status generally cannot, even if they have earned credits. An immigration attorney or the SSA can tell you whether your specific status allows benefit receipt.
Does having an ITIN create Social Security credits?
No. An ITIN is for tax filing only and does not create Social Security credits or work history. If you have worked under an ITIN, those earnings do not count toward Social Security benefits, even if you later gain legal work authorization.