Finance calculators

401k Early Withdrawal Calculator

Updated Nov 10, 2026 By Infinity Calculator Formulas Sources
Rate
Withdrawal Details
$
Enter a value between $1 and $9,999,999.
The IRS penalty generally applies before age 59½.
Tax Information
Select the bracket that applies to your total income including this withdrawal.
Your state's estimated rate is pre-filled.
%
Adjust if needed (0% to 15%). In a state with several brackets, your own rate may differ.
401k Account Type
Account Type
Penalty Exceptions

The IRS typically charges a 10% early withdrawal penalty for distributions taken before age 59½. Certain exceptions may waive this penalty.

I separated from my employer in or after the year I turned 55. Available from age 54.
I am permanently and totally disabled per the IRS definition.
I am 59½ or older, so no early withdrawal penalty applies. Available from age 59.
I am taking a distribution as a beneficiary of the deceased account holder.
Another exception on the IRS list covers all of this withdrawal, such as terminal illness, an IRS levy, a qualified reservist distribution, or a public safety employee in a government plan or a firefighter who left the job in or after the year they turned 50. Medical expenses above 7.5% of your AGI and a birth or adoption (up to $5,000) waive the penalty only on that amount.
Retirement Growth Projection
Auto-filled from your age; adjust if needed (1 to 60).
Average annual return if the money remained invested.

Your Withdrawal Breakdown

Net Amount You Receive
$0
Total Taxes & Penalties
$0
Effective Total Tax Rate
0%
Line-Item Breakdown
Opportunity Cost of Withdrawing Now
Where Your Withdrawal Goes
Step-by-Step Solution

Introduction

Taking money out of your 401k before retirement comes with a cost. The IRS treats early withdrawals as taxable income, and if you are under age 59½, you will usually owe a 10% early withdrawal penalty on top of federal and state income taxes.1 These deductions can take a big bite out of your money before it ever reaches your pocket.

This 401k early withdrawal calculator shows you how much you will lose to taxes and penalties, how much you keep once they are paid, and what that money could have grown to if you had left it in your account. Just enter your withdrawal amount, age, tax bracket, and state, and the calculator does the rest. It covers both Traditional and Roth 401k accounts and checks for common IRS penalty exceptions, like the age 55 rule or permanent disability, that could save you from the 10% penalty.

Use this tool before you withdraw so you can see the true cost and make a smart choice with your retirement savings.

How to Use Our 401k Early Withdrawal Calculator

Enter details about your planned withdrawal, your taxes, and your retirement timeline below. The calculator will show you how much money you keep after taxes and penalties, how much goes to taxes and penalties, and what the withdrawal could cost you in lost retirement savings. The plan withholds federal income tax when it pays you, but if the 10% penalty applies, that withholding may not be enough, so you may owe more when you file.1

Withdrawal Amount: Type the total dollar amount you want to take out of your 401k. This is the gross amount before any taxes or penalties are removed.

Your Current Age: Enter your age today. The calculator uses this to check if the 10% early withdrawal penalty applies and to estimate how many years you have until retirement.

Federal Income Tax Bracket: Pick the federal tax bracket that matches your total income for the year, including the withdrawal. For 2026, the 22% bracket covers taxable income from $50,400 to $105,700 for single filers and from $100,800 to $211,400 for married couples filing jointly.5

State of Residence: Choose the state where you live. The calculator will fill in an estimated state income tax rate for you.

State Income Tax Rate: This rate is auto-filled based on your state. You can change it if you know your exact rate. In a state with several brackets, the rate filled in may not be yours. Some states like Texas and Florida have no state income tax. Illinois does not tax 401k withdrawals.7 Iowa does not tax them if you are 55 or older on December 31 of the tax year, or disabled.8 The calculator fills in 0% for Illinois, and for Iowa when the age you enter is 55 or more or you choose the Permanent Disability exception. For the value at retirement, it also uses 0% for Iowa when your age at retirement is 55 or more, unless you typed your own rate.

401k Account Type: Select Traditional if your contributions were made before taxes. Select Roth if your contributions were made with after-tax dollars. This changes how much of your withdrawal gets taxed.

Taxable Earnings Portion: This field and a 5-year box only appear if you choose Roth. Tick the box if your first Roth contribution to this plan was for a tax year at least 5 years before this one. A withdrawal is then a qualified distribution, and is not taxed, if you are 59½ or older, disabled, or taking it as a beneficiary.2 Enter your Roth account's earnings as a percentage of its balance. If the withdrawal is not a qualified distribution, that share of it is taxed and the rest comes back to you tax-free.2

Penalty Exceptions: The IRS charges a 10% penalty on most withdrawals taken before age 59½.1 If you qualify for an exception, such as the age 55 rule, permanent disability, or being a beneficiary of an inherited account, select it here to waive the penalty. If another exception on the IRS list covers the whole withdrawal, choose Other IRS Exception. The Age 55 Rule can be chosen from age 54, and the Age 59½ option from age 59.

Years Until Retirement: This is auto-filled based on your age, assuming you retire at 65. Change it if you plan to retire earlier or later.

Expected Annual Investment Return: Choose the average yearly return you think your money would earn if it stayed in your 401k. The calculator starts at 6%, and you can pick any rate from 0% to 10%.

What Is a 401k Early Withdrawal?

A 401k is a retirement savings account you get through your job. The money in it is meant to grow until you retire. But sometimes, people need to take money out early. When you pull money from your 401k before age 59½, it is called an early withdrawal.

Taxes and Penalties on Early 401k Withdrawals

If you take money out of a traditional 401k early, you owe federal income tax on it. If you made after-tax contributions, a part of each withdrawal equal to their share of your account balance is tax-free.6 Your state may tax it too. On top of that, the IRS charges a 10% early withdrawal penalty.1 This means a big chunk of your withdrawal goes to the government instead of your pocket.

For example, if you withdraw $25,000 and you are in the 22% federal tax bracket with a 4% state tax rate, you could lose $9,000 or more to taxes and penalties. That leaves you with far less than what you took out.

Exceptions That Waive the 10% Penalty

The IRS does allow some exceptions where you do not have to pay the 10% penalty. These include:

  • Age 59½ or older: You are past the early withdrawal age, so no penalty applies.
  • Age 55 rule: You left your job in or after the year you turned 556.
  • Permanent disability: You have a total and permanent disability as defined by the IRS1.
  • Inherited 401k: You received the account as a beneficiary after the account holder passed away1.

Even when the penalty is waived, you still owe income tax on the taxable part of the withdrawal. A qualified distribution from a Roth 401k is not taxed at all.2

Traditional 401k vs. Roth 401k Withdrawals

With a traditional 401k, your contributions went in before taxes. That means the whole withdrawal is taxable. If you made after-tax contributions, a part of each withdrawal equal to their share of your account balance is tax-free.6 With a Roth 401k, your contributions were already taxed. A qualified distribution is not taxed at all. It must come after a 5-tax-year period that starts with the year of your first Roth contribution to the plan, and on or after age 59½, after death, or because of disability.2 If a withdrawal is not qualified, only the earnings portion is taxable.2 The 10% penalty applies only to that taxable portion.1

The Hidden Cost: Lost Retirement Growth

The money you take out today cannot grow for your future. If you withdraw $25,000 at age 40 and it could have earned 6% per year for 25 years, that money would have grown to over $107,000 by retirement. This lost growth is called opportunity cost, and it is the biggest reason to think carefully before withdrawing early.


Formulas used

Federal Income Tax
\text{Federal Tax} = \text{Taxable Amount} \times \frac{\text{Federal Rate}}{100}
State Income Tax
\text{State Tax} = \text{Taxable Amount} \times \frac{\text{State Rate}}{100}
Early Withdrawal Penalty 1
\text{Penalty} = \text{Taxable Amount} \times 10\%
Total Taxes and Penalties
\text{Total Deductions} = \text{Federal Tax} + \text{State Tax} + \text{Penalty}
Net Amount Received
\text{Net} = \text{Withdrawal} - \text{Total Deductions}
Effective Total Tax Rate
\text{Effective Rate} = \frac{\text{Total Deductions}}{\text{Withdrawal}} \times 100\%
Future Value if Left Invested
FV = \text{Withdrawal} \times (1 + r)^{n}
After-Tax Future Value at Retirement (Traditional 401k)
FV_{\text{net}} = FV \times \left(1 - \frac{\text{Federal Rate} + \text{State Rate}}{100}\right)

Frequently asked questions

How much tax do I pay on a 401k early withdrawal?

You pay federal income tax on the taxable portion of your withdrawal, and state income tax if your state taxes it. If you are under age 59½ and do not qualify for an exception, the IRS also charges a 10% early withdrawal penalty. For example, if you are in the 22% federal bracket with a 5% state rate and no penalty exception, your combined tax and penalty rate is 37% of the withdrawal amount.

What is the 10% early withdrawal penalty?

The 10% early withdrawal penalty is an extra fee the IRS charges when you take money out of your 401k before age 59½.1 It is added on top of the regular income taxes you already owe. The penalty is calculated on the taxable portion of your withdrawal.

Can I withdraw from my 401k without paying the penalty?

Yes, in certain cases. The IRS waives the 10% penalty in a number of cases. These include being age 59½ or older, having a total and permanent disability, and inheriting the 401k as a beneficiary.1 Leaving your job in or after the year you turned 55 also counts.6 Others include terminal illness and an IRS levy.1 Some exceptions cover only part of a withdrawal: the amount of your deductible medical expenses above 7.5% of your adjusted gross income, or up to $5,000 for a qualified birth or adoption.1 A federally declared disaster covers up to $22,000 per disaster.6 You still owe income tax on the taxable part even when the penalty is waived. A qualified Roth 401k distribution is not taxed at all.2

What is the age 55 rule for 401k withdrawals?

The age 55 rule lets you take money from your 401k without the 10% penalty if you left your job in or after the year you turned 55.6 For qualified public safety employees in a government plan and for firefighters, it is the year they turned 50 or reached 25 years of service, if that comes first.6 This only applies to the 401k from that employer. You still owe income tax on the taxable part of the withdrawal, and state tax if your state taxes it.

Do I pay state taxes on a 401k withdrawal?

It depends on your state. States with an income tax can tax the withdrawal, but some exempt it. Illinois does not tax 401k withdrawals.7 Iowa does not tax retirement income, such as 401k withdrawals, if you are 55 or older on December 31 of the tax year, or disabled.8 Alaska, Florida, Nevada, New Hampshire, South Dakota, Tennessee, Texas, and Wyoming levy no individual income tax, and Washington taxes capital gains income only.4 None of these nine states taxes a 401(k) withdrawal. This calculator auto-fills your state rate when you select your state.

How is a Roth 401k withdrawal taxed differently?

With a Roth 401k, your contributions were made with after-tax money. A qualified distribution is not taxed at all. It must come after a 5-tax-year period that starts with the year of your first Roth contribution to the plan, and on or after age 59½, after death, or because of disability.2 If a withdrawal is not qualified, only the earnings portion is taxed.2 The penalty applies only to that taxed portion.1 With a Traditional 401k, the whole withdrawal is taxable because your contributions were made before taxes. If you also made after-tax contributions, a part of each withdrawal equal to their share of your account balance is tax-free.6

What does effective total tax rate mean in the results?

The effective total tax rate is the percentage of your gross withdrawal that goes to taxes and penalties combined. It is calculated by dividing your total taxes and penalties by your withdrawal amount. This tells you the real cost of taking the money out.

What is the opportunity cost shown in the results?

Opportunity cost is the money you lose by not leaving your funds invested. The calculator shows what your withdrawal could have grown to by retirement if you had left it in your 401k. It uses the annual return rate and years until retirement you entered to estimate this future value. For a Roth 401k, it takes no tax off that value when a withdrawal at retirement would be a qualified distribution. Otherwise it taxes only the growth above your contributions.

What federal tax bracket should I choose?

Choose the bracket that matches your total taxable income for the year, including the 401k withdrawal. For 2026, the 22% bracket covers taxable income from $50,400 to $105,700 for single filers and from $100,800 to $211,400 for married couples filing jointly.5 You can check IRS tax tables or use a tax bracket calculator to find your exact bracket.

Can I take a 401k hardship withdrawal instead?

If your plan allows them, a hardship withdrawal lets you take money from your 401k for an immediate and heavy financial need, such as medical care or avoiding eviction.3 You still owe income tax, unless the money comes from Roth contributions, and you may also owe the 10% early withdrawal penalty.3 A hardship withdrawal does not waive the penalty by itself.

Is a 401k loan better than an early withdrawal?

Often, yes. If your plan offers loans, a 401k loan lets you borrow from your account and pay yourself back with interest.9 A loan that meets the rules on amount and repayment, generally paid back within 5 years, is not taxed.9 If you do not repay it on time, the unpaid balance is treated as a distribution and taxed, including any early withdrawal penalty.9 An early withdrawal permanently removes the money and triggers taxes and penalties.

What happens if I am exactly 59 years old?

At age 59, you may or may not qualify for the penalty exemption. The IRS rule is age 59½, not 59.1 If you have not yet reached 59½, the 10% penalty still applies unless you qualify for another exception. The calculator will flag this and suggest you check your eligibility.


Sources

  1. Topic no. 558, Additional tax on early distributions from retirement plans other than IRAs. Internal Revenue Service. Accessed September 11, 2026.
  2. Retirement plans FAQs on designated Roth accounts. Internal Revenue Service. Accessed September 11, 2026.
  3. Retirement topics: Hardship distributions. Internal Revenue Service. Accessed September 11, 2026.
  4. Fritts J, Loughead K. State Individual Income Tax Rates and Brackets, 2026. Tax Foundation. 2026. Accessed October 7, 2026.
  5. Revenue Procedure 2025-32. Internal Revenue Service. 2025;section 4.01, Tables 1 to 4 (2026 tax rate tables). Accessed November 10, 2026.
  6. Publication 575, Pension and Annuity Income. Internal Revenue Service. Cost (Investment in the Contract); Tax on Early Distributions (Separation from service). Accessed November 10, 2026.
  7. Social Security benefits and certain retirement plans. Illinois Department of Revenue. Accessed November 10, 2026.
  8. Retirement Income Tax Guidance. Iowa Department of Revenue. Who qualifies for the retirement income exclusion?. Accessed November 10, 2026.
  9. Retirement plans FAQs regarding loans. Internal Revenue Service. Questions 4 to 6. Accessed November 10, 2026.