⚡ Key Takeaways

  • The 7% Rule: if debt interest is above 7%, pay it off first. Below 7%, investing likely wins mathematically.
  • Credit card debt at 18–25% APR is a financial emergency — pay it before investing a single dollar anywhere else
  • Always claim the full employer 401(k) match before paying extra on debt — it's a 50–100% guaranteed return
  • Federal student loans at 4–6%: investing in index funds has historically outperformed early repayment
  • Mortgage below 5%: invest the difference — the math is unambiguous over a 10+ year horizon
  • The right answer is rarely all-or-nothing: splitting your extra cash between debt and investing often optimizes both wealth and psychology

It's the question every financially-aware person eventually faces: you have $500 extra dollars this month. Should you throw it at your student loan, or put it in your index fund?

The good news: this question has a mathematically correct answer. The nuance is that "correct" depends on the specific interest rate of your debt, your tax situation, and — importantly — your psychological relationship with debt.

Let's work through every common scenario with real numbers.

The Core Framework: It's All About Interest Rates

The fundamental insight is simple. Paying off debt gives you a guaranteed return equal to the interest rate on that debt. If your credit card charges 22% APR, paying it off is a guaranteed 22% return — because that's exactly what you'd otherwise pay in interest.

Investing, by contrast, gives you an expected (but not guaranteed) return. The S&P 500 has returned approximately 10.5% per year on average over long periods. It's not guaranteed — there are years with losses, even years with severe losses.

The comparison:

  • Debt rate above ~10% → Pay off debt. The guaranteed return beats the expected market return, especially risk-adjusted.
  • Debt rate 5–10% → The gray zone. Both approaches have merit; a split strategy often makes sense.
  • Debt rate below 5% → Invest. The expected market return substantially exceeds the debt cost over a long horizon.

📌 Why 7% Is The Common Threshold

The 7% figure comes from the inflation-adjusted historical return of the S&P 500 (approximately 7% real return after inflation). If your debt costs more than 7% in real terms, eliminating it provides a better risk-adjusted return than investing. Below 7%, the math favors the market over a long horizon.

Some analysts use 10% (the nominal S&P 500 return) as the threshold instead, which would push more debt toward the "invest instead" category. The right number for you depends on your risk tolerance — the 7% threshold is more conservative and accounts for inflation's eroding effect on purchasing power.

The Debt-by-Debt Breakdown

💳 Credit Card Debt (18–25% APR) — Pay Off Immediately

There is no ambiguity here. Paying off a credit card charging 22% APR provides a guaranteed, risk-free 22% return. No investment in the world reliably matches that return. Credit card debt is a financial emergency, full stop.

The one and only exception: if your employer offers a 401(k) match, contribute the minimum to capture the full match before paying extra on credit card debt. A 100% immediate return (from a dollar-for-dollar match) beats even a 22% debt elimination. Then throw everything at the card.

Timeline: Treat credit card payoff as your #1 financial priority. Calculate your payoff date using the avalanche method and work toward it aggressively.

🎓 Federal Student Loans (4–7% Interest) — Nuanced Answer

Federal student loans fall directly in the gray zone, and the answer genuinely depends on your specific rate, tax situation, and risk tolerance.

  • Rate under 5%: The math clearly favors investing. A $500/month investment in the S&P 500 over 20 years at 10% grows to approximately $343,000. Paying that same $500/month toward a 4% loan gives you the equivalent of a 4% guaranteed return — far less.
  • Rate 5–7%: This is genuinely close. A split approach makes sense: make required monthly payments, max your Roth IRA ($7,000/year), then apply any remaining extra to the loans. You get tax-advantaged investment growth and progress on debt.
  • Rate above 7%: Prioritize payoff. Private student loans sometimes fall here, and the guaranteed return from elimination beats the expected market return on a risk-adjusted basis.

Important consideration: student loan interest may be tax-deductible (up to $2,500/year for eligible borrowers in 2026), which effectively reduces your real rate. A 6% loan may have an effective rate of 4.5–5% after the deduction. Factor this into your calculation.

🏠 Mortgage (3–7% Rate) — Almost Always Invest Instead

Current 30-year mortgage rates sit around 6.5–7%. For homeowners who took out mortgages at 3–4% during 2020–2021, the math is even clearer: never make extra mortgage payments when the market has historically returned 10.5%.

Even at today's higher rates (6.5–7%), the expected market premium over your mortgage rate is still 3–4 percentage points annually over a long horizon. That compounds to an enormous difference over 20–30 years.

The exception is psychological: if debt causes you significant anxiety and paying off your mortgage faster would meaningfully improve your quality of life, the psychological value is real even if the math doesn't support it.

🚗 Auto Loans (5–9%) — Depends on Your Rate

Auto loans above 7%: pay them off aggressively. Below 5%: invest instead. 5–7%: split your extra cash.

One important note: cars are depreciating assets. The psychological and practical argument for eliminating an auto loan is stronger than the math alone suggests, because you're paying interest on something that's simultaneously losing value. Many people prefer to pay these off quickly regardless of the rate.

💊 Medical Debt (Varies Widely) — Negotiate First

Before paying off medical debt, always attempt to negotiate. Hospitals regularly accept 20–60 cents on the dollar for medical bills, especially for patients who express financial hardship. Many have financial assistance programs for qualifying incomes. Paying face value on medical debt without attempting negotiation is almost always leaving money on the table.

The Non-Negotiable Step: The 401(k) Match

Before making any other financial decision, answer this question: does your employer offer a 401(k) matching contribution, and are you capturing the full match?

If not, that's step zero — before investing elsewhere, before extra debt payments. Here's why:

💡 The Math on a 50% Match

If your employer matches 50% of your contributions up to 6% of salary, and you earn $60,000:

You contribute $3,600/year ($300/month) → employer adds $1,800 → your effective return on that $3,600 is an immediate +50% before any investment growth.

Compare that to paying off a credit card at 22%: the 401(k) match still wins by 28 percentage points. Always get the full match first.

The Step-by-Step Priority Framework

Here's the order most financial planners recommend for allocating extra cash:

  1. Emergency fund of 1 month's expenses — minimum buffer before anything else
  2. Employer 401(k) match — always capture 100% of free money
  3. High-interest debt (above 7%) — credit cards, high-rate personal loans
  4. Max Roth IRA ($7,000 in 2026) — tax-free growth is extraordinarily valuable
  5. Build emergency fund to 3–6 months
  6. Max 401(k) ($23,500 in 2026)
  7. Medium-rate debt (5–7%) — student loans, auto loans in this range
  8. Taxable brokerage account — invest remaining savings
  9. Low-rate debt (under 5%) — extra mortgage payments, low-rate student loans

The Psychological Factor: When the Math Isn't Everything

The mathematically optimal plan you abandon under stress is worse than the slightly suboptimal plan you stick to for 20 years.

For many people, debt causes genuine psychological burden. The monthly obligation, the mental weight of owing money, the stress during market downturns when you know you're invested but still in debt — these are real costs that don't show up in a spreadsheet.

If paying off debt faster (even at a suboptimal rate) would meaningfully reduce your financial anxiety and increase the likelihood that you maintain your overall financial plan, that's a legitimate reason to prioritize it over the mathematically optimal choice.

Next Step

🔢 Run the Numbers for Your Situation

Enter your exact debt interest rate and expected investment returns to see which option wins for you personally.

Use the Calculator →

Related Articles

Frequently Asked Questions

Should I pay off all debt before starting to invest?
No — that's too extreme in most cases. The key exception is high-interest debt (above 7%), where you should focus on elimination before investing beyond the 401(k) match. For moderate and low-interest debt, a parallel approach — making minimum payments while investing — is mathematically superior and helps you build the investing habit earlier.
What's the debt avalanche method and does it work better than the snowball?
The avalanche method: list all debts by interest rate, highest to lowest. Make minimum payments on all, then throw every extra dollar at the highest-rate debt until it's gone, then cascade to the next. This is mathematically optimal — it minimizes total interest paid. The snowball method (smallest balance first) is mathematically inferior but psychologically powerful: the quick wins of paying off small debts entirely can build momentum and motivation. Research shows the snowball works better for people who have previously struggled with consistency. Choose based on your psychological profile, not just the math.
Does paying off debt improve my credit score?
It depends on the type of debt. Paying down credit card balances dramatically improves your credit score by lowering your credit utilization ratio (the percentage of available credit you're using). Utilization below 30% is good; below 10% is excellent. Paying off installment debt (student loans, car loans, mortgages) has a smaller credit score impact, and some people actually see a slight temporary decrease when these accounts close.
My partner wants to pay off our mortgage early. I want to invest the extra. Who's right?
At current mortgage rates (6.5–7%), the mathematical edge still favors investing, but it's narrower than it was when rates were at 3%. Given that this is a shared financial decision with genuine relationship implications, consider a compromise: contribute enough to each approach that both partners feel heard. A 60/40 or 50/50 split between extra mortgage payments and investing can satisfy both the mathematical optimization and the psychological comfort of debt reduction. At rates below 5%, the math so clearly favors investing that it's worth having a specific conversation about the numbers.