What you'll learn âś…
- How a 401(k) loan and a 401(k) withdrawal work when you're buying a home
- What taxes, penalties, and long-term retirement costs can come with using 401(k) funds
- Which pros and cons matter most before tapping retirement savings for a down payment
- What alternatives may help you buy sooner without draining your nest egg
Yes, you can use your 401(k) to buy a house, but it usually comes down to two options: taking a 401(k) loan or making a 401(k) withdrawal. Both can help with a down payment or closing costs, but each carries tradeoffs, from repayment risk to taxes, penalties, and lost retirement growth.
Get pre-approved in as little as 3 minutes before deciding whether to tap retirement savings.
Using your 401(k) to buy a home can sound practical, especially when cash for a down payment feels hard to build. In real life, though, it is rarely just a question of “Can I?” The better question is whether the short-term boost is worth the long-term cost.
For some homebuyers, a 401(k) loan can bridge a gap without triggering taxes right away. For others, a withdrawal can create a much more expensive outcome than expected. Before you move money out of retirement, it helps to understand your full cash need, from the down payment to closing costs to monthly affordability. That is also why many buyers start by using a mortgage calculator and getting pre-approved to see whether they even need to touch retirement funds.
What is a 401(k)?
A 401(k) is an employer-sponsored retirement savings account that lets workers contribute part of their paycheck on a tax-advantaged basis. In a traditional 401(k), contributions are usually made before income taxes, and the money grows tax-deferred until retirement. In a Roth 401(k), contributions are made with after-tax dollars, and qualified withdrawals in retirement can be tax-free.
Many employers also match part of what you contribute, which is one reason these accounts can become such an important long-term asset. Over time, the money is typically invested in mutual funds, target-date funds, or similar options designed to grow for retirement, not for near-term spending.
That distinction matters. A 401(k) is meant to support you later, so pulling money out early can interrupt compound growth, which is the process of earning returns on prior returns over time. It is a little like pulling bricks out of a foundation to finish the kitchen faster. You may solve an immediate problem, but you can weaken the structure you were counting on later.
Can I use my 401(k) to buy a house?
Yes, you can use your 401(k) to buy a house if your plan allows it, usually through a 401(k) loan or a 401(k) withdrawal. But that does not automatically make it the best funding source for your down payment, earnest money, or cash to close.
A 401(k) loan lets you borrow from your own account and repay yourself over time. A withdrawal permanently removes money from the account, and if you are under age 59½, it can trigger income taxes and a 10% early withdrawal penalty unless a narrow exception applies. That is why many buyers first check whether they qualify for a mortgage with less cash down, whether an FHA loan may fit, or whether down payment assistance could cover part of the gap.
Better’s online platform lets buyers get pre-approved and apply online quickly, which can help you understand your price range and required cash before you raid retirement savings. Sometimes the answer is not “use the 401(k).” Sometimes it is “you may not need to.”
How to use your 401(k) to buy a house?
401(k) loan
A 401(k) loan allows you to borrow money from your retirement account and pay it back, usually through payroll deductions. Many plans cap loans at the lesser of $50,000 or 50% of your vested account balance, though plan rules vary. The interest rate is often lower than what you might pay on unsecured borrowing, and there is usually no credit check.
This route can look appealing because the borrowed amount does not typically count as taxable income when you take it, and monthly payments on the loan generally do not get counted in your debt-to-income ratio, or DTI, the way outside debt does. DTI is the percentage of your gross monthly income that goes toward debts and housing costs. Still, “not counted” does not mean “free.” You are repaying the loan with after-tax dollars, and while the interest goes back into your account, you still lose market exposure on the amount you borrowed while it is out of the plan.
There is another risk that matters more than people expect: job change. If you leave your employer voluntarily or not, your outstanding loan may become due on a short timeline, depending on plan rules and tax treatment. If you cannot repay it, the unpaid balance may be treated as a distribution, which can mean taxes and possibly a penalty. That is a rough surprise to absorb while buying a home, moving, and adjusting to a new mortgage payment.
Imagine a buyer named Maya who borrows $25,000 from her 401(k) for a down payment. The loan helps her buy sooner, and the payments fit her budget. Then six months later, she changes jobs. Suddenly, the loan is no longer just a budgeting tool. It is a deadline.
401(k) withdrawals
A 401(k) withdrawal means you take money out of the account and do not repay it. This is the more permanent option, and often the more expensive one. If you are younger than 59½, the distribution is generally subject to ordinary income taxes and a 10% early withdrawal penalty unless an exception applies.
This is one place where people often confuse 401(k)s with IRAs, or individual retirement accounts. First-time homebuyers may qualify for a penalty exception on certain IRA withdrawals, but that same first-time home purchase exception does not generally apply to 401(k) withdrawals. A hardship withdrawal may be available under some employer plans, but that does not automatically waive income taxes or the 10% penalty. In other words, hardship rules and tax rules are related, but not identical.
The long-term cost can be bigger than the tax bill. If you withdraw $30,000 in your thirties, that is not just $30,000 gone. It is also the future growth that money could have generated over decades. For buyers who are already behind on retirement savings, that tradeoff can be steep. Sometimes necessary, yes. Cheap, no.
Pros and cons of using your 401(k) to buy a house
Using a 401(k) to buy a house can solve a real cash problem, especially if you are close to affording a home and just need to bridge the final gap. But it can also shift money from your future self to your present self in a way that is hard to reverse.
Think of it like using lumber from your back deck to build your front steps. You may get through the front door faster, but you are still taking material from somewhere that matters.
Pros of using your 401(k) to buy a house
- A 401(k) loan usually does not require a credit check, which can make access simpler than applying for other financing
- Interest rates on 401(k) loans are often lower than rates on personal loans or credit cards
- Loan payments typically do not affect mortgage debt-to-income calculations the same way outside installment debt can
- Accessing 401(k) funds may help you cover a down payment, earnest money, or closing costs sooner than waiting to save everything in cash
Cons of using your 401(k) to buy a house
- A withdrawal can trigger ordinary income taxes and a 10% early withdrawal penalty if you are under age 59½
- Pulling money out of retirement reduces long-term investment growth, which can leave you with less later
- Some homebuyers lower or pause new retirement contributions while repaying a 401(k) loan, especially if cash flow gets tight after closing
- Leaving or losing your job can create repayment risk on an outstanding 401(k) loan at exactly the wrong time
Alternatives to using your 401(k) to buy a home
There are usually other ways to close a cash gap before tapping retirement savings. Some are not right for every buyer, but they are worth comparing carefully. That is especially true if your 401(k) balance is one of your biggest financial safety nets.
1. HELOC
A home equity line of credit, or HELOC, lets a homeowner borrow against equity in an existing property. This will not help every buyer, especially first-time buyers who do not already own a home, but it can be a useful option for someone buying a new primary residence while still owning another property. Better offers multiple loan alternatives that may help qualified applicants avoid using 401(k) funds, including HELOC-related options and purchase financing paths that are easier to compare online.
A HELOC is secured by your home, which means the property serves as collateral. That makes the stakes real. Still, for the right homeowner, it may be worth comparing a HELOC with a retirement withdrawal. You can learn more about HELOC rates, estimate payments with a HELOC calculator, or review broader HELOC alternatives.
2. IRA
If you also have an IRA, you may have more flexible rules than with a 401(k). First-time homebuyers can generally withdraw up to $10,000 from a traditional IRA without the 10% early withdrawal penalty for a qualified home purchase, though income taxes may still apply. Roth IRA rules are different again, and contribution amounts may be withdrawn tax- and penalty-free if requirements are met.
That does not make an IRA withdrawal automatically smart, but it can be less punitive than a 401(k) withdrawal. Tax treatment depends on the account type, your age, how long the account has been open, and what portion of the money comes from contributions versus earnings. It is one of those areas where a tax professional earns their keep.
3. FHA loan
An FHA loan is a mortgage insured by the Federal Housing Administration. It is designed to make homeownership more accessible for buyers who may have lower credit scores or smaller down payments. Qualified buyers may be able to purchase with as little as 3.5% down, which can reduce pressure to come up with a larger lump sum from retirement savings.
The tradeoff is that FHA loans include mortgage insurance costs, and qualification still depends on income, credit, and property standards. Even so, for some buyers, paying mortgage insurance is still less damaging than draining retirement funds. It is worth comparing FHA vs. conventional loans before deciding.
4. Down payment assistance programs
Down payment assistance programs can come from state housing agencies, local governments, nonprofits, or employers. They may offer grants, forgivable loans, deferred-payment loans, or matched savings assistance for eligible homebuyers. These programs can help with the down payment, closing costs, or both.
Not every buyer qualifies, and rules vary by location, income, purchase price, and occupancy. Still, this is one of the first places to look before touching a 401(k). Better homebuyers can also benefit from learning how down payment assistance works and reviewing broader first-time buyer aid options as part of their planning.
5. Adjust your homebuying budget or timeline
This option is less flashy, but sometimes it is the best one. Buying at a lower price point, making a smaller down payment if loan guidelines allow, or delaying your purchase to save more can protect both your retirement and your monthly budget. You can use Better’s mortgage calculator, review today’s mortgage rates, and explore how much money you need to buy a house before making that call.
That kind of pause can feel frustrating. It can also be financially smart. The best way to understand what you can actually afford right now is to get pre-approved. With Better's online pre-approval, you can see your homebuying budget in as little as 3 minutes. No credit impact and no commitment required.
FAQs
What situations allow you to withdraw from a 401(k) without paying a penalty?
In some cases, the 10% early withdrawal penalty may not apply, such as certain disability situations, substantially equal periodic payments, or other IRS-recognized exceptions. But buying a first home is not generally a stand-alone penalty exception for 401(k) withdrawals the way it can be for certain IRA withdrawals. Also, even when the penalty does not apply, ordinary income taxes often still do.
How much can you withdraw from an IRA to buy a home?
Eligible first-time homebuyers can generally withdraw up to $10,000 from an IRA without the 10% early withdrawal penalty for a qualified home purchase. That limit is lifetime, not annual. Taxes may still apply depending on whether the IRA is traditional or Roth and whether the funds are contributions or earnings.
Can a 401(k) withdrawal used to buy a home be written off on your taxes?
Usually, no. A 401(k) withdrawal used to buy a home is not generally tax-deductible. In many cases, it increases your taxable income for the year, which can raise your tax bill rather than lower it.
Is a 401(k) loan or withdrawal better for buying a house?
If your plan allows both, a 401(k) loan is often less costly in the short term because it does not usually create immediate taxes or penalties. But “better” depends on your job stability, repayment ability, retirement timeline, and whether you have other funding options. A withdrawal is permanent, while a loan can become risky if your employment changes.
Conclusion
Yes, you can use your 401(k) to buy a house, but the real cost is often bigger than the amount you pull out. A 401(k) loan may be less painful than a withdrawal, but both can affect your future, whether through taxes, penalties, lower retirement balances, or added risk during a job change.
Before you use retirement savings, it is worth checking whether a lower down payment, an FHA loan, down payment assistance, or a different financing path could get you there with less damage to your long-term plan. Better can help you compare options, understand what you can afford, and move through the mortgage process online with more clarity and less guesswork.
*This article is for informational and educational purposes only and should not be considered financial, tax, or legal advice. Every homebuyer’s situation is different, so consider speaking with a qualified financial advisor, tax professional, or attorney before making decisions about using retirement funds to buy a home.