You built a 401(k) while working in the United States. Now you are leaving the country.
The easiest mistake to make is assuming you need to cash out the account before you go.
You usually don’t.
Cashing out a traditional 401(k) before age 59½ can create ordinary income tax plus an additional 10% tax on the taxable portion of the distribution. If you are already a nonresident alien when the money is paid, U.S. withholding rules can also become more complicated, with 30% withholding generally applying to U.S.-source pension distributions unless a lower treaty rate or exemption applies.
That withholding is not necessarily your final tax bill. It is an amount withheld and sent to the IRS toward your eventual U.S. tax liability.
The important point is simpler:
Leaving the U.S. does not mean you have to empty your 401(k).
You can often leave the money invested, roll it into another U.S. retirement account, or move it into a new employer’s plan.
Here is what actually happens.
First: cashing out can be expensive
Traditional 401(k) contributions generally receive tax-deferred treatment. When you eventually take a taxable distribution, the taxable amount is generally included in your income.
If you take money out before age 59½, an additional 10% tax can apply unless an exception applies.
For example, suppose you have $50,000 in a traditional 401(k) and decide to withdraw the entire amount after leaving the U.S. at age 40.
The exact tax depends on your circumstances, but the distribution can potentially create:
- Federal income tax on the taxable distribution
- A 10% additional tax for an early distribution
- State tax in some circumstances
- U.S. withholding at the time of payment
- Potential tax consequences in your new country of residence
The 10% additional tax is separate from withholding.
That distinction matters.
Withholding is an advance payment toward tax. The 10% additional tax is an actual tax unless an exception applies.
What happens if you leave on H-1B or L-1?
Leaving the U.S. does not automatically terminate your 401(k).
Your first option may simply be to leave the money in your former employer’s plan, assuming the plan allows former employees to keep the account.
You may also have the option to:
- Roll the 401(k) into a traditional IRA.
- Roll it into another eligible employer retirement plan.
- Leave it in the existing 401(k).
- Take a distribution and pay the applicable taxes and penalties.
For many people, the first three options are worth considering before touching the money.
A direct rollover, where the money moves directly from one retirement account trustee to another, generally avoids treating the rollover as a taxable distribution. It also avoids the mandatory 20% federal withholding that can apply when an eligible rollover distribution is paid directly to you.
That is an important difference.
If your 401(k) administrator sends the money directly to another qualified retirement account, you generally do not receive the money personally and do not trigger the same withholding mechanism.
What if you are leaving permanently?
You can still keep a U.S. retirement account after moving abroad.
There is no general rule saying that an F-1, H-1B, L-1 or other temporary visa holder must cash out their 401(k) when they leave the United States.
The account can potentially remain invested for decades.
That can be particularly important if you are leaving in your 30s or 40s.
For example, someone leaving the U.S. at 35 could potentially have another 24 years before reaching age 59½.
Selling the investments and paying taxes and penalties today means giving up the opportunity for that money to continue growing tax-deferred inside the retirement account.
What if you are on F-1 or OPT?
The basic retirement-account rules do not disappear because you were in the U.S. on an F-1 visa.
If you worked in the U.S. and accumulated a 401(k), leaving the country does not by itself require you to withdraw it.
You can generally consider the same options available to other departing workers: leave the account where it is if permitted, complete an eligible rollover, or take a distribution.
Your immigration status and your tax residency are separate questions.
That distinction becomes particularly important after you move.
What about the 30% withholding after you leave?
This is where international workers can get caught off guard.
If you are a nonresident alien for U.S. tax purposes, U.S.-source pension distributions are generally subject to 30% withholding, unless a different rate or exemption applies under the tax code or an applicable tax treaty.
But do not confuse that 30% with a universal final tax rate.
The actual U.S. tax treatment depends on factors including:
- Whether you are a resident or nonresident for U.S. tax purposes
- The type of retirement account
- The type of distribution
- The country where you live
- The applicable U.S. tax treaty
- Whether the distribution qualifies for a treaty exemption or reduced rate
- Your individual circumstances
The IRS publishes tax treaty tables and guidance for determining whether treaty provisions apply.
So if you move from the U.S. to another country, do not assume that 30% withholding means you permanently lose 30% of the account.
It may simply be the amount withheld at the time of payment.
What if you roll the 401(k) into an IRA?
A traditional 401(k) can often be rolled into a traditional IRA without immediately recognizing the amount as taxable income, provided the rollover is completed correctly.
A direct trustee-to-trustee transfer is generally the cleanest approach.
But there is a practical issue for people already living abroad:
Not every U.S. brokerage is equally comfortable maintaining or opening accounts for customers with foreign addresses.
This is not the same thing as saying that U.S. law requires you to close the account.
Brokerages and custodians can have their own policies concerning customers who reside outside the United States.
Some may restrict purchases of certain securities, stop accepting new accounts from particular countries, or require additional documentation.
So if you are planning to move abroad, ask your existing 401(k) administrator and any prospective IRA provider before you leave.
Get the answer in writing.
The foreign-address trap
This is one of the least obvious problems for departing U.S. workers.
You may spend years thinking about the tax implications of your 401(k), only to discover after moving that your financial institution has restrictions for customers living in your new country.
That can affect:
- Whether you can open a new IRA
- Whether you can make additional investments
- Which investments you can purchase
- How the institution communicates with you
- Whether the institution will continue servicing the account
These are often custodian policies rather than immigration requirements.
That means you should not assume that because you are legally allowed to own a U.S. retirement account abroad, every brokerage will offer you the same services.
Ask before moving.
What about a Roth 401(k)?
Roth 401(k) money is different from traditional 401(k) money.
Contributions to a Roth 401(k) are made with after-tax dollars. A distribution can therefore have different tax treatment from a traditional 401(k).
For a Roth 401(k), a distribution is generally qualified when the applicable five-year requirement has been satisfied and the distribution occurs after age 59½, because of disability, or after death. Qualified distributions can generally be made tax-free.
Early withdrawals can be more complicated because the tax treatment of contributions and earnings is different.
That makes a Roth account particularly important to analyze before withdrawing it.
And if you move abroad, there is another issue:
Your new country may not treat a Roth account the same way the United States does.
A U.S. Roth tax treatment that is favorable under U.S. law is not automatically recognized by every foreign tax system.
If the account is substantial, check the tax treaty and the rules of your new country before assuming the Roth will remain tax-free there.
What about a Roth IRA?
A Roth IRA has its own distribution rules.
Your regular Roth IRA contributions can generally be withdrawn without being included in gross income, while earnings have additional requirements for tax-free treatment.
For a qualified Roth IRA distribution, the five-year rule and another qualifying condition, such as reaching age 59½, generally apply.
The important thing for someone leaving America is not to treat:
traditional 401(k) = Roth 401(k) = traditional IRA = Roth IRA
as though they were interchangeable.
They are not.
The tax consequences of withdrawing, rolling over or leaving each account can differ.
Do you have to wait until 59½?
No.
You can access retirement money before 59½ in certain circumstances.
But 59½ is the general age at which the 10% additional tax on early distributions stops applying, subject to the detailed rules and exceptions.
There are also exceptions to the 10% additional tax in certain situations.
For someone leaving the U.S. in their 30s or 40s, however, the basic question should not be:
“How do I get my 401(k) money out?”
It should be:
“Why would I take it out now if I don’t need the money?”
If you do not need the cash, leaving it invested or completing an appropriate rollover may preserve the retirement account’s tax advantages under U.S. law.
When do required minimum distributions start?
For traditional retirement accounts, required minimum distribution rules apply later in life.
Under current law, the applicable starting age is generally 73 for people who reach the relevant age under the current rules, with later changes scheduled for certain younger cohorts under SECURE 2.0.
Roth IRAs do not have lifetime required minimum distributions for the original owner under current U.S. law.
That does not mean your new country will necessarily follow the same rules.
If you live abroad when distributions begin, you need to consider both U.S. rules and the tax rules of your country of residence.
What happens when you eventually withdraw the money abroad?
Moving overseas does not automatically make a U.S. retirement account invisible to the U.S. tax system.
The United States can continue to have taxing and withholding rights over certain retirement distributions paid to a nonresident.
At the same time, your country of residence may also tax the distribution.
That is where tax treaties become important.
A treaty may determine which country can tax a particular pension distribution, whether the U.S. can tax it, and whether a reduced U.S. withholding rate applies.
The answer is country-specific.
Someone moving from the U.S. to India can have a different result from someone moving to Germany, the Netherlands, Canada or the United Kingdom.
Do not copy another expat’s tax strategy just because you have the same former U.S. visa.
The practical checklist before you leave
If you are leaving the U.S. with a 401(k), do these things before your move:
1. Ask your 401(k) administrator what happens after termination.
Find out whether you can leave the account in the plan and what investment options remain available.
2. Ask about your foreign address.
Confirm whether the plan will continue servicing an account when your permanent address is outside the U.S.
3. Compare the rollover options.
A traditional IRA can offer more investment choices, but it can also create cross-border brokerage complications.
4. If rolling over, prefer a direct rollover.
A trustee-to-trustee transfer generally avoids the 20% mandatory withholding associated with an eligible rollover distribution paid to you.
5. Check your new country’s tax treatment.
Do not look only at U.S. tax.
6. Keep your U.S. tax records.
Save your 401(k) statements, contribution history, rollover documentation and tax forms.
7. Do not rush to cash out because you are leaving.
Leaving the country and leaving the retirement account are two separate decisions.
The bottom line
If you are leaving the United States, your 401(k) does not have to leave with you.
In many cases, the account can remain invested in the United States or be moved through an eligible rollover.
Cashing out before 59½ can create an additional 10% tax on top of ordinary income tax, and nonresident withholding can complicate the amount you receive upfront.
The better question is not whether you can cash out.
It is whether you actually need to.
For someone leaving with a relatively small account, the temptation to take the money and close everything can be strong. But once the balance becomes meaningful, the tax consequences, lost compounding and cross-border reporting can make an impulsive cash-out an expensive decision.
And there is one final warning:
Do not assume that U.S. tax treatment automatically carries over to the country where you move.
Your retirement account may stay in the United States, but your tax life no longer does.
Quick reference
| Situation | General U.S. treatment |
|---|---|
| Traditional 401(k), normal distribution | Taxable as ordinary income to the extent taxable |
| Traditional 401(k), before 59½ | 10% additional tax may apply, unless an exception applies |
| Eligible rollover paid to you | Generally subject to 20% mandatory withholding |
| Direct rollover | Generally not currently taxable and avoids mandatory 20% withholding |
| Nonresident receiving U.S.-source pension distribution | Generally 30% withholding, subject to exceptions/treaty provisions |
| Roth 401(k), qualified distribution | Generally tax-free |
| Roth IRA, qualified distribution | Generally tax-free |
| Roth IRA contributions | Generally can be withdrawn tax-free, subject to ordering rules |
| Traditional retirement accounts | RMD rules apply |
| Roth IRA for original owner | No lifetime RMD under current U.S. rules |
| Moving abroad | Does not by itself require you to cash out a 401(k) |
Sources
- IRS, Topic no. 558, Additional tax on early distributions from retirement plans other than IRAs, and Topic no. 557 (IRAs).
- IRS, Topic no. 410, Pensions and annuities.
- IRS, Topic no. 413, Rollovers from retirement plans.
- IRS, NRA withholding, and Publication 515.
- IRS, Publication 519, U.S. Tax Guide for Aliens.
- IRS, Publication 590-A and Publication 590-B (IRAs, including Roth).
- IRS, Tax treaty tables.
- IRS, Required minimum distributions FAQs.
Important: This article provides general information and is not individualized U.S. tax or cross-border tax advice. Retirement-account and treaty rules are detailed and can change. If you are moving a substantial retirement balance to another country, consult a qualified cross-border tax professional before taking a distribution or rollover.









