401k Loan to Pay Off Mortgage: Complete Cost Analysis (2026)
Quick Answer: Should You Use a 401k Loan to Pay Off Your Mortgage?
A 401k loan lets you borrow up to $50,000 (or 50% of your vested balance) at a low interest rate to pay down your mortgage, but you're paying yourself the interest — not eliminating it. The real cost is the missed investment growth on the borrowed amount, which historically averages 7–10% per year. For most homeowners, alternatives like refinancing, making extra payments, or a HELOC are safer ways to pay off a mortgage faster without risking retirement savings.
Key Takeaways
- 401k loans max out at $50,000 or 50% of your vested balance, whichever is less
- The 'double taxation' myth on 401k loan interest is largely overstated — only the interest portion is taxed twice, not the principal
- Missed market returns (opportunity cost) are the biggest hidden cost of a 401k loan for mortgage payoff
- If you leave or lose your job, the entire loan balance is due within the plan's cure period — often 60 to 90 days under SECURE 2.0
- A $50,000 401k loan could cost $15,000–$35,000 in lost investment growth over 5 years depending on market conditions
- Refinancing, extra monthly payments, or a HELOC are generally lower-risk alternatives to using retirement funds for mortgage payoff
How a 401k Loan for Mortgage Payoff Works
A 401k loan allows you to borrow from your own retirement account without a credit check or traditional loan approval. When you use it to pay off — or pay down — your mortgage, you’re essentially shifting debt from your mortgage lender to your retirement account.
The Mechanics
- You request a loan from your 401k plan administrator (not all plans allow loans — check first)
- You receive up to $50,000 or 50% of your vested balance, whichever is less
- The funds are disbursed to you, typically within 1–2 weeks
- You make a lump-sum payment toward your mortgage principal
- You repay the 401k loan via payroll deductions over 5 years (the standard repayment term)
- You pay yourself interest — typically the prime rate plus 1% (around 9.5% in 2026)
| Feature | Detail |
|---|---|
| Maximum loan amount | $50,000 or 50% of vested balance |
| Interest rate | Prime + 1% (approximately 9.5% in 2026) |
| Repayment term | 5 years (standard) |
| Credit check required | No |
| Tax implications on disbursement | None (it’s a loan, not a withdrawal) |
| Early repayment penalty | None |
Why People Consider It
The appeal is straightforward: your mortgage rate might be 6–7%, but your 401k loan interest goes back into your own account. On paper, it looks like you’re paying yourself instead of a bank. But the reality is more complicated.
Interest Rate Comparison: 401k Loan vs Mortgage
At first glance, comparing interest rates seems simple. But the effective cost of each option depends on what that money would have earned if left alone.
| Factor | 401k Loan | Mortgage |
|---|---|---|
| Interest rate | ~9.5% (prime + 1%) | 6.0–7.5% (typical 2026 rates) |
| Interest paid to | Your own 401k account | The bank/lender |
| Tax-deductible interest | No | Possibly (if itemizing) |
| Impact on credit score | None | On-time payments help |
| Risk of default | Loan becomes taxable distribution | Foreclosure risk |
The Real Interest Cost
Say you borrow $50,000 from your 401k at 9.5% over 5 years:
- Monthly payment: ~$1,053
- Total interest paid: ~$13,180 (goes back into your 401k)
- Total cost out of pocket: ~$63,180
Now compare that to a $50,000 mortgage principal paydown at 6.5%:
- If you paid $50,000 as a lump sum on a 30-year mortgage at 6.5%, you’d save approximately $101,500 in interest over the remaining life of the loan and cut 5–7 years off the term.
The math looks favorable — but only if you ignore opportunity cost, which is the real game-changer.
The Double Taxation Myth — Explained
One of the most common arguments against 401k loans is that you’re “taxed twice” on the borrowed money. Here’s the truth:
How It Actually Works
- You borrow pre-tax money from your 401k (no tax event)
- You repay the loan with after-tax dollars from your paycheck
- At retirement, you pay income tax on the full balance when you withdraw it
So yes — the principal is taxed once when repaid (after-tax dollars), and again when withdrawn in retirement. But this is the same treatment as any other spending: you earn after-tax money, then pay tax on retirement withdrawals. The only amount truly “double-taxed” is the interest portion you pay yourself, which is relatively small.
Bottom line: The double taxation argument is real but overblown. On a $50,000 loan, the actual “extra” tax cost is on roughly $13,000 of interest — not the full $50,000. That might mean $2,000–$4,000 in extra taxes over the life of the loan, depending on your tax bracket.
Opportunity Cost: The Biggest Hidden Expense
This is where the math gets painful. When you pull money out of your 401k — even as a loan — that money stops growing.
Real Numbers: $50,000 Over 5 Years
| Scenario | Assumed Annual Return | Value After 5 Years |
|---|---|---|
| Leave it invested | 8% (S&P 500 avg) | $73,466 |
| Borrow as 401k loan | Interest paid to self (~9.5%) | $63,180 (repaid with interest) |
| Difference | — | $10,286 in lost growth |
That’s the opportunity cost: $10,286 your retirement account didn’t earn because the money was out of the market.
But it gets worse over longer periods. If the market has a strong 5-year run (15%+ annualized, which has happened multiple times), your opportunity cost could exceed $25,000–$35,000.
The Sequence-of-Returns Risk
If you pull money out during a market downturn, you might actually come out ahead — your loan “avoided” losses. But if you pull money out before a bull market, you miss the recovery. Since nobody can predict market timing reliably, this is a real gamble.
Use our 401k loan opportunity cost calculator to model your exact numbers and see the projected cost of removing your funds from the market.
SECURE 2.0 Impact on 401k Loans in 2026
The SECURE 2.0 Act (passed December 2022) introduced changes that affect 401k loans:
Key Changes
| Change | Before SECURE 2.0 | After SECURE 2.0 (2026) |
|---|---|---|
| Repayment deadline after job loss | 60 days | Extended cure period (plan-specific, up to 90+ days for some plans) |
| Part-time worker access | Limited | Employees with 500+ hours over 2 consecutive years may participate |
| Emergency savings accounts | Not available | Employers can offer linked emergency accounts |
| Loan offset rollover window | 60 days | Extended deadlines for rollover of outstanding loan balances |
What This Means for Mortgage Payoff Strategy
- Slightly more breathing room if you change jobs — but you still need to repay or roll over the balance
- No change to the $50,000 loan limit or the 5-year repayment term
- No new 401k loan provisions specifically for housing — the general loan rules still apply
SECURE 2.0 made 401k loans marginally less risky but didn’t fundamentally change the cost-benefit equation for mortgage payoff purposes.
Risk Analysis: What If You Lose Your Job?
This is the single biggest risk of using a 401k loan for mortgage payoff.
The Job Loss Scenario
- You borrow $50,000 from your 401k to pay down your mortgage
- Six months later, you’re laid off or change jobs
- Your 401k loan must be repaid in full within the cure period (traditionally 60 days, now potentially longer under SECURE 2.0 — but still tight)
- If you can’t repay: the outstanding balance is treated as a taxable distribution
- You owe income tax + 10% early withdrawal penalty (if under 59½)
The Real Cost of Default
On a $50,000 outstanding balance with a 22% federal tax rate:
| Cost | Amount |
|---|---|
| Federal income tax (22%) | $11,000 |
| State income tax (varies, est. 5%) | $2,500 |
| 10% early withdrawal penalty (if under 59½) | $5,000 |
| Total tax + penalty | $18,500 |
You’d lose $18,500 to taxes and penalties — on top of the $50,000 that’s no longer in your retirement account. That’s a $68,500 total hit for what started as a strategic mortgage paydown.
How to Mitigate This Risk
- Maintain an emergency fund of 6–12 months of expenses before taking a 401k loan
- Only borrow if your job is highly stable (tenured position, long tenure, strong company)
- Consider a smaller loan — $20,000 instead of $50,000 — to reduce exposure
- Have a repayment backup plan (savings, spouse’s income, home equity line)
Alternatives to a 401k Loan for Mortgage Payoff
Before borrowing from retirement, consider these alternatives:
1. Mortgage Refinancing
If current rates are lower than your existing rate, refinancing can save money without touching retirement savings.
| Factor | Detail |
|---|---|
| Best when | Your rate is 1%+ above current rates |
| Closing costs | 2–5% of loan amount |
| Break-even period | 12–36 months |
2. HELOC (Home Equity Line of Credit)
A HELOC lets you borrow against your home equity at competitive rates. Compare this option in detail in our 401k loan vs HELOC comparison.
| Factor | Detail |
|---|---|
| Typical rate | Prime ± 1% (variable) |
| Risk | Your home is collateral |
| Flexibility | Draw period + repayment period |
3. Extra Monthly Payments
The simplest approach: add $200–$500/month to your regular mortgage payment.
- $300/month extra on a $300,000 mortgage at 6.5% saves ~$68,000 in interest and cuts 4+ years off the term
- No risk to retirement savings
- No loan applications or credit checks
4. Biweekly Payment Plan
Split your monthly payment in half and pay every two weeks. This results in 26 half-payments per year = 13 full payments instead of 12.
- Extra payment per year goes entirely to principal
- Cuts ~4 years off a 30-year mortgage
- No lifestyle disruption required
5. Recasting Your Mortgage
A mortgage recast lets you make a lump-sum payment (often $5,000+ minimum) and the lender re-amortizes the loan over the remaining term, lowering your monthly payment.
| Factor | Detail |
|---|---|
| Cost | Usually $200–$500 fee |
| Credit check | Typically not required |
| Best for | People with a lump sum who want lower payments |
Decision Framework: Is a 401k Loan Right for Your Mortgage?
Use this decision tree to evaluate your situation:
✅ A 401k Loan Might Make Sense If:
- Your mortgage rate is significantly higher than what your 401k is earning
- You have a stable job with no plans to leave for 5+ years
- You’ve maxed out other lower-risk alternatives (extra payments, refinancing)
- You have a large emergency fund to cover the loan if you change jobs
- You’re close to retirement and want to eliminate debt before leaving the workforce
- Your 401k balance is large enough that $50,000 represents less than 20% of total savings
❌ A 401k Loan Is Probably a Bad Idea If:
- You’re under 45 — too many years of lost compounding ahead
- Your job situation is uncertain or you’re planning a career change
- You don’t have an emergency fund to cover the loan in case of job loss
- Your mortgage rate is below 5% — cheap debt that’s not worth risking retirement for
- You’re already behind on retirement savings
- You’d be borrowing more than 25% of your total 401k balance
The Bottom Line
For most homeowners, a 401k loan for mortgage payoff is an unnecessary risk. The opportunity cost of missed investment growth, combined with the job-loss risk, typically outweighs the interest savings. Simpler alternatives — extra monthly payments, refinancing, or a HELOC — achieve similar results without jeopardizing your retirement.
If you’re still weighing whether borrowing from your 401k makes sense for your broader financial picture, read our guide on whether you should borrow from your 401k. For specifics on rates and terms, check our 401k loan interest rate guide. And if you’re considering a withdrawal instead of a loan for a home purchase, see our analysis of 401k withdrawals for home down payments.
401k Loan to Pay Off Mortgage: Real-World Example
Let’s walk through a complete scenario with actual numbers.
Scenario Profile
| Factor | Value |
|---|---|
| Homeowner age | 42 |
| Mortgage balance | $280,000 |
| Mortgage rate | 6.75% |
| Remaining term | 27 years |
| 401k vested balance | $180,000 |
| 401k loan amount | $50,000 |
| 401k loan rate | 9.5% (prime + 1%) |
| 401k loan term | 5 years |
| Marginal tax rate | 24% |
What Happens With the 401k Loan
Mortgage savings:
- $50,000 lump sum on the mortgage saves approximately $69,400 in interest over the remaining 27-year term
- Mortgage term reduced by approximately 3.5 years
401k loan costs:
- Monthly repayment: ~$1,053 for 5 years
- Total repayment: ~$63,180 (including $13,180 in interest paid to self)
- Lost investment growth (at 8% average): ~$10,300
- Net opportunity cost after interest earned: ~$10,300
Net result:
- Mortgage interest saved: $69,400
- Lost 401k growth: $10,300
- “Double tax” cost on interest: ~$3,200
- Net benefit: approximately $55,900 in this scenario
When the Same Scenario Goes Wrong
Same homeowner, but loses their job after 18 months:
- 401k loan balance outstanding: ~$37,000
- Can’t repay within 90 days → taxable distribution
- Tax + penalty (24% + 10% early withdrawal): ~$12,580
- Total lost from 401k: $37,000 + $12,580 = $49,580
- Mortgage benefit received so far: saved ~$8,500 in interest
- Net loss: $41,080
This is why job stability is the critical factor.
When Paying Off Your Mortgage Early Makes Sense (Regardless of Method)
If your goal is mortgage freedom, here’s when aggressive payoff — by any method — is a smart move:
-
You’re within 5–10 years of retirement. Eliminating your largest monthly expense before you stop working provides enormous peace of mind and reduces the income you need in retirement.
-
Your mortgage rate is above 7%. At rates this high, the guaranteed return from paying down principal beats the expected return from many investments.
-
You’re a conservative investor. If your 401k is heavily in bonds earning 4–5%, paying off a 6.75% mortgage is a better risk-adjusted return.
-
You have adequate retirement savings. If you’re on track to have 10–12x your salary saved by retirement, redirecting some cash flow to mortgage payoff is reasonable.
-
It improves your mental health. Some people sleep better with no mortgage. That’s a legitimate financial decision.
Common Mistakes to Avoid
-
Borrowing the maximum just because you can. Just because $50,000 is available doesn’t mean you should take it all. Calculate the minimum you need.
-
Ignoring the job-loss risk. If there’s even a 10% chance you’ll change jobs in the next 5 years, reconsider.
-
Not continuing 401k contributions during repayment. Some plans don’t allow contributions while you have an outstanding loan. Even if yours does, cash flow might prevent it — costing you the employer match.
-
Confusing a 401k loan with a 401k withdrawal. These are completely different. A 401k withdrawal for a home down payment triggers taxes and penalties; a loan does not — as long as you repay it.
-
Forgetting about state taxes. If you default on the loan, state income tax on the distribution can add 3–13% to the cost.
-
Not having a backup plan. Before taking the loan, decide exactly what you’ll do if you need to change jobs before it’s repaid.
Frequently Asked Questions
The Bottom Line: Is a 401k Loan to Pay Off Mortgage Worth It?
For a small subset of homeowners — those with high mortgage rates, extremely stable jobs, large 401k balances, and a plan to stay put for 5+ years — a 401k loan for mortgage paydown can produce a net benefit. But for the majority, the risks outweigh the rewards:
- Opportunity cost of $10,000–$35,000 in missed growth
- Job-loss risk that could trigger a $15,000–$20,000 tax bill
- Lost employer match if you can’t contribute during repayment
- Psychological complexity of owing your retirement account
The simplest, lowest-risk path to mortgage freedom remains consistent extra payments. It’s boring, but it works — without putting your retirement at risk.
Next Steps
- Calculate your numbers: Use our 401k loan opportunity cost calculator to see exactly what borrowing would cost in missed growth
- Compare alternatives: Review our 401k loan vs HELOC comparison for a lower-risk borrowing option
- Read the full guide: Our should I borrow from my 401k guide covers the broader decision beyond just mortgage payoff
- Check current rates: See our 401k loan interest rate guide for today’s rates and how they compare to your mortgage
Related Guides
-
401k Rule of 55: Early Retirement Withdrawal Without Penalty (2026)
Complete guide to the Rule of 55 which allows you to withdraw from your 401k at age 55 without the 10% early withdrawal penalty. Eligibility, tax implications, strategies, and SECURE 2.0 updates for 2026.
-
401k 가정폭력 피해자 인출: SECURE 2.0 법의 새로운 보호 장치 완벽 가이드 (2026)
SECURE 2.0 Act에 도입된 가정폭력(domestic abuse) 피해자를 위한 401k 페널티 없는 인출 규정을 상세히 분석합니다. $10,000 한도, 자격 요건, 신청 방법, 세금 처리, 3년 분할 납부 옵션까지 2026년 최신 기준으로 정리합니다.
-
401k In-Service Withdrawal vs Loan: Accessing Your Money Without Quitting (2026)
Compare 401k in-service withdrawals vs 401k loans while still employed. Learn eligibility, tax rules, SECURE 2.0 changes, and which option saves you more in 2026.