Skip to main content
BLOGS | WORK PERMIT

What Happens to Your Social Security Deductions If You Leave the U.S. Before 10 Years of Work?

Every paycheck on an H-1B, a TN, or most other work visas, 6.2 percent of your wages goes to Social Security, matched by another 6.2 percent from your employer. In 2026, that tax applies to wages up to $184,500. Over nine years of a mid-level salary, that adds up to real money.
Published: October 13, 2026 | Last updated: October 13, 2026 | By Shawn S. Sedaghat, Immigration Attorney

Most people assume that money is sitting somewhere with their name on it, waiting for them. It isn't. Social Security doesn't work like a savings account, and understanding what actually happens to those years of withholding, especially if you leave the country before hitting the ten-year mark, matters a lot more than most visa holders realize.

Key Statutes

  • Insured status requirement for retirement benefits: 42 U.S.C. § 414
  • Quarter of coverage, earnings needed per credit: 42 U.S.C. § 430
  • FICA exemption for certain nonimmigrant students and scholars: 26 U.S.C. § 3121(b)(19)
  • Nonresident alien tax withholding on Social Security benefits: 26 U.S.C. § 871(a); 20 C.F.R. § 422.113
  • U.S.-India Income Tax Treaty, government service exemption: Article 20(1)

Why 40 Credits Is the Number That Matters

Social Security retirement benefits require what the Social Security Administration calls insured status, and that status is built on credits, not dollars sitting in an account. You earn one credit for a fixed amount of covered earnings each year, and you can earn a maximum of four credits per year regardless of how much you make beyond that threshold.

In 2026, one credit requires $1,890 in earnings, and four credits, the annual maximum, requires $7,560. Most H-1B and L-1 workers earning a typical salary hit the four-credit cap within the first few months of any calendar year. At that pace, forty credits takes roughly ten years of work, which is where the familiar "ten years" shorthand comes from.

The credit count determines only whether you're eligible to receive a retirement benefit at all. It has nothing to do with how large that benefit will eventually be. Benefit amounts are calculated separately, based on your actual lifetime earnings history once you're insured.

EXPLORE TEMPORARY WORK VISAS

Plan Your U.S. Work Visa and Departure Strategy

H-1B, L-1, TN, and other temporary work visas can affect how long you remain employed in the United States and when you may need to plan for a departure, extension, transfer, or longer-term immigration strategy.

Learn More Explore H-1B, L-1, O-1, and other temporary work visa options.

Leaving at 39 Credits

This is the scenario that catches people off guard. If you leave the United States, or simply stop working in Social Security covered employment, with 39 credits instead of 40, you are not eligible to receive a retirement benefit under current law. Not a reduced benefit, not a partial payout. None.

The payroll tax you and your employer paid in isn't refunded either. Unlike an overfunded 401(k) or an escrow account, Social Security taxes aren't held in an individual account that reverts to you if you don't qualify. The money funds the broader system, and your right to draw from it depends entirely on whether you cleared the credit threshold.

For someone on an H-1B who leaves the U.S. in year nine, this is a real financial loss, not a technicality. It's one more reason the timing of a departure, where the visa and immigration calendar allows for it, is worth thinking through alongside everything else.

There Is No Totalization Agreement With India

Many countries have what's called a totalization agreement with the United States, a treaty that lets years worked in one country count toward the insurance threshold in the other, so a worker who splits a career between two countries doesn't lose credit for time spent in either system.

The United States does not currently have a totalization agreement with India. As of 2026, India is actively pursuing one, and the two governments have exchanged data on their respective systems as an early step toward negotiation, but no agreement exists yet. Until one is signed and ratified, years worked in the U.S. under American Social Security withholding do not count toward any Indian retirement scheme, and years contributed to an Indian system before arriving in the U.S. don't count toward the 40-credit threshold either. Workers from countries that do have a totalization agreement with the U.S., several European and a handful of other nations, are in a meaningfully different position.

What Doesn't Disappear

The picture isn't as bleak as "leave before year ten and you lose everything" suggests, and a few details matter here.

Your credits never expire. If you leave the U.S. at 28 credits and come back years later on a different visa, or even as a permanent resident, those 28 credits are still sitting on your earnings record. You pick up exactly where you left off rather than starting over, and years spent earning credits at different points in your life, even decades apart, all count toward the same 40-credit total.

Once you actually cross 40 credits and later move abroad, you can generally continue receiving your retirement benefit while living outside the United States, including while living in India. The catch is tax withholding. The Social Security Administration withholds a flat 30 percent tax from 85 percent of the benefit paid to a nonresident alien, which works out to 25.5 percent of the total monthly amount, unless a specific treaty exception applies. The U.S.-India income tax treaty does provide one narrow exception, under Article 20(1), for the portion of a benefit based on U.S. federal, state, or local government employment, but it does not exempt benefits built from ordinary private-sector wages, which is the situation for the large majority of H-1B and L-1 workers.

The F-1 Years May Be Refundable, Separately From Any of This

If your U.S. work history started on an F-1 student visa before moving to H-1B or another status, there's a separate issue worth checking that has nothing to do with the 40-credit question.

Under 26 U.S.C. § 3121(b)(19), nonresident alien students on F-1, J-1, M-1, and certain other visa categories are exempt from FICA withholding, Social Security and Medicare tax, for a defined period, generally the first five calendar years present in the United States as a student. If an employer withheld Social Security and Medicare tax from your paycheck during that exempt window anyway, which happens often, particularly during CPT or OPT employment, you may be entitled to a refund of that specific withholding. This is independent of your credit count. A refund of improperly withheld FICA tax during your F-1 years doesn't reduce or remove credits you've already earned during a later H-1B period; it's simply money that should never have been withheld in the first place.

Need Help with Your Immigration Case?

A knowledgeable and dedicated lawyer is where cases are won or lost. Shawn Sedaghat Law has helped thousands of families document their immigration cases. Contact us at (818) 382-3333 for a free evaluation of your case.

What to Do Before You Leave

If you're approaching a departure and you're not sure exactly how many credits you've accumulated, the Social Security Administration will show your earnings record and credit total through a my Social Security account, and it's worth checking before you finalize any travel or departure plans. If you're close to 40, even a few more months of covered employment can be the difference between walking away with insured status and walking away with none.

If you're already past 40 credits and planning to receive benefits from abroad eventually, understanding the withholding rules now, rather than discovering them after benefits start, helps you plan realistically around what you'll actually receive. And if your early years in the U.S. were on F-1 status, it's worth a separate check into whether any improperly withheld FICA tax from that period is still recoverable.

If you have questions about how your visa history affects your Social Security credits, or how departure timing interacts with your broader immigration plans, contact the Law Offices of Shawn S. Sedaghat at (818) 382-3333.

FAQ

How many Social Security credits do I need to qualify for retirement benefits?


Forty credits, which typically takes about ten years of work at a typical full-time salary, since most workers earn the maximum four credits allowed per year well within the calendar year.

What happens to my Social Security withholding if I leave the U.S. with 39 credits?


You are not eligible for retirement benefits, and the withheld taxes are not refunded. The credits remain on your record permanently, but they don't convert into any payment until you reach 40.

Do my Social Security credits expire if I leave the country?


No. Credits earned stay on your Social Security earnings record indefinitely. If you return to covered employment later, even years later, you continue accumulating from where you left off.

Can I receive Social Security retirement benefits while living in India?


Yes, once you've reached 40 credits and otherwise qualify. The Social Security Administration will generally withhold 25.5 percent of the monthly benefit as nonresident alien tax, unless a specific treaty provision applies.

Does the U.S.-India tax treaty eliminate that withholding?


Only for the portion of a benefit based on U.S. federal, state, or local government employment. It does not exempt benefits based on ordinary private-sector wages, which covers most H-1B and L-1 workers.

Can I get a refund of Social Security tax withheld during my F-1 student years?


Possibly, if your employer withheld FICA tax during your first five calendar years in the U.S. as an F-1 student, when you should have been exempt under 26 U.S.C. § 3121(b)(19). This is a separate issue from your credit count and worth checking independently.

 

This article discusses general legal principles. Nothing here constitutes legal advice or creates an attorney-client relationship. Social Security credit values, withholding rates, and tax treaty provisions change; confirm current figures with the Social Security Administration or a qualified tax professional before relying on this article.

Shawn S. Sedaghat is an immigration attorney at Law Offices of Shawn S. Sedaghat focused on deportation defense, immigration appeals, asylum, family-based immigration, and employment-based immigration. He is the firm's founder and principal attorney and has more than 30 years of experience handling U.S. immigration matters.

ABOUT OUR FIRM

Law Offices of Shawn S. Sedaghat

Immigration Law Firm

The Law Offices of Shawn S. Sedaghat is a Los Angeles immigration law firm with 30+ years of experience and more than 12,000 immigration cases handled. We represent individuals, families, and businesses in deportation and removal defense, asylum, employment-based immigration, family-based matters, appeals, and other complex U.S. immigration cases.

FREE CASE EVALUATION

Planning to Leave the U.S. Before 10 Years of Work?

Tell us about your current or prior visa status, how long you have worked in the United States, whether you are approaching a departure, and any pending immigration petitions or long-term plans. Our team can review how your departure timing fits into your broader immigration strategy and help you understand your available options.

Please complete all required fields marked with an asterisk (*) and check the “I’m not a robot” CAPTCHA box before submitting your form.