All guides
Debt vs Investing

Should You Pay Off Debt or Invest First?

7 min read AlgoPotato Team
Pay off debt vs invest: a credit card and a bill on one side, a rising chart and a coin on the other.

You've got an extra $200 this month. Do you throw it at your debt, or put it into your TFSA? It's one of the most common questions in personal finance, and most of the answers online are either too simple ("always pay off debt first!") or too complicated to actually act on. Here's a framework that's honest about the math without ignoring that this is also a decision about how you sleep at night.

Start With the Emergency Fund, Not the Debt

Before either debt or investing, most people are better off with a small cash cushion — enough to cover an unexpected car repair or a month without income, so a bad week doesn't turn into new debt on a credit card. It doesn't need to be large at this stage; even $1,000–$2,000 tends to prevent most of the situations that would otherwise put you back at square one. See the full breakdown in the emergency fund glossary entry.

The Interest Rate Rule of Thumb

Once that cushion exists, the decision mostly comes down to comparing two numbers: the interest rate on your debt, and the return you'd reasonably expect from investing instead. Paying off a debt is a guaranteed return equal to its interest rate. Investing is not guaranteed, but has historically returned somewhere around 6–8% a year over long periods in a diversified stock portfolio.

Debt TypeTypical RateUsually Pay Off First?
Credit cards19–24%Yes — almost always
Payday / high-interest loans30%+Yes — urgently
Personal loans / lines of credit8–13%Usually yes
Car loans6–9%Often close — depends
Student loansvaries widelyDepends on the rate
Mortgages4–6%Often fine to invest instead

There's no single rate where the answer flips — but as a working guideline, debt above roughly 8–10% is hard for an average diversified portfolio to reliably beat, so paying it off first is close to a free win. Below that, the two options get genuinely closer, and the decision comes down to more than pure math (more on that below).

The Priority Order Most People Should Follow

  1. Minimum payments on everything. Never skip these — late fees and credit damage cost more than almost any strategy saves.
  2. A small starter emergency fund. Enough to cover a genuine surprise expense.
  3. Any employer retirement match. If your employer matches RRSP contributions, that's an immediate, guaranteed return that beats paying off almost any debt — don't leave it unclaimed.
  4. High-interest debt (credit cards, payday loans). The guaranteed "return" from eliminating a 20%+ rate is higher than almost any realistic investment return.
  5. A fuller emergency fund and TFSA/RRSP contributions. Once expensive debt is gone, this is where most long-term wealth gets built.
  6. Lower-rate debt (mortgage, some student loans) or additional investing. This is where personal judgment — not just math — starts to matter more.

The Case for Paying Off Debt Anyway

Even where investing wins on paper, there's a real, non-financial value to being debt-free that a spreadsheet doesn't capture: certainty. A paid-off debt is money you will never have to think about again, no matter what the market does. An invested dollar carries risk — it might return 8% a year, or it might sit flat for a rough stretch right when you need it. For some people, and at some stages of life, the guaranteed peace of mind of an eliminated debt is worth more than the mathematically "optimal" choice, even at a fairly low interest rate. That's not an irrational choice — it's a reasonable trade of a slightly lower expected return for a lot less to worry about.

If you're weighing this for a mortgage specifically, our debt payoff calculator will run both the avalanche and snowball approaches against your actual numbers, so the decision is based on your situation rather than a generic rule.

Related Calculators

FIRE Calculator

Find your financial independence number and retirement timeline.

Net Worth Tracker

Track assets, liabilities, and your wealth over time.

Financial Tracker

Log transactions, get automatic balance sheets and income statements — free and private.

Compound Interest

Watch your investments grow through the power of compounding.

Frequently Asked Questions

Should I pay off my mortgage early or invest the difference?
With mortgage rates typically in the 4–6% range, this is genuinely close, and reasonable people land on both sides. Investing usually wins slightly on expected long-term return; paying down the mortgage wins on certainty and peace of mind. Either choice is defensible.
Is debt ever a good thing?
Low-interest, productive debt — like a mortgage on a home you need, or reasonably priced student loans that led to higher income — is a very different animal from high-interest consumer debt. The framework above is really about the latter.
What about student loans specifically?
It depends heavily on the interest rate, which varies widely by program and country. Apply the same rate-comparison logic above: high-rate student debt behaves like a personal loan and is usually worth prioritizing; low-rate student debt can reasonably be paid down alongside investing.
Should I invest anything before all my debt is paid off?
Usually yes, in a specific order: claim any employer RRSP match first (it's free money), pay off high-interest debt next, then split additional funds between remaining low-interest debt and regular investing based on your own comfort with risk.

Play AlgoPotato right here

AlgoPotato: a potato town, a portfolio of savings, ETFs and registered accounts

No download, no sign-up. Progress saves in your browser and carries over to the full-screen game.