Should You Pay Off Your Mortgage or Invest?

With spare cash, is it better to overpay the mortgage or invest it? This guide covers the rate-vs-return math, the role of tax and risk, and a simple framework for splitting the difference.

By Mitch Duncan Last reviewed 7 min read

You've got some spare cash each month and a mortgage. Should you throw the extra at the loan and be debt-free sooner, or invest it and let the market compound? It's one of the most common money questions — and the honest answer is "it depends," but on a small number of things you can actually pin down.

The core trade-off: a guaranteed return vs. an uncertain one

Overpaying a mortgage gives you a guaranteed, risk-free return equal to your interest rate. Every extra dollar of principal saves you that rate in future interest, with no uncertainty. Pay down a 6% mortgage and you've effectively "earned" 6%, tax-free, guaranteed.

Investing offers a higher expected return, but an uncertain one. A diversified stock portfolio has historically returned roughly 7–10% a year before inflation — but with real volatility and no guarantee over any given decade.

So the first cut is simple: compare your mortgage rate to the after-tax return you could reasonably expect from investing. If your mortgage is at 3%, investing almost certainly wins over the long run. If it's at 7%+, overpaying is hard to beat on a risk-adjusted basis. The messy middle is where the other factors decide it.

Free tool

Mortgage Overpayment Calculator

See exactly how much interest and how many years an extra monthly payment or lump sum would save on your mortgage.

Try it →

The factors that tilt the decision

Tax

Tax changes the real comparison on both sides. If mortgage interest is tax-deductible where you live (e.g. some US situations), your effective mortgage rate is lower, which favours investing. On the other side, investing inside a tax-advantaged account (a 401(k)/ISA/RRSP/super, especially with an employer match) raises your effective return and strongly favours investing. Always compare like-for-like: after-tax mortgage rate vs. after-tax investment return.

The employer match — do this first, always

If your workplace retirement plan matches contributions, capturing that match is an instant 50–100% return. Nothing about a mortgage competes with that. Get the full match before you even start this debate.

Risk and temperament

Paying off a mortgage is psychologically powerful — guaranteed progress, lower fixed costs, and a smaller number that helps you sleep. Investing requires stomaching downturns without bailing out. The mathematically "optimal" choice is worthless if volatility makes you sell at the bottom. Be honest about which you'll actually stick with.

Liquidity

Money paid into a mortgage is hard to get back — you'd need to sell or refinance. Invested money (outside locked retirement accounts) stays accessible. If your emergency fund is thin, that flexibility matters; don't pour every spare dollar into a mortgage you can't easily tap.

Worked example

Say you have $500/month spare, a $300,000 mortgage at 5.5%, and 25 years left.

  • Overpay: an extra $500/month clears the loan years early and saves a large, guaranteed chunk of interest — run your exact numbers in the calculator above.
  • Invest: $500/month at a 7% average return grows to roughly $400,000 over 25 years — but with the risk that any given 25-year stretch underperforms.

On paper, at a 5.5% mortgage vs. a 7% expected return, investing edges ahead. But the gap is small enough that risk tolerance, liquidity, and the value you place on being debt-free can reasonably swing it either way.

Free tool

Investment Calculator

Project what investing the same spare cash could grow to, with historical return presets and inflation adjustment.

Try it →

The order of operations

Most people don't have to choose all-or-nothing. A sensible sequence:

  1. Build a small starter emergency fund (one month of expenses).
  2. Clear any high-interest debt (credit cards, anything above ~8%) — that always beats both investing and mortgage overpayment.
  3. Capture the full employer retirement match.
  4. Top up the emergency fund to 3–6 months.
  5. Then weigh extra mortgage payments vs. extra investing — and feel free to split the difference, e.g. half to each. A 50/50 split hedges the rate-vs-return uncertainty and gives you both progress and growth.

Common mistakes

  • Skipping the employer match to overpay the mortgage. You're turning down a guaranteed 50–100% to earn 5–6%. Never.
  • Ignoring your emergency fund. Overpaying a mortgage while holding no cash buffer means a job loss could force you to borrow at a far higher rate — or lose the home you overpaid.
  • Comparing pre-tax to post-tax. Put both sides on an after-tax footing before deciding.
  • Treating it as permanent. You can revisit every year as rates and your circumstances change.

For the case where the "debt" is high-interest rather than a low-rate mortgage, see pay off debt or invest. And before doing either, make sure your buffer is in place — read emergency fund or pay off debt first.

More on mortgages & home

Put the theory to work: browse all Mortgages & Home calculators →