Do You Earn Social Security Credits on H-1B? Totalization Agreements Explained
Every paycheck on H-1B takes FICA taxes — here is what those Social Security credits actually mean for you and whether totalization agreements let you collect them someday.

Every paycheck you earn on H-1B shows two deductions that feel especially frustrating: Social Security (6.2% of wages up to the annual wage base) and Medicare (1.45% with no cap). Combined, that is 7.65% of every dollar you earn — matched by another 7.65% from your employer — flowing into programs you may assume you will never use. If you leave the US before retirement, you might think that money is simply gone.
The reality is more nuanced, and in some cases more recoverable, than most international workers realize. You are building a real earnings record with the Social Security Administration. Whether you can eventually collect on that record depends on how long you stay in the US, which country you come from, and a little-known set of bilateral treaties called totalization agreements. This guide explains exactly how the system works for H-1B holders, OPT-to-H-1B transitions, and workers from countries that do and do not have totalization treaties with the United States.
How FICA works for visa holders
FICA stands for Federal Insurance Contributions Act. It funds two programs: Old-Age, Survivors, and Disability Insurance (OASDI), commonly called Social Security, and Medicare. For 2026, the Social Security tax rate is 6.2% on wages up to the annual wage base (historically around $168,600 and adjusted annually by the SSA), and the Medicare tax rate is 1.45% on all wages with no ceiling.
Who is exempt from FICA?
The IRS makes a key distinction between resident aliens and nonresident aliens for employment tax purposes:
- F-1 students and J-1 exchange visitors in their first five calendar years in the US are classified as nonresident aliens and are exempt from FICA on wages from authorized employment (CPT, OPT, or J-1 program work). This is a genuine exemption — your employer should not be withholding Social Security or Medicare.
- H-1B, O-1, TN, L-1, E-3, and most other work visa holders are treated as resident aliens for FICA purposes from day one. There is no FICA exemption for these visa categories, period.
The transition moment that catches people is moving from F-1/OPT to H-1B. The day your H-1B status takes effect — typically October 1 for cap-subject petitions — FICA withholding begins. If you are still on OPT and have not yet hit your five-year mark, you are still exempt. The moment status changes to H-1B, you are not.
What if your employer withheld FICA incorrectly during OPT?
This happens more often than it should. Payroll systems do not always account for visa status correctly. If you were on F-1 OPT (within the five-year window) and your employer withheld Social Security and Medicare, you are entitled to a refund. The process:
- Request the refund from your employer first — they can adjust it on the current tax year's filings
- If the employer will not or cannot refund, file IRS Form 843 (Claim for Refund and Request for Abatement) and Form 8316 (Information Regarding Request for Refund of Social Security Tax) with the IRS
- Attach a copy of your visa documentation and a statement explaining the exemption claim
For the full walkthrough on this process, see our tax guide for international students covering FICA and tax treaties.
The 40-credit threshold and how you earn credits
What is a Social Security credit?
The SSA measures your work history in "credits." In 2026, you earn one credit for every approximately $1,730 in covered wages, up to four credits per year. The dollar threshold is adjusted annually for wage growth. A full year of work at almost any wage above minimum wage earns you all four credits for that year.
You need 40 lifetime credits — the equivalent of 10 full years of work — to qualify for retirement benefits. You also need a minimum number of credits to qualify for disability benefits (the required amount varies by age) and for survivor benefits to flow to your family.
Credit accumulation for typical H-1B workers
| Scenario | Years in US | Approx Credits Accumulated | Retirement Benefit Eligibility |
|---|---|---|---|
| OPT + 3 years H-1B, then departs | 5 years total (no FICA on OPT) | ~12 credits | No (need 40) |
| 5 years H-1B, departs | 5 years | ~20 credits | No |
| 10 years H-1B or green card | 10 years | ~40 credits | Yes (minimum) |
| 15 years H-1B / permanent resident | 15 years | ~60 credits | Yes (higher benefit) |
| OPT (FICA-exempt) + STEM OPT + H-1B | 8 years, ~6 paying FICA | ~24 credits | No |
Note that F-1 OPT years (within the five-year nonresident window) contribute zero FICA credits because no FICA is withheld. Your STEM OPT extension — up to 24 additional months available for qualifying STEM degrees — is still within most students' five-year nonresident window, so those years are also typically FICA-exempt. Clock carefully: the five-year count runs from the first calendar year you were present in the US in F-1 or J-1 status.
Credits never expire
One important fact: Social Security credits do not expire. They sit on your SSA earnings record indefinitely. If you leave the US with 20 credits, return a decade later as a permanent resident, and work another 20 years, you reach 40 credits and qualify for benefits. You can check your current credit total at any time by creating an account at ssa.gov — this is worth doing at least once a year to verify your earnings are recorded correctly.
Totalization agreements explained
What problem do they solve?
Without a treaty, a worker could pay into two Social Security systems simultaneously with no ability to combine the records. A French engineer working in the US on an L-1 would pay into both the US Social Security system and the French state pension — and might end up with too few credits in either country to qualify for benefits from either one.
Totalization agreements solve this in two ways:
- They eliminate dual contributions. When a foreign worker is temporarily assigned to the US by a foreign company, they typically remain covered by their home country's system and are exempt from US FICA. When a US company assigns a worker abroad, the reverse applies.
- They allow credit totalization. If you have some credits in each country but not enough in either to qualify for benefits, the two countries combine your credits to determine eligibility — you then receive a pro-rated benefit from each country based on how many credits you actually earned there.
Which countries have totalization agreements with the US?
As of 2026, the US has totalization agreements in force with 30 countries. The Social Security Administration maintains the current list at ssa.gov. Here is a summary of the most relevant for F1Jobs readers:
| Region | Countries with US Totalization Agreements |
|---|---|
| Europe | UK, Germany, France, Italy, Spain, Switzerland, Sweden, Norway, Denmark, Finland, Austria, Belgium, Netherlands, Luxembourg, Czech Republic, Slovak Republic, Poland, Portugal, Hungary, Iceland, Greece, Slovenia |
| Americas | Canada, Mexico, Chile, Brazil (not yet in force as of this writing — check ssa.gov) |
| Asia-Pacific | Australia, Japan, South Korea |
| Other | Uruguay |
India is not on this list. Neither is China, Philippines, Nigeria, Pakistan, Bangladesh, or most of Africa, Southeast Asia, and South Asia. For H-1B workers from these countries — which represents a large fraction of the H-1B population — the FICA taxes you pay in the US generate credits only in the US system, with no credit-counting mechanism between the two countries.
What does this mean practically for Indian H-1B holders?
This is the question most readers from India ask. The honest answer: if you leave the US before accumulating 40 credits, your FICA taxes are not "refunded" and your credits do not transfer to the Indian Employees' Provident Fund Organization (EPFO) or the National Pension System (NPS). They sit on your SSA record, waiting for you to return — or waiting for a totalization agreement that has been under negotiation for years but has not yet been signed.
The US and India have been in discussions about a totalization agreement for well over a decade. The Indian government has periodically raised it in bilateral trade talks. As of 2026, no agreement is in force, and there is no public timeline. If an agreement is eventually signed, it would likely apply prospectively and may include provisions for existing credits — but nothing is certain until the text is published.
For Indian nationals planning their careers, the most conservative planning assumption is: treat the totalization agreement as a potential upside that may materialize, not a certain benefit.
Can you collect US Social Security benefits from abroad?
If you have 40+ credits
Yes. The SSA pays retirement, disability, and survivor benefits to foreign addresses in most countries. You apply through the SSA in the normal way (online, by phone, or at an overseas Federal Benefits Unit if available in your country). Benefits are paid in US dollars via wire transfer or, in some countries, via local currency arrangements.
There are a small number of countries to which the SSA will not send payments due to US Treasury Department restrictions. The list is maintained on the SSA international payments page — as of 2026 it includes Cuba and North Korea. For virtually all other countries where H-1B workers return, payments flow normally.
If you have fewer than 40 credits but your country has a totalization agreement
The agreement's totalization provision kicks in. Your US credits are combined with your home-country credits to determine whether you meet the minimum threshold. If the combined total crosses the threshold, you receive a pro-rated benefit from the US based on how many US credits you actually earned, and a separate benefit from your home country's system based on your credits there.
For example: a German engineer works 6 years in the US (earning roughly 24 US credits) and 20 years in Germany's statutory pension system. Under the US-Germany totalization agreement, the combined 44 credits exceed the 40-credit threshold. She receives a US benefit calculated as if she had 40 qualifying years but prorated to 24 actual US years, plus a full German pension calculated on her 20 German work years.
The step-by-step process for claiming benefits from abroad
- Verify your earnings record at ssa.gov before you leave the US. Correct any errors while you still have easy access to US employers and pay records.
- Determine your credit count. If under 40, check whether your home country has a totalization agreement.
- Note your Social Security Number (SSN). You will need it to claim benefits even decades later.
- Contact the SSA Federal Benefits Unit nearest to where you settle, or use the SSA online application (available from any country with internet access).
- If your country has a totalization agreement, contact both the SSA and the equivalent agency in your home country. Each country processes its own portion of the benefit.
- If your country does not have a totalization agreement and you have fewer than 40 credits, continue tracking the situation. A future agreement could retroactively count your credits.
For context on how these benefits interact with your overall US financial picture, our guide on US employee benefits including 401(k) and health insurance covers the broader benefits landscape worth thinking through before you leave.
FICA and your green card path
The interaction between FICA taxes, Social Security credits, and your green card timeline is worth understanding together. Many H-1B holders eventually file for permanent residence — typically via EB-2 or EB-3 with PERM labor certification, or via EB-2 NIW self-petition, or in some cases EB-1A for extraordinary ability. See our PERM and green card while on H-1B guide for the full pathway.
From a Social Security standpoint: the day you become a permanent resident, you continue earning FICA credits exactly as before. There is no change in tax treatment or benefit calculation. The meaningful difference is that permanent residents have no visa-based reason to leave the US involuntarily, making the long-term accumulation of 40 credits much more likely.
For workers from countries with long EB-2 India or EB-3 India backlogs, the practical reality is that many will accumulate 15, 20, or even 25 years of US work before receiving their green card — which means they will have well over 40 Social Security credits before they even reach the permanent resident milestone.
Common mistakes
Assuming you will never benefit from FICA because you plan to return home. Plans change. Many workers who arrived expecting to stay 3-5 years are still in the US 15 years later. Even if you do return home, your credits are sitting there if you ever come back or if a totalization agreement is signed.
Not checking your SSA earnings record for errors. Employer payroll mistakes, name mismatches between your work authorization documents and your SSN record, and reporting errors can all cause missing credits. If a year's wages are not showing on your SSA record, the window to correct it with W-2s and employer records closes over time.
Confusing the FICA exemption for F-1 OPT with an H-1B exemption. There is no FICA exemption for H-1B holders. This confusion causes some workers to not notice incorrect withholding (or to notice missing withholding) until they receive a tax bill.
Not requesting a FICA refund when entitled to one as an OPT worker. If your employer withheld FICA during your F-1 OPT period within the five-year window, that money is refundable. Many workers never claim it because they do not know the process.
Assuming the India-US totalization agreement is imminent. Negotiations have been ongoing for years without a signed agreement. Do not factor a future agreement into your retirement planning unless and until it is signed and in force.
Leaving the US without noting your SSN and SSA earnings record. SSNs do not expire and the SSA record is permanent, but locating your number and verifying your record is far easier while you are still in the US with access to your documents and prior employers.
Confusing Social Security taxes with income taxes. FICA taxes are separate from federal income taxes. Tax treaties (which affect income tax obligations and can allow certain visa holders to claim treaty benefits on Form 8833) generally do not affect FICA liability. See our overview of filing Form 8833 for tax treaty claims for income tax treaty detail.
Frequently asked questions
Do H-1B visa holders pay Social Security and Medicare taxes?
Yes. H-1B holders are considered resident aliens for employment tax purposes from their first day of work, which means FICA taxes — 6.2% Social Security plus 1.45% Medicare — are withheld from every paycheck. Unlike F-1 students in their first five years, there is no FICA exemption for H-1B workers.
Can I get a FICA refund as a non-resident or OPT worker?
F-1 students and J-1 exchange visitors in their first five calendar years in the US are exempt from FICA withholding on wages. If your employer incorrectly withheld FICA, you can claim a refund by filing IRS Form 843 and Form 8316. Once you transition to H-1B or exceed the five-year non-resident window, the exemption ends and no refund is available.
What is a totalization agreement and does the US have one with India?
A totalization agreement is a bilateral Social Security treaty between two countries that prevents workers from paying into both countries' systems simultaneously and allows credits earned in each country to be combined to qualify for benefits. As of 2026, the US has agreements with 30 countries — but India is not one of them, meaning Indian H-1B holders pay US FICA with no credit-counting mechanism between the two systems.
Can I collect US Social Security benefits if I return to my home country?
If you have worked at least 40 quarters (10 years) in the US and paid FICA throughout, you are eligible for Social Security retirement benefits regardless of where you live when you claim them. The SSA pays benefits to foreign bank accounts in most countries. If your country has a totalization agreement with the US, you may be able to qualify with fewer than 40 US credits by combining credits from both countries.
What happens to my Social Security credits if I leave the US before accumulating 40 quarters?
Your credits stay on your SSA earnings record indefinitely and never expire. If you return to the US later — on a new visa or as a permanent resident — you can continue accumulating credits where you left off. If the US ever signs a totalization agreement with your home country, those existing credits may become combinable with domestic credits retroactively.
FICA taxes are a significant payroll deduction, and the question of whether they will ever benefit you is a fair one. The answer depends heavily on how long you stay in the US and where you are from. For workers from totalization-agreement countries, the system is designed to follow you across borders. For workers from India, China, and most of Asia — a large portion of the H-1B population — the credits are real, they are yours, and they do not disappear, but they require 40 quarters of US work or a future agreement to become collectable as benefits.
The practical advice: check your SSA record now, correct any errors, and plan your career with the credit math in mind. Ten years of US work history is a threshold worth tracking toward — and for many H-1B holders who are already several years in, it may be closer than they think.
Have questions about the financial side of your US job search and visa journey? Reach out to F1Jobs — we help international professionals think through the full picture, not just the job offer.
Frequently asked questions
Do H-1B visa holders pay Social Security and Medicare taxes?
Yes. H-1B holders are considered "resident aliens" for employment tax purposes from their first day of work, which means FICA taxes — 6.2% Social Security plus 1.45% Medicare — are withheld from every paycheck. Unlike F-1 students in their first five years, there is no FICA exemption for H-1B workers.
Can I get a FICA refund as a non-resident or OPT worker?
F-1 students and J-1 exchange visitors in their first five calendar years in the US are exempt from FICA withholding on wages. If your employer incorrectly withheld FICA, you can claim a refund by filing IRS Form 843 and Form 8316. Once you transition to H-1B or exceed the five-year non-resident window, the exemption ends and no refund is available.
What is a totalization agreement and does the US have one with India?
A totalization agreement is a bilateral Social Security treaty between two countries that prevents workers from paying into both countries' systems simultaneously and allows credits earned in each country to be combined to qualify for benefits. As of 2026, the US has agreements with 30 countries — but India is not one of them, meaning Indian H-1B holders pay US FICA with no credit-counting mechanism between the two systems.
Can I collect US Social Security benefits if I return to my home country?
If you have worked at least 40 quarters (10 years) in the US and paid FICA throughout, you are eligible for Social Security retirement benefits regardless of where you live when you claim them. The SSA pays benefits to foreign bank accounts in most countries. If your country has a totalization agreement with the US, you may be able to qualify with fewer than 40 US credits by combining credits from both countries.
What happens to my Social Security credits if I leave the US before accumulating 40 quarters?
Your credits stay on your SSA earnings record indefinitely and never expire. If you return to the US later — on a new visa or as a permanent resident — you can continue accumulating credits where you left off. If the US ever signs a totalization agreement with your home country, those existing credits may become combinable with domestic credits retroactively.