Should You Repay Your Mortgage Early or Invest the Money?

The answer depends on the spread between your mortgage rate and expected investment returns — adjusted for risk and taxes. When mortgage rates are below long-term equity returns (~7% real), investing has historically produced better outcomes. In high-rate or volatile environments, the guaranteed “return” from debt reduction becomes more attractive. The macro regime determines which strategy dominates.

Looking for more macro answers?

Explore all macro questions

The short answer

This question appears to be about personal finance — but it’s fundamentally a macro question. The right answer changes depending on the interest rate regime, the inflation outlook, and the expected return on alternative investments.

The mathematical framework is simple: if the after-tax cost of your mortgage is lower than the expected after-tax return on investing, you should invest. If it’s higher, repay the mortgage. In practice, the uncertainty around “expected returns” makes this less clear-cut than the math suggests.

A mortgage at 3% during a period when equities return 10% is a no-brainer — invest. A mortgage at 7% during a period when equities face headwinds from elevated valuations and rising rates is much less clear — the guaranteed 7% “return” from debt elimination is compelling.

New to these tradeoffs? Explore the Eco3min Financial Education Hub

What the data shows

Using FRED data (MORTGAGE30US) and S&P 500 historical returns (1970–2024), the historical answer has overwhelmingly favored investing — but with important caveats.

Over any rolling 20-year period since 1970, the S&P 500 total return has exceeded the average 30-year mortgage rate in approximately 90% of cases. The median outperformance has been approximately 4–5 percentage points per year. Over 30 years, this compounds into an enormous difference in terminal wealth.

However, the answer is highly sensitive to starting conditions. Investing at elevated CAPE ratios (above 30) during periods of rising rates has historically produced below-average returns. The 2000–2010 decade delivered negative real equity returns — a homeowner who repaid a 7% mortgage during that decade earned a guaranteed 7% “return” while equity investors earned nothing.

The real mortgage rate adds an important dimension. A 7% mortgage during 5% inflation costs only 2% in real terms — making investment more attractive. The same 7% mortgage during 2% inflation costs 5% real — a higher hurdle for investments to clear.

Datasets: 30Y Mortgage Rate · Real Mortgage Rate · S&P 500 Returns

Why it happens — the macro mechanism

The mortgage-vs-invest tradeoff is governed by two macro variables: the spread between expected returns and borrowing costs, and the volatility of that spread.

In a falling-rate, low-inflation regime (1982–2020), the answer was almost always “invest.” Mortgage rates were declining (offering refinancing opportunities), equity valuations were expanding, and the equity risk premium was positive and substantial. Borrowing was cheap and investing was rewarding — the spread was wide and persistent.

In a rising-rate, high-inflation regime (1970s, potentially 2022+), the calculus shifts. Mortgage rates are high, equity valuations are elevated, and forward returns are expected to be below historical averages. The spread narrows — and the certainty of debt elimination becomes more valuable relative to uncertain investment returns.

The behavioral dimension is often decisive. Repaying a mortgage provides psychological certainty — no market risk, no sleepless nights during drawdowns, reduced monthly obligations. Investing requires tolerance for volatility and the discipline not to sell during crashes. Many investors who “should” invest based on expected returns end up selling at the worst time — turning a theoretically superior strategy into a practically inferior one.

Tax considerations add a layer of complexity. In the U.S., mortgage interest is deductible (reducing the effective cost) while investment gains are taxed (reducing the effective return). In countries without mortgage interest deduction, the math more strongly favors debt repayment.

The spreadsheet says invest. Your nervous system says repay. The right answer depends on which one you’ll actually follow through on.

Framework: Investment Strategies Hub

What it means for different economic actors

Young borrowers with long horizons and high risk tolerance are best positioned to invest rather than accelerate mortgage repayment — provided their mortgage rate is below 5% and they can commit to not selling during market downturns. The long time horizon allows compounding to overcome short-term volatility.

Near-retirement borrowers may prefer accelerating mortgage repayment. Entering retirement without a mortgage payment reduces the withdrawal rate required from investment portfolios — providing a crucial buffer against sequence-of-returns risk. The psychological benefit of debt freedom in retirement has real financial value through reduced stress and more conservative (and often more successful) investment behavior.

Investors in high-rate environments (mortgage above 6%) should seriously consider accelerated repayment — particularly if equity valuations are elevated. A guaranteed 6–7% after-tax return (which is what mortgage repayment effectively provides) is difficult to consistently beat in any market environment.

The critical error is framing this as a permanent decision. The optimal strategy changes with the macro environment. An investor who aggressively paid down a 3% mortgage in 2021 missed the opportunity to invest at rates that historically outperformed by wide margins. An investor who stretched to invest rather than repay a 7% mortgage in 2023 took on significant risk for uncertain reward.

Go deeper

Frequently asked questions

What if I can do both?

The hybrid approach — making standard mortgage payments while investing additional savings — is often the most practical solution. It avoids the all-or-nothing framing and provides both debt reduction and investment growth. Allocating extra cash 50/50 between mortgage acceleration and investing captures most of the benefit of both strategies while reducing regret risk.

Does refinancing change the answer?

Significantly. If you can refinance from 7% to 4%, the effective cost of the mortgage drops, making investment more attractive. Homeowners who refinanced to sub-3% rates in 2020–2021 locked in the lowest borrowing costs in history — making the case for investing overwhelmingly strong. This is why refinancing decisions are macro-dependent, not just personal finance decisions.

What about the peace of mind of being debt-free?

This is a legitimate and undervalued factor. Research in behavioral finance shows that debt anxiety reduces decision quality across all financial domains. If carrying a mortgage causes you to lose sleep, sell investments during corrections, or make other suboptimal financial decisions, the psychological cost of the mortgage exceeds its mathematical benefit. “Optimal” strategies that you can’t stick to aren’t optimal in practice.

Last updated — 13 April 2026