You can take money from your 401(k) before retirement, but the IRS charges a penalty and you owe income tax unless you meet specific conditions
A 401(k) withdrawal for a down payment is possible, but it costs you more than the amount you withdraw. If you are under 59½, the IRS adds a 10% early withdrawal penalty on top of ordinary income tax on the full amount you take out. A $50,000 withdrawal might net you $32,000 to $35,000 after taxes and penalty, depending on your tax bracket. The money also leaves your retirement account permanently — you cannot put it back, and you lose decades of compound growth on that amount.
There are two paths that avoid or reduce the penalty: the 401(k) loan and the first-time homebuyer exception. A loan lets you borrow from your own balance and repay yourself with interest. The exception lets you withdraw up to $10,000 total across your lifetime from a traditional or Roth IRA (not a 401(k) plan itself) without the 10% penalty, though you still owe income tax. Neither option is available to everyone, and both have real limits.
Key Takeaways
- A direct 401(k) withdrawal before age 59½ triggers a 10% penalty plus income tax, reducing what you actually receive by 30% to 40% depending on your tax bracket.
- A 401(k) loan lets you borrow from your balance at a rate set by your plan (usually prime rate plus 1%), and you repay it through payroll deductions over five years or longer.
- The first-time homebuyer exception applies only to IRAs, not 401(k) plans, and allows one $10,000 withdrawal without penalty but not without income tax.
- If you leave your job, most 401(k) loans must be repaid within 60 days or they become taxable withdrawals with penalties.
- Borrowing from your 401(k) reduces the balance that grows for retirement and creates a repayment obligation on top of your mortgage.
How a 401(k) loan works and what it costs
A 401(k) loan is a withdrawal you repay to yourself. You borrow from your own vested balance, and your plan sets the interest rate — typically the prime rate plus 1%, which is currently around 9% to 10% depending on when you borrow. You repay through automatic payroll deductions, usually over five years, though some plans allow longer terms for larger loans. The interest you pay goes back into your 401(k) account, not to a bank.
The advantage is straightforward: no penalty, no when ready tax bill, and you keep the money in the retirement system. The disadvantage is that you are borrowing against your own future. While you repay the loan, that portion of your balance is not invested and earning returns. If the market rises 8% a year and you are paying 9% interest, you break even on the math — but you have also locked in a 9% return on that money instead of letting it grow with the rest of your portfolio. If the market rises more, you lose the difference.
The real trap is job loss. If you leave your employer, most plans require the full loan balance to be repaid within 60 days. If you cannot repay it, the IRS treats the unpaid balance as a withdrawal, which means you owe the 10% penalty plus income tax on the amount you did not repay. A $40,000 loan with $30,000 still outstanding becomes a $30,000 taxable withdrawal if you cannot pay it back in time.
The first-time homebuyer exception for IRAs only
The IRS allows a one-time withdrawal of up to $10,000 from a traditional or Roth IRA without the 10% early withdrawal penalty if you are a first-time homebuyer. "First-time" means you have not owned a home in the past two years — it does not mean you are buying your first home ever. You can use the $10,000 for your down payment, closing costs, or other acquisition costs.
This exception does not explore to 401(k) plans, only IRAs. If your retirement savings are entirely in a 401(k) through your employer, this option is not open to you. If you have an IRA from a previous job or a rollover, you can use it. You still owe income tax on the $10,000 withdrawal — the penalty is waived, but the tax is not. In a 22% tax bracket, a $10,000 withdrawal nets you $7,800.
The exception is a one-time lifetime limit. Once you use it, you cannot use it again, even if you sell the home and buy another one years later. Some people preserve this option by keeping an IRA separate from their 401(k) and only touching the IRA if they truly need it for a down payment.
Comparing a 401(k) loan to other down payment sources
| Source | when ready Cost | Long-Term Cost | Risk if You Lose Your Job |
|---|---|---|---|
| 401(k) loan | Interest (9–10%) | Lost growth on borrowed amount | Full balance due in 60 days or becomes taxable withdrawal |
| 401(k) withdrawal (under 59½) | 10% penalty + income tax (30–40% total) | Permanent loss of that balance and its growth | Penalty and tax already paid |
| IRA first-time homebuyer withdrawal | Income tax only (no penalty) | Permanent loss of that balance and its growth; one-time use | Tax already paid |
| Gift from family | None | None | None |
| Conventional mortgage with PMI | PMI premium (0.5–2% of loan annually) | PMI until you reach 20% equity | None; debt obligation continues |
What happens to your retirement if you borrow or withdraw
The math on retirement impact is often underestimated. A $50,000 withdrawal at age 35 would grow to roughly $400,000 by age 65 at a 7% annual return. A $50,000 loan that you repay over five years at 9% interest costs you the growth on that money for those five years, plus the opportunity cost of the difference between 9% repayment and whatever the market returns. Over 30 years, the impact compounds.
If you borrow $50,000 and repay it, your balance recovers — you have the full amount back in the account. If you withdraw $50,000, that money is gone forever. The difference between a loan and a withdrawal is the difference between a temporary setback and a permanent reduction in retirement savings.
Many people underestimate how much they will need in retirement or how long they will live. Reducing your 401(k) balance now means either working longer, spending less in retirement, or both. A financial planner can show you whether a specific withdrawal or loan amount changes your retirement timeline, but the general rule is: every dollar you take out is a dollar that does not grow for the next 20 to 30 years.
Steps to take a 401(k) loan or withdrawal
To take a 401(k) loan, contact your plan administrator — usually through your employer's benefits website or HR department. You will fill out a loan request form that specifies the amount and repayment term. The plan will tell you the interest rate, the monthly payment, and the repayment schedule. Some plans approve loans within days; others take a few weeks. Once approved, the money is deposited into your bank account, and repayment begins through payroll deduction.
To take a withdrawal, the process is similar: request form, approval, deposit. If you are under 59½, the plan will withhold 20% of the amount for federal income tax automatically. You may owe more tax when you file your return, depending on your total income and tax bracket. Some plans allow you to specify a higher withholding percentage to avoid a tax bill later.
If you have an IRA and want to use the first-time homebuyer exception, contact your IRA custodian (the bank or brokerage holding the account). Request a withdrawal and specify that it is for first-time homebuyer purposes. The custodian will withhold 10% for federal tax unless you tell them not to. You will report the withdrawal on your tax return and claim the exception to avoid the penalty.
When a 401(k) withdrawal or loan makes sense
A 401(k) loan is most reasonable when you have stable employment, a clear repayment plan, and no other source of down payment funds. If you are confident you will stay in your job for at least five years (the typical loan term), the interest rate is lower than other borrowing options, and you can afford the monthly payment on top of your mortgage, a loan is less damaging than a withdrawal.
A withdrawal makes sense only in narrow cases: you have substantial retirement savings beyond what you need, you are close to 59½ anyway, or the alternative is not buying a home at all. For most people under 50, the penalty and tax cost is too high to justify unless there is no other option.
The first-time homebuyer exception for an IRA is worth using if you have an IRA, you meet the definition of first-time buyer, and you need the money. It avoids the 10% penalty, though not the income tax. It is a one-time option, so use it only if you are serious about buying now.
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) plans allow loans to the owner, with the same rules as employer plans. You set the interest rate (typically prime plus 1%) and repayment term. The loan must be documented in writing and repaid on schedule. If you are self-employed with a SEP IRA or Solo IRA instead, loans are not permitted — you can only withdraw.
What if I cannot repay my 401(k) loan before I leave my job?
Most plans require repayment within 60 days of separation. If you cannot repay, the unpaid balance becomes a taxable withdrawal subject to the 10% penalty (if you are under 59½) plus income tax. Some plans allow you to extend the important date or continue repayment as an individual, but this is rare — check your plan documents or ask HR.
Do I owe income tax on a 401(k) loan?
No. A loan is not a withdrawal, so you do not owe tax on the amount borrowed. You only owe tax on the interest you pay back into the account, and that interest is taxed when you eventually withdraw it in retirement. The repayment itself is made with after-tax dollars from your paycheck.
Can I use my 401(k) for a second home or investment property?
Yes, you can take a loan or withdrawal for any reason — the IRS does not restrict what you use the money for. The first-time homebuyer exception for IRAs applies only to a primary residence, not a second home or investment property. A 401(k) loan or withdrawal has no such restriction.
Is there a limit to how much I can 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 vested balance is $100,000, you can borrow up to $50,000. If it is $80,000, you can borrow up to $40,000. Some plans set lower limits. Check your plan documents or ask your administrator.