Should You Pay Off Debt or Invest First? A Practical Framework
It's one of the most-asked questions in personal finance: I have some extra money each month — should I throw it at my debt, or should I invest it? The honest answer is "it depends," but the variables it depends on are actually pretty simple once you lay them out.
The Math vs. The Feeling
If we ignored human psychology completely, the answer would be a pure math problem: pay off any debt whose interest rate is higher than your expected investment return, and invest everything else. That's it.
But personal finance isn't just math. Some people sleep terribly with debt of any kind. Others have no problem carrying a low-interest mortgage for thirty years. Both can be the "right" answer for the right person.
Step 1: Capture the Free Money First
Before you do anything else, if your employer offers a 401(k) match, contribute enough to get the full match. That match is an immediate 50-100% return on your money. No debt charges that much interest, and no investment reliably earns it. Walking away from a match to pay down a 6% loan is a losing trade every time.
Step 2: Sort Your Debt by Interest Rate
Make a list. Highest rate at the top, lowest at the bottom. A typical list looks something like:
- Credit cards: 22-28%
- Personal loans: 10-18%
- Private student loans: 7-12%
- Federal student loans: 4-7%
- Auto loans: 5-9%
- Mortgage: 5-7%
The clear-cut zone: above ~8%
Anything above roughly 8% should almost always be paid off before non-retirement investing. The long-run average return on a broad stock market index is around 7-10% before tax, in nominal terms, with real volatility along the way. Paying down a 22% credit card is a guaranteed, tax-free 22% return. There's no investment that compares.
The murky middle: 4-8%
This is where it gets interesting. Mathematically, you might come out ahead investing instead of prepaying a 6% loan, especially in tax-advantaged accounts. But "might" is doing a lot of work in that sentence — markets can be flat or negative for years.
The almost-always-invest zone: under 4%
A 3% mortgage is basically free money in inflation-adjusted terms. Aggressively paying it down means giving up the chance to compound that money at a higher rate over decades. Most people in this zone should be investing the difference.
Step 3: Check Your Emergency Fund
Before pouring extra money into either debt or investments, make sure you have at least a small emergency buffer. Otherwise, the next unexpected expense lands on a credit card and undoes your progress. We walked through how to size this in the emergency fund guide.
A Practical Order of Operations
Here's the order I'd suggest for most people with extra monthly cash flow:
- Contribute enough to your 401(k) to get the full employer match.
- Build a starter emergency fund of $1,000-$2,000.
- Aggressively pay off any debt above ~8% interest.
- Build your full emergency fund (3-6 months of expenses).
- Max out tax-advantaged accounts (Roth IRA, then more 401(k)).
- Pay down mid-rate debt (5-8%) at a pace you're comfortable with, while also investing.
- Invest the rest in a taxable brokerage account; let low-rate debt run its natural course.
The Psychological Override
If carrying any debt at all makes you genuinely anxious, the math becomes secondary. Paying off a 4% mortgage early might cost you some theoretical investment return, but if it lets you actually sleep at night and stick to your plan, that's a real benefit. A "suboptimal" plan you follow beats an "optimal" plan you abandon.
Just don't let that psychology cause you to skip the employer match or the high-interest payoff. Those two are non-negotiable for almost everyone.
Don't Forget the Tax Angle
Some debt has tax-deductible interest (mortgages, in some cases). Some investments grow tax-free or tax-deferred (Roth IRAs, 401(k)s, HSAs). When you're comparing a 6% loan to a 7% expected return, taxes can flip the answer. If you're not sure, a one-time consultation with a CPA is genuinely worth the money.
The Boring Truth
Most people will do well with a hybrid: hit the match, kill high-interest debt, build a cushion, then invest steadily while letting low-interest debt amortize on its own schedule. You don't have to pick one. You just have to be clear about the order.
Whatever you choose, automate it. The best financial plan is the one that runs without you having to make the decision every month.
Sources & further reading
- Consumer Financial Protection Bureau (CFPB) — guidance on consumer financial products and protections.
- Internal Revenue Service (IRS) — current contribution limits, tax brackets, and rules referenced in this article.
- SEC Investor.gov — investor education resources from the U.S. Securities and Exchange Commission.
See our fact-checking policy for how we verify the figures and claims in every article.
Related articles
Get practical money tips delivered weekly.
Join the free Sunday newsletter. No spam, unsubscribe anytime.