The Core Question: Guaranteed Return vs. Expected Return
Paying off debt is a guaranteed return. Every dollar you put toward a 20% APR credit card saves you exactly 20 cents per year in interest — risk-free, tax-free, and immediate.
Investing is an expected return. The stock market has averaged roughly 7–10% annually over long periods (before inflation), but with significant volatility — some years are up 25%, some years are down 30%. That average is real and powerful, but it's not guaranteed in any given year or even decade.
The math-only answer: if your debt interest rate is higher than your expected investment return, pay off the debt first. If your expected investment return is higher, invest.
But the math-only answer misses three important nuances: the employer match, the psychological cost of debt, and the tax treatment of different accounts.
The One Exception: Always Capture the Employer Match First
If your employer offers a 401(k) match, contribute at least enough to get the full match before putting extra money anywhere else — including high-interest debt.
A 50% employer match on contributions up to 6% of salary is a 50% guaranteed return on that money, instantly, before any market gains. No investment or debt payoff strategy can compete with that. Leaving employer match money on the table is the equivalent of refusing a raise.
The employer match math
You earn $65,000/year. Your employer matches 50% of contributions up to 6% of salary.
6% of $65,000 = $3,900/year in contributions → employer adds $1,950
That $1,950 is a 50% instant return before any market gains. Even if you have a 22% APR credit card, capturing this match first is the right move.
The Interest Rate Decision Framework
After capturing any employer match, use your debt's interest rate as your guide:
High-interest debt (above ~8%): Pay it off first
Credit card debt at 15–29% APR, personal loans at 10–20%, payday loans — these carry rates that consistently beat expected investment returns. There is no reliable investment strategy that beats a guaranteed 18–24% return.
Focus extra dollars on this debt until it's eliminated. Once it's gone, you'll have both the money you were spending on interest AND the freed-up monthly payment to redirect toward investments.
Mid-range debt (4–8%): It's a judgment call
Car loans in the 5–7% range, older student loans, some personal loans. This is the gray zone where the math is genuinely close.
Factors that push toward paying down the debt:
- The debt is causing you stress or anxiety
- You're risk-averse and prefer certainty
- You want to increase your credit utilization ratio or lower your debt-to-income ratio for a mortgage
Factors that push toward investing:
- You have 20+ years until retirement (time for compounding to work)
- You're comfortable with market volatility
- You can contribute to tax-advantaged accounts (Roth IRA, traditional IRA, HSA) that reduce your tax bill
A reasonable approach for mid-range debt: do both. Split the extra money — say, 60% to debt, 40% to investments — until the debt is paid off.
Low-interest debt (below ~4%): Consider investing instead
Federal student loans from before 2020, some mortgages, and 0% financing arrangements often carry rates where investing is mathematically superior, especially in tax-advantaged accounts.
The caveat: "mathematically superior" doesn't account for the psychological burden of owing money. Some people can't invest comfortably while carrying debt, regardless of the rate. If debt stress affects your quality of life, paying it off faster has real value even if the spreadsheet disagrees.
The Tax Factor
Investment accounts aren't all equal — the tax treatment matters significantly.
A Roth IRA contribution today grows tax-free for decades. On a $6,000 contribution at 30 that grows at 7% annually, you'd have ~$45,000 at 60 — and owe zero tax on withdrawals. The effective return is higher than the raw 7% because of the tax shelter.
Similarly, a traditional 401(k) or IRA contribution reduces your taxable income now, effectively giving you a discount equal to your marginal tax rate.
If you're choosing between investing in a taxable brokerage account (no tax advantage) and paying off a 6% loan, the loan is the better choice for most people. If you're choosing between maxing a Roth IRA and paying off a 5% loan, the Roth often wins because of the long-term tax shelter.
The Psychological Cost of Debt
Research consistently shows that debt — particularly credit card debt — is associated with higher levels of stress, worse sleep, and lower life satisfaction. For many people, this psychological cost is real and meaningful, even when the math says to invest.
If your debt is affecting your mental health, your relationships, or your ability to make clear decisions, paying it off has value beyond the spreadsheet. Financial decisions don't happen in a vacuum — they happen in your life. A strategy you can execute with a clear head beats a theoretically optimal strategy that you're too stressed to implement well.
The psychological test: If you put $5,000 in an index fund today and your credit card still had a $5,000 balance, would you sleep well? If the answer is no, pay the card first. Peace of mind is a legitimate financial resource.
A Decision Flowchart
Walk through these questions in order:
-
Does your employer offer a 401(k) match?
Yes → Contribute enough to get the full match. Then continue to step 2.
No → Continue to step 2. -
Do you have high-interest debt (above 8% APR)?
Yes → Pay off high-interest debt before investing beyond the employer match.
No → Continue to step 3. -
Have you maxed your Roth IRA contribution for the year?
No → Consider maxing it (the tax-free growth is very valuable over time). Contribution limits: $7,000/year ($8,000 if 50+) in 2025–2026.
Yes → Continue to step 4. -
Do you have mid-range debt (4–8% APR)?
Yes → Split extra money between debt payoff and investing based on your timeline, risk tolerance, and psychological preference.
No (only low-rate debt remains) → Prioritize investing; make minimum payments on low-rate debt.
What Does the Math Actually Look Like?
Let's compare two scenarios with $500/month of extra money:
| Scenario | Extra money goes to: | After 5 years |
|---|---|---|
| Pay off $8,000 credit card at 22% first, then invest | Debt for ~16 months, then investing | ~$0 debt, ~$28,000 invested |
| Invest instead of paying debt | All $500 to investments | ~$4,200 remaining debt (interest kept growing), ~$35,000 invested |
On paper, the invest-first scenario shows more invested after 5 years. But it also still has $4,200 of debt — costing roughly $75/month in interest — that continues to compound. The net worth position (investments minus debt) is closer than the numbers suggest, and the debt-free person has a guaranteed $75/month of freed-up cash flow going forward.
This illustrates why the answer isn't just about maximizing the investment account balance — it's about total net worth and cash flow.
What Most Financial Advisors Recommend
The mainstream personal finance consensus is roughly this priority order:
- Emergency fund: $1,000 starter, then 3–6 months of expenses
- Employer match: contribute enough to get the full match
- High-interest debt: pay off anything above 8–10% APR
- Tax-advantaged investing: max Roth IRA and/or 401(k)
- Remaining debt: mid-rate debt can be paid off or carried while investing
- Taxable investing: anything above the tax-advantaged limits
This order works for most people because it captures guaranteed wins first (employer match, eliminating high-rate interest) and then moves into areas with more variability.
The Bottom Line
Pay off debt first if your interest rates are above 8% or if carrying debt creates meaningful stress in your life. Invest first (beyond the employer match) if your debt rates are below 4–5% and you have 20+ years to let compound returns work. In the 4–8% gray zone, split the difference based on your timeline, risk tolerance, and the tax treatment of your investment accounts.
Both debt payoff and investing are wealth-building activities. The goal is eliminating the high-interest drag on your finances so that all your dollars eventually work as hard as possible — and none of them are being lost to avoidable interest charges.
See how fast your debt could be gone
Enter your debts and extra payment amount. Get your exact payoff date and total interest saved — free, no account required.
Try the free calculator →