Published 2026-08-09
Pay Off Debt or Invest? The Arithmetic, and When to Ignore It
Clearing a debt gives you a guaranteed, tax-free return equal to its interest rate. Investing gives you an uncertain one. Comparing those two honestly answers the question in most cases — and there are two situations where the maths is not the point.
Key takeaways
- Paying off a debt returns exactly its interest rate, guaranteed. No investment offers that combination.
- High-interest debt — credit cards, cash advances, payday loans — wins the comparison outright.
- An employer retirement match is the one exception worth taking before almost anything else: it is an immediate return on your contribution.
- A small emergency fund comes before both, because without it the next surprise goes back on the card.
The short answer
Compare the interest rate on the debt with the return you realistically expect from investing. If the debt rate is higher, pay the debt. If it is much lower, investing usually wins over a long horizon.
What makes this comparison lopsided is certainty. Clearing a debt at 22% is a guaranteed 22% return with no tax and no bad years. Nothing you can buy offers that.
The order that answers it for most people
Rather than one rule, this is a sequence. Work down it and stop where your money runs out:
- A starter emergency fund. Enough to absorb a car repair, so the next surprise does not become new card debt.
- Any employer retirement match you are leaving unclaimed — it is part of your pay that you have to opt in to receive.
- High-interest debt, aggressively. Card balances, cash advances, anything in double digits.
- A full emergency fund — commonly three to six months of expenses, in a savings account you can reach.
- Everything else: low-rate debt, or investing, depending on which rate is higher.
Why an employer match jumps the queue
If your employer matches part of what you put into a workplace retirement plan, that match is an immediate return on the money you contribute — before any market performance at all.
No debt payoff competes with that, which is why it sits above even expensive debt in the list. Contribute at least enough to get the full match, then go back to the debt.
The low-rate debt case, where it genuinely is a judgement call
A fixed-rate mortgage or a low-rate student loan is a different question from a credit card. Here the expected long-run return from investing may well exceed the interest you are paying, which argues for investing.
Two things push the other way and are not irrational. Paying off a mortgage is a guaranteed return with no volatility, and being debt-free changes what you can survive — a job loss is a different event when nothing is owed.
| Debt | Typically | Why |
|---|---|---|
| Credit card balance | Pay it off first | The rate is high enough that no expected investment return competes |
| Cash advance or payday loan | Pay it off immediately | Interest often starts at once and the effective cost is extreme |
| Personal loan | Depends on the rate | Compare the APR against your expected return, and count the origination fee |
| Federal student loan | Usually pay the minimum and invest | Rates are typically low and the loan carries protections a private one does not |
| Fixed-rate mortgage | A judgement call | Low rate favours investing; certainty and sleep favour paying it down |
What this article will not tell you
It will not give you an expected market return to plug into the comparison. Past averages are not a forecast, and a number stated confidently here would be the least reliable sentence on the page.
Use your own assumption, and see what it does. Our growth estimator takes the return as an input you set precisely so the assumption stays yours and visible.
Frequently asked questions
Is it ever right to invest while carrying credit card debt?
Only to capture an employer retirement match, which is an immediate return on your contribution. Beyond that, card interest is high enough that clearing it beats an uncertain market return.
Should I drain my emergency fund to clear a card?
Usually not entirely. Without a buffer, the next unexpected expense goes straight back on the card, and you have paid interest for nothing. Keep a starter fund, then attack the debt.
Does paying off a mortgage early hurt my credit score?
Closing any account can slightly change your credit mix and the average age of your accounts. It is a minor effect and a poor reason to keep a debt you can afford to clear.
Is this financial advice?
No. This is general education. Your tax situation, job security and time horizon all change the answer, and none of them are visible to us.
Run the numbers
This guide explains the concept. These put your own figures on it.
- Debt Payoff CalculatorCompare the debt avalanche and debt snowball strategies to see which pays off your debts faster and cheaper.
- Compound Interest CalculatorSee how your money grows with compound interest — add contributions and compare to the S&P 500's real historical returns.
- Extra Payment CalculatorSee how much you save by paying extra toward your loan principal, and whether to shorten your term or lower your payment.
Free and no sign-up, on financeinyourpocket.com — our sister site.
Terms used in this guide
- Regular APR
- The yearly interest rate applied to any balance you carry past the due date, once any promotional period ends. Ranges mean the rate you get depends on your credit profile.
- Compound interest
- Earning a return on the returns you already earned, not just on what you put in. It is why time in the market matters more than the size of the first deposit, and why the curve bends upward rather than running straight.
- Expense ratio
- The yearly slice a fund or ETF takes out of its own assets to run itself. You never see it billed — it comes out of the fund's return — and it applies on top of anything your platform charges.
- Contribution limit
- The most the IRS lets you put into a retirement account in one tax year. It is a combined ceiling across your Traditional and Roth IRAs, not one limit each, and it changes most years.
Sources
- U.S. Securities and Exchange Commission (Investor.gov) — Saving and investing basics
- Consumer Financial Protection Bureau — Getting out of debt — what to consider
The content provided on this site is for educational and informational purposes only and does not constitute financial, legal, or tax advice.
