Here is the reframing that ends most arguments about this: paying off debt IS investing. It is a guaranteed, tax-free investment, and its return is exactly the interest rate. Killing a 22% credit card earns you 22%, risk free, with no volatility and no fees. There is no index fund, no crypto play, no hot stock on earth that offers that. Once you see the payoff as an investment competing with your other investments, the question answers itself: pick the higher return.
So the real question is never "debt or invest." It is "what rate." Run the two worked examples and the rule writes itself.
Example one: $5,000 of credit card debt at 20%. Paying it off saves $1,000 a year in interest, guaranteed. Investing that $5,000 at a reasonable expected 7% earns roughly $350 a year, and that is before taxes and before any market wobble. Paying the card wins by about $650 a year, every year, with zero risk. This is not close.
Example two: a $5,000 student loan at 3.5%. Paying it off saves $175 a year. Investing the same $5,000 at an expected 7% earns roughly $350. Now investing wins by about $175 a year, compounded over decades. The Federal Reserve's data puts average credit card APRs near 21.5% on accounts assessed interest in early 2026, while the S&P 500's long-run average sits near 10% nominal. High-rate debt lives in a different universe from expected market returns, and low-rate debt lives in the same one.
Should you pay off debt or invest? The decision rules
Above ~10%: pay the debt. The guaranteed return beats anything the market reliably offers. Credit cards, personal loans, most auto title loans. This is the easy call.
Below ~5%: lean toward investing. A 3% mortgage or a subsidized student loan costs less per year than a diversified portfolio has historically earned over long horizons. Accelerating that payoff sacrifices compounding at the wrong time, so pay the minimums and invest the surplus.
Between ~5% and ~8%: call it a tie and settle it by temperament. The math is genuinely ambiguous here, so this is where psychology, job stability, and how close you are to retirement take over. Split the surplus, make more than the minimums, and revisit every six months as the balance drops.
The 6% rule is the shorthand for all of this: debt above 6% gets paid before you invest beyond the match; below 6%, investing gets the nod. It comes from the long-run portfolio average, and it is a sorting tool, not a law.
The one exception that beats both
Your employer's 401(k) match. A typical match structure is a 50 to 100 percent instant return on your contribution, which no debt payoff can touch, not even the 22% card. Always contribute enough to capture the full match first. That is step zero, before any of the rules above.
My view, plainly: the guaranteed-return framing is what settles it for me, and it should settle it for you. A 22% guaranteed, tax-free return does not exist anywhere else in finance. Take it. The one thing I would not do is delay investing entirely to chase a low-rate mortgage to zero. Those compounding years never come back, and a 3% mortgage is cheap money by any historical standard. Kill the expensive debt, capture the match, invest against the cheap debt, and stop treating it as a moral question. It is a rate question.
Once you have decided to attack the debt, the next question is order. Our smallest-balance vs highest-interest guide works the math for a $12,500 case, and the avalanche timeline example shows a full month-by-month schedule.
Compare snowball vs avalanche on your debts free
Frequently asked questions
Should I pay off debt or invest first?
Above ~10%: pay the debt. Below ~5%: lean invest. Between 5 and 8%: split it and revisit. Always capture the employer 401(k) match first.
Should I invest while carrying credit card debt?
Generally no, beyond the match. Card APRs near 21.5% dwarf expected market returns; investing while ignoring that debt is a guaranteed monthly loss.
What about my low-rate mortgage?
A 3% mortgage costs less than a long-run portfolio is likely to earn. Pay the minimums, invest the surplus, and do not sacrifice compounding years to chase it to zero early.
Do I need an emergency fund first?
Yes, a starter buffer of about $2,000 before aggressive payoff, so surprise expenses do not land back on the card.
Does the debt method matter too?
Once you commit to payoff, yes. See how much more the snowball costs, consolidation vs avalanche, and switching methods mid-payoff.
Sources: Federal Reserve, average credit card APR on accounts assessed interest (early 2026); financialdecisionlab.com, "Pay Off Debt or Invest: The Math"; premierfinancial.com, "Should I Pay off Debt or Invest?"; sifpgadvisors.com, "Interest Rate Math Guide". Figures verified October 2026.