Using Your 401(k) to Buy a House: Loan vs. Withdrawal

Your 401(k) might be the biggest pile of cash you have — so it’s natural to eye it for a down payment. But a 401(k) works very differently from an IRA when it comes to buying a home, and the difference can cost or save you thousands. There’s no first-time-buyer penalty exception for a 401(k), so how you access the money matters enormously. You have two paths: a loan or a withdrawal. Here’s how each works, the real math, and when tapping your 401(k) makes sense.

Option 1: A 401(k) loan (usually the better choice)

Most employer plans let you borrow from yourself. You can typically take the lesser of $50,000 or 50% of your vested balance, then repay it with interest — and here’s the nice part: that interest goes back into your own account, not to a bank.

Why buyers like a 401(k) loan:

  • No taxes and no 10% penalty, because a loan isn’t a distribution.
  • The interest you pay goes to you.
  • It doesn’t show up as new consumer debt on your credit report, though lenders will still factor the repayment into your budget.
  • For home purchases, some plans allow a longer repayment period than the standard five years.

The catches to understand:

  • You repay through payroll deductions, which reduces your take-home pay during the repayment period.
  • The borrowed money stops growing in the market while it’s out — that’s real opportunity cost over time.
  • The job-change risk: if you leave or lose your job, the outstanding balance may become due quickly (often by your next tax-filing deadline). If you can’t repay it, the balance is treated as a distribution — triggering income tax and, if you’re under 59½, the 10% penalty.

Option 2: A 401(k) withdrawal (usually the costly choice)

Some plans allow a hardship withdrawal for a home purchase. The problem: unlike an IRA, a 401(k) has no first-time-homebuyer penalty exception. If you’re under 59½, a withdrawal generally gets hit with both:

  • Ordinary income tax on the full amount, plus
  • A 10% early-withdrawal penalty.

The real math: pull $20,000 and, depending on your tax bracket, you might net only around $13,000–$15,000 after taxes and penalty — and that money is gone from your retirement permanently, along with decades of potential growth. For most first-time buyers, a straight withdrawal is a last resort.

401(k) loan vs. withdrawal at a glance

Feature 401(k) loan 401(k) withdrawal
Taxes None (if repaid) Full income tax
10% penalty None (if repaid) Yes, if under 59½
Repayment Required, to yourself None
Money keeps growing? No, while borrowed No, gone permanently
Risk if you leave your job Balance may be due N/A

401(k) vs. IRA for a home purchase

This is where the accounts really diverge. An IRA offers a $10,000 penalty-free first-home exception; a 401(k) does not. If you have both, the IRA is often the cheaper source. A Roth IRA is frequently the most efficient of all, since your contributions come out tax- and penalty-free with no exception needed. As a rule of thumb: exhaust Roth contributions first, then consider the IRA exception, and treat the 401(k) — via a loan, not a withdrawal — as a later option.

How a 401(k) loan affects your mortgage approval

Lenders will ask about a 401(k) loan and factor the repayment into your debt-to-income ratio, but it’s generally viewed more favorably than new credit-card or auto debt. Be upfront with your loan officer so they can structure your approval correctly. Timing matters too — coordinate the loan so the funds are documented and “seasoned” in your account ahead of closing.

The opportunity cost you shouldn’t ignore

Money pulled from a 401(k) — whether borrowed or withdrawn — isn’t compounding while it’s out. Over 20 or 30 years, even a modest amount can represent a large sum of forgone growth. That doesn’t mean you should never do it, but it does mean you should treat your retirement account as a serious, last-resort source, not the first place you reach.

Before you tap retirement at all

Raiding your 401(k) should rarely be step one. Cheaper paths to the closing table include:

Run your numbers with our calculators before deciding — sometimes a smaller down payment plus assistance beats draining your retirement.

Frequently asked questions

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

Yes, through a loan or a withdrawal. A loan avoids taxes and penalties if repaid on schedule; a withdrawal before 59½ usually triggers income tax plus a 10% penalty.

Is there a first-time buyer exception for a 401(k)?

No. That exception applies to IRAs, not 401(k)s. This is exactly why a 401(k) loan is generally preferred over a withdrawal.

How much can I borrow from my 401(k)?

Typically the lesser of $50,000 or 50% of your vested balance, though your specific plan sets the rules.

Does a 401(k) loan hurt my mortgage approval?

Lenders consider the repayment in your DTI, but a 401(k) loan is often viewed more favorably than new consumer debt. Disclose it to your loan officer.

What happens to my 401(k) loan if I change jobs?

The balance may become due, often by your next tax deadline. If you can’t repay it, it’s treated as a taxable distribution with a possible penalty.

The bottom line

If you’re going to use a 401(k) for your first home, a loan almost always beats a withdrawal — you skip the taxes and penalty and pay the interest back to yourself. But weigh the opportunity cost, understand the job-change risk, and explore assistance programs and low-down-payment loans first. Keeping your retirement intact while still getting into a home is usually the smarter long game, and it’s more achievable than most first-time buyers realize.