401(k) Hardship Withdrawal Calculator for Home Purchase

Find out exactly how much you will net after taxes and penalties when withdrawing from your 401(k) for a home down payment — and whether a 401(k) loan or larger mortgage might be a smarter choice.

$
$
years
Net Amount Received After Taxes
$25,200
From a $40,000 withdrawal — effective loss rate: 37.0%
Gross Withdrawal
$40,000
Federal Income Tax (22%)
-$8,800
State Income Tax (5%)
-$2,000
Early Withdrawal Penalty (10%)
-$4,000
10% penalty applies. At age 38, you are under 59.5. The IRS charges a 10% early withdrawal penalty on top of regular income taxes. To get $25,200 net, you must withdraw $40,000.

A 401(k) loan avoids taxes and penalties — you borrow from yourself and repay with interest back to your own account. For home purchases, repayment can extend to 15 years.

years
%
Hardship Withdrawal
$25,200
Net received from $40,000 gross
Lost to taxes + penalty: $14,800
Retirement savings permanently reduced
Cannot be repaid — permanent loss
401(k) Loan (Up to $50,000)
$50,000
Full amount available (50% of balance or $50K)
Monthly payment: $422/mo (15 yrs)
Interest paid back to yourself: $25,947
No tax, no penalty — repay over 15 years
Loan risk: If you leave your job (voluntarily or not), the entire outstanding 401(k) loan balance typically becomes due within 60-90 days. If not repaid, it converts to a taxable distribution with penalties.

The real cost of a 401(k) withdrawal is not just the tax and penalty — it is the compound growth you lose for the rest of your working years. This "opportunity cost" is often far larger than the initial hit.

Gross Withdrawal
$40,000
Taxes + Penalty
$14,800
Effective rate: 37.0%
Net Received
$25,200
Actual cash for down payment
Years to Retirement (65)
27 years
From age 38
Lost Compound Growth (7%)
$208,555
40000 compounding for 27 years
Total Real Cost
$223,355
Taxes + penalty + lost growth
The hidden cost: A $40,000 withdrawal at age 38 doesn't just cost $14,800 in taxes. At a 7% average return, that money would have grown to $248,555 by retirement at 65 — a total opportunity cost of $208,555.

How to Use This 401(k) Hardship Home Calculator

This calculator reveals the true cost of using a 401(k) hardship withdrawal for a home down payment — including all taxes, penalties, and long-term retirement impact.

Quick Calculator

Enter your 401(k) Balance and Withdrawal Amount Needed. Enter your Age — if you are under 59.5, a 10% early withdrawal penalty applies automatically. Select your Federal Tax Bracket and State Income Tax Rate. The calculator instantly shows the federal tax, state tax, penalty, and net amount you will actually receive after all deductions.

Advanced: Withdrawal vs Loan

The Advanced tab compares a hardship withdrawal to a 401(k) loan. The loan avoids all taxes and penalties and can be repaid over up to 15 years for a primary home purchase. The Roth 401(k) tab shows how after-tax contributions can be withdrawn tax-free. The IRA Exception tab explains the $10,000 penalty-free IRA withdrawal for first-time homebuyers.

Pro: Long-Term Cost

The Pro section calculates the true retirement cost — not just the immediate tax hit, but the compound growth lost over your remaining working years. The vs Higher Mortgage tab compares whether PMI and extra interest on a larger mortgage is cheaper than the total cost of a 401(k) withdrawal.

How 401(k) Hardship Withdrawal Taxes Are Calculated

Federal Tax = Withdrawal Amount x Federal Marginal Rate
State Tax = Withdrawal Amount x State Income Tax Rate
Early Withdrawal Penalty = Withdrawal x 10% (if under age 59.5)

Net Amount = Withdrawal - Federal Tax - State Tax - Penalty

Example: $40,000 withdrawal, age 38, 22% federal, 5% state
Federal Tax = $40,000 x 22% = $8,800
State Tax = $40,000 x 5% = $2,000
Penalty = $40,000 x 10% = $4,000
Net Received = $40,000 - $14,800 = $25,200 (37% lost)

The 401(k) withdrawal is added to your ordinary income for the year. This means if a large withdrawal pushes you into a higher bracket, part of the withdrawal could be taxed at an even higher rate than your current marginal rate. Timing large withdrawals in low-income years (like a year between jobs) can reduce the tax burden significantly.

Example: 401(k) Withdrawal vs Loan vs Mortgage

Scenario: Need $40,000 for Down Payment, Age 38, 22% Federal Bracket, 5% State Tax

Option A: Hardship WithdrawalGross: $40,000 / Net: $25,200 / Retirement cost: $265,000+ (lost growth)
Option B: 401(k) Loan ($40,000)Full $40,000 available / Repay $277/mo over 15 years / Retirement savings preserved
Option C: Bigger Mortgage + PMIExtra PMI ~$200/mo for ~4 years ($9,600) / Extra interest ~$30,000 over 30 yrs
Best Option401(k) Loan or Larger Mortgage — both beat hardship withdrawal

The hardship withdrawal is almost always the most expensive option when you factor in the long-term retirement impact. The 401(k) loan preserves your retirement savings while giving you full access to the funds needed.

Frequently Asked Questions

There is no penalty-free 401(k) withdrawal specifically for home purchases. A home purchase qualifies as a "hardship" under IRS rules, but the 10% early withdrawal penalty still applies if you are under age 59.5. You will also owe regular income tax on the full amount. The only IRS exception for home purchases without the penalty applies to IRAs (not 401k), allowing up to $10,000 for first-time homebuyers.
Through a 401(k) loan (not a withdrawal), you can borrow up to 50% of your vested account balance or $50,000, whichever is less. For primary home purchases, the IRS allows an extended repayment period of up to 15 years instead of the standard 5 years. The loan must be repaid through payroll deductions. Unlike a withdrawal, a 401(k) loan incurs no income tax or early withdrawal penalty as long as it is repaid on schedule.
The IRS allows first-time homebuyers to withdraw up to $10,000 from a traditional IRA without the 10% early withdrawal penalty. You still owe income tax on the amount, but the penalty is waived. A "first-time homebuyer" is defined as anyone who has not owned a primary residence in the past 2 years. This exception applies to IRAs only — not 401(k), 403(b), or other employer-sponsored plans. Spouses can each claim up to $10,000 for a combined $20,000 penalty-free.
If you leave your job for any reason — voluntarily or through layoff — the entire outstanding 401(k) loan balance typically becomes due within 60-90 days. If you cannot repay it, the unpaid balance is treated as a taxable distribution subject to income tax and the 10% early withdrawal penalty. As of 2018 tax law changes, you have until the tax filing deadline (including extensions) of the year you left your job to repay and avoid taxes and penalties.
For most people under 50, paying PMI on a slightly larger mortgage is financially better than a 401(k) withdrawal. PMI typically costs 0.5-1% of the loan amount per year and is canceled once you reach 20% equity — often within 5-10 years. The total PMI cost (typically $10,000-$20,000) is usually far less than the combined immediate tax/penalty loss plus decades of lost compound growth from a 401(k) withdrawal. The math heavily favors keeping the 401(k) intact.

Related Calculators