Skip to main content

Using Your 401(k) to Pay for a House Down Payment

How you can take money from your 401(k) for a down payment

You can withdraw money from your 401(k) before retirement in two main ways: a loan or a hardship withdrawal. A 401(k) loan lets you borrow from your own balance and pay it back to yourself over time, with no tax penalty. A hardship withdrawal lets you take money out permanently, but you'll owe income tax on it and possibly a 10% early withdrawal penalty unless you meet specific conditions. A down payment on a home does not automatically may have access to as a hardship, so the rules depend on your plan and your situation.

The money you withdraw or borrow comes from your own account—your employer and the IRS don't give you new money. What changes is when and how you access it, and what it costs you in taxes and lost growth. Before you decide, you need to know what your specific plan allows, what the real cost is, and whether other routes (like down payment assistance programs or a lower down payment) might leave you better off.

Key Takeaways

  • A 401(k) loan lets you borrow up to 50% of your balance (or $50,000, whichever is less) and repay it over five years, with no immediate tax hit.
  • A hardship withdrawal for a down payment is not automatic—your plan must allow it, and you'll owe income tax plus possibly a 10% penalty unless you're under 59½ and meet narrow exceptions.
  • If you leave your job, any 401(k) loan you took out usually must be repaid within 60 days or it becomes a taxable withdrawal.
  • Taking money out now means less money growing for retirement, which compounds over decades and can cost you far more than the down payment amount.
  • Down payment assistance programs, lower down payments with mortgage insurance, or a co-signer may preserve more of your retirement savings.

401(k) loans: how they work and what they cost

A 401(k) loan is a loan from yourself. You borrow money from your own account balance, and you repay it with interest. The interest rate is typically the prime rate plus 1% to 2%, set by your plan administrator. You don't pay taxes on the money you borrow, and there's no 10% early withdrawal penalty. The loan is repaid through payroll deductions, usually over five years, though some plans allow longer terms for a home purchase.

The catch is that the money you borrow stops growing. If you borrow $50,000 and the market would have returned 7% per year, you lose that growth on that $50,000 for the five years you're repaying. Over five years, that's roughly $20,000 in lost growth—money you won't have at retirement. You also have to repay the loan even if the market drops, which means you're locking in a loss if you borrowed at a market peak.

If you leave your job—whether you quit, are laid off, or are fired—the loan usually must be repaid in full within 60 days. If you can't repay it, the unpaid balance becomes a taxable withdrawal, and you'll owe income tax on it plus the 10% early withdrawal penalty. This is a major risk if your job is unstable or if you're planning to change jobs soon.

Hardship withdrawals for a down payment

A hardship withdrawal lets you take money out of your 401(k) permanently before age 59½ without the 10% penalty—but only if your plan allows it and you meet the IRS definition of hardship. The IRS lists specific hardships: buying a primary residence (including down payment, closing costs, and related expenses), preventing eviction or foreclosure, paying medical expenses, paying for higher education, or repairing damage to your home.

A down payment on a primary residence is on that list, which sounds straightforward. But your plan doesn't have to allow it. Some plans allow hardship withdrawals only for medical expenses or education. You need to check your plan documents or call your plan administrator to see whether a home purchase is permitted. If it's not, you can't take a hardship withdrawal for a down payment, period.

If your plan does allow it, you'll owe income tax on the full amount you withdraw. If you withdraw $50,000, that $50,000 is added to your income for the year, and you'll owe federal income tax on it at your ordinary tax rate (plus state income tax in most states). You won't owe the 10% penalty, but the tax bill can still be substantial. A $50,000 withdrawal could cost you $12,500 to $20,000 in taxes, depending on your tax bracket.

The real cost: taxes, penalties, and lost retirement growth

The cost of taking money from your 401(k) has three parts: immediate taxes, possible penalties, and lost growth over time. A 401(k) loan avoids the immediate tax and penalty but costs you in lost growth. A hardship withdrawal costs you in immediate taxes and lost growth, but no penalty if the reason qualifies.

The lost growth is the part people often miss. If you're 35 years old and withdraw $50,000, that money would have 30 years to grow. At 7% annual return, $50,000 becomes roughly $760,000 by age 65. If you take it out now, you lose that entire $760,000 in future value. That's the real price of the down payment—not just the taxes you pay this year, but the retirement income you won't have later.

A 401(k) loan spreads the cost over five years of repayment, but you still lose the growth. A hardship withdrawal costs you the growth plus the immediate tax. Neither option is free, and both reduce the amount you'll have at retirement. The younger you are, the more expensive it becomes.

When a 401(k) withdrawal makes sense

A 401(k) withdrawal for a down payment makes the most sense when you have a large balance, you're close to retirement age, you have stable employment, and you've exhausted other options. If you have $500,000 in your 401(k) and you're 58 years old, taking out $50,000 for a down payment may not derail your retirement. If you have $80,000 in your 401(k) and you're 32, taking out $50,000 is much riskier.

It also makes more sense if you're comparing it to a realistic alternative. If the alternative is renting for another five years while you save, and you're paying $2,000 a month in rent, you're spending $120,000 over five years. If you can buy now with a 401(k) withdrawal and build equity instead, the math might work. But if the alternative is a down payment assistance program or a lower down payment with mortgage insurance, those often preserve more of your retirement savings.

A 401(k) loan is generally safer than a hardship withdrawal because you repay it and keep the money in the account. But it only works if you're confident you'll stay in your job long enough to repay it. If there's any chance you'll leave within five years, the risk of a forced taxable withdrawal is high.

Other ways to pay for a down payment

Before you tap your 401(k), explore programs that don't require you to raid retirement savings. Many cities and states offer down payment assistance programs that provide grants or low-interest loans specifically for down payments. These are often assistance programs (grants) or loans with better terms than a 401(k) loan. The catch is that they have income limits and may require you to take a homebuying course, but they don't touch your retirement account.

You can also buy with a lower down payment and pay mortgage insurance. If you put down 3% instead of 20%, you'll pay private mortgage insurance (PMI) for a few years, but you keep your 401(k) intact. The PMI cost is usually lower than the tax and lost growth from a 401(k) withdrawal, especially if you're young. Once you build equity, you can refinance and drop the PMI.

A co-signer or a gift from family can also help. If a parent or relative gives you money for a down payment, it's a gift and doesn't have to be repaid. Some lenders allow gift funds, though they have rules about documentation. This preserves your 401(k) and doesn't create a loan you have to repay.

What happens to your 401(k) loan if you change jobs

If you take out a 401(k) loan and then leave your job, the loan becomes due immediately. Your plan administrator will send you a notice saying you have 60 days to repay the full balance. If you repay it within 60 days, there's no tax consequence—you just move the money back in. If you don't repay it within 60 days, the unpaid balance is treated as a withdrawal, and you'll owe income tax on it plus the 10% early withdrawal penalty (unless you're 59½ or older).

This is a major risk if you're in an industry with frequent job changes, if you're planning to leave your job, or if there's any chance you could be laid off. A $50,000 loan that becomes a taxable withdrawal could cost you $15,000 to $25,000 in taxes and penalties. If you're considering a job change, a 401(k) loan is risky.

Some plans allow you to roll the loan into an IRA or a new employer's 401(k) plan, which extends the repayment period. But this is not automatic—you have to ask your plan administrator whether it's allowed. Don't assume you can roll it over; confirm it in writing before you take the loan.

Frequently Asked Questions

Can I borrow from my 401(k) if I'm self-employed or have a Solo 401(k)?

Yes, Solo 401(k) plans allow loans, and the rules are the same: you can borrow up to 50% of your balance or $50,000, whichever is less. You repay it with interest over five years. However, if you're the only employee and you leave the business or close it, the loan rules still apply—you have 60 days to repay or it becomes a taxable withdrawal.

What if I have both a 401(k) and an IRA—can I borrow from either one?

You can borrow from a 401(k), but not from a traditional or Roth IRA. IRAs don't allow loans. You can withdraw from an IRA, but you'll owe taxes and the 10% penalty (with limited exceptions). A 401(k) loan is the only borrowing option; if you don't have a 401(k), you'd have to withdraw from an IRA or find another source.

If I take a hardship withdrawal, can I put the money back later?

No. A hardship withdrawal is permanent—you can't put it back. A 401(k) loan is different; you repay it and it goes back into your account. If you take a hardship withdrawal and later have extra money, you can contribute to your 401(k) going forward, but you can't "undo" the withdrawal or recover the taxes you paid.

Will a 401(k) withdrawal affect my mortgage application?

A 401(k) loan or withdrawal doesn't directly affect your credit score or debt-to-income ratio, because it's your own money. However, if you take a loan, the monthly repayment is counted as a debt obligation, which increases your debt-to-income ratio and may reduce the mortgage amount you can borrow. A hardship withdrawal doesn't create a monthly payment, but the tax bill that year might affect your income documentation for the lender.

What's the difference between a 401(k) loan and a Roth conversion?

A 401(k) loan is a loan from your account that you repay. A Roth conversion is moving money from a traditional 401(k) or IRA into a Roth IRA, which is a permanent move. You owe taxes on the converted amount, but there's no 10% penalty if you're under 59½. Neither is a down payment strategy—both have tax consequences and are used for different reasons. A Roth conversion doesn't give you cash for a down payment; it just moves money between account types.