Yes, you can use 401(k) money for a down payment, but the method you choose determines how much you pay in taxes and penalties
A 401(k) withdrawal or loan can fund a down payment, but neither option is free. If you withdraw the money outright before age 59½, you owe income tax on the full amount plus a 10% early withdrawal penalty—meaning a $50,000 withdrawal could cost you $15,000 or more in taxes and penalties combined. A 401(k) loan lets you borrow against your balance and repay yourself, which avoids the immediate tax hit, but you have to repay it on a strict schedule or it becomes a taxable withdrawal.
The choice between a loan and a withdrawal depends on your age, how much you need, and whether you can afford to repay a loan while also making a mortgage payment. Most people under 59½ should explore a loan first, because it preserves your retirement savings and avoids the penalty. But if you cannot repay the loan reliably, a withdrawal might be simpler than defaulting and facing taxes anyway.
Key Takeaways
- A 401(k) withdrawal before age 59½ triggers a 10% penalty plus income tax, which can consume 30% to 40% of the money you take out.
- A 401(k) loan lets you borrow your own money and repay it over five years (or longer for a home purchase), with no immediate tax or penalty.
- If you leave your job before repaying a 401(k) loan, the unpaid balance becomes a taxable withdrawal and you owe the penalty.
- Some plans allow a hardship withdrawal for a primary home purchase, which waives the 10% penalty but not the income tax.
- Borrowing from a 401(k) reduces the money that continues to grow for retirement, so the true cost is higher than the interest you pay.
How a 401(k) withdrawal works and what it costs
When you withdraw money from a 401(k) before age 59½, your plan administrator withholds 20% for federal income tax automatically. But that 20% is usually not enough—you also owe the 10% early withdrawal penalty, and depending on your tax bracket and state taxes, you may owe more when you file your return. A $50,000 withdrawal might result in $10,000 withheld, but your actual tax bill could be $15,000 to $20,000, leaving you to pay the difference at tax time or receive a smaller refund.
The IRS does allow a hardship withdrawal for a primary home purchase in some plans, which waives the 10% penalty but not the income tax. You have to prove the withdrawal is for buying or building your main home, and your plan has to offer this option—not all plans do. Even with the penalty waived, you still owe income tax on the full amount, so a $50,000 hardship withdrawal might net you $35,000 to $40,000 after taxes.
Once you withdraw the money, it is gone from your account and stops growing. If that $50,000 would have earned 7% annually, you lose roughly $3,500 per year in growth—a cost that compounds over decades and is easy to overlook when you are focused on the down payment.
How a 401(k) loan works and when to use it
A 401(k) loan lets you borrow from your own balance and repay it through payroll deductions, usually over five years. The interest rate is typically the prime rate plus 1% to 2%, which is often lower than a personal loan or home equity line of credit. You do not owe income tax on the borrowed amount, and there is no 10% penalty. If you borrow $50,000 at 6% interest over five years, you repay roughly $966 per month, and the interest you pay goes back into your own account.
The catch is that you must repay the loan on schedule. If you leave your job, most plans require you to repay the full balance within 30 to 90 days. If you cannot repay it, the unpaid balance becomes a taxable withdrawal, and you owe the 10% penalty on top of income tax—defeating the entire purpose of taking a loan instead of a withdrawal. Some plans allow you to extend the repayment period if you stay with the employer, but that is not may provide.
A 401(k) loan also reduces the money in your account that continues to earn returns. While you are repaying the loan, that $50,000 is not invested and not growing. If the market rises 7% that year, you miss out on $3,500 in gains. That opportunity cost is real, even though you do not see it as a bill.
The difference between a loan and a withdrawal in a table
| Factor | 401(k) Withdrawal | 401(k) Loan |
|---|---|---|
| Immediate tax | Yes, 20% withheld; actual tax bill higher | No |
| 10% early withdrawal penalty (before 59½) | Yes, unless hardship withdrawal | No |
| Money available to use | Immediate | Immediate |
| Repayment required | No | Yes, on schedule or it becomes a taxable withdrawal |
| Interest | N/A | Prime + 1% to 2%, paid back to your account |
| Growth on borrowed amount | Stops immediately | Stops while loan is outstanding |
| If you leave your job | Money is yours; no action needed | Full balance due in 30–90 days or becomes taxable withdrawal |
When a 401(k) loan is risky
Do not take a 401(k) loan if you are planning to change jobs in the next few years. If you leave your employer, the loan becomes due immediately, and most people cannot repay $50,000 in 30 to 90 days. The unpaid balance then becomes a taxable withdrawal, and you owe the 10% penalty plus income tax—the exact outcome you were trying to avoid by taking a loan instead of a withdrawal.
A 401(k) loan is also risky if your income is unstable or if you are already stretched thin on monthly expenses. You are committing to a fixed monthly payment—$966 in the example above—on top of your mortgage payment, property taxes, insurance, and utilities. If you lose your job or face a medical emergency, you cannot pause the loan payments without triggering the default-to-withdrawal rule.
If your plan allows it, some employers offer a longer repayment period for home purchases—up to 15 years in some cases—which lowers the monthly payment but extends the time your money is not growing. Check with your plan administrator about what options are available to you before you decide.
Other ways to fund a down payment without touching retirement savings
Before you tap your 401(k), explore whether you can borrow from family, take out a personal loan, or use a down payment assistance program. Many first-time homebuyer programs offer grants or low-interest loans that do not require you to raid retirement savings. Some employers offer down payment assistance as an employee benefit, and some states have programs specifically for down payments.
If you have a Roth IRA (not a 401(k)), you can withdraw contributions you have already made without penalty or tax, though not the earnings. If you have a traditional IRA, the rules are stricter, but a first-time homebuyer can withdraw up to $10,000 lifetime from a traditional IRA without the 10% penalty—though you still owe income tax on the withdrawal.
A home equity line of credit or home equity loan, if you own another property, is often cheaper than a 401(k) withdrawal because the interest is tax-deductible and there is no penalty. A personal loan from a bank or credit union typically charges 6% to 12% interest, which is higher than a 401(k) loan rate but avoids the job-change risk.
What happens to your 401(k) if you take a loan and then leave your job
This is the scenario that catches most people off guard. You take a $50,000 401(k) loan, make three years of payments, and then you get a job offer you cannot refuse. Your new employer's plan does not allow you to roll over an outstanding loan, so the remaining balance—say, $30,000—is treated as a distribution. You owe income tax on that $30,000 plus the 10% penalty, which could be $9,000 to $12,000 in taxes and penalties.
Some plans allow you to repay the loan in full before you leave, or to roll the loan into an IRA and continue repaying it. But this varies by plan, and you have to ask your plan administrator before you leave your job. If you are considering a job change, talk to your HR department about the loan rules before you borrow.
Frequently Asked Questions
Can I withdraw from my 401(k) without penalty if I am buying my first home?
You can avoid the 10% penalty if your plan offers a hardship withdrawal for a primary home purchase, but you still owe income tax on the full amount. Not all plans offer this option. If your plan does not, you pay both the penalty and the tax. A Roth IRA allows you to withdraw contributions (not earnings) without penalty, and a traditional IRA lets first-time buyers withdraw up to $10,000 lifetime without the penalty, though income tax still applies.
What if I cannot repay my 401(k) loan?
If you miss payments or cannot repay the loan by the deadline, the unpaid balance becomes a taxable withdrawal. You owe income tax on the full amount plus the 10% early withdrawal penalty (if you are under 59½). This defeats the purpose of taking a loan instead of a withdrawal. Before you borrow, make sure you can afford the monthly payment alongside your mortgage and other expenses.
Can I take a 401(k) loan if I am self-employed?
Only if you have a solo 401(k) that specifically allows loans. Many solo 401(k) plans do not permit loans, so check your plan documents or contact your plan provider. If your plan does allow loans, the rules are the same as for employer plans—you must repay on schedule or face taxes and penalties.
Is a 401(k) loan better than a personal loan for a down payment?
A 401(k) loan usually has a lower interest rate (prime + 1% to 2% versus 6% to 12% for a personal loan), but it carries the risk that you must repay it immediately if you leave your job. A personal loan has no job-change risk and no penalty if you cannot repay. If you plan to stay with your employer for at least five years, a 401(k) loan is usually cheaper. If you might change jobs, a personal loan or down payment assistance program is safer.
How much can I borrow from my 401(k)?
Most plans allow you to borrow up to 50% of your vested balance, with a maximum of $50,000. If your balance is $100,000, you can borrow up to $50,000. If your balance is $80,000, you can borrow up to $40,000. Your plan administrator can tell you your vested balance and the exact limit under your plan.