"Should I pay off my debt or invest?" is one of the most common personal finance questions, and it gets answered emotionally far too often. People feel strongly that debt is bad and should be eliminated, or feel strongly that investing young is so important that debt should wait. Both feelings have some validity. Neither replaces the math.
The math actually gives a clear answer in most situations.
The Core Principle
Every dollar you put toward debt earns you a guaranteed return equal to the interest rate of that debt. Every dollar you invest earns an uncertain return based on what the market does.
If your debt costs 22% interest and the stock market returns a historical average of 7%, paying off the debt earns you a guaranteed 22%. That destroys the investment option.
If your debt costs 3% interest and the stock market returns 7–10%, the investment is the better math — your borrowed money is earning more than it costs.
The pivot point is somewhere around 6–7%: roughly the expected long-run return of a diversified stock portfolio.
The Framework by Debt Type
Credit card debt (15–29% interest): Pay it off immediately and aggressively. This is not a close call. There is no investment available to regular people that reliably returns 20%+ annually. Pay the minimum on everything else, put every spare dollar at this debt, and don't stop until it's gone. Then don't carry a balance again.
High-interest personal loans (10–18%): Pay off aggressively. Same reasoning — the guaranteed return from eliminating the debt beats the expected market return.
Student loans: It depends. Federal student loans often sit in the 5–7% range, which puts them near the pivot point. Private student loans can be higher. The right answer here depends on the exact rate.
For federal loans under 5%: you can reasonably invest alongside paying the minimum. The market return expectation exceeds the debt cost over a long period.
For federal loans 5–7%: it's close to a coin flip. Personal risk tolerance and psychological factors matter more here than pure math.
For anything above 7%: pay it down aggressively before investing beyond employer match.
Mortgage debt (typically 4–8%): Complicated. A mortgage at 3–4% (common before 2022) is clearly better to keep — invest your extra money rather than prepaying. A mortgage at 7–8% is closer to the pivot point and prepayment becomes more reasonable.
However, mortgage interest is often tax-deductible, which reduces the effective rate. And mortgages provide an asset that may appreciate. The comparison isn't clean. In general: if your mortgage rate is below 6%, invest. Above 6%, there's a reasonable case for some prepayment.
Car loans (5–10%): Usually pay down. Most car loans are for depreciating assets, which changes the math. Even if the interest rate would otherwise suggest investing, the underlying asset is worth less every year. Eliminate car debt as quickly as practical.
The Exception: Employer Match
Before anything else — before aggressively paying down debt of any kind — contribute at least enough to your 401(k) to capture the full employer match.
An employer match of 50% up to 6% of salary is a 50% instant return on that money. Nothing — not credit card payoff, not high-yield savings, not crypto — provides a guaranteed 50% return. Take every dollar of free match money before directing extra funds anywhere else.
The Psychological Argument for Paying Off Debt
The math framework above is correct, but it isn't complete. Debt has a psychological weight that affects behavior in ways pure numbers don't capture.
Some people are simply more capable of consistent investing and building wealth when they're not carrying debt. The peace of mind from being debt-free makes them more focused, less stressed, and better at making good decisions. For those people, paying down even moderate-interest debt ahead of schedule makes sense — not because the math is better, but because the outcome is better.
If debt causes you meaningful anxiety, the psychological benefit of eliminating it is real and worth weighing.
Summary
- Credit cards and high-interest loans (above 7%): Destroy them before investing beyond employer match.
- Employer match: Always get the full match first. Non-negotiable.
- Moderate debt (5–7%): Split your extra money between investing and debt reduction.
- Low-interest debt (below 5%): Invest, don't prepay beyond minimums.
The question isn't binary. You can usually do both. The framework tells you the ratio.
🚀 Find your millionaire date
Plug in your numbers and get your exact timeline — with roasts, badges, and a shareable result card.
Use the Calculator →