BUILDING · 25–40 · Investing

Should I Pay Off Debt or Invest?

It's not one decision — it's a sequence. The interest rate, the tax code, and your employer match decide the order.

1 Capture the match 2 Kill debt above ~7% 3 Invest the rest

Short answer

Take the full 401(k) match first. After that, the tradeoff depends on the debt rate, tax benefits, liquidity needs, and your investment horizon. A common rule of thumb is to prioritize higher-rate debt while continuing scheduled payments on lower-rate debt. The 5–7% range is a judgment call, not a law.

The rate spectrum, at a glance

Where your debt's rate lands decides the order.

0%5%7%12%+
INVESTdebt below ~5%
SPLIT5–7%
KILL DEBTabove ~7%
4% mortgage → invest the extra 6% student loan → your call 18% credit card → kill it first

The decision

The real question is not simply “debt or investing?” It is how to allocate the next dollar after accounting for the debt's guaranteed cost, available tax advantages, employer benefits, liquidity needs, and investment horizon.

Paying debt earns a guaranteed, after-tax return equal to the interest rate. Investing earns an uncertain, pre-tax expected return. The match is in a class of its own: a 50–100% instant return that beats both.

The simple rule — a rule of thumb, not a law

Capture the full employer match first — nothing else in the sequence beats it. Then: debt above ~7% gets killed before extra investing; debt below ~5% gets minimum payments while you invest; the 5–7% middle gets split. This range is a judgment call, not a law.

Worked example

You have an extra $10,000. Three uses — same money, three different answers:

A · Kill the 18% card

$1,800 saved

Interest avoided over the next year. Guaranteed.

B · Invest at 8%

~$800 expected

Expected gains — with real risk of less.

C · Prepay 4% mortgage

$400 saved

Guaranteed — but that cash is now locked inside the house.

Illustrative math, not personalized advice. Your numbers will differ.

What changes the answer?

The employer match

A 50% match on 6% of pay is an instant 50% return. It always goes first, even ahead of 24% APR debt.

Tax-deductible interest

Mortgage or student-loan interest may be deductible, which lowers the debt's effective rate and tilts toward investing.

Your emergency fund

No cash buffer? Build 1–3 months of expenses before either — otherwise the next surprise goes right back on the card.

Variable vs. fixed rates

A variable rate that can reset higher deserves more urgency than a fixed 4% mortgage.

How debt feels to you

Some people sleep better debt-free. That's a real input — just price it honestly against the math.

Watch out for

  • Skipping the match to kill debt faster. No debt payoff beats a 50–100% instant return.
  • Draining the emergency fund to pay debt. Then the next surprise becomes new debt.
  • Ignoring tax benefits. Deductible interest changes the effective rate you're comparing against.
  • Treating a 4% mortgage like a 22% credit card. Different rates, different urgency — that's the whole framework.

Run the numbers

See how avalanche vs. snowball changes your payoff date and total interest — before deciding what to do with extra cash.

Open the debt payoff calculator

What should you look at next?

Related questions

Last updated September 2026. General education for U.S. earners age 25–40 — not tax, legal, or investment advice.