Pay Off Mortgage or Invest? The Math Across Every Rate Scenario

June 10, 2026 · ~11 min read

At 3% mortgage rate: invest every extra dollar. At 7%: the math is surprisingly close. At 8%+: paying down the mortgage starts to win. Here's exactly how to think through your own situation.

The Core Math — Breaking Even

The fundamental question is simple: does your after-tax mortgage interest rate exceed your after-tax expected investment return? If investing beats the mortgage rate, invest. If the mortgage rate wins, pay it down.

Mortgage side — the guaranteed return: Every extra dollar you put toward your mortgage earns a guaranteed, risk-free return equal to your mortgage rate. But if you itemize deductions, you get a tax break on mortgage interest, lowering your effective rate.

Example: 6.5% mortgage, 22% tax bracket, you itemize → effective rate = 6.5% × (1 − 0.22) = 5.07% guaranteed return.

Investment side — the expected return: The S&P 500 has returned ~10% nominally over long periods. After 15% long-term capital gains tax in a taxable account, that's ~8.5% after-tax. In a Roth IRA, it's the full 10% tax-free.

Extra Mortgage PaymentStated rate: 6.5%− Tax deduction (22% bracket)= 5.07% guaranteedRisk-free · Certain · Immediate(Without itemizing: full 6.5%)vsBreakeven~6–7% rateStock Market InvestmentS&P 500 avg: ~10%/yrTaxable acct − 15% LTCG tax≈ 8.5% after-tax (taxable)≈ 10% in Roth IRAExpected · Variable · Long-term

At low mortgage rates, investing wins decisively. As rates approach 7–8%, the gap narrows and other factors (risk tolerance, tax situation) start to matter more.

The Math at Different Mortgage Rates

Here's how the numbers look across the full range of mortgage rates, assuming a 22% tax bracket and itemizing deductions:

Mortgage RateEffective Rate (itemizing, 22%)vs S&P Taxable (8.5%)vs Roth IRA (10%)Verdict
3.0%2.34%Invest +6.2%Invest +7.7%Invest strongly
4.0%3.12%Invest +5.4%Invest +6.9%Invest clearly
5.0%3.90%Invest +4.6%Invest +6.1%Invest
6.0%4.68%Invest +3.8%Invest +5.3%Lean invest
6.5%5.07%Invest +3.4%Invest +4.9%Lean invest
7.0%5.46%Invest +3.0%Invest +4.5%Close call
7.5%5.85%Invest +2.7%Invest +4.2%Slight lean invest
8.0%6.24%Invest +2.3%Invest +3.8%Very close
8.5%6.63%Invest +1.9%Invest +3.4%Neutral / risk-dependent

Important: If you don't itemize deductions (most people now take the standard deduction), your effective mortgage rate equals the stated rate — making the invest-vs-payoff decision slightly closer. Also: these are expected returns. The market can easily return 0% or negative over any 5-year period. The mortgage payoff return is guaranteed.

Investing Advantage Over Mortgage Payoff (Taxable Account, S&P 8.5% After-Tax)Advantage (%/yr)+6.2%3%+5.4%4%+4.6%5%+3.8%6%+3.4%6.5%+3.0%7%+2.6%7.5%+2.3%8%+1.9%8.5%Mortgage Rate0%2%4%6%

Even at the highest rates shown, investing in a taxable account still holds a mathematical edge — but the margin shrinks enough that risk tolerance and psychological factors become decisive.

The Risk-Tolerance Dimension

The math favors investing in most scenarios — but math isn't the only input. A guaranteed 7% return (mortgage payoff) vs an uncertain 10% (stocks) looks different depending on how you feel about volatility.

Mortgage Rate vs Risk Tolerance MatrixLow Rate (3–5%)High Rate (6.5%+)High Risk ToleranceLow Risk ToleranceInvest AggressivelyObvious choice — low-ratedebt + high risk appetite= maximize market exposure→ Don't prepay mortgageSplit StrategyMax tax-advantaged accounts,then split remaining surplus60% invest / 40% mortgage→ Hedge both outcomesInvest AnywayEven conservative fundsbeat a 3–4% mortgage rate.Bonds/balanced funds work.→ Low-risk funds still beat 3%Consider Extra PaymentsGuaranteed return nearinvestment returns + peaceof mind = real value→ Debt-free path is valid

Key insight: a guaranteed 7% return (mortgage payoff) vs uncertain 10% (stocks) is more attractive the more risk-averse you are. For some people, the psychological value of being mortgage-free — the certainty, the reduced fixed costs, the peace of mind — genuinely outweighs the mathematical advantage of investing. That's a completely rational choice.

Tax Considerations That Change Everything

Three tax situations significantly affect the math:

1. Unused tax-advantaged space (401k / IRA / Roth)

Always fill these before making extra mortgage payments. The tax savings — and especially an employer match — often turn a borderline decision into a clear “invest” choice.

Example: $10,000 in a Roth IRA at 10%/yr for 20 years = $67,275 completely tax-free. That same $10,000 applied as an extra mortgage payment saves roughly $650/yr in interest. It's not close.

2. If you don't itemize (most people)

Since the 2017 Tax Cuts and Jobs Act raised the standard deduction, the majority of homeowners no longer itemize. If you don't, your effective mortgage rate equals the stated rate — no deduction benefit. The table above becomes less favorable to investing, but the math still leans toward investing in most scenarios.

3. Taxable vs. tax-advantaged investment accounts

In a taxable brokerage account, capital gains taxes reduce your effective return. At the 15% long-term rate, a 10% return becomes roughly 8.5% after-tax. In a Roth IRA, you keep the full 10%. This is why tax-advantaged accounts should always come first.

Priority order for your extra dollars:
1
Get full employer 401k match
100% instant return — never leave this on the table
2
Max Roth IRA ($7,000/yr)
Tax-free growth for decades — the single best investment vehicle
3
Max 401k ($23,500/yr)
Tax-deferred growth, lowers taxable income now
4
Then: mortgage payoff vs. taxable investing
Now the math analysis above applies — compare rates carefully

The 20-Year Simulation

Let's make this concrete: $200,000 mortgage at 6.5%, 30-year term. You have $500/month extra available. What happens over 20 years?

Scenario A — Pay Down Mortgage
  • Extra $500/month on principal
  • Pay off 8–10 years early
  • Save ~$95,000 in total interest
  • Then invest freed-up payment
  • Zero mortgage stress
  • Full home equity as safety net
Scenario B — Invest the $500/month
  • $500/month into S&P 500 index
  • Assumed 8% annual return (after-tax)
  • After 20 years: ~$294,510 portfolio
  • Continue mortgage payments normally
  • More liquid wealth building
  • Wins by ~$200,000 after 20 years
$500/month Over 20 Years: Invest vs. Extra Mortgage Payments$0$50k$100k$150k$200k$250k$300kYr 0Yr 5Yr 10Yr 15Yr 20Years~$294k(Scenario B)~$95k(Scenario A)Invest $500/mo (8% return)Extra mortgage payments (interest saved)

After 20 years, Scenario B wins by roughly $200,000 — even after accounting for capital gains taxes. But Scenario A's homeowner has zero mortgage stress, complete home equity liquidity, and meaningful financial peace. That psychological value is real and shouldn't be dismissed.

The Hybrid Approach — Best of Both Worlds

For most people, a split strategy captures most of the mathematical upside while hedging against market risk and providing psychological comfort:

  • Contribute enough to 401k to get the full employer match — this is a 50–100% guaranteed return
  • Max Roth IRA if eligible ($7,000/yr) — tax-free compounding
  • Put 70–80% of remaining surplus into investments (taxable or tax-advantaged)
  • Put 20–30% into extra mortgage payments — psychological safety net, reduces interest, builds equity faster
Suggested Surplus Allocation40% Tax-Advantaged35% Taxable Investing25% Extra Mortgage401k match + Roth IRAIndex funds, ETFsPrincipal paydown

This split isn't optimal in a pure math sense — fully investing would come out ahead. But it makes the strategy sustainable for more people by removing the anxiety of carrying a large mortgage while also building a substantial investment portfolio.

Clear Decision Guide by Situation

Your SituationRecommended Action
Mortgage rate < 4%Invest all extra savings — don't prepay
Mortgage rate 4–6%Max tax-advantaged accounts, then invest surplus
Mortgage rate 6–7%Max tax-advantaged, then split 60% invest / 40% mortgage
Mortgage rate > 7%Consider 50/50 split or prioritize mortgage after tax-advantaged
Close to retirement (< 5 yrs)Pay down mortgage for certainty and lower fixed costs
High risk toleranceAlways lean toward investing
Low risk tolerance / want debt-freeLean toward extra payments for peace of mind
No emergency fundBuild emergency fund first — never invest without one

The most important rule: never make extra mortgage payments while leaving employer 401k match unclaimed, or before building a 3–6 month emergency fund. Those two steps come first, always.

Research Stocks and ETFs for Long-Term Investing

If you decide to invest rather than pay down the mortgage, put your money in quality. BriMindInvest gives you AI scores, valuation metrics, and fundamental analysis so you can build a portfolio with conviction.

Compare Stocks & ETFs