Leaving the US: what do I net if I cash out my 401(k)?
Enter your balance and age to see the cash at payout, the likely final US tax after you file (Form 1040-NR or 1040) and what you keep, against leaving it invested to 59½.
Where your balance goes
Of $200,000, $60,000 is withheld at 30% and $20,000 is the 10% penalty (due with your return, not taken at payout), leaving $120,000 at these inputs.
Cash out now or leave it invested to 59½?
Cashing out now nets $120,000; invested at 3.9% a year after inflation, that becomes $317,043 by 59½ (before tax on the gains). Left invested for 25.5 years instead, the balance is $528,405 at 59½ and a withdrawal then nets about $369,883 in today’s dollars: $52,840 more than cashing out and investing what you keep, and $249,883 more than cashing out now.
What a lower withholding rate would change
The same $200,000 leaves $120,000 at 30% withholding, $150,000 at 15% and $180,000 at 0%, all after the 10% penalty. Which rate applies to you depends on your country’s tax treaty and on giving the plan a Form W-8BEN, and it is not settled for a lump sum. 0% withheld is not 0% tax: the country where you live can tax the payout.
What is withheld against the likely final US tax
The plan withholds $60,000, which Form 1040-NR credits as a payment. The likely final US tax is $43,598 plus the $20,000 penalty: the $150,000 from contributions is taxed at graduated rates with no standard deduction ($28,598) and the $50,000 of earnings at 30% ($15,000). Filing would likely owe about $3,598 more. This is an estimate at 2026 rates for a single nonresident: treaty relief on the contribution part, state tax and tax in the country where you live are not included, and 0% withheld is not 0% tax.
What moves the needle
Each row re-runs the calculation with one change. Click to apply.How it's computed
- You are a nonresident alien when the money is paid. If you will still be a US tax resident on the payment date, switch the residency question above: different rules apply, with 20% withholding on a taxable payout and regular graduated rates.
- Withholding is 30% of the whole balance, treated as pre-tax. 30% is the statutory default (IRC §1441) and the cash you would see at payout, not necessarily the final US tax: pension income from your US work after 1986 is generally taxed at graduated rates on Form 1040-NR (IRS Publication 519), so part of the 30% can come back when you file; this page estimates that true-up (next point). A lower rate applies only if a treaty covers you and the plan holds your Form W-8BEN. This page does not look up treaty rates, and treaty relief for a lump-sum cash-out is not confirmed here: the US–India treaty’s private-pension article (Article 20) covers “periodic” payments, and its other-income article (Article 23) lets the US tax income arising here as well. Ask the plan and a tax adviser before assuming a rate below 30%.
- The Form 1040-NR estimate: 75% of the balance is treated as contributions (yours and your employer’s, for US work after 1986) and taxed as effectively connected income at the 2026 single rates with no standard deduction; the other 25% is earnings, taxed at 30% (IRS Publication 519 (2025), ch. 4 and 5). The withholding is credited as a payment (Instructions for Form 1040-NR, line 25g) and the penalty is added. Nonresident aliens cannot file jointly or take the standard deduction; the exception for students and business apprentices from India (treaty Article 21(2)) does not apply to someone who worked here on an H-1B. 75% is an assumption (nine years of equal contributions growing 7% a year); use the split on your plan statement. Not included: treaty relief on the contribution part, itemized deductions, and the dual-status year of someone who leaves partway through it.
- The 10% penalty (IRC §72(t)) applies to any payout before 59½ and is not reduced by leaving the country. Exceptions, such as leaving your employer in or after the year you turn 55, disability or substantially equal periodic payments, are not modeled. The plan does not withhold the penalty; it is reported on your US return.
- Not modeled: state tax, currency conversion, tax in the country you move to (0% withheld is not 0% tax), Roth or after-tax money, the extra deduction at 65 or older, and any treaty relief on the part from contributions.
- Leaving it invested assumes a steady 3.9% a year after inflation, no fees and no forced payout, and the same 30% withholding at 59½. For a nonresident the comparison uses the cash-at-payout figures (before the Form 1040-NR true-up) at both ages. Amounts are in today’s dollars.