Can You Withdraw from Your 401(k) to Buy a House
The simple answer masks a complex reality. Yes, you can access your 401(k) to buy a house, but the word “can” obscures the mechanism and the real cost. You can take a loan or make a withdrawal, but these aren’t equivalent options. A loan preserves your retirement capital but creates ongoing obligations. A withdrawal destroys retirement capital but feels simpler. The first-time homebuyer exemption that works perfectly for IRAs doesn’t exist for 401(k)s, creating a misleading sense of fairness in the rules. What you can do and what you should do are distant cousins.
The Withdrawal vs. Loan Distinction
A 401(k) withdrawal is permanent. The money leaves the account, the compounding stops, and you face taxes and potential penalties. A 401(k) loan is temporary. You borrow your own money, repay it with interest, and the fund resumes growth. This structural difference determines whether tapping your 401(k) for a house is financially sensible or financially destructive. Most people confuse the two, assuming they’re comparable options.
Withdrawals trigger immediate tax consequences. The amount you withdraw is added to your taxable income for the year. If you withdraw $50,000, that $50,000 becomes ordinary income. At a 24% tax bracket, you owe $12,000 in taxes. If you’re under 59½, you also face a 10% early withdrawal penalty—another $5,000. You receive $50,000 but lose $17,000 to taxes and penalties. Only $33,000 actually goes toward your down payment. The IRS effectively taxes twice: once on the withdrawal, once again when the money you didn’t withdraw would have been taxed upon retirement withdrawal.
Loans Avoid Immediate Taxation
Loans avoid immediate taxation. You’re borrowing from yourself, so there’s no taxable event. You repay the loan with after-tax dollars from your paycheck, but there’s no double-taxation at the moment of withdrawal. The downside is ongoing obligation. You must repay the loan on schedule or face default, which converts the loan into a deemed distribution and triggers the same tax penalties you avoided by borrowing instead of withdrawing.
Why the First-Time Homebuyer Exemption Doesn’t Apply to 401(k)s
IRAs have a $10,000 first-time homebuyer exemption that waives the 10% early withdrawal penalty. 401(k)s don’t. This gap in the rules confuses people into thinking they have options they don’t actually have. The IRS created the IRA exemption decades ago to encourage home ownership. That policy decision didn’t extend to 401(k)s, possibly because 401(k) rules are more rigid. An employer-sponsored plan has more legal constraints than an individual IRA.
The practical implication is severe. A 35-year-old with an IRA can withdraw $10,000 penalty-free and still face income taxes. A 35-year-old with a 401(k) faces both the income tax and the 10% penalty for the same withdrawal. The money is the same age, the person is the same age, but the rules treat them differently. This isn’t fairness; it’s an accident of tax policy that benefits IRA holders and punishes 401(k) participants.
Some people attempt a workaround: roll the 401(k) to an IRA, wait the required time periods, and then access the first-time homebuyer exemption. This has limitations and tax complications that make it rarely worth the effort.
401(k) Loans: The “Safer” Tapping Option
A 401(k) loan lets you borrow up to $50,000 or 50% of your vested balance, whichever is lower. You repay it over five years (or up to 10 years if it’s for a primary residence purchase) at a commercially reasonable interest rate, typically prime plus 1-2 percentage points. The interest you pay goes back into your account, not to a bank. This creates the illusion of a win: you borrow your money and pay yourself interest.
The reality is messier. A 401(k) loan removes capital from the stock market. The $50,000 borrowed would have been earning 7-10% annually. Instead, you’re earning 7% on the interest payments, but the principal is sitting dormant on the loan ledger, earning nothing. The opportunity cost compounds over the repayment period. By the time you finish repaying a five-year loan, that $50,000 could have become $70,000 if left invested. You’ve created a $20,000 phantom loss.
The Job Change Risk
If you leave your job, most 401(k) loans become due immediately. If you can’t repay, the balance converts to a distribution and triggers taxes and penalties. This creates a perverse incentive: you can’t change jobs without potentially facing a tax bomb. If you take out a $50,000 loan and then find a better job two years later, you’re either forced to repay $30,000+ immediately from outside savings or accept a tax hit.
This risk is nontheoretical. Job changes are common. Career progression often requires new employers. By taking a 401(k) loan, you’ve essentially restricted your ability to change jobs without penalty. This is a hidden cost that’s easy to overlook when you’re focused on getting a down payment together.
Divorce and Judgment Liens
401(k) loans can be affected by divorce proceedings. A court might order the loan repaid as part of settlement, or the ex-spouse might have claims on the account. Creditors with judgment liens might be able to reach 401(k) loans (though not all states allow this). The loan creates an asset that’s more vulnerable to claims than untouched retirement savings. If you take a loan to buy a house and then face a lawsuit or creditor judgment, the loan balance might become relevant to the proceeding.
When a 401(k) Withdrawal Actually Makes Sense
Withdrawals destroy retirement capital, but there are scenarios where they’re the least-bad option. If you’re already within five years of retirement, taking a loan means repaying it until you’re in early retirement. That reduces the compounding period at the end, when returns matter most. A withdrawal at 60 is less catastrophic than a withdrawal at 35 because you have less time to recover.
Second, if the house purchase enables rent-to-ownership trajectory or a significant life improvement, the opportunity cost of retirement reduction might be justified. A home worth $400,000 that you live in for 25 years, paying down the mortgage while equity builds, generates returns in the form of equity appreciation and mortgage paydown. These returns can exceed what the $50,000 would have earned if left in the 401(k). The math works only if the home itself appreciates and your mortgage principal declines.
This doesn’t mean the withdrawal was wise; it means the home purchase might have offset some of the damage. Most people overestimate real estate returns and underestimate stock market returns, making this calculation backward.
Roth Conversions for House Buying
A workaround that works: convert part of your traditional 401(k) or IRA to a Roth IRA in one year, wait five years, then withdraw from the Roth without penalties. This delays the house purchase but avoids taxes. If you have the income to complete the conversion and the five-year waiting period before you need the money, this is technically legal and avoids much of the tax hit.
The catch is obvious: you need a five-year time horizon and the income to fund the conversion without creating a massive tax bill that year. For someone desperate to buy a house now, this doesn’t solve the problem. For someone with a three-to-five year timeline, it’s worth exploring with a tax professional.
How Much Does a 401(k) Withdrawal Actually Cost in Retirement
The real damage emerges decades later, not at withdrawal. A $50,000 withdrawal at age 35 costs you roughly $500,000 in retirement funds 30 years later, assuming 7% annual returns. You lost not just the principal but 30 years of compounding. That $500,000 represents a significant reduction in retirement income.
If you withdraw from a traditional 401(k), you’ve also lost the tax-deferred compounding. If you had converted that $50,000 withdrawal to a Roth conversion, you’d have paid taxes upfront but avoided the growth on $500,000 in tax-deferred gains later. The longer the time horizon, the more catastrophic the withdrawal becomes.
For someone at 55 looking to retire at 65, a $50,000 withdrawal costs roughly $80,000-$100,000 in retirement funds. The cost is real but smaller. At 60, a $50,000 withdrawal costs perhaps $50,000-$70,000. The age at which you tap determines the damage magnitude.
Alternative Sources for Down Payments
Before tapping retirement savings, exhaust other options. Borrowing from family (even with informal terms) preserves tax-advantaged compounding. Taking a personal loan at 8-10% interest costs less than the opportunity cost of missing 30 years of 401(k) growth. Delaying the home purchase by three years while increasing savings and building credit destroys less retirement capital than an early withdrawal.
Some employers offer down payment assistance programs. Some states have first-time homebuyer loan programs with favorable terms. Some credit unions offer home purchase loans. The universe of options is larger than “take from 401(k) or wait forever.” Most people default to the 401(k) because it’s visible and accessible, not because it’s the only option.
Frequently Asked Questions
Can I withdraw from my 401(k) without penalty to buy a house if I’m a first-time homebuyer?
No. Unlike IRAs, 401(k)s don’t have a first-time homebuyer penalty exemption. If you withdraw before age 59½, you face the 10% penalty plus income taxes. The first-time homebuyer exemption works only for IRAs, which allow up to $10,000 to be withdrawn penalty-free (though taxes still apply). This is a genuine gap in the tax code. 401(k) owners don’t get the benefit that IRA owners get, despite being in similar financial situations. Your only 401(k) option is a loan, which avoids the penalty but creates repayment obligations.
What happens if I take a 401(k) loan and lose my job before repaying it?
The loan typically becomes due within 60-90 days of job termination, depending on your plan’s rules. If you can’t repay, the outstanding balance is treated as a distribution, subject to income tax and the 10% early withdrawal penalty if you’re under 59½. If you borrowed $50,000 and still owe $30,000, that $30,000 becomes taxable income plus a $3,000 penalty. You could owe $9,000-$12,000 in taxes and penalties on top of the disruption of job loss. This is the hidden risk of 401(k) loans. They create contingent liabilities that activate when employment ends.
Is the interest I pay on a 401(k) loan tax-deductible?
No. Unlike mortgage interest or student loan interest, 401(k) loan interest is not tax-deductible. You pay it with after-tax dollars and it’s taxed again when you withdraw in retirement. This creates the double-taxation problem we discussed earlier. The interest you pay back to yourself has no tax benefit. It’s a cost of borrowing that you can’t offset against your income.
Can I use a Roth IRA to buy a house without penalty?
Yes, but with conditions. You can withdraw contributions (the money you put in) anytime without penalty or tax. You can withdraw up to $10,000 in earnings penalty-free if the account has been open at least five years and you use the money within 120 days for a first-time home purchase. You cannot withdraw earnings before age 59½ without penalty unless you meet specific criteria. For a Roth 401(k), the rules are stricter. You must wait until age 59½ or face penalties, even if it’s for a home purchase. The Roth IRA exception doesn’t extend to Roth 401(k)s, another quirk in the tax code.
What’s the real financial cost of withdrawing $50,000 from my 401(k) at age 40 to buy a house?
The immediate cost is $12,000-$17,000 in taxes and penalties, meaning only $33,000-$38,000 goes toward your down payment. The long-term cost is the $350,000-$500,000 in retirement funds that $50,000 would have become by age 70, assuming 7% annual returns. This translates to roughly $7,000-$10,000 annually in reduced retirement income over a 30-year retirement, depending on how you withdraw it. Over your full retirement, you’ve sacrificed roughly $250,000-$400,000 in total retirement income to accelerate a home purchase. That’s the real cost.
A related guide worth reading next is How to Use 401(k) to Buy a House.