sodcalculator

10 Tech How-To

401k Home Purchase: Rules, Penalties & How It Works

Guide 10-37507 · Updated · Step by step

Yes, you can use your 401(k) retirement plan to buy a home, but the rules and costs depend on your specific plan and whether you take a loan or a hardship withdrawal. This guide explains both options, the tax implications, and the long-term trade-offs so you can make an informed decision.

Two Ways to Access Your 401(k) for a Home

There are two primary methods, and they have very different consequences:

  • 401(k) loan: You borrow from your account and repay with interest over a set term (usually 5 years, but longer for a primary residence). No taxes or penalties if you repay on time.
  • Hardship withdrawal: You take money out permanently. The IRS allows this for buying a principal residence, but you owe income tax on the amount plus a 10% early-withdrawal penalty if you’re under 59½.

Most financial advisors recommend a loan over a withdrawal if you can afford the repayments, because a withdrawal permanently reduces your retirement savings.

How a 401(k) Loan Works

Your plan document determines whether loans are allowed. If they are, you can typically borrow up to the lesser of $50,000 or 50% of your vested balance (with a $10,000 minimum if your balance is under $20,000).

Key details:

  • You repay with after-tax dollars via payroll deduction.
  • Interest rate is usually prime + 1–2%, set by your plan.
  • Loan term is typically 5 years, but can be longer if the loan is for buying a primary residence.
  • If you leave your job, the outstanding balance is due by the next tax filing deadline (including extensions) or it’s treated as a distribution.

One major advantage: loan interest is paid to your own account, so the “cost” is mostly the opportunity cost of lost investment growth.

Hardship Withdrawal: The Expensive Alternative

A hardship withdrawal for a home purchase is allowed by the IRS, but it’s costly. You’ll owe:

  • Regular income tax on the entire amount.
  • An additional 10% early-withdrawal penalty if you’re under 59½.

For example, if you withdraw $30,000 and you’re in the 22% tax bracket, you lose $6,600 to income tax and $3,000 to the penalty—leaving only $20,400 for your down payment. Some states also impose their own penalties.

Also, you cannot repay a hardship withdrawal. Once it’s out, it’s gone. You lose that money’s future growth forever.

How to Choose Between Loan and Withdrawal

Consider these factors:

  • Repayment ability: Can you comfortably handle the monthly loan payment on top of your new mortgage?
  • Job stability: If you might change jobs, a loan becomes risky—it must be repaid quickly or it becomes a taxable distribution.
  • Retirement timeline: If you’re close to retirement, withdrawing or borrowing can significantly reduce your nest egg.
  • Alternative savings: Do you have other funds (e.g., Roth IRA contributions, taxable brokerage) that you can use without penalties?

If you do take a loan, prioritize paying it back. If you can’t, you’ll face taxes and penalties on the outstanding balance.

Common Mistakes and Pitfalls

  • Assuming all plans allow loans: Many plans don’t. Check with your HR or plan administrator first.
  • Not understanding the “double tax” on loans: You repay with after-tax dollars, and then you’ll pay tax again on withdrawals in retirement. This reduces the tax advantage.
  • Ignoring the opportunity cost: Money borrowed from your 401(k) is not invested. Over 5 years, the market might return more than the interest you’re paying yourself, meaning you could end up with less at retirement.
  • Forgetting the 5-year rule for Roth 401(k)s: If you have a Roth 401(k), withdrawals of earnings are tax-free only if the account is at least 5 years old and you’re 59½ or meet an exception (which includes first-time homebuyer up to $10,000).

Alternatives to Using Your 401(k)

Before tapping your retirement, consider these options:

  • First-time homebuyer IRA withdrawal: You can withdraw up to $10,000 from a traditional IRA without the 10% penalty (income tax still applies). Roth IRA contributions can be withdrawn tax-free anytime.
  • Down payment assistance programs: Many states and localities offer grants or low-interest loans for first-time buyers.
  • FHA loans: These allow down payments as low as 3.5%, and the money can be a gift from family.
  • Smaller down payment: Conventional loans often allow 3–5% down, though you’ll pay private mortgage insurance (PMI).

Using a 401(k) loan is not inherently wrong, but it should be a last resort after you’ve exhausted other options.

Frequently Asked Questions

Can I use my 401(k) for a down payment without penalty?

If you take a loan, there is no penalty as long as you repay it on schedule. If you take a hardship withdrawal, the 10% early-withdrawal penalty applies unless you meet an exception—and buying a home is not an exception for 401(k)s (it is for IRAs, up to $10,000).

What is the maximum 401(k) loan for a home purchase?

The IRS limit is the lesser of $50,000 or 50% of your vested balance. However, your plan may impose a lower limit. Some plans allow a higher limit (up to $50,000) if the loan is for a primary residence, but the 50% cap still applies.

What happens if I leave my job with an outstanding 401(k) loan?

You must repay the full balance by the due date of your federal tax return for that year (including extensions). If you don’t, the IRS treats the outstanding amount as a distribution—you’ll owe income tax and a 10% penalty if you’re under 59½.

Is the interest on a 401(k) loan tax-deductible?

No. Unlike mortgage interest, interest paid on a 401(k) loan is not tax-deductible. You’re paying interest to yourself, but the IRS doesn’t give you a deduction for it.

Can I use a 401(k) loan for a second home or investment property?

Yes, but the loan term is limited to 5 years (not longer) unless it’s for a primary residence. Also, your plan may restrict loans for investment properties. Check your plan document.

Should I take a 401(k) loan or a hardship withdrawal for a home?

Generally, a loan is better because you keep the money in your retirement account and avoid taxes and penalties. A withdrawal should be a last resort, as it permanently reduces your retirement savings and incurs immediate tax costs.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →