The H-1B Holder’s Complete Guide to the 401(k)

You’re on an H-1B. Your employer offers a 401(k) with a match. Every American colleague says “max it out” — but none of them might move to another country in five years. Here’s the version of the answer that includes you.

The 60-second version

For most visa holders, contributing at least up to the employer match is worth it even if you leave the US — the match is an instant 50–100% return that survives your departure. Beyond the match, the answer depends on how likely you are to leave, when, and to where. The account doesn’t vanish when you go: it stays invested, stays yours, and has several exit paths, each with different tax outcomes.

What a 401(k) actually is (skip if you know)

A 401(k) is an employer-sponsored retirement account. “Traditional” contributions come out of your paycheck before tax — you pay income tax later, when you withdraw. Many employers match part of what you put in (e.g., 100% of your first 4%). The 2026 employee contribution limit is $24,000 ($23,500 in 2025). Withdrawals before age 59½ generally incur income tax plus a 10% early-withdrawal penalty, with limited exceptions.

The question nobody answers: what if I leave?

Leaving the US does not forfeit your 401(k). You stop contributing, but the account remains yours and stays invested. At departure you have four broad paths:

  • Leave it where it is. Simplest. It keeps compounding; you withdraw in retirement under whatever treaty rules then apply. Watch for old-plan fees and keep your login and a US address on file updated.
  • Roll it into an IRA. More investment choice and easier management from abroad — though some brokerages restrict accounts for non-US residents, so confirm the broker’s policy for your future country before rolling.
  • Withdraw after you’ve left, in a low-income year. The classic repatriation play: once you’re a non-resident with little US income, staged withdrawals can land in low US tax brackets. The 10% penalty still applies before 59½, and your new country may tax the money too — treaty rules decide who taxes what.
  • Cash out at departure. Usually the worst option: full US income tax at your peak earnings rate, plus the 10% penalty. It’s your money minus a large avoidable haircut.

The India example

Under the US–India tax treaty, US-source retirement withdrawals are generally taxable by the US, and India taxes its residents on worldwide income with a foreign tax credit for US tax paid — so you typically don’t pay twice, but you do pay the higher of the two rates. India also offers a returning-NRI status (RNOR) for roughly the first two to three years back, during which certain foreign income isn’t taxed in India — a window many returnees use for withdrawals. The specifics move; this is exactly the decision to confirm with a cross-border professional in your departure year.

A simple decision framework

  • Always take the full employer match — leaving 50–100% instant return on the table is the one clear mistake, whatever your plans.
  • Likely staying 10+ years or pursuing a green card? The standard American advice applies: contribute as much as you comfortably can.
  • Likely leaving within ~5 years? Match first; then weigh extra contributions against goals that travel with you — taxable brokerage investing, or savings for a home wherever home ends up.
  • Genuinely unsure? That’s most people. Match first, revisit yearly. Uncertainty is a reason to stay flexible, not a reason to skip free money.

Common myths, quickly

  • “I lose my 401(k) if my visa ends.” False. The money is yours regardless of immigration status.
  • “I can’t invest in the US on a visa.” False. Visa holders can hold 401(k)s, IRAs, and brokerage accounts while US tax residents.
  • “Cashing out at departure is cleanest.” It’s the most expensive kind of clean — often 35–45% lost to tax and penalty.

Planning a move? Work through The Leaving America Financial Checklist.

Run your own numbers: the 401(k)-on-a-visa calculator shows the stay-vs-leave math for contributions beyond the match — and how much your withdrawal timing changes it.

Education, not advice. WealthyFied publishes general financial education for immigrants in the US. Nothing here is personalized investment, tax, or legal advice — your situation is unique, so run big decisions past a qualified cross-border professional. Some links are affiliate links; see our disclosure.

More guides

Browse all →