“Cash it out before you leave — otherwise you lose it.”
You’ll hear some version of this in every H-1B group chat, usually from someone who heard it from someone else. It’s confidently stated. It’s repeated a lot. And it’s wrong — expensively, irreversibly wrong.
Here’s what actually happens when you leave the U.S. on an H-1B: nothing happens to your 401(k). Nobody freezes it. Nobody confiscates it. Your investments keep compounding whether you’re in Austin or Bangalore or Seoul. What changes is how the U.S. taxes the money when you eventually take it out — and that’s a decision you control, not a penalty you absorb.
The people who lose real money aren’t the ones who left it behind. They’re the ones who cashed out on the way to the airport because a rumor told them to. If you’re still fuzzy on the account itself, our guide to what a 401(k) is and how it works covers the basics — this article picks up where that one stops.
What actually happens to the account when you leave
A 401(k) is a contract between you and the plan, governed by federal law. Your immigration status was never part of that contract. Your H-1B expiring is an immigration event. Your account is a financial one. They don’t touch.
So the account stays open. The money stays invested. You choose when to withdraw. The only thing that shifts is your tax status — you become a nonresident alien, and a different set of withholding rules takes over.
There is one real loss, and it has nothing to do with leaving the country: vesting. Your own contributions are always 100% yours, no exceptions. Employer matching money often isn’t — plans commonly require a few years of service before the match is fully yours. Quit at year two of a four-year schedule and you forfeit part of it. That’s tied to your last day of employment, not your departure date. Worth checking before you hand in notice.
Two practical wrinkles that catch people:
Small balances can be forced out. Plans are allowed to automatically cash out or roll over accounts below a set threshold once you leave the company. Check your plan’s number. Don’t assume the account will just sit there quietly.
Foreign addresses cause friction. Some administrators handle an overseas address without blinking. Others make it miserable — no online access, mailed paper checks, phone support that can’t verify you across a time zone. Test this while you’re still here, not after.
The 30% rule everyone quotes — and the exception they miss
Quick answer: The 30% flat rate you keep reading about is the default, not the whole rule. The IRS applies graduated rates instead to any part of a distribution that came from work you performed in the U.S. after 1966 — which describes essentially every dollar in an H-1B’s 401(k).
Search this topic and you’ll hit the same sentence everywhere: nonresidents get hit with a flat 30%. Every blog. Every forum reply. It’s the one fact everyone knows.
It’s also half the rule.
The IRS states the default plainly — absent a treaty exemption, 30% applies to the entire U.S.-source distribution. Then, in the very next breath, it carves out an exception that almost nobody quotes:
If any part of the distribution traces back to “personal services performed in the U.S. after December 31, 1966” — that portion is withheld at graduated rates, not the flat statutory 30%.
— Paraphrased from the IRS, “Tax withholding types” (page updated June 2026)
Read that again with your own account in mind. Every dollar in your 401(k) got there because you worked in the United States. After 1966. So this isn’t some obscure edge case buried in a footnote — it’s the normal case for an H-1B worker.
Graduated rates are the same progressive brackets you were already living under as a resident. Depending on the size of your distribution, that can land meaningfully below 30%.
Now the catch, and this is the part you won’t find anywhere: what the rule says and what your plan administrator does aren’t the same thing. Plenty of administrators withhold 30% flat because computing graduated rates for a foreign payee is a headache they’d rather skip. It’s easier to over-withhold and let you sort it out.
If that happens, you’re not stuck. You file Form 1040-NR for that tax year and reconcile. Over-withheld money comes back as a refund. It’s annoying. It’s not a loss.
Where tax treaties fit in
The U.S. has income tax treaties with dozens of countries, and most contain a private pensions article. The mechanics are simple: you file Form W-8BEN with your plan administrator — not with the IRS — certifying your foreign status and naming the treaty article you’re claiming. No W-8BEN on file and the payer has no choice but to withhold at the statutory rate. The form expires every three years. Put it in your calendar now.
Here’s the honest part, and we’d rather tell you than let you find out later: how treaties treat a lump sum versus periodic payments is genuinely unsettled. Pension articles typically say pensions are taxable only in your country of residence. But a one-time full withdrawal may not qualify as a “pension” at all — it can land in the treaty’s Other Income article instead, which can leave both countries with a claim on the same money. Some practitioners argue OECD commentary pulls lump sums back under the pension article. Others disagree. Courts haven’t settled it for every treaty.
We’re not going to pretend that’s resolved when it isn’t. What we will say: if your balance is meaningful and you’re eyeing a lump sum, this specific question is what a cross-border tax professional exists for. One hour. It’s the cheapest hour in this entire process.
Your four options — and what each one actually costs
Quick answer: Leave it in the employer plan, roll it into a Traditional IRA, cash it out, or wait and take payments after 59½. Rolling over and leaving it alone cost you nothing today. Cashing out is the expensive one — income tax plus a 10% penalty if you’re under 59½.

| Option | U.S. tax now | 10% penalty under 59½ | Keeps growing? | Best for |
|---|---|---|---|---|
| Leave it in the plan | None | No | Yes | Anyone who’d rather do nothing than do something wrong |
| Roll to a Traditional IRA | None (direct rollover) | No | Yes | More fund choice, lower fees, one account to track |
| Cash out | Withholding + income tax | Yes | No | Real emergencies. That’s the whole list. |
| Wait, then take periodic payments | Deferred; treaty may apply | No (after 59½) | Yes, then draws down | Anyone with 15+ years to retirement |
Rollover mechanics matter more than people expect. A direct rollover moves money plan-to-custodian without it ever touching your hands, and nothing gets withheld. An indirect rollover pays you first and starts a 60-day clock to redeposit the full amount. Miss that window and the entire balance becomes a taxable distribution, penalty included. Choose direct. Every time.
And now the myth that costs the most money, because it sounds so reasonable: you cannot roll a U.S. 401(k) into your home country’s pension system. Not an Indian NPS. Not a Korean IRP. Not anything. U.S. tax law simply doesn’t recognize a foreign scheme as a rollover destination. Withdraw the money and wire it home yourself and what you’ve actually done is cash out — with every tax and penalty attached.
To roll over, you need a U.S. IRA on the receiving end, which means a brokerage relationship that still works once you have a foreign address. Not every firm does. We compared the ones that do in our guide to the best brokerages for non-residents and visa holders.
What about your Roth IRA?
Your IRAs survive the move too. The accounts stay open, the money keeps compounding, and the rules don’t change because your address did.
What stops is contributions. An IRA requires U.S. earned income, and once you’re working abroad you don’t have any. The tap closes. The tank keeps growing.
Think of a Roth IRA as two buckets in one account. Bucket one is what you put in. Bucket two is what it grew into.
Bucket one comes out whenever you want — any age, no tax, no penalty. You already paid tax on that money before it went in and the IRS doesn’t charge twice.
Bucket two is stricter. To pull earnings out tax-free you generally need two things at once: the account has to be at least five years old, and you have to be 59½ or older. Miss either and the earnings portion is taxable, usually with the 10% penalty stacked on top.
Here’s the part worth sitting with: leaving the U.S. doesn’t restart that five-year clock. The Roth you opened in your second year on an H-1B keeps aging regardless of which passport line you stand in. Time is doing the work, not geography.
Got a Roth 401(k) at work? Rolling it into a Roth IRA generally isn’t a taxable event — both are after-tax money, so nothing changes character in transit. New to the distinction? Our breakdowns of how a Roth IRA works and Roth vs. Traditional cover the fundamentals.
The 2026 numbers, for reference
| Account | 2026 limit |
|---|---|
| 401(k) employee deferral | $24,500 |
| 401(k) catch-up (age 50+) | $8,000 |
| 401(k) employee + employer combined | $72,000 |
| IRA (Traditional or Roth) | $7,500 |
| IRA catch-up (age 50+) | $1,100 |
| Roth IRA phase-out — single | $153,000 – $168,000 |
| Roth IRA phase-out — married filing jointly | $242,000 – $252,000 |
Those phase-out ranges bite harder than H-1B workers expect. A senior engineer in the Bay Area can price themselves out of direct Roth contributions entirely. Good problem. Different article.
The $60,000 problem nobody mentions
Here’s one that almost never makes it into these guides, and it should.
If you die while holding U.S. assets as a nonresident, your estate gets a federal estate tax exemption of $60,000. Not the multi-million-dollar figure U.S. citizens get. Sixty thousand. Rates climb from 18% to 40% above that line, and your 401(k), IRA, and U.S. brokerage account all count toward it.
Sit with the asymmetry for a second. A U.S. citizen dies holding $2 million in retirement accounts and owes zero federal estate tax. A nonresident dies holding the same $2 million and the exemption is sixty thousand dollars.
Most people never learn this. Their families do.
Two things keep it from being a five-alarm fire. First, an estate tax treaty — where one exists between the U.S. and your country — can change the math substantially. Second, this only becomes a real number when your balance is large, which means you have years to plan around it.
What it is not is a reason to panic-liquidate a $40,000 account. The tax and penalty you’d eat today are certain. The estate exposure is a scenario. Never trade a certainty for a hypothetical.
What we’d actually do
For most H-1B workers heading home, the boring answer is the right one: keep the money in the U.S. system. Roll it into an IRA at a firm that serves overseas clients, set it, forget it, and let three or four decades of compounding do what compounding does. The U.S. market doesn’t care where you live. Your money can stay invested in it for the rest of your life.
The cash-out impulse isn’t financial. It’s emotional. It feels like closing a chapter cleanly. What it actually is, is paying income tax plus a 10% penalty for the privilege of feeling tidy. That’s an expensive feeling.
But we’re not going to pretend it’s universal. If you’re carrying high-interest debt back home, or facing a genuine cash crunch, or your balance is small enough that the tax hit is trivial — the math can flip. Run your own numbers. No article can do that part for you.
⏱ Your Departure Timeline
90 days out
- Pull your vesting schedule from the plan portal. Find out exactly how much of the employer match is yours, and on what date.
- Open a U.S. IRA while you still have a U.S. address and easy identity verification. This gets significantly harder from abroad.
30 days out
- Call the plan administrator. Two questions: can I keep this account with a foreign address? and what’s your force-out threshold for small balances?
- Update every contact detail on file — email, phone, address.
- Keep one U.S. bank account open. Distributions and rollovers move far more smoothly with a U.S. account on the receiving end.
After you land
- File Form W-8BEN with the plan or custodian. Calendar the three-year renewal — let it lapse and withholding snaps back without warning.
- Balance over roughly $100,000, or considering a lump sum? Book one hour with a cross-border tax professional. It pays for itself several times over.
Rule of thumb: if you’re under 59½ and not in a real emergency, roll it over and leave it alone.
🎯 The Bottom Line
Leaving the U.S. doesn’t cost you your 401(k) — cashing it out does. Roll it into an IRA at a broker that serves clients abroad, file your W-8BEN, and let it compound while you build your life somewhere else. The rumor in the group chat is wrong. Your money can stay.
Frequently asked questions
Can I keep my 401(k) after my H-1B expires?
Yes. A 401(k) is tied to your employment history, not your immigration status. Your visa expiring has no effect on the account. You keep it, it stays invested, and you decide when to withdraw.
Will I really be taxed 30% on my 401(k) as a nonresident?
Often, no. The 30% statutory rate is the default for nonresidents, but the IRS applies graduated rates to any portion of a pension distribution arising from personal services performed in the U.S. after December 31, 1966 — which describes essentially every H-1B 401(k). If your administrator withholds 30% flat anyway, you reconcile by filing Form 1040-NR and can receive a refund.
Can I move my 401(k) to my home country’s retirement plan?
No. U.S. tax law doesn’t permit a rollover into a foreign retirement scheme. If you withdraw the money and deposit it abroad yourself, the IRS treats that as a cash-out — full income tax, plus the 10% penalty if you’re under 59½.
Can I still contribute to my Roth IRA after I leave the U.S.?
Generally no. IRA contributions require U.S. earned income, and once you’re employed abroad you no longer have any. The account stays open and keeps growing — you just can’t add to it.
Do I need to keep a U.S. address or SSN?
Your SSN doesn’t expire and remains valid for tax reporting permanently. A U.S. address isn’t legally required, but it removes a lot of friction — some plan administrators and brokerages handle foreign addresses poorly. Keeping one, along with a U.S. bank account, makes everything downstream easier.
Earlier in the journey? Start with whether a non-U.S. citizen can open a brokerage account — it covers the tax-status question that drives everything else. Still on a student visa? Our F-1 student investing guide handles those rules separately.
📚 Sources
- IRS — Tax withholding types (pensions & the graduated-rate exception)
- IRS — 401(k) limit increases to $24,500 for 2026, IRA limit increases to $7,500
- IRS — Publication 515, Withholding of Tax on Nonresident Aliens and Foreign Entities
- IRS — NRA withholding
- IRS — The taxation of foreign pension and annuity distributions
- Charles Schwab — U.S. Tax Rules Foreign Investors Should Know
Contribution limits and withholding rules are current for 2026 and change annually. Verify at irs.gov before acting.
✍️ 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.
⚠️ Disclaimer
Educational only. This article is general information — not personalized financial, investment, tax, or legal advice. We are not attorneys or tax professionals.
Cross-border tax is fact-specific. Treaty benefits, residency status, and estate tax exposure all depend on your individual circumstances and your country of residence. Treaty treatment of lump-sum distributions is genuinely unsettled.
U.S. rules only. We cover U.S. tax treatment. We do not address the tax law of any other country — consult a professional in your home jurisdiction.
Risk. Investing involves risk, including possible loss of principal. Please speak with a licensed cross-border tax or financial professional before deciding. See our full Disclaimer.
Published: July 19, 2026 · Last updated: July 19, 2026 · Reviewed by the KoruVest Editorial Team
