Skip to main content
Wyzfin Logo

Should You Invest or Pay Off Your Mortgage Early? The Math May Surprise You

With mortgage rates at 7% and the stock market returning ~10% historically, which move wins? We run the numbers for different rate environments and risk tolerances.

May 8, 2026
3 min read
Reviewed for accuracy by the Wyzfin editorial team
Should You Invest or Pay Off Your Mortgage Early? The Math May Surprise You

Should You Invest or Pay Off Your Mortgage Early? The Math May Surprise You

This is one of the most common financial dilemmas for homeowners: you have an extra $500 a month. Do you make extra mortgage payments and build equity faster, or invest it in the stock market and let compound growth work?

The mathematically correct answer has shifted significantly as interest rates have risen.

The Math Framework

This comes down to comparing two rates:

  1. Your mortgage interest rate — the guaranteed return you get by paying it down
  2. Your expected investment return — historically ~10% annually for the S&P 500, but with significant variability

If your expected investment return exceeds your mortgage rate, investing wins mathematically. If your mortgage rate is higher than what you expect to earn, paying it down wins.

When Investing Wins: The Low-Rate Era (Below 4%)

If you locked in a 30-year mortgage at 3% or 3.5% during 2020–2021, the math strongly favors investing. Your mortgage is cheap money — effectively below the historical inflation rate. Putting extra dollars into the stock market, which has averaged ~10% annually over long periods, generates a meaningful spread.

Example: $500/month invested at 7% average real return over 20 years = $260,000. That same $500/month as extra mortgage payments on a 3% loan saves roughly $35,000 in interest and 5–6 years off the loan.

The investing path builds far more wealth in low-rate environments.

When Paying Off the Mortgage Wins: The High-Rate Environment (Above 6%)

At 7% or higher, the decision tilts. The stock market's historical 10% average return is not guaranteed — it comes with volatility, drawdowns, and years where returns are negative. A 7% guaranteed return (eliminating the interest) is extremely competitive.

Example: $500/month as extra principal on a 7% mortgage saves approximately $110,000 in interest and 8 years. Investing that same $500 at 7% average return = $260,000. Investing still wins on pure expected value, but the guaranteed nature of the debt payoff is valuable.

Additionally, once you're paying ~7% on a mortgage, your after-tax benefit of paying it off depends on whether you itemize deductions. Most homeowners no longer itemize under the current standard deduction rules.

The After-Tax Calculation

Investment returns in a taxable brokerage account are subject to capital gains tax. If your investments return 10% and you're in the 15% capital gains bracket, your after-tax return is about 8.5%. Your mortgage rate is fixed. This narrows the gap.

Investments in a Roth IRA or 401(k) are tax-advantaged, which tilts the math back toward investing — especially if you haven't maxed out retirement accounts.

The Psychological Argument for Paying Off the Mortgage

Pure math aside, there is genuine value in owning your home outright:

  • Eliminates monthly payment stress in retirement or job uncertainty
  • Reduces "sequence of returns" risk — if the market crashes the year you retire, having a paid-off home means fewer forced sales
  • Provides a tangible, forced savings mechanism for people who struggle to stay invested during downturns

For many people nearing retirement, the peace of mind from a paid-off home is worth the mathematical trade-off.

A Practical Framework

First, always do these before extra mortgage payments:

  1. Capture full 401(k) employer match
  2. Build a 3–6 month emergency fund
  3. Eliminate any debt above your mortgage rate (credit cards, personal loans)
  4. Max a Roth IRA ($7,000/year)

Then use this rule for the extra dollars:

  • Mortgage rate below 5%: Invest the extra in broad index funds
  • Mortgage rate 5–7%: Split between investing and extra mortgage payments
  • Mortgage rate above 7%: Paying down the mortgage is highly competitive with investing

Use our Compound Interest Calculator to model exactly what investing a lump sum would grow to over your remaining mortgage term.

Key Takeaway

There is rarely a universally wrong answer. At today's elevated mortgage rates, paying off the mortgage is a stronger case than it was during the low-rate era — but maxing tax-advantaged accounts first is almost always the right order of operations.

Disclaimer: This article is for educational purposes only and does not constitute financial advice.

Ready to run the numbers for your situation?

Browse all free calculators →