401k Withdrawal Calculator: Taxes and the Early Penalty
Take $20,000 out of a 401(k) at age 45, single with $60,000 of other income, and you keep $14,250.00 after $3,750.00 of federal income tax and $2,000.00 of the 10% early withdrawal tax.
Pulling money out of a 401(k) early is borrowing from your older self, who never agreed to it and, it turns out, charges a fee.
Sometimes it is still the right move. The point is to know the real bill before you sign the form, not in April. Type the amount, your age and your other income, pick an exception if one fits, and the calculator splits the withdrawal into what you keep and what goes to tax.
You keep, after tax and penalty
$14,250.00
of $20,000.00 taken out
- Withdrawal
- $20,000.00
- Federal income tax (2026 brackets)
- -$3,750.00
- 10% additional tax (early withdrawal)
- -$2,000.00
- State income tax
- -$0.00
- You keep
- $14,250.00
- Withheld by the plan up front (20% of an eligible rollover distribution)
- $4,000.00
Show the numbers behind the chart
Show the working
- Taxable income without it = $60,000 - $16,100 standard deduction = $43,900; tax $5,020.00
- Taxable income with it = $80,000 - $16,100 = $63,900; tax $8,770.00 (2026 brackets)
- Federal income tax on the withdrawal = $8,770.00 - $5,020.00 = $3,750.00
- No exception: the whole $20,000.00 is an early distribution (age under 59.5)
- 10% additional tax = $20,000.00 x 10% = $2,000.00
- State tax = $20,000.00 x 0% = $0.00
- You keep = $20,000.00 - $3,750.00 - $2,000.00 - $0.00 = $14,250.00
- The 20% withheld is a prepayment toward your income tax, not an extra cost; the real bill is settled on your return.
- Pre-tax (traditional) 401(k) money only. Roth 401(k) contributions come out tax-free and qualified Roth earnings too; non-qualified Roth earnings follow other rules not in this tool.
- Federal tax assumes the standard deduction and no credits, and treats the other income you typed as ordinary income.
An estimate from the numbers you entered and the rules listed below, not tax, legal or financial advice.
How we calculate it
Federal income tax is the tax on your year with the withdrawal minus the tax on your year without it, using the 2026 IRS brackets and the standard deduction ($16,100 for a single filer). That way the withdrawal is taxed at the rates it actually lands in, not at an average.
On top of that comes the additional tax of 10% on any part taken before age 59 1/2, unless an exception on the IRS list covers it. Some exceptions cover the whole amount, some only up to a cap or up to your qualifying costs; the calculator applies the cap.
State tax is your state's rate times the withdrawal, since states treat it differently. Last, the plan has to hold back 20% of an eligible rollover distribution paid to you, per IRS Publication 575. That money is a prepayment on your tax bill, not an extra cost.
Worked example: leaving a job at 56 and using the rule of 55
You left your job in the year you turned 56, have no other income this year, file single, and take $30,000 from that employer's 401(k).
Federal income tax: $30,000 - $16,100 standard deduction leaves $13,900 taxable, and the 2026 brackets put $1,420.00 of tax on it. The separation-from-service exception (the rule of 55) means no additional tax. You keep $28,580.00.
Without that exception, the same withdrawal would also owe $3,000.00 of additional tax (10%), and you would keep $25,580.00. The exception is worth $3,000.00 here.
Expect the plan to send $24,000.00 and hold back $6,000.00 for tax. Your return settles the difference between that and the $1,420.00 you actually owe, which here comes back as a refund.
Hardship withdrawals and loans against a 401(k)
A hardship withdrawal is a distribution your plan allows for an immediate and heavy financial need, such as medical costs or avoiding eviction. It is still taxed as income, and the early-withdrawal penalty can still apply unless an exception fits. A loan from your 401(k) is not a withdrawal, since you repay yourself with interest, but if you leave the job the balance can fall due quickly and an unpaid amount is treated as a distribution. Both are plan-specific, so ask your plan administrator what yours allows.
The 10% early withdrawal tax and its exceptions
Take money out of a 401(k) before age 59 1/2 and you owe an additional 10% tax on top of income tax, unless an exception applies. The ones that work for a 401(k), 403(b) or similar plan:
- After you reach age 59 1/2
- Separation from service in or after the year you reach age 55 (age 50 for qualified public safety employees), the rule of 55
- Automatic enrollment permissive withdrawals from a plan with auto enrollment features
- Birth or adoption, up to $5,000 per child for qualified birth or adoption expenses
- Corrective distributions of excess contributions, excess aggregate contributions and excess deferrals, made timely
- After the death of the participant or IRA owner
- Total and permanent disability of the participant or IRA owner
- Disaster recovery distribution, up to $22,000, for qualified individuals with an economic loss from a federally declared disaster where they live
- Victim of domestic abuse by a spouse or domestic partner, up to the lesser of $10,000 or 50% of the account (distributions after 12/31/2023)
- To an alternate payee under a Qualified Domestic Relations Order
- Emergency personal expense, one distribution per calendar year, up to the lesser of $1,000 or vested balance over $1,000 (after 12/31/2023)
- Pension-linked emergency savings account (after 12/31/2023)
- Series of substantially equal periodic payments
- Dividend pass through from an ESOP
- Because of an IRS levy of the plan
- Unreimbursed medical expenses above 7.5% of AGI (only that amount)
- Certain distributions to qualified military reservists called to active duty
- Rollovers: in-plan Roth rollovers or eligible distributions put into another plan or IRA within 60 days
- Terminally ill employee, on or after a physician certifies the terminal illness
Higher education, first-time home purchase and health premiums while unemployed are exceptions for IRAs only, not for a 401(k).
Sources: IRS, Retirement topics: Exceptions to tax on early distributions (table of exceptions to the 10% additional tax), checked ; IRS Publication 575 (2025), Pension and Annuity Income: mandatory 20% withholding on eligible rollover distributions, checked
FAQ
How much tax do I pay on a 401(k) withdrawal?
Pre-tax 401(k) money is taxed as ordinary income in the year you take it out, at your own rates. With $60,000 of other income, a $20,000 withdrawal adds $3,750.00 of federal tax in 2026, a marginal rate of 22%. Under age 59 1/2, the 10% additional tax comes on top.
What is the penalty for an early 401(k) withdrawal?
An additional tax of 10% of the amount taken before age 59 1/2, paid with your return on top of income tax. It does not apply when an IRS exception fits, such as the rule of 55, disability, a qualified birth or adoption, or medical costs above the threshold. The full list sits under the worked example.
Does a hardship withdrawal avoid the 10% penalty?
No, not by itself. A hardship withdrawal is your plan letting you take money out while you still work there. It is not on the IRS list of exceptions, so the additional tax still applies unless your reason is also an exception, for example unreimbursed medical costs above the AGI threshold.
Why did my plan send me less than I asked for?
Plans have to withhold 20% of an eligible rollover distribution paid to you, as IRS Publication 575 explains. It counts toward your tax for the year. Hardship distributions are not eligible rollover distributions, so a different withholding rule applies to them; your plan's paperwork shows what it held back.
How do I withdraw money from my 401(k)?
Through your plan, not the IRS. Log in to the plan website or call the administrator, check which withdrawals your plan allows while you work there, and ask for the distribution form. Run the numbers here first, so the amount you request already covers the tax you will owe on it.
At what age is a 401(k) withdrawal tax-free?
Never, for a traditional 401(k): withdrawals are taxed as ordinary income at any age. After the penalty-free age shown in the rules box above you avoid the extra penalty, not the tax. A Roth 401(k) can be tax-free once the age and five-year rules are met.
Sources
- IRS, Retirement topics: Exceptions to tax on early distributions (table of exceptions to the 10% additional tax), checked
- IRS Publication 575 (2025), Pension and Annuity Income: mandatory 20% withholding on eligible rollover distributions, checked
- Rev. Proc. 2025-32: 2026 tax rate tables (section 4.01) and standard deduction (section 4.14), checked
- Rev. Proc. 2026-35: 2027 tax rate tables (section 3.01) and standard deduction (section 3.15), checked