Skip to content

Calculators · Free calculator

401(k) Withdrawal Calculator

Taking money out of a 401(k) before 59½ usually brings income tax and a 10% additional tax, and what the plan withholds is rarely what you owe. This calculator figures your federal return with and without the withdrawal, applies the exceptions that remove the 10%, shows what you keep and what you’ll owe when you file, and prices a 401(k) loan for the same cash.

Last reviewed by Steven Fox, CFP®, EA on · Tested with multiple methods across thousands of scenarios. How we test calculators

Save & share options
Embed on your siteGet the code to add this calculator to your page

Taking $20,000 out of your 401(k) costs $6,400 in federal tax: $4,400 of income tax and $2,000 of 10% additional tax. You keep $13,600. With $2,000 withheld, expect to owe about $4,400 more when you file.

What it costs you$6,40032.0% of what you take out
The withdrawal
What you know

Before any tax.

You

Which year's official figures to use. Your entries stay as they are.

Form W-2, box 1.

Your 401(k)

Including any loan, Roth or after-tax money.

More options

A flat rate; 0 to skip.

Taxable interest and nonqualified dividends.

Taxed like wages.

Taxed at the lower rates.

Form SSA-1099, box 5.

HSA contributions, educator expenses.

The larger one is used.

For the child tax credit.

For the $500 credit.

Roth and after-tax money

Part of your vested balance.

Not Roth; part of your balance.

Loan

From your plan’s loan terms.

Five years at most.

On loans from this plan.

Lowers the $50,000 limit.

To see the loan offset.

Include any match you’d lose.

Comparing

When you’d use the money.

Borrowing $13,600 instead costs no tax now if you repay it on schedule: $275.76 a month for 5 years. If you took the withdrawal and saved the same payments instead, borrowing would still leave you about $24,941 ahead at 65, after tax.

  • The withholding falls short by $4,400. Set that aside, or pay it as estimated tax to avoid a possible penalty.
Where the money goesOf your $20,000, $2,000 is withheld when it’s paid; after you file you keep $13,600 and $6,400 goes to tax.
Your 401(k) by ageAt 65: $572,542 if you leave it, $458,033 if you take the money out, $574,410 if you borrow and repay. The Borrow line includes the $16,545 you’d repay from your pay.
Cost by amountTaking out $20,000 costs 32.0% of it; $60,000 would cost 32.4%. Figured on the rate schedule.
Show the withdrawal
Your withdrawal, what it costs and what you keep
ItemAmount
Amount taken out$20,000
Federal income tax it adds−$4,400
10% additional tax−$2,000
You keep$13,600
Withheld when it’s paid$2,000
More to pay when you file$4,400
Show your return with and without it
Your 2026 federal return without and with the withdrawal
LineWithoutWithAdded
Adjusted gross income$75,000$95,000$20,000
Standard deduction$16,100$16,100$0
Taxable income$58,900$78,900$20,000
Income tax$7,676$12,076$4,400
Income tax after credits$7,676$12,076$4,400
Show the loan
A $13,600 loan at 8.0%, $275.76 a month
Loan yearPaidInterestOwed at year end
1$3,309$1,005$11,296
2$3,309$813$8,800
3$3,309$606$6,097
4$3,309$382$3,170
5$3,309$139$0
Show your 401(k) by age
Your 401(k) by age: take it out
AgeBalance
40$80,000
41$85,783
42$91,984
43$98,634
44$105,764
45$113,410
46$121,608
47$130,400
48$139,826
49$149,934
50$160,773
51$172,395
52$184,858
53$198,221
54$212,550
55$227,916
56$244,392
57$262,059
58$281,003
59$301,317
60$323,099
61$346,456
62$371,501
63$398,357
64$427,154
65$458,033
Your 401(k) by age: borrow
AgeBalance
40$100,000
41$107,359
42$115,225
43$123,633
44$132,620
45$142,225
46$152,507
47$163,531
48$175,353
49$188,029
50$201,622
51$216,197
52$231,826
53$248,585
54$266,555
55$285,824
56$306,487
57$328,643
58$352,400
59$377,875
60$405,192
61$434,483
62$465,892
63$499,571
64$535,685
65$574,410
Your 401(k) by age: leave it
AgeBalance
40$100,000
41$107,229
42$114,981
43$123,293
44$132,205
45$141,763
46$152,011
47$162,999
48$174,783
49$187,418
50$200,966
51$215,494
52$231,072
53$247,776
54$265,688
55$284,895
56$305,490
57$327,574
58$351,254
59$376,646
60$403,874
61$433,070
62$464,377
63$497,946
64$533,943
65$572,542
Notes
  • Leave the job in 12 months and about $11,296 would still be owed on the loan. Unless you repay it, or roll that amount into an IRA by your tax return’s due date, it’s taxed as a withdrawal: about $3,605, none of it withheld.

What this uses

Tax year
2026 Source
Rate schedule and standard deduction
2026, single rates; standard deduction $16,100 Source
Tax Table
Taxable income under $100,000 is taxed from the IRS Tax Table, as on the return Source
10% additional tax
10% of the taxable part of a withdrawal before 59½, unless an exception applies; not reduced by credits Source
Exceptions
Separation from service in or after the year you turn 55; disability; terminal illness; medical bills over 7.5% of AGI; $5,000 per birth or adoption; one emergency expense of up to $1,000 a year Source
Domestic abuse exception
up to $10,500 for 2026, or 50% of your vested balance if less Source
Withholding
20% of a withdrawal you could roll over (none under $200); 10% of a hardship withdrawal and of a birth, emergency or domestic abuse withdrawal, unless you choose another rate on Form W-4R Source
Form W-4R
Any rate from 0% to 100%, but not below 20% on a withdrawal you could roll over Source
60-day rollover
Putting the whole amount back within 60 days, including what was withheld, undoes the tax Source
401(k) loan limit
The lesser of $50,000 (less your highest loan balance in the past 12 months above what you owe now) or half your vested balance, less what you owe now; five years at most Source
Loan offset
An unpaid balance when you leave the job can be rolled over until your tax return’s due date, with extensions; otherwise it is taxed as a withdrawal Source
Child tax credit
$2,200 a child, up to $1,700 refundable; $500 for other dependents Source
Earned income credit
the 2026 EIC Table rule Source
Net investment income tax
3.8% of investment income over $200,000 of AGI ($250,000 joint, $125,000 separate); the withdrawal itself is not investment income Source
The loan comparison
Both choices give the same cash today; the withdrawal side sets the loan payments aside at the same return; both the 401(k) and the savings’ growth are taxed at the same later rate, once, at the compare age Source
Pre-tax money
This assumes it’s all pre-tax money. Enter any Roth or after-tax money under More options. Source

How to use this calculator

  1. Choose what you know: the amount to take out, before any tax, or the amount you need in hand, from which the calculator works back to the withdrawal. Then enter it.
  2. Choose how you’d take it out. While you still work there, the money you put in can come out before 59½ only for a reason the law allows, such as a hardship withdrawal; after you leave, you can take any amount. This decides the withholding, and whether a loan is possible.
  3. If one applies, choose an exception to the 10% tax, such as leaving the job in or after the year you turned 55 (the rule of 55) or medical bills over 7.5% of your income.
  4. Enter the tax year, your filing status, your age and your wages, then your vested balance from your plan’s website or statement.
  5. Under More options, add other income, children, a state rate, and your plan’s loan rate and any loan you owe.

The numbers already filled in are an example. Replace them with your own.

How it’s calculated

The rules come from sections 72(t), 72(p), 402(c) and 3405 of the tax code, their regulations, IRS Publication 575 and the instructions for Form 5329. The calculator figures your federal return twice, with and without the withdrawal, then adds the 10% additional tax and compares both with what is withheld.

The tax it adds

Say you file single for 2026, you’re 40, you earn $75,000 and take $20,000 out of a traditional 401(k) as a hardship withdrawal. Your taxable income rises from $58,900 to $78,900, and your income tax by $4,400. Because you’re under 59½, the 10% additional tax adds $2,000. It comes after your credits, so they can’t reduce it. In all, the withdrawal costs $6,400, and you keep $13,600. Figuring the return rather than multiplying by one rate matters when a withdrawal crosses into a higher tax bracket, or lowers the child tax credit or the earned income credit, which the calculator counts.

What is withheld, and what you’ll owe

A hardship withdrawal has 10% withheld unless you choose another rate on Form W-4R: $2,000 here, so about $4,400 is still owed when you file. A withdrawal you could roll over, such as one after you leave the job, has 20% withheld and you can’t choose less: $4,000 on the same amount. To undo it, you have 60 days to roll the whole $20,000 into an IRA, including the $4,000 withheld, from other money. Roll over only what you received and the withheld part is taxed as a withdrawal, about $1,280.

The exceptions

The 10% doesn’t apply to the part an exception covers. Leaving this employer in or after the year you turn 55 covers all of it while the money stays in the plan: at 56, the same withdrawal after leaving costs $4,400 instead of $6,400. Disability and a terminal illness cover all of it too. Others have limits: medical bills above 7.5% of your income including the withdrawal, $5,000 for each birth or adoption within a year, one emergency withdrawal of up to $1,000 a year, and domestic abuse up to a yearly limit or half your balance. You can claim one on Form 5329 even if your plan doesn’t offer that kind of withdrawal, though the plan then withholds as usual.

Working back from what you need

To have $15,000 in hand after the tax, the example needs a withdrawal of about $22,044: the tax on the extra dollars has to come out of the withdrawal too. The calculator finds the smallest whole-dollar withdrawal that leaves what you need once the tax at filing is paid.

Roth and after-tax money

When part of your 401(k) is Roth or after-tax money, only part of a withdrawal is taxable. Your own contributions come back tax-free in proportion to their share of that money, and only the earnings are taxed, with the 10% before 59½. Say the example’s account holds $20,000 of Roth money ($15,000 of it your contributions) and $10,000 of after-tax money ($8,000 of it contributions). The $20,000 is a hardship withdrawal, so the after-tax money comes out first and the rest from the other two parts in proportion. Then $9,667 of it is tax-free, so the 10% is $1,033 instead of $2,000, and the withdrawal costs $3,299. Roth money comes out with no tax at all once you’re 59½ (or disabled) and five years have passed since January 1 of the year of your first Roth contribution to the plan: at 60, a $10,000 withdrawal of it costs nothing.

The plan reports Roth money on its own Form 1099-R, and it is a separate distribution: to undo the tax within 60 days, its taxable part can go back only into a Roth IRA or another plan’s Roth account. Plans decide which money a withdrawal comes from, so the calculator lets you split it in proportion or set the shares yourself. A hardship withdrawal requires first taking any other money the plan lets you take, such as after-tax money, so in one the calculator takes the after-tax money first. Roth contributions from your pay usually can’t come out while you work there before 59½ except as a hardship.

A 401(k) loan instead

While you still work there, a 401(k) loan can give you the same cash without tax. The law limits it to the lesser of $50,000, lowered by your highest loan balance in the past 12 months, and half your vested balance (or $10,000, if that is more than half; a plan can lend beyond half only against other security, so this calculator uses half). You repay it in level payments over up to five years, with interest that goes back into your account. In the example, borrowing $13,600 at 8.0% costs $275.76 a month, $2,945 of interest in all.

Comparing the two fairly takes the same cash and the same monthly outlay on both sides. The calculator sets the loan’s payments aside after a withdrawal at the same return, then taxes both 401(k) balances and the savings’ growth at the same rate when the money is used. On those terms, borrowing leaves you about $24,941 ahead at 65 in the example. Leaving the job before the loan is repaid changes that: what you still owe is taken from your account and taxed like a withdrawal unless you repay it or roll the same amount into an IRA by your tax return’s due date.

Assumptions and limits

  • Roth and after-tax money are split across the withdrawal in proportion to each part’s cash, or as you set them; plans set their own rules. A hardship withdrawal takes after-tax money first. A loan is taken from pre-tax money first. After-tax money and its earnings are treated as their own account; if your plan doesn’t keep them apart, more may be taxable. After-tax contributions made before 1987 and the five-year recapture of an in-plan Roth rollover aren’t included.
  • Federal tax on one return for the year you choose. The amount you’ll owe or get back assumes the rest of your income is withheld correctly. A state rate, if you enter one, is a flat rate on the withdrawal; some states add their own early-withdrawal tax, which isn’t included, and state withholding isn’t shown.
  • Seven exceptions are figured. Not included: the age-50 rule for firefighters, a series of equal payments, disaster and long-term care withdrawals, reservists, payments to a former spouse under a court order, and death. It assumes you haven’t used the exception you choose before.
  • The 10% withholding on a birth or adoption, emergency or domestic abuse amount assumes your plan pays it as that kind of withdrawal; if it pays a regular one after you leave, 20% is withheld on all of it.
  • Children under 17 also count for the earned income credit, and older qualifying children aren’t asked for. On a joint return your spouse is assumed to be at least 25 for the credit’s age test. With three or more children, the extra refundable child tax credit figured from the Social Security and Medicare tax you paid (Schedule 8812, Part II-B) isn’t figured; it can matter only with very low earnings.
  • Adjustments are used as entered. A deductible IRA contribution and student loan interest, which shrink as income rises, aren’t modeled, so the withdrawal may add a little more tax than shown. The premium tax credit for Marketplace coverage, which a withdrawal can reduce, isn’t priced.
  • The account grows at the return you enter, compounded monthly, with no fees, and your regular contributions are left out because they’re the same on every line, except any you say you’d stop while repaying.
  • The loan is priced only while you still work for the employer, with monthly payments at a fixed rate repaid on schedule. Its limit uses half your vested balance; the law can allow up to $10,000 when half is less, if your plan accepts other security. A loan to buy your main home can run longer than five years; that isn’t modeled.
  • The comparison taxes the 401(k) and the savings’ growth once, at one rate, when the money is used. Yearly tax on interest and dividends, or a lower rate on long-term gains, would change it.
  • Ages run to 71, so no required minimum distribution falls in the year.

Input field details

What to enter in each box, where to find the number, and how this calculator treats it. When two calculators give different answers from the same numbers, it's usually because they handle one of these differently.

Amount to take out

The amount you would ask the plan to pay out, before any tax is withheld.

Where to find itYour plan’s website or withdrawal form; the gross amount later appears in box 1 of the Form 1099-R the plan sends you.

How this tool treats itMoney taken out of a 401(k) before you reach 59½ is an early distribution. All of it is taxed as ordinary income in the year you take it, and unless an exception applies it also carries a 10% additional tax. The tool figures your federal return with and without the withdrawal, so the tax it shows is what the withdrawal adds at your income, not a flat rate. A withdrawal larger than your vested balance less any loan you owe is read as that amount, the cash the account holds.

Allowed range$0 to $5,000,000

Not includedRoth 401(k) money and after-tax contributions, which come out partly tax-free.

Early withdrawal penalty in the glossary

What you know

Choose “The amount I need in hand” if you know how much cash you need after tax, and enter that amount.

How this tool treats itThe tool then finds the smallest whole-dollar withdrawal that leaves at least that much once the federal tax it adds, the 10% additional tax and any state rate you entered are paid, so you know what to ask the plan for. A hardship withdrawal may include the taxes the withdrawal itself causes. If even all the cash in your account leaves less than you need, the tool says so and uses all of it.

Allowed range$0 to $5,000,000

How you’d take it out

A hardship withdrawal while you still work for the employer, a withdrawal from the plan of a job you have left, or another withdrawal the plan allows while you still work there.

Where to find itYour plan’s summary plan description or website lists which withdrawals it offers while you are employed.

How this tool treats itA hardship withdrawal is for an immediate and heavy financial need, such as medical bills, avoiding eviction or foreclosure, funeral costs or tuition, and is limited to the amount of the need, which may include the tax it causes. It cannot be rolled over, so the plan withholds 10% unless you choose another rate. Most other withdrawals, including money from a job you have left, are eligible rollover distributions: you could move them to an IRA or another plan, so the plan must withhold 20% of any amount paid to you. Taking a hardship withdrawal does not stop you contributing to the plan. A loan is offered only while you still work for the employer.

Hardship withdrawal in the glossary

An exception to the 10% tax

The exception that applies to you, if any. For medical bills, enter the year’s unreimbursed bills; for a birth or adoption, the number of children.

Where to find itYour own records: medical bills not paid by insurance, a birth or adoption date, a doctor’s certification for a disability or terminal illness.

How this tool treats itThe 10% additional tax applies to the taxable part of a withdrawal before 59½ and is added after your credits, so no credit reduces it. Its exceptions for a 401(k): you left this employer in or after the year you turned 55, so you are at least 54 when you take the money; total and permanent disability; a terminal illness a doctor certifies as expected to end in death within 84 months; medical bills over 7.5% of your adjusted gross income, counting the withdrawal itself, whether or not you itemize; up to $5,000 for each child born or adopted within the past year; one emergency withdrawal of up to $1,000 a calendar year; and a withdrawal within a year of domestic abuse, up to the year’s limit or half your vested balance if less. The age-55 rule covers only money left in this plan: roll it to an IRA and it is lost. The birth, emergency and domestic abuse withdrawals can be paid back within three years. If your plan does not offer one of these kinds of withdrawal (or a terminal illness one), you can still claim the exception on Form 5329 for another withdrawal you are allowed to take, but the plan then withholds as it would on that withdrawal. The tool assumes you have not used the exception before: one emergency withdrawal a year, and the domestic abuse limit is a total.

Allowed rangeMedical bills $0 to $5,000,000; 1 to 10 children

Not includedDeath, a series of substantially equal payments, a payment under a divorce order (QDRO), an IRS levy, qualified reservists, disaster recovery and long-term care distributions, withdrawals from an automatic-enrollment arrangement, emergency savings account distributions, corrective distributions, and the age-50 rule for private-sector firefighters. Higher education, a first home and health insurance while unemployed are exceptions for IRAs only, not for a 401(k).

Rule of 55 in the glossary

Filing status

The status you will file under for the year you take the money out.

Where to find itLast year’s Form 1040, top of page 1, unless your situation has changed.

How this tool treats itA separate return is figured as if you lived with your spouse during the year, which makes up to 85% of any Social Security benefits taxable.

Filing status in the glossary

Your age when you take it out

Your age on the day the money comes out. At 59, say whether you will have reached 59½ by then.

How this tool treats itThe 10% additional tax stops on the day you reach 59½, which is six months after your 59th birthday, not on January 1 of any year. At 60 or older it never applies. Your age also decides the age-65 standard deduction and the senior deduction from 65, and the earned income credit’s age test for someone with no qualifying child (25 or older, and not 65 by December 31). The range stops at 71, so no required minimum distribution falls in the year.

Allowed range18 to 71

Your wages this year

Your wages for the year the money comes out, and on a joint return your spouse’s.

Where to find itForm W-2, box 1, or your year-to-date pay plus what you expect for the rest of the year.

How this tool treats itBox 1 wages are after pre-tax 401(k) and similar contributions. They set where the withdrawal lands in your brackets, and they are the earned income for the child tax credit and the earned income credit.

Allowed range$0 to $10,000,000 each

Your vested 401(k) balance

The part of your 401(k) you would keep if you left the employer today, including any loan you owe it.

Where to find itYour plan’s website or quarterly statement, usually labeled “vested balance”.

How this tool treats itYour own contributions are always fully vested; employer contributions may vest over several years. A loan you owe the plan counts as part of the vested balance, as the loan limit counts it, but is not cash the plan can pay out, so the withdrawal is capped at the balance less the loan. The vested balance also sets the loan limit and two exceptions’ limits, and starts the growth comparison. Only pre-tax money is assumed.

Allowed range$0 to $10,000,000

Vesting in the glossary

Expected yearly return

The yearly return you expect on the 401(k) before fees.

How this tool treats itMoney you take out stops growing, and that lost growth is the withdrawal’s opportunity cost. The tool compounds the return monthly, rounded to the cent each month, and shows the lost growth by age, never added to this year’s tax. Returns are an assumption, not a forecast.

Allowed range0% to 20%

Opportunity cost in the glossary

Loan interest rate and term

The rate and the number of years from your plan’s loan terms.

Where to find itYour plan’s loan policy or its website’s loan modeler. The starting rate here is the prime rate plus one point, an illustration only: plans set their own rates.

How this tool treats itA 401(k) loan borrows from your own account: no tax is due if you repay it on schedule, and the interest you pay goes back into your account. It must be repaid in level payments at least quarterly within five years; the tool uses monthly payments starting a month after the loan. The interest is not deductible.

Allowed range0% to 20%; 1 to 5 years

Not includedA loan to buy your main home, which may run longer than five years.

401(k) loan in the glossary

Loans you owe now and in the past year

What you owe on loans from this plan today, and the highest balance you owed on them at any time in the past 12 months.

Where to find itYour plan’s loan statements or website.

How this tool treats itThe law caps all your loans from the plan at the lesser of $50,000, reduced by how much your highest balance in the past 12 months exceeds what you owe now, or half your vested balance, and what you owe now comes off that. A balance owed now above the highest you entered is read as the highest, and one above your vested balance as the vested balance. The statute allows up to $10,000 where half your balance is less, but a plan may take at most half your vested balance as security, so the tool does not use that floor. Your plan’s own limit may be lower, and a plan does not have to offer loans.

Allowed range$0 to $50,000 each

If you left the job after

A number of months after taking the loan, to see what happens if you leave the employer then.

How this tool treats itIf you leave with a balance owed, the plan usually takes it from your account: a loan offset. You can avoid the tax by putting that amount into an IRA or another plan by your tax return’s due date, extensions included. Otherwise it is taxed as a withdrawal, with the 10% additional tax unless you are 55 or older then, or disabled or terminally ill. Nothing is withheld from an offset, so all of its tax is owed when you file. The tool uses this year’s tax figures, your same income, and your age now plus the whole years until you leave.

Allowed range1 to 60 months

Not includedA deemed distribution: missing loan payments while still employed can make the balance taxable with no money paid to you.

Contributions you’d stop while repaying

How much a month you would stop putting in while you repay the loan, including any employer match you would lose.

Where to find itYour pay stub (your 401(k) deduction) and your plan’s matching formula.

How this tool treats itThe tool shows how much smaller your 401(k) would be at the compare age as its own line. It is not part of the loan-versus-withdrawal comparison, which assumes both keep contributing alike.

Allowed range$0 to $10,000 a month

Federal withholding

Leave the plan’s default, or enter the rate you chose on Form W-4R.

Where to find itThe Form W-4R you give the plan with your request, or the withholding shown on its confirmation.

How this tool treats itA withdrawal you could roll over has mandatory 20% withholding: you can choose more on Form W-4R but not less. A hardship withdrawal and a birth, emergency or domestic abuse withdrawal default to 10%, and you can choose any rate from 0% to 100%. Nothing is withheld from a rollover-eligible withdrawal under $200 in the year. Withholding is a prepayment; your return decides the tax, so the tool shows what you will still owe or get back. To undo a withdrawal you could roll over, put the whole amount, including what was withheld, into an IRA or plan within 60 days.

Allowed range0% to 100%

Tax withholding in the glossary

State income tax rate on it

A flat state income tax rate to apply to the withdrawal, or 0 to leave state tax out.

How this tool treats itApplied to the whole withdrawal only. Some states add their own tax on early withdrawals, which is not included, and the plan may withhold state tax, which is not shown.

Allowed range0% to 15%

Investment income

Taxable interest and nonqualified dividends; separately, qualified dividends and long-term capital gains.

Where to find itThis year’s 1099 forms, or last year’s Form 1040 as a guide: lines 2b and 3b for interest and ordinary dividends, lines 3a and 7 for qualified dividends and gains.

How this tool treats itThe withdrawal is not investment income, but by raising your income it can add the 3.8% net investment income tax on these amounts, and push qualified dividends and gains from the 0% rate to 15%. These amounts also count toward the earned income credit’s investment income limit.

Allowed range$0 to $10,000,000 each

Other taxable income

Other income taxed like wages: unemployment pay, a pension, or self-employment profit after its own adjustments.

How this tool treats itAdded to your ordinary income. It is not investment income, so it does not count toward the net investment income tax or the earned income credit’s investment income limit. Self-employment tax is not figured here.

Allowed range$0 to $10,000,000

Social Security benefits this year

The year’s total Social Security benefits.

Where to find itForm SSA-1099, box 5.

How this tool treats itA withdrawal can make more of your benefits taxable, which the tax it adds includes.

Allowed range$0 to $500,000

HSA and other adjustments, and itemized deductions

Adjustments to income that do not shrink as income rises, such as HSA contributions and educator expenses, and your itemized deductions if you itemize.

Where to find itSchedule 1 (Form 1040), Part II, and Schedule A, from last year as a guide.

How this tool treats itThe larger of your itemized deductions and the standard deduction is used. Adjustments and itemized deductions are taken as entered and do not change with the withdrawal. A deductible IRA contribution and student loan interest shrink as income rises and are not modeled, so the withdrawal may add a little more tax than shown when you have them.

Allowed range$0 to $1,000,000 of adjustments; $0 to $10,000,000 itemized

Children and other dependents

Children under 17 you claim, and any other dependents.

How this tool treats itChildren under 17 count for the child tax credit and as qualifying children for the earned income credit. A withdrawal can reduce either credit, which is part of the tax it adds.

Allowed range0 to 10 each

Child tax credit in the glossary

65 or older

At 64, tick if you were born before January 2 of the year the label shows (the tax year minus 64): that makes you 65 by the end of the tax year. On a joint return, tick if your spouse is 65 or older at the end of the year.

How this tool treats itThe IRS counts you as 65 on the day before your 65th birthday, so someone born on January 1 is 65 for the year before. It adds to the standard deduction and, for 2025 through 2028, brings the senior deduction of up to $6,000 a person, reduced as income rises, so a withdrawal can shrink it.

Compare at age, and your later tax rate

The age at which you would use the money, and the tax rate you expect to pay when you take it out then.

How this tool treats itBoth choices get the same cash today. The borrower repays the loan from pay; the tool sets the same monthly payments aside for the withdrawer, growing at the same return. Each 401(k), and the growth on the savings, is then taxed once at the later rate, by default the rate this withdrawal costs in income tax and state tax (from 0% to 60%). Yearly tax on interest and dividends, or a lower rate on long-term gains, would change the result. The 10% is not applied later. An age at or below your age now is read as one year later.

Allowed rangeAge 19 to 98; 0% to 60%

Roth money in your 401(k)

How much of your vested balance is in a Roth 401(k) account in this plan, how much of that you put in yourself, and the year of your first Roth contribution to this plan.

Where to find itYour plan’s statement or website, which shows the Roth source separately. A Form 1099-R for an earlier Roth distribution shows the first year in box 11.

How this tool treats itA Roth withdrawal is a qualified distribution, with no tax at all, once you are 59½ (or disabled) and five years have passed since January 1 of the year of your first Roth contribution to this plan. Otherwise your contributions come out tax-free in proportion and the earnings are taxed, with the 10% before 59½. Roth money moved in by a direct rollover from another plan keeps that plan’s earlier year; money rolled over within 60 days does not. A year after the tax year is read as the tax year.

Allowed range$0 to $10,000,000; years 2006 to 2026

Not includedThe five-year recapture of an in-plan Roth rollover, and a beneficiary’s withdrawal.

Roth 401(k) in the glossary

After-tax money in your 401(k)

How much of your vested balance comes from after-tax contributions that are not Roth, with their earnings, and how much of that you put in.

Where to find itYour plan’s statement, where after-tax contributions are a separate source from pre-tax and Roth money.

How this tool treats itYour after-tax contributions come out tax-free in proportion and their earnings are taxed. The tool treats this money and its earnings as their own account, which the tax law allows a plan to do; if your plan does not, more of a withdrawal may be taxable.

Allowed range$0 to $10,000,000

Not includedAfter-tax contributions made before 1987, which can come out first.

How the withdrawal is split

In proportion to each part’s cash, or the shares you set: the part from Roth money and the part from after-tax money, the rest from pre-tax money.

Where to find itYour plan’s withdrawal rules or its withdrawal form.

How this tool treats itPlans differ. A hardship withdrawal comes after any after-tax money you can take, so that part counts as an ordinary withdrawal. Roth contributions from your pay usually cannot come out while you work there before 59½ except as a hardship, so an in-proportion withdrawal of that kind leaves Roth money out. A share larger than what is left after the Roth share is reduced to fit. A loan is taken from pre-tax money first, then after-tax, then Roth.

Allowed range0% to 100% each

Premium tax credit

Tick if you get a premium tax credit for health insurance bought through the Marketplace.

How this tool treats itThe withdrawal raises the income the credit is figured on, so the credit may shrink, and in 2026 there is no credit above 400% of the poverty line. The tool notes this but does not price it.

Today’s dollars

Tick to show future amounts in today’s dollars, and set the inflation rate.

How this tool treats itEach future amount is divided by one plus inflation for each whole year ahead. The comparison’s result does not change, only how it is shown.

Allowed range0% to 10%

Questions

Is the 10% penalty on the whole withdrawal?
On the part that is taxable, which for a traditional 401(k) with only pre-tax money is all of it, less any part an exception covers. It is an additional tax added to your return after your credits, so the child tax credit can’t reduce it. In the example on this page, $20,000 taken out at 40 brings $2,000 of it on top of $4,400 of income tax.
How is a withdrawal from a Roth 401(k) taxed?
If it is a qualified distribution, not at all: you must be 59½ (or disabled) and five years must have passed since January 1 of the year of your first Roth contribution to the plan. Otherwise your contributions come out tax-free in proportion and the earnings are taxed, with the 10% before 59½. In the example on this page, a $10,000 Roth withdrawal at 60 that meets both tests costs nothing.
Why was only 10% (or 20%) withheld when I owe more?
Withholding is a prepayment at a fixed rate, not your tax. The plan must withhold 20% from a withdrawal you could roll over, such as one after leaving the job, and 10% from a hardship withdrawal unless you choose another rate on Form W-4R. Neither counts your bracket or the 10% additional tax. In the example on this page, $2,000 is withheld from a hardship withdrawal that costs $6,400, so about $4,400 is still owed when you file.
Which exceptions to the 10% don’t apply to a 401(k)?
Paying for higher education, buying a first home (up to $10,000) and health insurance while unemployed are exceptions for IRAs only. They don’t apply to a 401(k) withdrawal. A hardship withdrawal is not an exception either: it lets you take the money out while you still work there, and the 10% still applies unless one of the exceptions does.
Does the age-55 rule still apply if I roll the money into an IRA?
No. The exception for leaving your job in or after the year you turn 55 applies to withdrawals from that employer’s plan only; once the money is in an IRA, the IRA rules apply and the 10% returns until 59½. In the example on this page, the same withdrawal at 56 after leaving at 55 costs $4,400 instead of $6,400.
Is a 401(k) loan better than a withdrawal?
It can cost less, if you can repay it and expect to stay with the employer. A loan isn’t taxed while you repay it on schedule, and the interest goes into your own account. In the example on this page, borrowing $13,600 costs $275.76 a month for 5 years, and with the same payments saved after a withdrawal instead, borrowing still leaves you about $24,941 ahead at 65, after tax. The risk is leaving the job before it’s repaid.
What happens to my 401(k) loan if I leave my job?
The plan usually takes what you still owe out of your account (a loan offset). You can avoid the tax by repaying it, or by rolling the same amount into an IRA by your tax return’s due date, including extensions. Otherwise it is taxed like a withdrawal, with the 10% if you are under 59½, unless you leave in or after the year you turn 55. In the example on this page, leaving after 12 months would leave about $11,296 owed, and about $3,605 of tax if it isn’t repaid or rolled over.
Can I put the money back?
Within 60 days you can roll a withdrawal you could have rolled over into an IRA or another plan, and it isn’t taxed. To roll over the whole amount you have to add back what was withheld from other money; you get it back when you file. A birth or adoption, emergency, domestic abuse or terminal illness withdrawal can be repaid within three years. A hardship withdrawal can’t be rolled over.
Do I need Form 5329?
If the 10% applies to the whole amount and your Form 1099-R shows code 1, you can enter it on Schedule 2, line 8, without Form 5329. If you are claiming an exception the 1099-R doesn’t show, you file Form 5329 and enter the exception’s number.

Version history

  • October 13, 2026 (version 1.0.0): First version: the federal tax and 10% additional tax on a 401(k) withdrawal before 59½, its exceptions, Roth and after-tax money, the withholding and what you'll owe at filing, and a 401(k) loan compared, for 2025 or 2026.

Sources

AdviceOnly maintains high editorial standards to improve the quality and accuracy of our educational content. Content is written with the assistance of artificial intelligence tools following a rigorous quality assurance process, and periodically reviewed by credentialed and experienced human financial advisors. References used include government data, academic papers, interviews with industry experts, and reputable primary sources. You can learn more about our efforts to produce accurate content in our editorial policy.

  1. 26 U.S.C. 72(t) and 72(p): the 10% additional tax on early distributions and its exceptions; loans treated as distributions
  2. 26 U.S.C. 402(c): rollovers, the 60-day rule and plan loan offsets
  3. 26 U.S.C. 3405: withholding on pensions and eligible rollover distributions
  4. Treasury Regulation §1.72(p)-1: loans from qualified employer plans
  5. Treasury Regulation §1.402(c)-2: eligible rollover distributions and plan loan offsets
  6. IRS Publication 575 (2025), Pension and Annuity Income
  7. Instructions for Form 5329 (2025): additional taxes on qualified plans, and the exception list
  8. Form W-4R (2026): withholding on nonperiodic payments and eligible rollover distributions
  9. IRS Notice 2024-55: emergency personal expense and domestic abuse victim distributions
  10. IRS Notice 2020-68: qualified birth or adoption distributions
  11. IRS Notice 2025-67: 2026 limits, including the domestic abuse distribution limit
  12. IRS Notice 2024-80: 2025 limits, including the domestic abuse distribution limit
  13. Instructions for Form 1040 (2025): Tax Table and Tax Computation Worksheet
  14. Rev. Proc. 2025-32 (Internal Revenue Bulletin 2025-45): 2026 tax rates, standard deduction and credits
  15. IRS: Retirement plans FAQs regarding loans

Want someone to check your numbers?

Browse advice-only planners who charge a transparent flat fee for advice, with no commissions and no percentage of your assets.