Written and reviewed by FinanceCruncher Editorial Team
Last reviewed 2026-07-05. Sources and assumptions are documented below.
401(k) early withdrawal rules and penalties
Money in a traditional 401(k) grows tax-deferred, but the IRS expects it to stay until retirement. Withdraw before age 59½ and you typically owe ordinary income tax on the full amount plus a 10% early-distribution penalty — on top of state tax in many states. That triple hit can erase a third or more of the withdrawal, which is why cashing out a 401(k) for non-emergency spending is usually a last resort.[1]
401(k) plans are employer-sponsored retirement accounts funded with pre-tax contributions (Roth 401(k) contributions are after-tax but follow different withdrawal rules). The SEC emphasizes that early withdrawals sacrifice both the penalty and decades of potential compound growth on the dollars removed.[2]
How the tax and penalty stack
Suppose you withdraw $20,000 from a traditional 401(k) at age 40 while in the 22% federal bracket. You might owe $4,400 in income tax, $2,000 in the 10% penalty, and additional state tax — leaving far less than $20,000 in usable cash. The opportunity cost is larger still: those dollars no longer compound tax-deferred until retirement.
Use our 401(k) early withdrawal calculator to model federal tax, the 10% penalty, state tax, and net cash after an early distribution at your age and income level.
Exceptions to the 10% penalty
Income tax still applies, but the 10% penalty may not, in situations including:
- Separation from service at age 55 or older in the year you leave the employer (age 50 for certain public safety employees)
- Substantially equal periodic payments (SEPP / 72(t)) taken for at least five years or until age 59½, whichever is longer
- Qualified birth or adoption expenses, health insurance while unemployed, disability, and certain medical expenses exceeding AGI thresholds
- Domestic abuse victim distributions under recent law, and emergency personal expenses (limited once per year, plan-dependent)
Rules differ between 401(k) plans and IRAs; some exceptions apply only to IRAs. Always confirm with your plan administrator and a tax professional before relying on an exception.[1][4]
Hardship withdrawals and loans
Some plans allow hardship withdrawals for immediate and heavy financial need — medical care, foreclosure prevention, funeral expenses, or certain disaster costs. Hardship distributions from 401(k) plans generally still incur the 10% penalty if you are under 59½, and you cannot repay them.[3]
A 401(k) loan lets you borrow from your own balance and repay with interest to yourself, avoiding tax and penalty if repaid on schedule. If you leave your job with an outstanding loan, the balance often becomes a taxable distribution with possible penalty. Loan limits, interest rates, and repayment terms vary by plan.
Before borrowing or withdrawing, explore alternatives: emergency fund, HSA for medical bills, Roth IRA contributions (contributions can be withdrawn tax-free), or low-rate personal loans. See our emergency fund basics guide for building cash reserves that protect retirement accounts.
Leaving a job: roll over vs. cash out
When you change jobs, you can leave the balance in the old plan, roll it to your new employer's plan, roll to an IRA, or cash out. Cashing out small balances is tempting but costly: taxes, penalty, and lost compounding. Direct rollover to an IRA or new plan avoids mandatory 20% withholding and keeps money tax-deferred.
Read our 401(k) vs. IRA guide and employer match guide to maximize contributions before considering any withdrawal. The 401(k) contribution calculator shows how increasing deferrals now reduces the temptation to raid savings later.
Planning withdrawals in retirement
After 59½, penalty-free withdrawals begin, but income tax on traditional 401(k) distributions remains. Required minimum distributions (RMDs) start at age 73 for most account owners. Strategic Roth conversions during lower-income years can reduce future RMD tax drag — see our Roth conversion guide.
The retirement withdrawal calculator and safe retirement withdrawals guide model sustainable spending rates once you reach penalty-free ages — the phase when 401(k) money is meant to work for you, not against you in penalties and lost growth.
Sources
- [1]Retirement Topics — Exceptions to Tax on Early Distributions. Internal Revenue Service.↩
- [2]401(k) Plans. U.S. Securities and Exchange Commission.↩
- [3]Retirement Topics — Hardship Distributions. Internal Revenue Service.↩
- [4]Publication 575 — Pension and Annuity Income. Internal Revenue Service.↩