How the 401(k) early withdrawal calculator works
Most cash-out calculators multiply your withdrawal by one flat tax rate. That gets the answer wrong for almost everyone who has just been laid off, because the tax depends on what else you earned this year and where you live. This calculator works through the same steps your tax returns will:
- Taxable amount. All of a pre-tax withdrawal is taxable. For Roth 401(k) or after-tax money, only the earnings share is, worked out pro-rata; a qualified Roth withdrawal is tax-free.
- Withholding. A cash-out paid to you after leaving is an eligible rollover distribution, so the plan must hold back 20% of the taxable part. You receive the rest now. Withholding counts toward your tax; it isn't an extra cost.
- Federal income tax. Tax on your other income alone, then on your other income plus the withdrawal, both after the standard deduction for the tax year you pick (2026: $16,100 single, $32,200 married filing jointly). The difference is the withdrawal's real federal cost.
- State income tax. The same before-and-after method with your state's own brackets, deductions, exemptions, surtaxes and retirement exclusions. Where we couldn't verify a state's rules for the year, the calculator says state tax not calculated instead of guessing.
- Additional taxes. The federal 10% if you're under 59½ and no exception applies, plus California's 2.5% or Vermont's 2.4%, which follow the federal exceptions.
- Settling up and the alternative. The withholding is compared with your federal bill to show what you'll owe or get back. A direct rollover keeps the whole amount invested; its growth is shown as an illustration, never a forecast.
How much should I withdraw from my 401(k) to cover a gap?
Most people don't start with a withdrawal amount. They start with a hole in the budget: rent and groceries for the months until unemployment, severance or a new paycheck catch up. The calculator's "How much do I need?" tab works backwards from that hole:
- Size the gap. Monthly shortfall after unemployment benefits, times the months to cover, or one amount.
- Spend the free money first. Savings and severance cost nothing. Roth IRA contributions (not the growth) come out with no income tax and no 10%, because contributions leave a Roth IRA first.
- Gross up the rest. It searches for the smallest withdrawal that leaves you the gap after federal tax, state tax and the 10%, using the same engine as the cost tab, not a flat rate.
- Try January. If some of the money can wait until January 1, it tests splits between this tax year and next, with next year's published brackets and your expected income, and keeps the cheapest. Where a state hasn't published next year's rules, it compares federal tax only and says so.
- Compare every source. Loan, hardship withdrawal, rule of 55 and the $1,000 emergency distribution, each marked use, ask your plan or not available for your situation.
Example 4: "I need $20,000 in hand"
Sam from Example 1 below (single, North Carolina, $85,000 of other income this year, age 38) needs $20,000 after tax, all of it now.
| Step | Amount | How we got it |
|---|---|---|
| Cash needed after tax | $20,000 | The gap Sam enters |
| Withdrawal needed | $31,246 | Smallest amount whose after-tax value reaches the target |
| Federal income tax | $6,874 | Extra tax on top of $85,000; top bracket 22% |
| North Carolina tax | $1,247 | NC flat rate on the withdrawal |
| 10% additional tax | $3,125 | Under 59½, no exception |
| Sam keeps | $20,000 | Withdrawal minus all tax |
| Withheld (20%) | $6,249 | Cash received now: $24,997 |
| At tax time | owes $3,750 federal + $1,247 NC | Set this aside from the check |
Every dollar Sam ends up with costs about 56 cents of tax. Grossing up by a flat 20% or 30% would leave Sam short.
Example 5: withdraw now, or split it with January?
Alex, 42 and single in Texas, earned $90,000 before the layoff this year and expects about $10,000 next year. Alex is short $5,000 a month for six months ($30,000), has $5,000 of savings to use, and needs $10,000 of the rest before January.
| Plan | This year | January | Total withdrawn | Total tax |
|---|---|---|---|---|
| All in 2026 | $36,916 | $0 | $36,916 | $11,916 |
| Best split | $14,706 | $17,924 | $32,630 | $7,630 |
Both plans net $25,000 from the 401(k) after tax. Texas has no income tax; 2027 uses the published 2027 federal brackets.
Waiting saves Alex about $4,286. This year every extra dollar lands in the 22% or 24% bracket plus the 10%; next January, with little income, the first dollars are covered by the standard deduction and the rest start at 10%. The planner keeps only the $10,000 Alex can't do without in this tax year.
Example 1: age 38, cashing out $40,000 in a severance year
Sam is single, lives in North Carolina and was laid off in the spring. This year Sam earned $62,000 in salary, $18,000 in severance and $5,000 in unemployment: $85,000 of other income. Sam wants $40,000 from the old 401(k) to cover the gap.
| Step | Amount | How we got it |
|---|---|---|
| Withdrawal | $40,000 | Requested from the old plan |
| 20% withheld | −$8,000 | 20% of $40,000; a prepayment |
| Cash received now | $32,000 | Withdrawal minus withholding |
| Federal income tax | $8,864 | Tax on $125,000 minus tax on $85,000; top bracket 24% |
| North Carolina tax | $1,596 | 3.99% flat; NC's standard deduction is already used by Sam's other income |
| 10% additional tax | $4,000 | Under 59½, left before the year of 55 |
| Total tax | $14,460 | 36.1% of the withdrawal |
| Sam keeps | $25,540 | Withdrawal minus total tax |
| At tax time | owes $4,864 federal | $8,000 withheld vs $12,864 federal bill; NC tax $1,596 due with the state return |
| Direct rollover instead | $192,894 | $40,000 at 6% a year for 27 years — illustration only |
The surprise for Sam is the tax bill in April. The plan's 20% didn't cover the 10% additional tax plus income tax in the 22% and 24% brackets. If Sam could wait until January, with no salary or severance, the same withdrawal would land in lower brackets — and in 2027 North Carolina's rate drops to 3.49%: the same withdrawal would cost $14,196 instead of $14,460 at the same income.
Example 2: age 56, using the rule of 55
Maria was born in 1970 and was laid off in June 2026, the year she turned 56. She and her spouse file jointly, live in Texas (no state income tax) and have $50,000 of other income this year. She takes $60,000 from the 401(k) of the job she just left.
| Step | Amount | How we got it |
|---|---|---|
| Withdrawal | $60,000 | From the plan of the job she left |
| 20% withheld | −$12,000 | Still applies under the rule of 55 |
| Cash received now | $48,000 | Withdrawal minus withholding |
| Federal income tax | $7,060 | Tax on $110,000 minus tax on $50,000, married filing jointly |
| State tax | $0 | Texas has no income tax |
| 10% additional tax | $0 | Left in the calendar year she turned 56 |
| Total tax | $7,060 | 11.8% of the withdrawal |
| Maria keeps | $52,940 | Withdrawal minus total tax |
| At tax time | refund $4,940 | $12,000 withheld vs $7,060 federal bill |
Without the rule of 55 the same withdrawal would cost $13,060. Had Maria rolled the money into an IRA first, she would have lost the exception. The order of moves matters — see the rule of 55 guide.
Example 3: a large California withdrawal
A single California resident, age 45, with $150,000 of other income cashes out $2,000,000. At this size California's top 12.3% bracket and its 1% Behavioral Health Services Tax on income over $1 million both apply, on top of the state's 2.5% early-distribution tax.
| Line | Amount |
|---|---|
| Federal income tax | $720,766 |
| California income tax (brackets, 1% surtax, credit phase-out) | $245,790 |
| Federal 10% additional tax | $200,000 |
| California 2.5% early-distribution tax | $50,000 |
| Total tax | $1,216,556 (60.8%) |
| Kept after all tax | $783,444 |
A flat 9.3% estimate would put California tax near $186,000 — about $60,000 too low at this income.
401(k) cash-out tax by income: why other income matters
Here is the same $25,000 withdrawal for a single filer age 40 in a state with no income tax. The only thing that changes is the other income earned in the same year.
| Other income this year | Federal income tax | 10% additional tax | Total tax | You keep |
|---|---|---|---|---|
| $0 | $890 | $2,500 | $3,390 (13.6%) | $21,610 |
| $30,000 | $3,000 | $2,500 | $5,500 (22.0%) | $19,500 |
| $60,000 | $4,850 | $2,500 | $7,350 (29.4%) | $17,650 |
| $100,000 | $5,564 | $2,500 | $8,064 (32.3%) | $16,936 |
| $150,000 | $6,000 | $2,500 | $8,500 (34.0%) | $16,500 |
| $250,000 | $8,080 | $2,500 | $10,580 (42.3%) | $14,420 |
2026 federal brackets and standard deduction for a single filer, no state income tax.
The cost roughly triples between the first row and the last. If you must withdraw, a year with little other income costs far less than the year you collect a salary and severance together.
Is the 20% withholding enough?
The 20% is a fixed amount the plan must send to the IRS when a cash-out after leaving is paid to you. It isn't based on your bracket, and some payouts are different: hardship withdrawals and the newer emergency, birth-or-adoption and disaster distributions default to 10%, which you can change. Three things decide whether 20% covers you:
- Your top bracket. Once the withdrawal reaches the 22% bracket or above, income tax alone can come close to 20%.
- The 10% additional tax. Under 59½ with no exception, income tax plus the 10% passes 20% for most people with a full salary.
- State tax. Some states require or default to state withholding on a cash-out; many don't, so the state bill comes with your state return.
If the calculator shows you'll owe, set that money aside now. A large unpaid balance can also bring an underpayment penalty; the IRS safe harbors depend on last year's tax and this year's withholding, so a quarterly estimated payment is often the simplest way to stay clear.
The 10% early withdrawal penalty and its exceptions
The 10% additional tax applies to the taxable part of a withdrawal before 59½. The exceptions that come up most for 401(k) plans — the calculator's "special circumstances" menu applies these and flags the result for you to check the conditions:
| Exception | Who it helps | Covers IRAs too? |
|---|---|---|
| Age 59½ or older | Anyone past 59½ on the payment date | Yes |
| Rule of 55 | Left the job in or after the calendar year you turned 55; that employer's plan only | No |
| Public safety at 50 | Qualified public safety workers and private-sector firefighters: age 50 or 25 years of service | No |
| Total and permanent disability | You can't work because of a lasting condition | Yes |
| Terminal illness | A physician certifies death expected within 84 months | Yes |
| Equal periodic payments | A fixed schedule over your life expectancy, after leaving the job | Yes |
| Medical bills | Unreimbursed medical costs above 7.5% of income | Yes |
| Emergency expense | Up to $1,000 once a calendar year | Yes |
| Birth or adoption | Up to $5,000 per child | Yes |
| Domestic abuse | Up to $10,500 (2026) or half the balance | Yes |
| Federally declared disaster | Up to $22,000 per disaster | Yes |
Income tax still applies in every case. A hardship withdrawal is not an exception on its own. Unemployed health premiums, education and first-home exceptions apply to IRAs only.
If you need money every year until 59½ rather than once, repeated withdrawals each owe the 10%. Equal periodic payments avoid it at any age, in exchange for a fixed schedule you must keep for at least five years: size yours with the 72(t) SEPP payment calculator.
Rule of 55 after a layoff
If you leave your job in or after the calendar year you turn 55, withdrawals from that employer's 401(k) skip the 10% additional tax, though income tax still applies. It doesn't follow the money into an IRA. Check your eligibility in the rule of 55 guide.
401(k) withdrawal tax by state
States don't treat 401(k) money the same way. The calculator applies each state's own 2026 rules for 50 of 51 jurisdictions; for 2027, 20 have verified schedules so far, and the rest show "state tax not calculated" until they publish. What to know:
- Nine states don't tax wages or 401(k) withdrawals: Alaska, Florida, Nevada, New Hampshire, South Dakota, Tennessee, Texas, Washington and Wyoming.
- Illinois excludes qualified plan distributions, including early ones. Iowa excludes them once you're 55 by December 31.
- Kentucky excludes up to $31,110 per person and Oklahoma up to $10,000, at any age; Connecticut excludes some or all at lower incomes.
- Older readers: Georgia excludes up to $35,000 per person from 62 ($65,000 from 65) and Delaware up to $12,500 from 60, including 401(k) money. New York ($20,000 from 59½) and Colorado ($20,000 from 55, $24,000 from 65) cover IRA money but list only periodic payments from a 401(k), so for a one-time 401(k) cash-out the calculator tells you about them instead of applying them.
- California adds 2.5% and Vermont 2.4% when the federal 10% applies.
- Pennsylvania taxes only the part above contributions you already paid Pennsylvania tax on, so we can't estimate it without that figure.
- Local income taxes (Maryland counties, New York City, Indiana counties and others) aren't included; the calculator warns when one applies.
See state tax on a $40,000 withdrawal in every state +
Single filer, age 38, $85,000 of other income, tax year 2026. Incremental state income tax plus any state early-distribution tax. Each state links to its main official source.
| State | State tax | 2027 |
|---|---|---|
| Alabama | $1,557 | Not yet published |
| Alaska | $0 (no income tax) | Verified |
| Arizona | $1,000 | Not yet published |
| Arkansas | $1,765 | Not yet published |
| California | $4,720 incl. $1,000 early tax | Not yet published |
| Colorado | $1,760 | Not yet published |
| Connecticut | $2,525 | Not yet published |
| Delaware | $2,640 | Verified |
| District of Columbia | $3,400 | Not yet published |
| Florida | $0 (no income tax) | Verified |
| Georgia | $1,996 | Not yet published |
| Hawaii | $3,040 | Verified |
| Idaho | $2,120 | Not yet published |
| Illinois | $0 | Not yet published |
| Indiana | $1,180 | Verified |
| Iowa | $1,520 | Not yet published |
| Kansas | $2,232 | Verified |
| Kentucky | $311 | Not yet published |
| Louisiana | $1,200 | Not yet published |
| Maine | $3,197 | Not yet published |
| Maryland | $2,026 | Not yet published |
| Massachusetts | $2,000 | Not yet published |
| Michigan | $1,700 | Not yet published |
| Minnesota | $2,723 | Not yet published |
| Mississippi | $1,600 | Verified |
| Missouri | $1,880 | Not yet published |
| Montana | $2,260 | Verified |
| Nebraska | $1,820 | Not yet published |
| Nevada | $0 (no income tax) | Verified |
| New Hampshire | $0 (no income tax) | Verified |
| New Jersey | $2,548 | Verified |
| New Mexico | $1,960 | Verified |
| New York | $2,538 | Not yet published |
| North Carolina | $1,596 | Verified |
| North Dakota | $780 | Not yet published |
| Ohio | $1,100 | Not yet published |
| Oklahoma | $1,350 | Not yet published |
| Oregon | $3,913 | Not yet published |
| Pennsylvania | Not calculated | Verified |
| Rhode Island | $1,765 | Not yet published |
| South Carolina | $2,226 | Not yet published |
| South Dakota | $0 (no income tax) | Verified |
| Tennessee | $0 (no income tax) | Verified |
| Texas | $0 (no income tax) | Verified |
| Utah | $1,884 | Not yet published |
| Vermont | $3,600 incl. $960 early tax | Not yet published |
| Virginia | $2,300 | Verified |
| Washington | $0 (no income tax) | Verified |
| West Virginia | $1,832 | Not yet published |
| Wisconsin | $2,374 | Not yet published |
| Wyoming | $0 (no income tax) | Verified |
State rules last verified 2026-11-12. Full research notes and every source per state are kept with our methodology.
What cashing out costs you at retirement
The tax is only part of the cost. Money you take out also stops growing. Here is what $10,000 left invested could grow to by 65 at 6% a year, depending on your age today:
| Age when you withdraw | Years to 65 | Value at 65 if left invested |
|---|---|---|
| 30 | 35 | $76,861 |
| 35 | 30 | $57,435 |
| 40 | 25 | $42,919 |
| 45 | 20 | $32,071 |
| 50 | 15 | $23,966 |
| 55 | 10 | $17,908 |
Before tax on later withdrawals and before fees. Returns are not guaranteed; 6% is an illustration, not a forecast.
How to withdraw from your 401(k) after a layoff
The steps are the same at every plan provider, though the screens differ. Do them in this order so you don't lose an exception or pay more tax than you need to.
- Find the plan and your vested balance. Your last statement or the plan's website shows who runs it. Lost track of it? Use our old 401(k) finder.
- Settle any plan loan first. An unpaid loan is usually offset against the balance after you leave and taxed like a withdrawal. See 401(k) loan after a layoff.
- Work out the amount. Use the "How much do I need?" tab above, and take only that. The rest can stay invested or move by direct rollover.
- Pick the distribution type. A partial withdrawal paid to you, the full balance, or a direct rollover. Some plans offer only a lump sum after you leave, so read the options before you choose.
- Choose withholding. On a payment to you the plan must withhold 20% of the taxable part; you can ask for more on Form W-4R if the calculator says you'll owe at tax time. Ask whether the plan withholds state tax too.
- Keep the money in the right plan if you're 55 or older. Under the rule of 55, withdraw straight from the plan of the employer you just left, not from an IRA.
- File it correctly. The plan sends Form 1099-R. Box 7 code 1 with no exception means the 10% goes on your return; if an exception applies that the code doesn't show, use our Form 5329 exception code finder.
How to cash out a 401(k), and when a partial withdrawal is better
Cashing out means asking the plan to pay you the whole vested balance. It is the same request as a partial withdrawal, with one difference that matters: the whole balance lands in one tax year, so more of it is taxed in higher brackets. Before you choose a full distribution:
- Run your real numbers in the cost tab. A full cash-out on top of a severance year is usually the most expensive way to get the money.
- Split it. Taking what you need now and the rest in January, or leaving the rest invested, can cut the tax bill by thousands (see Example 5).
- Small balances may be paid out anyway. A plan can force out a vested balance of up to $7,000 without your consent (its own limit may be lower); above $1,000 it must roll the money into an IRA for you if you don't choose.
- Changed your mind after the check arrives? You have 60 days to roll it into an IRA, but you must replace the 20% that was withheld from your own cash to avoid tax on it.
401(k) loan vs hardship withdrawal vs cash-out after a layoff
Many calculators compare a loan with a withdrawal as if both were on the table. After a layoff they often aren't. What's really available depends on whether you're still on the payroll:
| Option | Still employed (notice period) | Already left | Tax and 10% |
|---|---|---|---|
| Ordinary withdrawal / cash-out | Generally not until you leave or reach 59½ (plan rules vary) | Yes | Income tax; 10% under 59½ unless an exception; 20% withheld; can be rolled over within 60 days |
| Rule of 55 | No: needs separation | Yes, if you left in or after the year you turned 55 | Income tax only; no 10% |
| 401(k) loan | If the plan offers loans | Ask the plan; repayment normally runs through payroll | No tax while repaid; an unpaid balance is offset and taxed |
| Hardship withdrawal | If the plan offers it and the need qualifies | Not needed: take an ordinary withdrawal | Income tax; 10% still applies; 10% default withholding; can't be rolled over |
| Emergency expense (up to $1,000) | If the plan offers it | If the plan offers it | Income tax; no 10%; once a calendar year |
| Roth IRA contributions | Yes | Yes | No tax and no 10% on contributions |
More on each: hardship withdrawal guide, 401(k) loan after a layoff, rule of 55.
Your 401(k) options after a layoff
1. Leave it with your former employer
No tax, and your investments stay put. It suits you if the plan has low-cost funds, or if you left in or after the calendar year you turned 55 and may need penalty-free access. The risks: old accounts get forgotten, fees can be higher, and the plan may move a small balance out without asking.
2. Roll it into an IRA or your new employer's plan
No tax if done as a direct rollover to a traditional IRA or plan. An IRA usually gives more fund choice; a new employer's plan keeps everything in one place. Either way, money that leaves the old plan loses its rule of 55 access until you leave the new employer in or after the year you turn 55 (and never in an IRA). Moving pre-tax money into a Roth IRA is a conversion and is taxed now. Compare your rollover options.
3. Withdraw some or all of it
Income tax on the taxable amount, 20% withheld if it's paid to you, and the 10% additional tax under 59½ unless an exception applies. Use the calculator before you decide, and take only what you need.
Which option fits?
| Choose | When |
|---|---|
| Leave it in the old plan | The plan has good, cheap funds and your balance is above $7,000; or you left in or after the year you turned 55 and may need the money before 59½ |
| Direct rollover | You won't need the money for years and want more control, lower fees or one account |
| Partial withdrawal | Unemployment, severance and savings can't cover essentials, and you've seen the cost above |
Before you withdraw: checklist
Get your balance and plan summary
Your plan's website or statement shows the vested balance, any Roth or after-tax money, and any outstanding loan.
Know the plan's distribution rules
The plan may force out a vested balance of $7,000 or less (current law), or a lower limit it sets. Some plans allow only a lump sum.
Price the withdrawal
Run the calculator with your real other income and state, and set aside anything you'll owe at tax time.
Check the timing
A withdrawal in January, in a year with little income, can cost far less than one in December.
Ask for a direct rollover for anything you don't need
Payable to the new account, never to you.
Have a loan? Read the offset rules first
See the 401(k) loan after a layoff guide before you cash out.
Talk to a CPA if the amount is large
Especially with stock options, a big severance or a loan offset in the same year.
Frequently asked questions
What is the 401(k) early withdrawal penalty?
It is a 10% additional federal tax on the taxable part of a withdrawal taken before age 59½, on top of ordinary income tax. It is reported on your tax return, not taken by the plan. Exceptions include leaving your job in or after the calendar year you turn 55, disability and a few others. California adds 2.5% and Vermont adds 2.4% of the amount on top.
How much tax will I pay if I cash out my 401(k)?
Pre-tax money is taxed as ordinary income in the year you take it, stacked on top of your wages, severance and unemployment, so the rate depends on your other income: the same withdrawal can cost a few percent or more than 30% in federal tax. Add state tax and, under 59½, the 10% additional tax. The calculator works out each piece for your income and state.
Is the 20% withholding enough to cover the tax?
Often not. When a cash-out after leaving is paid to you, the plan must hold back 20% for federal tax, but that is a prepayment, not your bill. If the withdrawal reaches the 22% or 24% bracket and the 10% additional tax also applies, you can owe more when you file. With low income you may get some back. The calculator's "at tax time" line shows which way it goes.
Do I pay state tax on a 401(k) withdrawal?
Usually, if your state has an income tax. Nine states don't tax wages or 401(k) money; Illinois excludes qualified plan distributions even when early; Iowa excludes them from age 55; Kentucky and Oklahoma exclude a set amount; Georgia (from 62), Delaware (from 60) and New York (from 59½, for IRA money) exclude a set amount at older ages. California and Vermont add an early-distribution tax. The calculator uses your state's own brackets and rules where we've verified them, and says so when it can't.
Should I cash out my 401(k) after a layoff?
Usually only as a last resort. A layoff year often already carries salary, severance and paid-out vacation, so a cash-out lands in a higher bracket than it would next year. Use unemployment, severance and an emergency budget first. If you need money, a partial withdrawal costs less than cashing out the whole balance, and timing it into a lower-income year can help.
Hardship withdrawal or cash out after leaving: what's the difference?
A hardship withdrawal is for people still employed, and it needs a qualifying need. Once you leave, you can usually take an ordinary distribution instead. Neither escapes income tax, and hardship alone doesn't waive the 10% additional tax. A hardship withdrawal can't be rolled over and has 10% default withholding you can change; a cash-out after leaving can be rolled over within 60 days, with 20% withheld when it's paid to you.
Can I avoid the 10% penalty if I'm laid off at 55 or older?
Possibly. If you leave your job in or after the calendar year you turn 55, withdrawals from that employer's 401(k) skip the 10% additional tax. Income tax still applies. It doesn't cover IRAs or plans from earlier jobs, so rolling the money into an IRA first loses it, and money moved into a new employer's plan only qualifies once you leave that employer. Our rule of 55 guide has a checker.
How much do I need to withdraw from my 401(k) to get $20,000 after taxes?
More than $20,000, and how much more depends on your other income and state. A single North Carolina resident aged 38 with $85,000 of other income needs about $31,246: federal tax, state tax and the 10% take the rest. A Texas resident with no other income needs about $22,988. Use the "How much do I need?" tab to solve your own figure on the same tax engine.
Is it better to withdraw from my 401(k) in December or January?
January, if you can wait and your income next year will be lower. A layoff year usually stacks salary, severance and unpaid vacation, so a December withdrawal is taxed in a higher bracket. Moving part of it to January puts those dollars in next year's lower brackets. The planner tab splits the amount between the two years to find the cheapest mix.
Can I take a 401(k) loan after I'm laid off?
Don't count on it from the plan you just left. Plans don't have to offer loans at all, they set their own loan rules, and repayments normally come out of your paycheck, so a plan may not lend to someone who has left. Ask the plan. If you're still on payroll during a notice period, a loan may be possible, but an unpaid balance is offset and taxed when you leave.
Can I take a hardship withdrawal after I'm laid off?
You don't need one. Hardship withdrawals are for people still working for the employer. Once you've left, the plan can pay you an ordinary distribution without proof of need, and unlike a hardship withdrawal it can be rolled over. The tax is the same either way. If you're still employed during a notice period, our hardship withdrawal guide checks whether your need qualifies.
What happens to a 401(k) loan when I'm laid off?
The plan sets when the loan must be repaid after you leave. If you don't repay it, the unpaid balance is usually offset against your account and treated as a distribution: taxable, and subject to the 10% under 59½. If the loan was in good standing and the offset happens within 12 months of leaving, you can roll that amount into an IRA by your tax-return due date, including extensions.
Sources & methodology
Federal tax uses the 2026 or 2027 brackets and standard deduction for all four filing statuses, applied as the extra tax the withdrawal adds to your other income (the same engine as our severance tax calculator). Each tax year is a separate, fixed dataset with its own source and publication date.
State tax uses the same before-and-after method with each state's brackets, standard deduction, exemptions, surtaxes, recapture rules and retirement exclusions, as researched from official state sources and last verified 2026-11-12. Where a state's rules for the year couldn't be verified or depend on facts we don't ask (Pennsylvania's contribution basis), the calculator shows "state tax not calculated" and never substitutes a generic rate. It assumes a full-year resident, no state withholding and no local income tax.
The model ignores credits other than state exemption credits, itemized deductions, the extra deductions at 65+, and net unrealized appreciation on employer stock (if your plan holds company shares, check the NUA calculator before withdrawing or rolling over). Exceptions you select are applied as stated and flagged for you to check. Growth is compounded yearly at the rate you enter, as an illustration.
- Rev. Proc. 2025-32 — 2026 inflation-adjusted tax brackets and standard deduction — Internal Revenue ServiceThe 2026 brackets and standard deductions. · Last verified Nov 12, 2026
- Rev. Proc. 2026-35 — 2027 inflation-adjusted tax brackets and standard deduction — Internal Revenue ServiceThe 2027 brackets and standard deductions (published November 5, 2026). · Last verified Nov 12, 2026
- 26 U.S.C. §3405(c) — withholding on eligible rollover distributions — Office of the Law Revision Counsel, U.S. House of RepresentativesThe 20% withholding on an eligible rollover distribution paid to you. · Last verified Nov 12, 2026
- 26 U.S.C. §3405(b) — withholding on nonperiodic distributions — Office of the Law Revision Counsel, U.S. House of Representatives10% default withholding on hardship and other distributions that aren't eligible rollover distributions. · Last verified Nov 12, 2026
- 26 U.S.C. §72(t)(1) — 10-percent additional tax on early distributions — Office of the Law Revision Counsel, U.S. House of RepresentativesThe 10% additional tax on early distributions. · Last verified Nov 12, 2026
- Retirement topics — exceptions to tax on early distributions — Internal Revenue ServiceThe rule of 55 and the other exceptions in the table. · Last verified Nov 12, 2026
- Notice 2025-67 — 2026 amounts relating to retirement plans and IRAs — Internal Revenue Service2026 indexed limits for the domestic abuse and long-term care exceptions. · Last verified Nov 12, 2026
- Publication 590-B (2025), Distributions from Individual Retirement Arrangements — Roth IRAs, ordering rules — Internal Revenue ServiceRoth IRA contributions come out first, with no income tax or 10%. · Last verified Nov 12, 2026
- Retirement plans FAQs regarding loans — Internal Revenue ServicePlans don't have to offer loans and set their own loan rules. · Last verified Nov 12, 2026
- IRS provides guidance on exceptions to the 10% additional tax for emergency personal expenses and survivors of domestic abuse (Notice 2024-55) — Internal Revenue ServiceEmergency personal expense distributions are optional for plans. · Last verified Nov 12, 2026
- 26 U.S.C. §401(a)(31)(B) — automatic rollover of mandatory distributions — Office of the Law Revision Counsel, U.S. House of RepresentativesAutomatic IRA rollover of a forced-out balance over $1,000. · Last verified Nov 12, 2026
- Topic no. 413, Rollovers from retirement plans — Internal Revenue ServiceNo withholding on a direct rollover; 60 days and replacing the withheld amount in an indirect rollover. · Last verified Nov 12, 2026
- 26 U.S.C. §411(a)(11)(A) — restriction on immediate distributions — Office of the Law Revision Counsel, U.S. House of RepresentativesA plan may force out a vested balance of $7,000 or less. · Last verified Nov 12, 2026
- Retirement plans FAQs regarding hardship distributions — Internal Revenue ServiceA hardship distribution can't be rolled over and may still owe the additional tax. · Last verified Nov 12, 2026
- Publication 120, Retirement Income — Illinois Department of RevenueIllinois subtracts qualified plan distributions, including early ones. · Last verified Nov 12, 2026
Related 401(k) and tax guides
Related LayoffNext Tools
Keep the momentum going with the tools people use most alongside this guide.
Important disclaimer
This calculator and page are educational only and are not tax, legal or investment advice. Results are estimates based on the inputs you give and the 2026–2027 rules described above. Your plan's rules, your full tax return and your state's law decide the real numbers. Talk to a CPA, a fee-only financial planner or your plan administrator before taking money out of a retirement account.

Deepak Middha is the founder of LayoffNext and a Chartered Accountant (ICAI, India). A U.S. immigrant with nearly 20 years of experience — and 18 years in hedge fund and private equity administration, including as Vice President of Fund Accounting at NAV Fund Administration Group and Associate Director of Private Equity and Real Estate at SS&C Technologies — he builds free, plain-language layoff tools and guides for employees, H-1B workers, and immigrant families.