How to Use Your 401(k) to Pay for a Home Down Payment
You can take money from your 401(k) before retirement, but the rules and costs depend on your age and how much you take
A 401(k) withdrawal for a down payment is possible, but it is not the same as borrowing from a bank. The IRS allows two main paths: a loan from your 401(k) plan, or a withdrawal under the "substantially equal periodic payment" rule (also called a 72(t) distribution). A loan lets you repay yourself with interest. A withdrawal is permanent but may avoid the 10% early withdrawal penalty if you meet the rule's strict conditions. Most people under 59½ who withdraw without meeting these conditions pay both income tax and a 10% penalty on the amount taken.
Before you decide, understand that using retirement savings for a down payment reduces the money that will grow for your actual retirement. Even a $40,000 withdrawal today could cost you $200,000 or more in lost growth over 30 years, depending on investment returns. Some employers also suspend your ability to contribute to the plan after you take a loan, which means you lose employer matching during that time.
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 with interest over five years, with no tax penalty if you repay on time.
- A 401(k) withdrawal before age 59½ normally triggers a 10% penalty plus income tax, unless you may have access to for the 72(t) substantially equal payment rule, which requires you to take equal amounts for five years or until age 59½.
- If you leave your job, any 401(k) loan you have taken is usually due in full within 60 days or it becomes a taxable withdrawal.
- Roth IRAs (not 401(k)s) allow you to withdraw contributions (not earnings) penalty-free at any age, which is often a better option if you have one.
- Borrowing from your 401(k) reduces the balance that grows for retirement and may suspend employer matching contributions while the loan is outstanding.
How a 401(k) loan works and what it costs
A 401(k) loan is money you borrow from your own account and repay to yourself. You can borrow up to 50% of your vested balance, with a cap of $50,000. If your vested balance is $100,000, you can borrow up to $50,000. If it is $60,000, you can borrow up to $30,000. The loan has an interest rate set by your plan administrator—usually 1% to 2% above the prime rate—and you repay it through payroll deductions over five years (or longer if your plan allows and the loan is for a home purchase).
The main advantage is that you avoid the 10% early withdrawal penalty and income tax on the amount borrowed, as long as you repay the loan on schedule. The interest you pay goes back into your own 401(k) account, so you are not losing that money to a bank. However, while the loan is outstanding, that borrowed money is not invested and earning returns, so you lose growth on it. If the market rises 8% per year and you borrow $40,000, you miss out on roughly $3,200 in gains that first year alone.
The biggest risk is job loss or a job change. If you leave your employer, most plans require you to repay the full loan balance within 60 days. If you cannot, the unpaid balance is treated as a withdrawal, which means you owe income tax on it plus the 10% penalty if you are under 59½. A $40,000 loan that becomes a withdrawal could cost you $10,000 in penalties and $10,000 to $15,000 in federal income tax, depending on your tax bracket.
Withdrawals under the 72(t) rule: the five-year commitment
If you do not want to repay a loan, you can withdraw money permanently under Internal Revenue Code Section 72(t), which allows penalty-free withdrawals before age 59½ if you take "substantially equal periodic payments." This means you calculate a fixed amount based on your age, life expectancy, and account balance, and you must withdraw that exact amount every year for five years or until you turn 59½, whichever is longer.
The calculation is complex and involves IRS tables. A financial advisor or tax professional can compute it for you. The key point is that once you start, you cannot stop or change the amount without triggering the 10% penalty on all withdrawals you have taken. If you are 45 years old and start a 72(t) withdrawal, you must continue until age 50 at minimum. If you are 54, you must continue until age 59½. You still owe income tax on every withdrawal, but you avoid the 10% penalty.
This route makes sense only if you are certain you can live with the withdrawal amount for the full period and do not need the flexibility to stop. Most people find it too restrictive for a down payment, since the amount is locked in and often smaller than a one-time loan would provide.
Why a Roth IRA withdrawal is often better than a 401(k)
If you have a Roth IRA (not a Roth 401(k)), you can withdraw your contributions—the money you put in—at any age, penalty-free and tax-free. You cannot withdraw earnings (the investment gains) without penalty, but contributions are yours to take. This is a major advantage over a traditional 401(k), where any withdrawal before 59½ is taxed and penalized.
For example, if you contributed $30,000 to a Roth IRA over five years and it has grown to $40,000, you can withdraw the $30,000 in contributions for your down payment with no tax or penalty. The $10,000 in earnings stays in the account. This flexibility makes a Roth IRA a better source than a 401(k) if you have one, because you get access to real money without the tax hit.
The catch is that you must have opened the Roth IRA at least five years before you withdraw, and you must have contributed to it. If you opened one last year, you cannot use this rule yet. Also, if you convert money from a traditional IRA to a Roth, the five-year clock starts over for that converted amount.
What happens to your down payment savings if you change jobs
A 401(k) loan becomes a serious problem if you leave your job. Most plans require full repayment within 60 days of separation. If you cannot repay, the loan is treated as a taxable withdrawal, and you owe income tax plus the 10% early withdrawal penalty (if you are under 59½). This can wipe out your down payment savings and leave you with a tax bill.
Some plans offer a grace period or allow you to roll the loan into an IRA, but this is rare and depends entirely on your plan's rules. Before you take a 401(k) loan, ask your plan administrator in writing what happens if you leave the company. Get the answer in writing, because verbal assurances do not protect you if the plan rules say otherwise.
If you are considering a job change in the next few years, a 401(k) loan is riskier than a Roth IRA withdrawal or a personal loan. A personal loan from a bank or credit union has no job-change penalty and no tax consequences, though the interest rate is higher and you do not get the money back into your retirement account.
Comparing 401(k) loans to other down payment sources
| Source | Amount Available | Tax or Penalty | Repayment | Risk if You Change Jobs |
|---|---|---|---|---|
| 401(k) Loan | Up to 50% of vested balance, max $50,000 | None if repaid on time | 5 years (or longer for home purchase) | Full balance due in 60 days or becomes taxable withdrawal |
| 401(k) Withdrawal (72(t)) | Calculated based on age and balance | Income tax only; no 10% penalty | Fixed amount annually for 5+ years | None; already withdrawn |
| Roth IRA Contribution Withdrawal | Up to total contributions made | None | None; permanent withdrawal | None; already withdrawn |
| Personal Loan | Depends on credit and income | None; interest is not tax-deductible | 3 to 7 years, typically | None; separate from employment |
| Employer Down Payment Assistance Program | Varies by employer | Varies; may be taxable as income | Varies; may be forgivable | Varies; may require repayment if you leave |
Steps to take before borrowing from your 401(k)
First, contact your plan administrator and request the plan document or summary. Ask specifically: Can you take a loan? What is the maximum amount? What is the interest rate? What happens if you leave your job? How long do you have to repay? Some plans do not allow loans at all, and you need to know this before you plan around it.
Second, calculate the real cost. If you borrow $40,000 at 6% interest over five years, you will repay roughly $47,400. That $7,400 in interest goes back into your account, but the $40,000 you borrowed stops growing. If the market averages 7% annual returns, you lose roughly $2,800 in growth in year one alone. Over five years, the opportunity cost could exceed $15,000.
Third, stress-test your job stability. If there is any chance you will change jobs in the next five years, a 401(k) loan is risky. A personal loan, a Roth IRA withdrawal, or a down payment assistance program from your employer or local government is safer.
Fourth, explore alternatives. Ask your employer whether they offer a down payment assistance program—some do, and they may offer grants or forgivable loans that do not require repayment if you stay with the company. Check whether you may have access to for a first-time homebuyer program in your state or county, which may offer lower-cost loans or grants. These often have lower interest rates and no job-change penalty.
Frequently Asked Questions
Can I borrow from my 401(k) if I am self-employed or have a Solo 401(k)?
Yes, Solo 401(k)s allow loans to the owner, with the same 50% limit and five-year repayment rule. However, you cannot borrow from a SEP-IRA or Solo IRA, which do not permit loans. If you have a Solo 401(k), consult your plan administrator about the loan process, since you are both the employer and the employee.
What if I cannot repay the 401(k) loan on time?
If you miss a payment, the plan administrator may declare the loan in default, which treats the unpaid balance as a withdrawal. You will owe income tax on the full amount plus the 10% penalty if you are under 59½. Contact your plan administrator immediately if you think you will miss a payment—some plans allow a short grace period or a loan modification.
Do I owe taxes on the interest I pay back into my 401(k)?
No. The interest you repay is your own money going back into your account, and it is not taxed. However, when you eventually withdraw from the 401(k) in retirement, that interest will be taxed as ordinary income, just like the rest of your balance.
Can I take a 401(k) loan and a 72(t) withdrawal at the same time?
Technically yes, but it is complicated. If you take a 72(t) withdrawal, you must continue it for five years or until age 59½. A 401(k) loan is separate and has its own five-year repayment schedule. Most people do one or the other, not both, because managing two withdrawal schedules increases the risk of accidentally triggering penalties.
Is a 401(k) loan better than a mortgage with a lower down payment?
Not always. If you put down less than 20%, you will pay private mortgage insurance (PMI), which adds to your monthly payment. However, PMI is temporary—it drops off once you reach 20% equity. A 401(k) loan reduces your retirement savings permanently and costs you growth over decades. Run the numbers with a mortgage lender to compare the cost of PMI against the long-term cost of borrowing from retirement.