Skip to FAQs

Homebuying

401(k) Loans, Hardship Withdrawals & Retirement Impact

Using Your 401(k) to Buy a House: Loans vs Withdrawals

Written by: , Editorial TeamWritten by: , Team
Reviewed by: TLN Editorial TeamTLN Team, Editorial TeamReviewed by: TLN Editorial TeamTLN Team, Team
Updated on

A 401(k) loan lets borrowers take up to 50% of the vested balance or $50,000 — whichever is less — without taxes or penalties, repaid through payroll deductions.

A hardship withdrawal triggers income tax plus a 10% early withdrawal penalty for borrowers under 59½, permanently removing the funds from the retirement account.


Next step:
Compare Mortgage Offers

401(k) Loan Rules

  • Maximum amount: 50% of vested balance or $50,000, whichever is less, borrowed from the account
  • Repayment: Payroll deduction over 5 years for most loans, up to 15 years for primary residence purchase
  • Interest rate: Typically prime rate plus 1%, and interest payments go back into the borrower’s own account
  • Job change risk: Remaining balance due within 60 days of employment termination or it becomes a taxable distribution

Hardship Withdrawal Rules

  • Tax hit: Full amount taxed as ordinary income in the year withdrawn at the borrower’s marginal rate
  • Penalty: 10% early withdrawal penalty applies if under age 59½ with no repayment option available
  • No payback: Unlike a 401(k) loan, hardship withdrawals cannot be repaid back into the account
  • Plan approval: The employer’s plan must specifically allow hardship withdrawals for home purchase purposes

Roth IRA Alternative

  • Contributions: Roth IRA contributions can be withdrawn any time tax-free and penalty-free at any age
  • Earnings exception: First-time buyers can withdraw up to $10,000 in earnings penalty-free from a Roth IRA
  • 5-year rule: The Roth IRA must be open for at least 5 years to withdraw earnings without income tax
  • Definition of first-time: IRS defines first-time as not owning a home in the previous 2 years

Retirement Impact

  • Lost growth: $50,000 withdrawn at age 35 would have grown to $380,000 by age 65 at 7% annual returns
  • Loan drag: 401(k) loan repayments reduce take-home pay, and many borrowers reduce contributions simultaneously
  • Double taxation: 401(k) loan interest is paid with after-tax dollars, then taxed again at withdrawal in retirement
  • Opportunity cost: Money used for a down payment cannot be recovered through catch-up contributions quickly

Frequently Asked Questions

Can I use my 401(k) for a down payment without penalty?
Only through a 401(k) loan. The loan is not a taxable event and carries no penalty as long as it is repaid. A hardship withdrawal triggers both income tax and a 10% penalty for borrowers under 59½. Some plans do not allow loans, in which case the hardship withdrawal is the only option.
How long do I have to repay a 401(k) loan for a home purchase?
Up to 15 years if the loan is used to purchase a primary residence. Standard 401(k) loans for other purposes must be repaid within 5 years. The plan administrator sets the exact terms, and repayment happens through automatic payroll deductions.
What happens to my 401(k) loan if I leave my job?
The remaining balance typically becomes due within 60 days of termination. If the borrower cannot repay, the outstanding balance is treated as a distribution — subject to income tax and the 10% early withdrawal penalty if under 59½. Some plans offer a grace period through the tax filing deadline of the following year.

The Bottom Line Up Front

Tapping a 401(k) for a home purchase is legal, common, and almost always a bad long-term financial decision. A 401(k) loan avoids taxes and penalties but puts retirement savings at risk if the borrower changes jobs. A hardship withdrawal permanently removes funds from the account and triggers a tax bill that can exceed 35% of the withdrawal amount. Roth IRA contributions offer the cleanest path — no taxes, no penalties, no repayment requirement. Before pulling retirement funds, exhaust every other down payment source: gift funds, DPA programs, and low-down-payment loan programs that require 3% to 3.5% down.

What Is the Difference Between a 401(k) Loan and a Hardship Withdrawal?

A 401(k) loan is borrowed from the account and repaid with interest. A hardship withdrawal is permanently removed from the account and taxed as income. The distinction matters enormously for long-term retirement planning.

With a loan, the money returns to the account through payroll deductions. The borrower pays interest to themselves — typically prime plus 1% — which partially offsets the lost investment growth. The account balance recovers once the loan is fully repaid, though the opportunity cost of missed market returns during the loan period is real and unrecoverable.

With a hardship withdrawal, the money is gone. The IRS taxes the full amount at the borrower’s ordinary income rate, and borrowers under 59½ pay an additional 10% early withdrawal penalty. On a $40,000 withdrawal for a borrower in the 24% federal bracket, the total tax and penalty bill is $13,600 — reducing the effective amount available for the down payment to $26,400.

Feature 401(k) Loan Hardship Withdrawal Roth IRA (First-Time Buyer)
Maximum amount 50% of vested balance or $50k Amount of financial need All contributions + $10k earnings
Income tax None (if repaid) Yes — full amount None on contributions; earnings may be taxed
10% penalty None (if repaid) Yes (if under 59½) None on contributions; waived on $10k earnings
Repayment required Yes — payroll deduction No (cannot repay) No
Repayment term Up to 15 years (home purchase) N/A N/A
Job change risk Balance due in 60 days No additional risk No additional risk
Funds return to account Yes — with interest No — permanently removed No — permanently removed
Impact on mortgage approval Counted as debt (reduces DTI) No impact on DTI No impact on DTI

How Does a 401(k) Loan Affect Mortgage Qualification?

Lenders count the 401(k) loan repayment as a monthly debt obligation. A $50,000 loan repaid over 15 years at 8.5% creates a $492 monthly payment that reduces borrowing power by roughly $70,000 on a conventional mortgage. The underwriter includes this payment in the debt-to-income ratio alongside the proposed mortgage, car payments, student loans, and minimum credit card payments.

The 401(k) balance after the loan is taken still counts as an asset for reserve requirements. Lenders typically discount retirement accounts by 40% when calculating reserves, so a $200,000 401(k) after a $50,000 loan counts as $90,000 in reserves ($150,000 remaining balance times 60%).

Borrowers who take a hardship withdrawal instead avoid the monthly payment impact on DTI, but permanently lose the retirement funds. From a pure mortgage qualification standpoint, the hardship withdrawal is less damaging to borrowing power — but the tax bill reduces the actual cash available for the down payment.

Approval Watchpoint

Underwriters verify the source of down payment funds. A large deposit from a 401(k) loan or withdrawal must be documented with a plan statement showing the distribution. Undocumented large deposits trigger additional sourcing requirements that can delay closing by 1 to 2 weeks.

What Is the Roth IRA First-Time Buyer Exception?

The Roth IRA offers the most favorable tax treatment for home purchase funds. Contributions — the money originally deposited — can be withdrawn at any time, at any age, without tax or penalty. This is always true regardless of the purpose of the withdrawal.

Earnings — the investment growth on those contributions — are normally taxed and penalized if withdrawn before age 59½. However, the IRS allows a one-time exception of up to $10,000 in earnings for first-time home buyers. The IRS defines “first-time” as not having owned a home in the previous two years, which means prior homeowners who have been renting qualify.

The 5-year rule adds one condition: the Roth IRA must have been open for at least 5 years to withdraw earnings tax-free. If the account has been open less than 5 years, the $10,000 in earnings avoids the 10% penalty but is still subject to income tax.

How Much Does Pulling from Retirement Actually Cost?

The real cost is not the tax bill or the penalty. The real cost is lost compound growth over the remaining years until retirement. A dollar removed from a retirement account at age 30 is not a dollar lost — it is seven to eight dollars lost by age 65.

A $40,000 withdrawal at age 30, assuming 7% average annual returns, would have grown to approximately $427,000 by age 65. That is the true opportunity cost. Even a 401(k) loan that is fully repaid has an opportunity cost, because the borrowed funds sit outside the market during the repayment period, missing potential gains.

The younger the borrower, the higher the cost. A 30-year-old pulling $40,000 loses roughly 10 times the original amount in future retirement value. A 55-year-old pulling the same amount loses roughly double. Age is the single most important variable in this calculation.

Deal Math

A $40,000 hardship withdrawal for a borrower in the 24% bracket at age 35 costs $13,600 in taxes and penalties today, plus $262,000 in lost retirement growth by age 65. Total true cost: $275,600 to access $26,400 in net down payment funds. Compare that to a 3% conventional loan ($9,000 down on a $300,000 home) with PMI at $125 per month.

What Are Better Alternatives to Using Retirement Funds?

Multiple options reduce or eliminate the need to tap retirement savings for a home purchase.

Low-down-payment programs: Conventional loans at 3% down, FHA at 3.5% down, VA at 0% down, and USDA at 0% down all reduce the cash needed. On a $300,000 home, 3% down is $9,000 versus the $60,000 that a 20% target would require.

Down payment assistance (DPA): Over 2,000 DPA programs exist nationwide offering grants, forgivable loans, and matched savings programs. Many are income-qualified up to 120% of area median income, covering moderate earners in addition to low-income buyers.

Gift funds: Conventional and FHA loans allow 100% of the down payment to come from gift funds from a family member. The donor provides a gift letter confirming no repayment is expected, and the lender documents the transfer.

Employer programs: Some employers offer home purchase assistance, relocation benefits, or forgivable loans for employees who buy near the workplace. These are not widely advertised and must be requested through HR.

The Bottom Line

A 401(k) loan is the least damaging way to access retirement funds for a home purchase, but “least damaging” is not the same as “good.” Exhaust gift funds, DPA programs, and low-down-payment loan products before touching retirement savings. If retirement funds are the only option, use a 401(k) loan over a hardship withdrawal, and borrow the minimum amount needed. The monthly payment reduces mortgage borrowing power, and job changes create a ticking clock on repayment.

Frequently Asked Questions

Does borrowing from a 401(k) affect my credit score?

No. A 401(k) loan is not reported to credit bureaus because it is not a traditional credit account. It does not appear on a credit report, does not affect the credit score, and does not count as a liability in credit scoring models. However, mortgage lenders still count the repayment as a debt obligation in DTI calculations.

Can I use 401(k) funds for closing costs, not just the down payment?

Yes. The funds from a 401(k) loan or withdrawal can be used for any part of the home purchase transaction — down payment, what you pay at closing, prepaid items, or reserves. The lender requires documentation showing the source but does not restrict how the funds are applied at closing.

Is a 401(k) loan better than PMI?

In most cases, keeping the 401(k) intact and paying PMI is the better financial decision. PMI on a conventional loan with 5% down costs roughly $100 to $200 per month and drops off automatically at 78% LTV. The lost retirement growth from a $40,000 withdrawal far exceeds the cumulative PMI cost over 5 to 7 years.

Can both spouses borrow from their 401(k) plans?

Yes. Each spouse can take a loan from their own 401(k) plan up to the $50,000 maximum. A married couple could access up to $100,000 in combined 401(k) loans. Both repayment obligations count in the DTI calculation for mortgage qualification.

What is the interest rate on a 401(k) loan?

Most plans charge prime rate plus 1%, which is currently around 9.5%. The interest is paid back into the borrower’s own 401(k) account, not to the plan administrator or a lender. While paying interest to yourself sounds beneficial, the borrowed funds miss market returns that historically average 7% to 10% annually.

Pin It on Pinterest

Share This