Debt Payoff vs Investing: When to Do Which
The decision that haunts everyone
You have $500 extra this month. Should you throw it at your student loan, or invest it for retirement? This isn't a moral question. It's a math question. And the answer is simpler than you think.
Here's the framework: compare your debt's interest rate to what you'd earn investing. The stock market has historically returned about 7% per year (after inflation). If your debt costs more than 7%, pay it off. If it costs less than 7%, invest instead. That's the math.
“Paying off an 18% credit card is the same as earning an 18% return — guaranteed. The stock market can't compete with that.”
Always pay off these first
Some debt is an emergency. If you're carrying any of these, stop everything else and attack them immediately:
- •This is bleeding money every month
- •Minimum payments keep you trapped for years
- •Pay this before investing anything
- •Seriously — this is an emergency
- •Predatory rates designed to trap you
- •Get out immediately, no matter what it takes
- •Borrow from family, sell stuff, work extra — anything
- •Never use these again
- •Too expensive to ignore
- •Prioritize these after credit cards
- •Consider refinancing if possible
- •Don't invest until these are gone
Why? Because no investment can reliably beat 15-25% returns. Paying off a credit card charging 20% interest is mathematically identical to earning a guaranteed 20% return on your money. Nothing in the stock market comes close to that.
The gray zone: 5-10% debt
This is where it gets interesting. Debt in the 5-10% range sits right around that 7% historical stock market return. The math is close enough that psychology matters.
- •Student loans >7%
- •Car loans >5%
- •Any fixed debt above market returns
- •Guaranteed return vs market uncertainty
- •Student loans 5-7%
- •Auto loans 4-6%
- •The math is too close to matter
- •Go with what lets you sleep at night
If you can't stand debt hanging over your head, pay it off. The peace of mind is worth more than the 1-2% you might gain by investing instead. But if you're comfortable with debt and want to build wealth faster, investing could edge ahead over time.
Probably invest instead
Low-interest debt is cheap money. If your debt costs less than 5%, you're statistically better off keeping it and investing the difference. Here's why:
- •Often tax-deductible (lowers effective rate)
- •Stocks have historically beaten this by 3-4% per year
- •That gap compounds powerfully over 30 years
- •Keep the mortgage, invest extra cash
- •Below inflation during some years
- •Invest the difference in index funds
- •You'll likely come out ahead
- •Plus you're building wealth while in debt
- •Opportunity cost favors investing
- •Markets have beaten 5% in 80% of 10-year periods
- •Keep the debt, grow your portfolio
- •Make minimum payments, invest the rest
The order of operations
Here's the exact sequence that makes mathematical sense. Follow this and you'll do better than 90% of people:
The priority ladder
- Save $1,000 starter emergency fund (before anything else)
- Contribute to 401(k) up to employer match (free money beats everything)
- Pay off all high-interest debt (>7%) — attack this aggressively
- Build emergency fund to 3-6 months of expenses (real safety net)
- Medium-interest debt (5-7%) OR invest — your choice, both are valid
- Max out tax-advantaged accounts (401(k), IRA, HSA)
- Low-interest debt (<5%) — keep it, invest extra money instead
Notice what's not on this list: paying off your mortgage early. If it's under 5%, you're almost always better off investing that money. The tax benefits and opportunity cost make keeping a cheap mortgage one of the smartest financial moves you can make.
When the math doesn't matter
Sometimes the spreadsheet answer isn't the right answer. If any of these apply to you, prioritize debt payoff even if the interest rate is low:
- •You have no emergency fund (unstable foundation)
- •Your income is unpredictable (debt is risky without stability)
- •Debt keeps you up at night (mental health > 2% returns)
- •You're close to paying it off (finish it and free up cash flow)
- •You have 3-6 months emergency fund (stable base)
- •Your income is steady (can weather market dips)
- •You're comfortable with debt (it's just a tool)
- •You understand compound growth (time is your advantage)
“There's no wrong answer between paying off a 5% loan and investing at 7% expected returns. The wrong answer is doing neither.”
A real example: $20K at 6%
Let's say you have a $20,000 student loan at 6% interest and $300 extra per month. You can either pay off the loan faster or invest that $300. Here's what happens over 10 years:
- •Pay $300/month extra toward loan
- •Loan paid off in ~5 years instead of 10
- •Save ~$3,200 in interest
- •Zero debt, but no investment portfolio
- •Pay minimum on loan, invest $300/month
- •Loan still there at year 10
- •Investment portfolio: ~$52,000 (at 7% return)
- •You're ahead by ~$25,000 despite keeping the debt
The investing path wins mathematically. But the debt-free path wins if you hate debt. Both are completely valid. The only wrong choice is letting that $300 disappear into your lifestyle instead of putting it to work.
Your decision tree
What to do right now
- List all your debts with their interest rates
- Compare each rate to 7% (historical stock market return)
- Anything above 10%: attack immediately, pause investing
- 7-10%: pay it down, but get employer 401(k) match first
- 5-7%: your call — both debt payoff and investing make sense
- Below 5%: keep it, make minimums, invest extra money
- No emergency fund? Build $1,000 first, then follow this list
The biggest mistake isn't choosing wrong between debt payoff and investing. It's overthinking the choice and doing neither. Pick a path based on your interest rates and your gut, then move forward with confidence. You can always adjust later.