With median home prices hovering around $410,000 and the typical down payment climbing past $32,000, it’s no wonder first-time buyers are asking whether their retirement savings could help them finally get into a home. The short answer is yes — you can tap your 401(k) to help buy a house. The more important question is whether you should.
According to the National Association of Realtors, 26% of recent buyers used assets like 401(k)s, IRAs, or stocks to fund their down payment. But that convenience comes with real costs — potential taxes, penalties, and the invisible price of lost retirement growth. This guide breaks down your options, the rules you need to know, and whether tapping your 401(k) actually makes sense for your situation.
Key Takeaways
- You have two main options: a 401(k) loan (borrow up to $50,000, pay yourself back with interest) or a hardship withdrawal (permanent removal, subject to taxes and a 10% penalty if you’re under 59½).
- 401(k) loans for a primary residence can have repayment terms up to 15 years — much longer than the standard 5-year limit.
- If you leave your job with an outstanding 401(k) loan, you typically must repay the full balance quickly or face taxes and penalties on the remaining amount.
- IRAs offer a better option for first-time buyers: up to $10,000 can be withdrawn penalty-free (though income tax still applies to traditional IRA withdrawals).
- Most financial experts consider using retirement funds for a home purchase a last resort — low-down-payment mortgages, FHA loans, and down payment assistance programs are usually smarter alternatives.
Table of Contents
- Two Ways to Access Your 401(k) for a Home
- Option 1: The 401(k) Loan
- Option 2: The Hardship Withdrawal
- The IRA First-Time Homebuyer Exception
- The Real Cost of Using Retirement Funds
- When Using Your 401(k) Might Make Sense
- Better Alternatives to Raiding Your Retirement
- Frequently Asked Questions
Two Ways to Access Your 401(k) for a Home
If you decide to use your 401(k) for a home purchase, you generally have two paths: taking a loan against your balance or making a hardship withdrawal. They work very differently, and the financial consequences aren’t even close.
A 401(k) loan lets you borrow from your own retirement savings and pay yourself back over time with interest. It’s not taxable as long as you follow the rules, and there’s no early withdrawal penalty. Most plans that allow loans let you borrow up to the lesser of $50,000 or 50% of your vested balance.
A hardship withdrawal permanently removes money from your account. You don’t pay it back. The withdrawn amount counts as taxable income, and if you’re under 59½, you’ll also owe a 10% early withdrawal penalty on top of regular income taxes. That combination can eat up 25% to 35% of your withdrawal before you see a dime.
Not every employer plan offers both options — some don’t allow loans, others don’t permit hardship withdrawals for home purchases. Your first step should be checking with your plan administrator to understand what’s actually available.
Option 1: The 401(k) Loan
If your plan allows loans, this is almost always the better choice compared to a withdrawal. According to IRS rules, here’s how 401(k) loans work:
Borrowing limits: You can borrow up to 50% of your vested account balance, with a maximum of $50,000. If 50% of your balance is less than $10,000, some plans allow you to borrow up to $10,000 anyway. The limit is reduced by your highest outstanding loan balance during the previous 12 months.
Repayment terms: Standard 401(k) loans must be repaid within five years, with payments made at least quarterly. However, the IRS makes an exception for loans used to purchase your primary residence — these can often be extended to 10 or even 15 years, depending on your plan’s rules.
Interest rates: You’ll pay interest on the loan, typically the prime rate plus 1% to 2%. The good news is that the interest goes back into your own account, not to a bank. The bad news is that you’re paying it with after-tax dollars, which means that money gets taxed twice — once when you earn it to make the payment, and again when you eventually withdraw it in retirement.
Repayment method: Payments are usually deducted automatically from your paycheck, making it easy to stay on track but also reducing your take-home pay during an already expensive time (when you’re adjusting to new mortgage payments, property taxes, and homeownership costs).
The Job Change Risk
Here’s the biggest danger of a 401(k) loan that many borrowers don’t fully appreciate: if you leave your job — whether voluntarily or through layoff — the outstanding balance typically becomes due in full within 60 to 90 days. If you can’t repay it, the remaining balance is treated as a taxable distribution. You’ll owe income tax on the full amount, plus the 10% early withdrawal penalty if you’re under 59½.
According to Fidelity, this is one of the most common ways 401(k) loans go wrong. You take out a loan expecting to repay it over 10 years, then an unexpected job change turns it into a tax bomb.
There is one safety valve: if your loan is “offset” (treated as a distribution because you can’t repay it after leaving your job), you have until your tax filing deadline for that year — including extensions — to roll the amount into an IRA or another qualified plan and avoid the tax hit. But this requires having cash available to complete the rollover, which defeats much of the purpose.
Option 2: The Hardship Withdrawal
A hardship withdrawal is a permanent removal of funds from your 401(k) — you’re not borrowing, you’re taking money out with no obligation to pay it back. The IRS defines a hardship withdrawal as a distribution due to an “immediate and heavy financial need,” which can include purchasing a primary residence.
The financial consequences are severe:
Income tax: The entire withdrawal is added to your taxable income for the year. If you withdraw $30,000 and you’re in the 22% federal bracket, that’s $6,600 in federal taxes alone — before state taxes.
Early withdrawal penalty: If you’re under 59½, add another 10% penalty. On a $30,000 withdrawal, that’s an additional $3,000.
Effective cost: Between federal taxes, state taxes, and the penalty, you could lose 30% to 40% of your withdrawal. A $40,000 hardship withdrawal might only deliver $24,000 to $28,000 in actual purchasing power for your down payment.
Some plans may also require you to exhaust other options (like taking a 401(k) loan first) before approving a hardship withdrawal. And you may be prohibited from making new contributions for six months after the withdrawal, which means losing employer matching contributions during that period.
Bottom line: hardship withdrawals should be an absolute last resort for homebuyers. The combination of taxes, penalties, and lost retirement growth makes this one of the most expensive ways to fund a down payment.
The IRA First-Time Homebuyer Exception
If you have funds in an IRA (rather than a 401(k)), you have a significantly better option. The IRS allows first-time homebuyers to withdraw up to $10,000 from an IRA without paying the 10% early withdrawal penalty. This exception applies to traditional IRAs, Roth IRAs, SEP IRAs, and SIMPLE IRAs — but not to 401(k)s or other employer-sponsored plans.
Here’s how it works, according to Lord Abbett:
Who qualifies: A “first-time homebuyer” is defined as someone who hasn’t owned a principal residence in the past two years. If you’re married, your spouse must also meet this requirement. Importantly, you can also use this exception to help a child, grandchild, or parent buy their first home.
The $10,000 limit: This is a lifetime cap per individual. If you’re married and both qualify, you can each withdraw up to $10,000 from your own IRAs — potentially $20,000 total for the same home purchase.
The 120-day rule: You must use the funds within 120 days of withdrawal to buy, build, or rebuild a home. If your purchase falls through, you can recontribute the money to your IRA within that window without penalty.
Tax treatment: The 10% penalty is waived, but traditional IRA withdrawals are still subject to income tax. Roth IRA contributions can be withdrawn tax- and penalty-free at any time (since you already paid tax on them). Roth earnings can be withdrawn penalty-free under this exception if the account has been open for at least five years.
This makes the Roth IRA particularly powerful for first-time buyers. If you’ve been contributing for several years, you can withdraw all your contributions with zero tax consequences, plus up to $10,000 in earnings penalty-free if you meet the five-year rule.
Proposed Changes to Watch
The $10,000 IRA limit hasn’t changed since it was established in 1997, when the median home price was about $115,000. Several bills have been introduced in Congress to increase this limit — including the Uplifting First-Time Homebuyers Act (which would raise it to $50,000) and the First Time Homeowner Savings Plan Act (which would raise it to $25,000 with inflation adjustments). As of early 2026, neither has become law, but this is an area worth watching if you’re planning a purchase in the next few years.
The Real Cost of Using Retirement Funds
The taxes and penalties are painful enough, but the biggest cost of raiding your retirement accounts is one you’ll never see directly: lost compound growth.
Let’s say you’re 35 years old and withdraw $30,000 from your 401(k) for a down payment. After taxes and penalties, you might net $21,000 for your home purchase. But what did that $30,000 really cost you?
If that money had stayed invested earning an average 7% annual return, it would have grown to approximately $228,000 by the time you’re 65. You didn’t just lose $30,000 — you lost nearly a quarter million dollars in retirement security.
Even a 401(k) loan, which avoids the immediate tax hit, has hidden costs. While the loan is outstanding, that money isn’t invested and earning returns. According to LendingTree, many plans also prohibit new contributions while you have an outstanding loan, which means you could miss out on years of employer matching — essentially leaving free money on the table.
Financial planner Douglas Boneparth, quoted by CNBC, puts it simply: “I really view tapping retirement money more as an option of last resort.”
When Using Your 401(k) Might Make Sense
Despite the downsides, there are scenarios where accessing retirement funds for a home purchase could be reasonable:
You have a substantial 401(k) balance and stable employment. If you’ve saved aggressively and have significantly more than you’ll need for retirement, a 401(k) loan may be less risky. The key is job stability — you need to be confident you won’t leave or lose your job before the loan is repaid.
The alternative is high-interest debt. If your only other option is a personal loan at 12% interest or carrying credit card debt, a 401(k) loan at prime plus 1% might actually be the financially smarter choice — assuming you can manage the repayment.
You’re using a Roth IRA and withdrawing only contributions. Since Roth contributions have already been taxed, you can withdraw them without any tax consequences. This is genuinely penalty-free money (though you do lose the future tax-free growth).
Housing costs are rising faster than you can save. In some markets, home prices have been increasing faster than people can save for a down payment. If getting into a home now — even at the cost of some retirement savings — allows you to build equity instead of paying rising rents, the math might work out. But run the numbers carefully.
Better Alternatives to Raiding Your Retirement
Before touching your retirement accounts, explore these options that don’t sacrifice your future financial security:
Low-Down-Payment Mortgages
You don’t need 20% down to buy a home. Conventional loans backed by Fannie Mae and Freddie Mac allow qualified buyers to put down as little as 3%. Yes, you’ll pay private mortgage insurance (PMI), but that’s often cheaper than the hidden costs of raiding retirement funds. FHA loans go even lower — just 3.5% down — and are more forgiving of lower credit scores.
VA and USDA Loans
If you’re a veteran, active-duty service member, or eligible surviving spouse, VA loans offer 0% down payment with no PMI. USDA loans provide the same for eligible rural and suburban properties. These are among the best mortgage deals available and require no down payment at all.
Down Payment Assistance Programs
Most states offer down payment assistance through their housing finance agencies, often in the form of grants or forgivable loans. Many local governments and nonprofits offer similar programs. These are specifically designed for first-time buyers who struggle to save for a down payment — exactly the situation where you might be tempted to tap your 401(k).
Gift Funds
Family members can gift you money for a down payment with no tax consequences up to $18,000 per person per year (as of 2025). If you’re married and both sets of parents want to help, that’s potentially $72,000 in gift funds with zero tax implications. Most mortgage programs allow gift funds to cover part or all of your down payment.
Waiting and Saving
It’s not the answer anyone wants to hear, but sometimes the smartest move is to delay your purchase while you build up savings. A year or two of aggressive saving — especially if you can earn employer matching contributions in your 401(k) during that time — may put you in a much stronger position without sacrificing retirement security.
Frequently Asked Questions
You can take a 401(k) loan without paying taxes or penalties, as long as you repay it according to the plan terms. If you leave your job before it’s repaid, the balance becomes due immediately, and unpaid amounts are treated as taxable distributions with a 10% penalty if you’re under 59½. A hardship withdrawal is always subject to income taxes, plus the 10% penalty if you’re under 59½.
You can borrow up to 50% of your vested balance or $50,000, whichever is less. This limit is reduced by any outstanding loan balance you had in the previous 12 months. Not all plans allow loans, so check with your administrator first.
No. The first-time homebuyer exception (which waives the 10% early withdrawal penalty on up to $10,000) applies only to IRAs, not to 401(k)s or other employer-sponsored retirement plans. If you have an IRA, consider using that instead.
If you default on payments or leave your job without repaying the loan, the outstanding balance is treated as a “deemed distribution.” You’ll owe income tax on the full amount, plus a 10% penalty if you’re under 59½. However, you may be able to avoid this by rolling the offset amount into an IRA before your tax filing deadline.
If you must use retirement funds, an IRA is generally the better choice for first-time buyers because of the $10,000 penalty-free withdrawal exception. A Roth IRA is even better — you can withdraw all your contributions tax- and penalty-free at any time, plus up to $10,000 in earnings under the first-time homebuyer rule. A 401(k) should be a last resort due to the loan risks and lack of a first-time buyer exception for withdrawals.
It can. Lenders want to see that you’ll have reserves after closing. If you drain your retirement accounts for the down payment, you may appear less financially stable. A 401(k) loan also increases your debt obligations (since you’ll be making loan payments), which could affect your debt-to-income ratio. Discuss this with your lender before making any withdrawals.








Reader Interactions