Debt
The Interest Rate That Tells You Whether to Pay Off Debt or Invest
📅 Last Updated: May 2026
⏱ 5 min read
✦ Get Rich Slow
By Michael Azzolina · CPA · MBA
Quick Answer
Compare your debt's interest rate to what you'd expect to earn investing, roughly 7% historically for the stock market. Debt above that rate, pay it off first. Debt below it, investing usually wins. Between 5 and 7% is a gray zone where either choice is reasonable. One rule always applies first: capture your full 401(k) match no matter what your debt looks like.
People make the debt vs. investing question more complicated than it is. There is a simple framework that resolves it in most cases, and it comes down to 1 number: the interest rate on your debt.
If your debt costs more than your investments are likely to earn, pay it off. If your debt costs less, invest. The math is the decision.
The guaranteed return framing
Paying off a debt that charges you 20% interest is equivalent to earning a guaranteed 20% return on your money. No investment in the world offers that reliably. The stock market returns roughly 7% on average, historically, after inflation. When you pay off a 20% debt, you are doing better than the market, risk-free, guaranteed.
This is the framing that makes the decision obvious at the extremes. Credit card debt at 20-25% APR: pay it off immediately. A mortgage at 3.5%: keep it, invest the difference. Student loans at 4%: same logic as the mortgage. The hard cases are in the middle.
The interest rate decision framework
Credit card debt (18–26% APR)
Pay off first. Always.
Personal loans (8–15% APR)
Pay off. Guaranteed return beats expected market return.
Student loans, car loans (5–7% APR)
Gray zone. Depends on your situation.
Mortgage, low-rate student loans (<5% APR)
Invest. Expected market return likely wins.
This framework uses a 7% expected long-run market return as the benchmark. That figure is based on historical US stock market averages and does not guarantee future results. My general guidance: anything above 6-7% gets paid off, anything below gets kept and invested around.
The gray zone: 5 to 7% debt
This is where most people get stuck, and where the answer is less mechanical. At these rates, the expected returns from investing and the guaranteed return from paying off debt are close to equal. A few factors tip the decision.
Your age and timeline matter. If you are 25 with 40 years until retirement, the compounding effect of investing now is significant. Even if the expected returns are roughly equal in present value terms, the earlier you invest, the more time the returns have to compound. That tips toward investing for younger people with a long horizon.
Your risk tolerance matters. Market returns are not guaranteed. 7% is an average that includes years of -30% and years of +30%. The return on paying down debt is guaranteed. If market volatility genuinely affects your behavior, the psychological value of the guaranteed return is real.
Tax treatment matters. Mortgage interest may be deductible if you itemize, which lowers the effective rate. Student loan interest is partially deductible in some cases. A 6% debt that generates a tax deduction may effectively cost you 4-5%, which changes the math.
the only debt debate that actually matters
Credit card at 24% APR
🔥 Pay this off immediately. Investing while carrying this is mathematically irrational.
Mortgage at 3.5%
📈 Keep it. Invest the extra. The market has historically paid you ~3.5% more per year to do so.
One rule that is never wrong: capture the 401(k) match first
Before you pay off any debt other than credit cards, make sure you are contributing enough to your 401(k) to capture your full employer match. A 50% match on 6% of your salary is a 50% guaranteed return. That beats paying off virtually any debt, including relatively high-interest debt. The match comes first, always.
The sequence that works for most people: Build a starter emergency fund (1-2 months). Capture the full 401(k) match. Pay off high-interest debt (above 7%). Build the full emergency fund. Then split additional savings between remaining debt payoff and investing based on the rate framework above.
The debt types I avoided personally
I have never carried a credit card balance. I financed my first car but paid it off early when I had the cash. I had a mortgage in the mid-4% range, refinanced to a meaningfully lower rate a few years later, and invested the difference instead of rushing to pay it down. I eventually sold that house for a profit. At that rate, the math of keeping the mortgage instead of prepaying it was clear.
The debts I would never carry are credit cards and high-interest personal loans. The interest rates are designed to be inescapable. They compound against you exactly as an investment compounds for you. At 24% APR, a $5,000 balance becomes $6,200 in a year if you pay nothing. No investment matches that rate of return on the downside.
Keep the debt, invest instead
Mortgage below 5%
Student loans below 5%
Any debt below your expected investment return
After capturing the full 401k match
Pay off debt first
All credit card debt
Personal loans above 7%
Car loans above 7%
Any debt above your expected return
The takeaway
Compare the interest rate on your debt to your expected investment return. High-interest debt (above 7%) is a guaranteed negative return on your money. Pay it off before investing beyond the 401k match. Low-interest debt (below 5%) costs less than the market historically returns. Keep it and invest. The gray zone in between requires judgment, but the framework gives you the right starting point for every debt decision you will face.
Frequently Asked Questions
Should I pay off debt or invest first?
Compare the interest rate on your debt to what you'd realistically expect to earn investing, roughly 7% historically for the stock market after inflation. If your debt costs more than that, pay it off first. It's the equivalent of a guaranteed return no investment can match. If your debt costs less, investing usually wins over time. One exception always comes first: capture your full 401(k) match before extra debt payments, since that match is free money regardless of your interest rate.
What counts as high-interest debt I should prioritize paying off?
Anything charging somewhere around 7% or more, credit card debt especially, since it commonly runs 20% or higher. Paying off a debt at 20% interest is equivalent to earning a guaranteed 20% return, which no investment offers reliably. Mortgage debt and many student loans, by contrast, often carry lower rates and don't need to be a priority over investing.
What if my debt's interest rate is between 5 and 7%?
That's the gray zone where the math doesn't clearly favor one choice, and either paying it down or investing is reasonable. Personal risk tolerance and peace of mind matter here as much as the math. Some people prefer the certainty of a paid-off balance. Others prefer the higher expected return of investing. Both are defensible in that range.