You can use your 401(k) for a down payment on a house in one of two ways: a 401(k) loan that you repay to yourself, or a hardship withdrawal that permanently removes the money. A loan lets you borrow up to $50,000 (or 50% of your vested balance, if that’s lower) with no tax hit as long as you repay on schedule. A hardship withdrawal takes the money out for good, adds it to your taxable income, and usually costs an extra 10% penalty if you’re under 59½. Which door is open to you depends on your employer’s plan, so start by pulling up your Summary Plan Description.
The Loan Option
A 401(k) loan is borrowing from yourself. Money comes out of your account, you use it at closing, and you repay the balance through payroll deductions. Principal and interest flow back into your own account.
Federal law caps the loan at the lesser of $50,000 or 50% of your vested balance. There’s a floor too: if half your vested balance is below $10,000, you can still borrow up to $10,000 if your balance supports it. One trap catches people off guard. The $50,000 ceiling gets reduced by the highest outstanding loan balance you carried during the prior 12 months. A $15,000 loan you paid off six months ago drops your current maximum to $35,000.
Standard 401(k) loans must be repaid within five years. Loans used to buy a primary residence get a longer runway. Federal law doesn’t fix a maximum for home-purchase loans; it just exempts them from the five-year rule and lets the plan set the term. Many plans allow 10, 15, or even 25 years for a residential loan. Payments have to be made at least quarterly in substantially equal installments covering both principal and interest.
Interest typically runs about one percentage point above the prime rate. With prime currently at 6.75%, that works out to roughly 7.75%. The interest isn’t lost. It goes back into your own balance. There’s a quieter cost worth knowing: you repay with after-tax dollars from your paycheck, and when you later withdraw those funds in retirement, you pay income tax on them again. The interest portion effectively gets taxed twice.
As long as you repay on schedule, the loan itself triggers no income tax and no early distribution penalty. It isn’t reported as a distribution and doesn’t show up on your credit report.
The Hardship Withdrawal Option
A hardship withdrawal is a one-way door. The money leaves your retirement account permanently. There’s no repayment obligation and no expectation of return.
To qualify, you have to demonstrate an “immediate and heavy financial need.” Buying a primary residence, specifically the down payment and closing costs, is one of the IRS-approved reasons. Investment properties and second homes don’t qualify. You’ll need to provide a signed purchase agreement showing the property address and purchase price, along with a closing disclosure or loan estimate detailing the costs you need to cover.
The withdrawal amount is limited to the actual financial need, but the IRS lets you include the taxes and penalties you’ll owe on the distribution itself when calculating that amount. If you need $30,000 at closing, you can request enough to cover both that figure and the resulting tax bill.
For years, you had to exhaust available plan loans before you could qualify for a hardship withdrawal. The Bipartisan Budget Act of 2018 removed that requirement. You’re no longer forced to take a loan first, though a loan is almost always the cheaper route if your plan offers one.
What a Hardship Withdrawal Actually Costs
The full amount counts as ordinary income in the year you receive it, taxed at your marginal rate. If you’re under 59½, you’ll also owe a 10% early distribution penalty under IRC Section 72(t).
Between federal income tax and the penalty, the total hit can easily land between 30% and 40% of the gross amount, before any state income tax. Your plan administrator withholds 10% for federal tax by default, which is almost always less than what you’ll actually owe. The shortfall shows up when you file your return the following April, so budget for it before you spend the money at closing.
If You Leave Your Job With a Loan Outstanding
This is where 401(k) loans turn risky for homebuyers, and it’s the piece most people don’t think through before borrowing. If you leave your employer, whether you quit, get laid off, or are terminated, the plan can require you to repay the entire outstanding balance. If you can’t, the unpaid amount is treated as a distribution.
There’s a lifeline. You have until the due date of your federal tax return for that year, including extensions, to roll the unpaid amount into an IRA or another eligible retirement plan. Filing for a six-month extension effectively gives you until October 15 to complete the rollover and avoid the tax hit.
Miss that deadline and the full unpaid balance becomes taxable income, plus the 10% early distribution penalty if you’re under 59½. On a $40,000 outstanding loan, that can mean $12,000 or more in unexpected taxes and penalties, on top of permanently losing the retirement savings. Before you take a 401(k) loan for a home, think seriously about how stable your job is and whether you’d have the cash to repay or roll over the balance if things changed.
How a 401(k) Loan Affects Your Mortgage Approval
Here’s a paradox first-time buyers often don’t anticipate. The loan gives you cash for the down payment, but the monthly repayment can work against you when the mortgage lender calculates your debt-to-income ratio. Even though the 401(k) loan doesn’t appear on your credit report, mortgage underwriters often count the repayment as a monthly debt obligation when deciding how much house you can afford.
Borrow $30,000 and repay $300 a month, and that $300 gets added to your car payment, student loans, and credit card minimums in the DTI math. For buyers near the edge of qualifying, this can mean approval for a smaller mortgage or no approval at all. Run the numbers with your lender before you commit to a 401(k) loan.
There’s a practical upside to pair against that. Using the loan to get your down payment to 20% lets you avoid private mortgage insurance. Eliminating PMI saves a meaningful amount each month and can offset part of the 401(k) repayment cost.
The IRA First-Time Homebuyer Alternative
If you also have money in a traditional or Roth IRA, a separate rule lets first-time homebuyers pull up to $10,000 without the 10% early distribution penalty. It’s a lifetime cap per person, so a couple buying together can take $10,000 each for a combined $20,000 penalty-free. You’ll still owe income tax on a traditional IRA withdrawal, but skipping the penalty saves real money.
The IRS defines “first-time homebuyer” more broadly than the name suggests. It includes anyone who hasn’t owned a principal residence during the two-year period ending on the date of acquisition. If you owned a home five years ago and have been renting since, you qualify.
This exception applies to IRAs only. There’s no equivalent penalty-free homebuyer withdrawal from a 401(k) under current law. If you have both account types, taking the first $10,000 from an IRA (penalty-free) and covering any remaining gap with a 401(k) loan (tax-free if repaid) gives you the most favorable overall tax treatment.
Timing and How to Request the Money
Start the process well before your closing date. Once you’ve confirmed what your plan allows, you’ll submit the request through the plan administrator’s online portal or your HR department. For a loan, you’ll specify the amount and provide a signed purchase agreement. For a hardship withdrawal, you’ll also need a closing disclosure or loan estimate showing the specific costs you need to cover.
Processing typically takes anywhere from a few business days to two weeks, depending on the administrator. Funds arrive by direct deposit to your bank account, or in some cases by check mailed to you or the title company. Direct deposit is faster and more reliable against a closing deadline.
Build in a buffer. Closings get moved up, administrators run backlogs, and paperwork gets kicked back for corrections. Starting three to four weeks before your expected closing gives you room for delays without putting the transaction at risk.