Pay Off Debt or Invest? The Spread Decides — and the Spread Behaves Differently in Each Direction

The pay-off-vs-invest question has a deceptively simple answer (compare your loan rate to your expected return) and a less simple follow-up (those two rates aren’t actually the same kind of thing).

The simple version

Run your loan rate. Run your expected return. Whichever is higher wins:

Loan rateExpected returnMath says
22% credit card7% marketPay off the card
7% personal loan7% marketTie on paper, lean payoff
5% student loan7% marketInvest
3% mortgage7% marketInvest decisively

That’s the framework. Most pay-off-vs-invest articles stop there. Two things they leave out cause the wrong answer in practice.

The asymmetry the simple version misses

Pay off a 7% loan: you save 7% with certainty. The mortgage company doesn’t have a bad year and decide not to charge you interest.

Invest at “7%”: you get 7% on average across long horizons. Across actual decades, US equity real returns ranged from −1% (1970s) to +13% (1980s, 2010s). The 7% average hides a wide variance.

When loan rate ≈ expected return, the certainty premium tips the math. We ran a $50K loan at 7% interest, $300/month extra cash flow, 10-year horizon, comparing:

  • Path A (extra payment + invest after): loan paid off in 8.7 years, freed-up cash invested 1.3 years. Final wealth (real): $22,400.
  • Path B (minimum + invest the $300): loan paid off in 10 years (full term), $300/month invested entire time at 7% real return. Final wealth (real): $22,800.

Tie at $400, with Path B technically ahead. But Path B’s number assumes the investment actually returns 7% real over 10 years. Drop that to 5% (entirely possible for a single decade) and Path A wins by $3,400. Push to 9% and Path B wins by $4,800.

When the spread is under 2-3%, the answer flips with normal market variation. Path A’s certainty is the tiebreaker.

When the answer is unambiguous

Three categories where the math doesn’t ask any questions:

Pay off, no debate:

  • Credit cards (18-28% APR)
  • Payday loans (200%+ APR)
  • Personal loans above 10%
  • Variable-rate debt that just repriced higher

Invest, no debate:

  • Mortgages under 4% (rare in 2026; most pre-2022 borrowers)
  • Subsidized federal student loans below 4%
  • Auto loans during 0% APR promotions
  • Anything where the loan rate is clearly below realistic real return assumptions

Capture employer match before either:

  • A 401(k) employer match is an instant 50-100% return on contribution. Capture it, then decide on extra cash flow allocation. Skipping the match to pay off a 7% loan is leaving 50%+ on the table.

The behavioral lever the math doesn’t model

The technically optimal answer assumes you actually invest the saved cash flow every month. In practice, “I’ll invest the difference” often becomes “I’ll invest the difference eventually” which becomes “I bought a TV instead.”

If you know yourself well enough to admit you won’t actually invest the savings consistently, the optimal-on-paper strategy isn’t optimal-in-reality. Forced savings via accelerated debt payoff is a real win for low-discipline savers, even when the spreadsheet says investing wins.

This isn’t a moral judgment; it’s a calibration. The best strategy is the one you actually execute. Lower expected return + higher execution rate often beats higher expected return + 60% execution.

What changes the math

Three modifiers most articles skip:

  • Tax treatment. Mortgage interest deduction (when it applies) effectively lowers your loan rate by your marginal tax bracket. A 7% mortgage at 24% federal tax is a 5.3% effective rate — which makes “invest” win more often.
  • Employer 401(k) match. The first 4-6% of salary into a matched 401(k) returns 50-100% instantly. This dominates any pay-off-vs-invest analysis on amounts up to the match limit. Always max the match first.
  • Credit utilization. Carrying high balances on credit cards (above 30% of limit) hurts credit score even if you pay them on time. The downstream cost of a worse credit score (higher mortgage rates, insurance premiums) pushes “pay off” further.

Where this scenario doesn’t hold

  • Variable-rate debt heading higher. If your loan rate is variable and rates are rising, the projected loan rate matters more than the current one. A variable rate at 5% could be 8% in 18 months. Lean payoff.
  • Loan with a forgiveness path. Federal student loans on PSLF or income-driven plans get forgiven after 10-25 years. Aggressive payoff defeats the forgiveness, which is a guaranteed positive return on minimums-only. Different math entirely.
  • Inflation-adjusted thinking. A 4% nominal mortgage during 3% inflation is effectively 1% real. The same 4% rate during 0% inflation is 4% real. The decision changes with the inflation regime.

What to actually do

  1. List every debt with rate and balance.
  2. Pay credit cards aggressively no matter what. They lose to nothing.
  3. Capture full employer 401(k) match.
  4. For everything else, compare loan rate to your honest expected real return assumption (use 5-7%, not 10%).
  5. If spread < 2-3%, lean payoff for certainty.
  6. If spread > 3% in favor of invest, invest.

Open the Loan Payoff Calculator → and run both paths side by side with your actual rate and balance. The output is the spread in dollars at your planning horizon, plus the “what if returns are lower than expected” sensitivity.

Want to try it yourself?
Open the interactive simulator and run the numbers yourself.
Open tool →
Related articles