Social Security Tax on F-1 and H-1B: Who Gets It Back? (2026)

Pull up your last paystub. Find the line that says FICA, or “Social Security” and “Medicare.” That’s 7.65% of your gross pay, gone every single check.

Now the question nobody answers clearly: is that money ever coming back to you?

The answer splits hard depending on your visa. If you’re an F-1 student, you probably shouldn’t be paying it at all — and if your employer withheld it, you can claim a full refund. If you’re on H-1B, you have to pay it, and whether you ever see anything from it depends on two things most people have never heard of: a credit count, and whether your home country has an agreement with the US.

Let’s take both paths.

What FICA actually is

Quick answer: FICA is the payroll tax that funds US Social Security and Medicare. Employees pay 6.2% for Social Security and 1.45% for Medicare — 7.65% total — and the employer matches it. It’s not an investment account with your name on it. It’s a tax that buys you eligibility for future benefits, if you stay long enough to qualify.

That last sentence is the part that trips people up.

Your 401(k) is yours. There’s a balance, it has your name on it, and it follows you wherever you go. FICA is nothing like that. There’s no account, no balance, no statement showing “your” money. You’re paying into a system, and in exchange you accumulate credits toward future eligibility.

Which means the fair question isn’t “how do I withdraw it.” It’s “did I earn enough credits to ever collect.”

Fork diagram showing F-1 students are FICA exempt and can claim a refund while H-1B workers must pay and need 40 credits
Same paystub line. Two completely different outcomes.

If you’re on F-1: you probably shouldn’t be paying it

Quick answer: F-1 students who are nonresident aliens are exempt from Social Security and Medicare tax on wages tied to their visa purpose — on-campus jobs, CPT, and OPT. The exemption typically covers your first five calendar years. If your employer withheld FICA anyway, that was an error and you’re entitled to a full refund.

This is written into the tax code. Nonresident F-1 students working in jobs connected to their studies are exempt from FICA, and the exemption generally runs alongside the same five-calendar-year window that makes you a nonresident alien for tax purposes. If you’re new to that window, our F-1 student investing guide walks through how the five-year rule works.

Here’s the practical problem: most payroll departments don’t know this.

A campus payroll office that handles international students usually gets it right. A café near campus that hires an OPT student for the first time almost certainly doesn’t. Their payroll software sees an employee, applies FICA, and nobody catches it — including you, because 7.65% is easy to miss when you’re just glad the paycheck cleared.

How to get it back

Step one: ask your employer. This is the fast route. Bring your passport, I-94, I-20, and your work authorization, and ask payroll to refund the withheld FICA and correct your W-2. Many employers will fix it once they see the documentation. If it works, the money often shows up within a pay cycle or two.

Step two: file with the IRS. If your employer won’t or can’t fix it — the company closed, payroll refuses, it’s a past year — you file directly. You’ll need Form 843 (the refund claim) plus Form 8316 (the statement that your employer wouldn’t refund it), with your W-2, visa stamp, I-94, I-20, and work authorization attached.

Expect it to take a while. The IRS typically processes these in roughly three to four months.

⏳ There’s a deadline, and it’s real

You generally have three years from when the return was filed, or two years from when the tax was paid — whichever is later. After that the money is gone permanently. If you’re in year three or four of your program and you’ve never checked your paystubs, check them tonight. Several years of FICA on OPT wages can run well into four figures.

One more thing worth doing: file Form 8843 every year, even with zero income. It’s the form that documents your exempt status, and it’s the paper trail that supports a FICA refund claim later. Students skip it constantly and then have a harder time proving their case.

If you’re on H-1B: you pay, and here’s what you get

Quick answer: H-1B workers pay FICA like US citizens — there’s no exemption and no refund. To collect anything back, you need 40 credits, which takes about 10 years of US work. Fall short and the contributions are generally lost, unless your home country has a totalization agreement with the US that lets you combine work history.

No exemption. No refund path. Once you’re on H-1B and working, FICA applies exactly as it does to a US citizen down the hall.

What you’re buying is eligibility, measured in credits. You earn up to four per year, and 40 credits — roughly 10 years of covered work — is the threshold for US retirement benefits. Hit 40 and you can collect a US benefit later, and the US will generally pay it to you abroad for life. Fall short and, absent an agreement, that money simply doesn’t come back.

Read that again if you’re planning to go home at year six or seven. It’s the single most consequential number in this article.

The totalization agreement — and why your country matters enormously

Here’s the piece almost nobody explains to H-1B workers before they make the decision to leave.

The US has totalization agreements with about 30 countries. These do two things: they stop you from paying into two social security systems at once, and — the part that matters here — they let you combine credits from both countries to qualify. With an agreement, your seven years in the US plus your years back home can add up to eligibility. Without one, seven years is seven years, and it isn’t 40.

US totalization agreement status — selected countries (2026)
Country Agreement? What it means if you go home short of 40 credits
South Korea Yes Can combine Korean and US credits to qualify
Japan Yes Can combine credits
India No Contributions generally lost below 40 credits
China No Contributions generally lost below 40 credits
UK, Germany, Canada, Australia Yes Can combine credits

Look at that India and China row honestly, because it affects an enormous number of people. Two of the largest H-1B populations in the United States come from countries with no agreement in place. An Indian engineer who works seven years on H-1B, pays into Social Security every paycheck, and goes home has — under current rules — contributed to a system they’ll likely never collect from.

India has been pushing for an agreement for years. It hasn’t happened. Treat the current status as the planning assumption, not the permanent one, and check the SSA’s list before you make a decision based on it.

Two more details that matter if you’re close to the line:

Totalization has a floor. You generally need at least six US credits — about 18 months of work — before an agreement can help you at all. Below that, there’s nothing to combine.

The WEP repeal helped returnees. The Social Security Fairness Act, signed in January 2025, repealed the Windfall Elimination Provision. Previously, drawing a home-country pension could cut your US Social Security benefit substantially. That reduction is gone — good news for anyone who qualifies for both.

What to actually do about it

If you’re on F-1, this is straightforward and potentially worth real money: open your paystubs and look. If Social Security or Medicare tax was withheld while you were in your exempt window, start with payroll, and if that fails, file Form 843 with Form 8316. Watch the three-year clock.

If you’re on H-1B, the action is different: find out where you stand. Create an account at ssa.gov and check your credit count — most people have never looked. Then check whether your country has an agreement. Those two facts together tell you whether staying two more years changes anything, or whether the decision is already made.

And a word we’d rather say plainly than dress up: this shouldn’t be the reason you stay in a country. Ten years is a long time to spend chasing a benefit you’ll collect in your sixties. It’s a factor, not a plan. Where you build your life matters more than 40 credits.

If you’re weighing a return home, the retirement accounts you do own outright — your 401(k) and IRA — are a much bigger part of the picture. We covered those in detail in what happens to your 401(k) when you leave the US.

🎯 The Bottom Line

F-1 students are generally FICA-exempt — check your paystubs, because a refund is real money and the window is three years. H-1B workers can’t get a refund, but 40 credits earns a lifetime benefit, and a totalization agreement can bridge the gap. If you’re from India or China, there’s no bridge — plan accordingly.

Frequently asked questions

Are F-1 students exempt from Social Security and Medicare tax?

Generally yes. F-1 students who are nonresident aliens are exempt from FICA on wages connected to their visa purpose — on-campus work, CPT, and OPT — typically during their first five calendar years in the US. If FICA was withheld, it was withheld in error.

How do I claim a FICA refund as an F-1 student?

Ask your employer first, with your passport, I-94, I-20, and work authorization. If they won’t refund it, file Form 843 with Form 8316 and supporting documents directly with the IRS. Processing usually takes about three to four months.

Do H-1B workers pay Social Security tax?

Yes. H-1B holders pay FICA exactly like US citizens — 6.2% Social Security and 1.45% Medicare. There’s no exemption and no refund mechanism.

Can I get my Social Security contributions back if I leave the US?

Not as a refund. Social Security isn’t an account you withdraw from. If you earned 40 credits (about 10 years of covered work), you can collect a benefit later, generally payable abroad. Below 40 credits, and without a totalization agreement, the contributions are typically lost.

Does India have a totalization agreement with the US?

No. As of 2026, India has no agreement with the US, so Indian nationals can’t combine Indian and US work credits toward the 40-credit threshold. China also has no agreement. South Korea and Japan do. Check the SSA’s current list, since this can change.

New to the US tax system as a visa holder? Start with whether a non-US citizen can open a brokerage account — it explains the resident vs. nonresident test that drives your FICA status too. Investing while you’re here? See how the W-8BEN and 30% withholding rule work.

✍️ Written by the KoruVest Editorial Team

The KoruVest Editorial Team brings more than 40 years of combined experience in management consulting and corporate finance, including hands-on work in Asian capital markets. We explain investing in plain English, ground every article in primary sources (SEC, the Federal Reserve, FINRA, FDIC, the IRS), and never let commissions shape our recommendations.

Meet our editorial team →

📧 contact@koruvest.com  |  🌐 koruvest.com

⚠️ Disclaimer

Educational only. This article is general information — not personalized tax, immigration, or legal advice. We are not tax professionals or attorneys.

Individual facts control. FICA exemption depends on your visa type, your residency status for tax purposes, and whether the work was authorized and connected to your visa purpose. Refund eligibility and deadlines vary by situation.

Rules change. Totalization agreement status is set by treaty and can change. Confirm current status with the SSA before making decisions based on it.

Consult a professional — a cross-border tax specialist for refunds, and the SSA directly for benefit eligibility. See our full Disclaimer.

Published: July 22, 2026 · Last updated: July 22, 2026 · Reviewed by the KoruVest Editorial Team

Scroll to Top