Yes, you can use 401(k) money to buy a house, but the rules depend on which withdrawal method you choose

You have three main ways to tap your 401(k) for a down payment or closing costs: take a loan from your plan, make an early withdrawal, or use a Roth conversion ladder if you have a Roth IRA. Each method has different tax consequences, repayment terms, and may be able to access rules. The best choice depends on your age, how much you need, and whether you can afford to repay a loan.

The most common route is a 401(k) loan, which lets you borrow from your own balance without triggering income tax. Early withdrawal is faster but costs you taxes and penalties unless you meet specific exceptions. A Roth conversion ladder takes years to set up but avoids penalties if you plan ahead.

Key Takeaways

  • A 401(k) loan lets you borrow up to 50% of your vested balance (or $50,000, whichever is less) and repay it over five years without income tax.
  • Early withdrawal before age 59½ triggers a 10% penalty plus income tax on the full amount, unless you meet narrow exceptions like disability.
  • Your employer's plan must offer loans or early withdrawal options—not all plans do, so check your plan documents first.
  • If you leave your job, you typically must repay a 401(k) loan within 60 days or it becomes a taxable withdrawal.
  • A Roth conversion ladder requires moving money to a Roth IRA years before you need it, then withdrawing contributions penalty-free.

How a 401(k) loan works for a home purchase

A 401(k) loan is a loan from yourself. You borrow money from your own account balance, and your employer's plan administrator handles the paperwork. The IRS allows you to borrow up to 50% of your vested balance, with a maximum of $50,000 in any 12-month period. If your balance is $100,000, you can borrow up to $50,000. If it is $80,000, you can borrow up to $40,000.

You repay the loan through payroll deductions, usually over five years. The interest rate is set by your plan—typically the prime rate plus 1% or 2%—and that interest goes back into your own account, not to a bank. Because you are borrowing your own money and repaying yourself, there is no income tax on the loan itself, and no 10% early withdrawal penalty.

The catch is that not all employers offer 401(k) loans. Some plans only allow withdrawals, not loans. Check your plan's summary document or call your plan administrator to confirm loans are available. If your plan does offer loans, you will need to submit a loan request form, and approval usually takes one to two weeks.

Early withdrawal: faster access, but with taxes and penalties

An early withdrawal lets you take money out of your 401(k) before age 59½ without repaying it. The money is yours to keep. However, you will owe income tax on the full amount withdrawn, plus a 10% early withdrawal penalty. If you withdraw $30,000 and are in the 24% tax bracket, you will owe roughly $10,200 in taxes and penalties combined, leaving you $19,800.

The IRS does allow some exceptions to the 10% penalty—though not to the income tax. If you are disabled, if you are a first-time homebuyer, or if you are taking substantially equal periodic payments under a specific formula, you may avoid the penalty. The first-time homebuyer exception lets you withdraw up to $10,000 lifetime from a traditional IRA (not a 401(k)) without the 10% penalty, though you still pay income tax.

Note that a 401(k) early withdrawal is different from an IRA early withdrawal. Most 401(k) plans do not have a first-time homebuyer exception built in. If your plan does allow early withdrawals, ask the administrator which exceptions explore to your situation. Some employers are stricter than others.

What happens to your 401(k) if you leave your job

If you take out a 401(k) loan and then leave your employer, your plan typically requires you to repay the full loan balance within 60 days. If you do not repay it in time, the loan is treated as a taxable withdrawal. You will owe income tax on the unpaid balance plus the 10% early withdrawal penalty if you are under 59½.

This is a major risk if you are planning to change jobs soon. If you borrow $40,000 and leave your job three months later, you need $40,000 in cash to repay the loan by day 60, or you face taxes and penalties on the full amount. Some employers offer a grace period or let you repay over a longer timeline, but this is not may provide. Ask your plan administrator about their specific rules before you borrow.

If you roll your 401(k) into an IRA when you leave your job, the loan does not automatically transfer. You must repay it or face the tax consequences. This is why a 401(k) loan is riskier if your job situation is uncertain.

Using a Roth conversion ladder for penalty-free access

A Roth conversion ladder is a strategy where you convert money from a traditional IRA or 401(k) into a Roth IRA, then withdraw the contributions (not the earnings) penalty-free after five years. This works only if you have time to plan ahead—you cannot use this method if you need the money for a house purchase within the next five years.

Here is how it works: In year one, you convert $20,000 from your traditional IRA to a Roth IRA. You pay income tax on that $20,000 in that year. Five years later, in year six, you can withdraw the $20,000 contribution penalty-free. In the meantime, you can start a second conversion in year two, a third in year three, and so on. Each conversion becomes available penalty-free five years later.

This strategy is complex and requires careful record-keeping. You must track which money is a contribution (available penalty-free) and which is earnings (subject to penalties if withdrawn before 59½). You also pay income tax on the conversion in the year you do it, which can be a large tax bill. This method works best if you have several years to prepare and want to avoid a 401(k) loan's repayment obligation.

Comparing the three methods side by side

MethodIncome Tax10% PenaltyRepayment RequiredTimeline
401(k) LoanNoNoYes, over 5 years1–2 weeks to approve
Early WithdrawalYesYes (with exceptions)No1–2 weeks to process
Roth Conversion LadderYes (at conversion)No (after 5 years)No5+ years to set up

Questions to ask your plan administrator before you withdraw

Before you take any action, contact your 401(k) plan administrator—usually through your employer's HR or benefits department—and ask these questions: Does the plan offer loans, early withdrawals, or both? What is the maximum loan amount? What is the interest rate and repayment term? What happens to a loan if I leave the company? Are there any exceptions to the 10% penalty for early withdrawal? How long does approval take?

Your plan administrator can also tell you whether your plan has a first-time homebuyer provision or other special rules. Some employers offer more flexibility than others. Getting these answers in writing protects you from surprises later. If your plan does not offer the option you need, you may have to choose a different method or explore other sources of down payment funds.

Frequently Asked Questions

Can I borrow from my 401(k) if I am self-employed?

If you have a Solo 401(k) (a plan for self-employed people), you can borrow from it using the same rules as a traditional 401(k)—up to 50% of your balance or $50,000, whichever is less. However, if you are the only employee, you cannot borrow from a SEP-IRA or Solo Roth IRA. Check your specific plan documents to confirm loans are available.

What if I cannot repay the 401(k) loan before I leave my job?

If you cannot repay within 60 days, the unpaid balance becomes a taxable withdrawal. You will owe income tax on the full amount plus a 10% penalty if you are under 59½. Some employers may negotiate a longer repayment timeline, but this is not may provide. Ask your plan administrator about options before you leave.

Does borrowing from my 401(k) hurt my mortgage process?

A 401(k) loan does not appear on your credit report and does not affect your credit score. However, lenders may ask about outstanding loans when you explore for a mortgage, and the loan payment reduces your monthly cash flow, which can lower the amount you are approved to borrow. Be transparent with your lender about any 401(k) loans.

Can I withdraw from my spouse's 401(k) to buy a house?

No. You can only withdraw from or borrow against your own 401(k). Your spouse's 401(k) is separate, and you have no legal right to access it. If your spouse wants to help with the down payment, they would need to use their own 401(k), savings, or other funds.

Is there a first-time homebuyer exception for 401(k) withdrawals?

A first-time homebuyer exception exists for traditional and Roth IRAs (up to $10,000 lifetime), but most 401(k) plans do not have this exception built in. Some employers may offer it as part of their plan, so ask your administrator. If your plan does not offer it, you would still owe the 10% penalty on an early withdrawal unless another exception applies.