Half the internet says pay off debt first.
The other half says invest first.
Both are wrong as universal advice.
The real answer depends on one number — and it is simple to find.

The one number that decides

Compare your debt interest rate to your expected investment return.

  • Debt interest rate is higher than expected investment return → pay off debt first.
  • Debt interest rate is lower than expected investment return → invest while paying minimum on debt.

That is the entire framework. Everything else is detail.

The numbers in real life

Credit card debt
22% APR
S&P 500 (long-term)
~10%/yr

Credit card debt at 22% destroys any investment return. Paying it off is mathematically equivalent to a guaranteed 22% return. No legal investment beats that.

Federal student loan
5% interest
Index fund (long-term)
~10%/yr

5% student loan interest vs 10% expected market return = invest first. Pay only the minimum on the loan. The 5% gap compounds in your favor over decades.

The decision tree

  1. Debt over 8% interest (credit cards, high-rate personal loans): pay it off aggressively before any investing beyond the 401(k) employer match.
  2. Debt 5-8% (some private student loans, car loans): split the difference. Pay extra on debt, invest the rest.
  3. Debt under 5% (federal student loans, mortgage, low-rate auto): invest first. Pay only the minimum on the debt.
The exception that breaks the math

The only debt that beats the math: credit card debt with promotional 0% APR. If you have a true 0% rate, even a 4% bond return beats it. But once that promotional period ends and the rate jumps to 22%, the calculation flips immediately. Track your dates.

What about the 401(k) employer match?

Always contribute enough to get the full employer match before doing anything else. The match is typically 50-100% match on the first 3-6% of your salary. That is an instant 50-100% return — better than paying off any debt at any rate.

The behavioral truth nobody talks about

Math says invest first when debt is under 5%. Psychology often says pay off debt first because debt feels worse than slow investment growth feels good.

If carrying debt makes you anxious enough to derail other financial decisions — sleep loss, avoiding statements, relationship strain — pay it off even if the math says otherwise. Mental peace has real value. Just know you are choosing peace over optimal returns.

The hybrid approach (what most people should do)

  1. Build a $1,000 emergency fund — prevents new debt during emergencies.
  2. Get the full 401(k) employer match — guaranteed return.
  3. Pay off all debt above 8% — credit cards first, then high-rate personal loans.
  4. Build a 3-month emergency fund.
  5. Max out a Roth IRA while paying minimums on remaining lower-rate debt.
  6. Pay off remaining debt while investing — split based on interest rate vs expected return.

Run the actual comparison — your debt rate, your investment return, your timeline — and see what each dollar is worth in five years if you put it toward debt vs investing.

Start your investment simulation

See how much your money can grow starting today. Free, no signup required.

Try it free →
Share: