A 401(k) can fund a home purchase through a plan loan or a limited distribution, yet taxes, penalties, and plan rules can shrink the cash you receive.
Home buying can turn into a cash-timing puzzle. Earnest money is due fast. Closing costs land all at once. If your savings won’t bridge the gap, your 401(k) balance can look tempting.
You can access it, but not the same way you’d use a checking account. A 401(k) is governed by your employer plan rules and tax law. Those rules decide whether the money acts like a loan you pay back, or a distribution that can create a tax bill.
Can You Withdraw Money From 401(k) to Buy a House? What The Rules Allow
Yes, you can take money from a 401(k) for a home purchase if your plan allows it. Most plans offer one or both of these routes:
- 401(k) loan: You borrow from your account and repay it through payroll deductions.
- Hardship distribution: A taxable distribution tied to an “immediate and heavy financial need,” which can include buying a principal residence.
Some plans also allow other distributions, often tied to leaving the employer or reaching an age or event your plan permits. Your Summary Plan Description (SPD) or plan portal is the first stop, since a plan can be stricter than IRS limits.
401(k) Loan For A Home Purchase: The Cleanest Route When It Works
A plan loan can be attractive because a properly structured loan is not treated as taxable income. You’re borrowing from your own balance, then paying it back with interest. Your plan sets the interest rate and fees.
For home buyers, two rule points matter:
- Longer repayment may be allowed: While many plan loans use a five-year term, loans used to buy a principal residence can have a longer term if your plan permits it. IRS retirement plan loan rules.
- Funding time is not instant: Plans often take days to process a loan. If your closing date is tight, ask the administrator for a realistic funding window.
Where Loans Go Wrong
The risk is less about the loan itself and more about life changes. If you leave your job, plans often require the remaining balance to be repaid quickly. If you can’t repay, the unpaid amount may be treated as a taxable distribution. If you’re under 59½, the 10% additional tax can apply too.
A second snag is the monthly payment. A loan payment stacked on top of a mortgage, taxes, insurance, and repairs can squeeze your budget right when you need breathing room.
Hardship Distribution For Buying A Primary Residence
Some plans allow hardship distributions, and the IRS lists purchasing a principal residence as an example of an immediate and heavy financial need. IRS hardship distribution rules.
Hardship distributions are different from loans in ways that matter:
- No repayment: The money does not go back into your account.
- Taxable for many people: The taxable portion is usually ordinary income.
- Possible extra tax: If you’re under 59½, the 10% additional tax may apply unless an exception fits.
Plans often require documentation tied to the purchase, like a signed contract, a closing disclosure estimate, or an escrow letter. Many plans limit the distribution to the amount needed for the purchase costs, plus taxes you reasonably expect from taking the distribution.
A Common Trap: Mixing Up 401(k) And IRA Homebuyer Rules
IRAs have a special $10,000 exception tied to a first-time home purchase. Employer plans like a 401(k) do not mirror that rule the same way. Don’t assume “home purchase” means “penalty-free.” Check which exception, if any, applies to you.
Taxes And The 10% Additional Tax: Run This Math First
If you take a taxable distribution before age 59½, you may owe the 10% additional tax unless an exception fits. The IRS lists exceptions and how they’re reported. IRS exceptions to the 10% early distribution tax.
Think of a taxable distribution as extra wages. You may owe:
- Regular income tax on the taxable portion
- Plus the 10% additional tax if no exception fits
Withholding may not meet the final bill. If you’re counting on the full distribution to hit a cash-to-close target, build in a cushion.
Table: Compare Your 401(k) Options For A Home Purchase
Use this to quickly spot which route matches your situation and where the costs show up.
| Option | How Cash Shows Up | Main Trade-Offs |
|---|---|---|
| 401(k) loan for principal residence | Lump sum from plan; repay via payroll | Payment hits budget; job change can trigger taxable default |
| Standard 401(k) loan | Lump sum from plan; repay within plan term | Shorter term can raise payment; default risk stays |
| Hardship distribution for home purchase | Taxable distribution, not repaid | Income tax due; possible 10% additional tax; balance drops |
| Distribution after leaving employer | Taxable payout if not rolled over | Taxes and possible 10% additional tax; timing may not match closing |
| Reduce deferrals short-term to build cash | Higher take-home pay over months | Less retirement saving; may miss employer match |
| Seller credit toward closing costs | Lower cash needed at closing | Offer terms may change; lender caps can apply |
| Gift funds from family | Cash gift with lender paperwork | Gift letter and bank trail required |
| Down payment assistance program | Grant or second loan from program | Eligibility rules and added documentation |
What A “Home Purchase” Need Usually Means In Plan Paperwork
Plans often treat a hardship request for a principal residence as help with getting to the closing table, not with ongoing mortgage payments. Expect requests for the signed purchase contract, the closing disclosure estimate, and proof of the amount due from you.
If you’re using a loan, your plan may still ask for a reason code tied to a principal residence purchase so it can apply the right repayment term. Ask early what documents they want and whether they accept digital copies.
Timing matters too. If your lender needs proof that funds are “sourced,” keep a clean trail from the plan deposit to your bank account, then to the wire or cashier’s check. That paper trail can prevent last-minute lender questions.
How To Decide Without Guessing
You don’t need a fancy model. You need clear numbers and a plan timeline.
Get The Exact Cash-To-Close Gap
Ask your lender for an updated loan estimate and your agent for a closing cost range based on local norms. If you’re short by a small amount, borrowing a large sum from the 401(k) can create costs you didn’t need.
Confirm What Your Plan Will Approve
Ask the administrator for: max loan amount, home-purchase loan term, fees, funding time, and what happens to a loan if you leave the employer. Get the answers in writing if you can.
Pressure-Test The Monthly Budget
Write down your new housing payment (principal, interest, taxes, insurance), then add HOA, utilities, and a repair buffer. Add a 401(k) loan payment if you plan to borrow. If the total feels tight, that’s a signal to shrink the amount or check other funding options.
Estimate The Tax Bill If You’re Taking A Distribution
The IRS sums up the 10% additional tax and who it can apply to. IRS Topic No. 558 on early distribution tax. Add your likely federal and state tax rate to see a rough net. If your combined marginal rate is 25%, a $20,000 taxable distribution may net closer to $15,000. If the 10% additional tax applies, net cash can fall again.
When Using Your 401(k) Makes Sense
Using retirement money is rarely plan A, yet it can make sense in a narrow set of cases:
- You’re closing on a home that fits your budget, and you’re short by a fixed, known amount.
- Your plan offers a home-purchase loan term you can afford, and your job is stable.
- You still have an emergency cash buffer after closing.
If any of those points fail, you may be better off delaying the purchase, lowering the price range, or using a program that cuts cash-to-close.
Table: Checklist For A Smooth 401(k) Loan Or Distribution
Use this right before you submit paperwork so your plan doesn’t stall your closing.
| Check | What To Gather | What You’re Preventing |
|---|---|---|
| Plan option confirmed | SPD section, admin message, portal screenshot | Requesting money through a route your plan blocks |
| Funding date confirmed | Admin timeline, closing date, wire deadlines | Missing cash-to-close on signing day |
| Home purchase docs ready | Contract, closing estimate, escrow contact | Hardship delay from missing paperwork |
| Tax impact estimated | Marginal rate estimate, state rate, withholding plan | Tax bill shock next spring |
| Job-change plan in place | Employer policy on post-termination payoff | Taxable default if you leave |
| Post-close rebuild plan | New contribution rate, budget plan | Staying behind on retirement savings for years |
What To Do After Closing
Once you move in, it’s easy to forget the 401(k) decision. Don’t. If you took a loan, keep payments on autopilot and watch your budget in the first six months. If you took a hardship distribution, plan how you’ll rebuild your retirement balance over time.
Small steps add up: restarting deferrals after a pause, capturing the full employer match, and raising your contribution rate when raises arrive.
References & Sources
- Internal Revenue Service (IRS).“Retirement Topics: Loans.”Explains plan loan repayment rules and the longer-term option for loans used to buy a principal residence.
- Internal Revenue Service (IRS).“Retirement Topics: Hardship Distributions.”Defines hardship distributions and lists home purchase of a principal residence as a qualifying need under IRS rules.
- Internal Revenue Service (IRS).“Exceptions To Tax On Early Distributions.”Lists exceptions to the 10% additional tax on early withdrawals from retirement plans.
- Internal Revenue Service (IRS).“Topic No. 558, Additional Tax On Early Distributions.”Summarizes when the 10% additional tax applies to early distributions from qualified retirement plans.