К содержимому
Advertiser disclosure

FlexInvestLife is an independent publisher. Some of the products on this site are from partners who compensate us when you apply through our links. That compensation may affect where products appear, but it never affects our ratings, our rankings or what we write. We do not review every product in the market.

Should You Pay Off Student Loans or Invest? The Real Math

Written by Sarah Mitchell Sarah Mitchell, CFA Sarah spent eight
Published 3 November 2026 Updated 3 November 2026 Reading time 4 min

This question has a clean answer once the numbers are visible. It isn’t a values question. It’s a rate question. The loan has a rate. Investing has an expected return. Whichever number is higher wins. The catch: one number is guaranteed and one isn’t.

The average federal undergraduate loan rate in 2023–24 is 5.50%—Federal Student Aid. Graduate loans run 7.05%. Parent loans run 8.05%. Private loan rates vary—fixed rates currently range from roughly 4% to 14%. The rate is the starting point for everything.

The Core Math

Paying off a loan at 6% produces a guaranteed 6% return on every dollar applied. The debt is gone. The interest stops. That return is certain.

Investing in a broad stock market index fund produces an expected return. Historically around 10.5% annually for the S&P 500 since 1957—Macrotrends S&P 500 data. But the market drops 30 to 40% in bad years. The average is real. The path to it isn’t smooth.

The real comparison isn’t 6% vs. 10.5%. It’s 6% certain vs. 10.5% uncertain. Over 20 or 30 years, the market’s average is a fair planning number. Over shorter periods, the guaranteed return of paying off debt becomes more valuable.

There’s a tax angle too. Student loan interest is deductible up to $2,500 per year—IRS Publication 970—for single filers earning under $75,000. At a 22% tax bracket, a 6% loan actually costs closer to 4.68% after the deduction. That shifts the math toward investing.

The Employer Match—Always Comes First

Before any other calculation: the employer retirement match. A 50% match on contributions up to 6% of salary is a 50% guaranteed return. Nothing in investing produces a guaranteed 50% return. Vanguard’s 2023 savings report found employees who don’t contribute enough to get the full match leave an average of $1,336 per year on the table.

Capture the full employer match before paying a single extra dollar on student loans. Any loan rate. A 7% loan costs 7%. Leaving a 50% match behind to pay down a 7% loan is a losing trade.

Where the Break-Even Sits

Below 5%: Invest

Some federal loans from 2020 and 2021 carry rates as low as 2.75%—Federal Student Aid historical rates. Paying extra on a 2.75% loan produces a guaranteed 2.75% return. The stock market has averaged 10.5% historically. The math strongly favors investing. Make the minimum payment. Put extra money elsewhere.

5 to 7%: Split

This is where the question gets close. Current federal undergraduate rates sit at 5.50%. At this level, the guaranteed return of paying off debt is meaningful. But the gap between 5.50% certain and 10.5% uncertain is still real.

The right answer here depends on timeline, risk comfort, and forgiveness eligibility. Someone on track for the 10-year public service forgiveness route shouldn’t pay extra at all. Every extra dollar paid toward a loan that will be forgiven is wasted money.

Above 7%: Pay the Loans

Graduate loans at 7.05%, parent loans at 8.05%, and private loans above 8% cross the line. The guaranteed return of payoff starts to match or beat expected market returns on a risk-adjusted basis. The CFPB notes that high-rate debt reliably costs more than long-term investment returns when the rate exceeds 8 to 10%. Above 10%, paying the loan almost certainly beats what the market will deliver.

What the Loan Pause Showed

From March 2020 through October 2023, federal loan payments were paused at 0% interest. Federal Reserve research found that borrowers who kept making voluntary payments got a 0% guaranteed return. Investing that money would have been better. Most who kept paying did so for comfort—the satisfaction of a shrinking balance. That’s not wrong. But it has a cost.

The pause also showed how many borrowers didn’t know their loan rate. When the rate is clear, the decision gets easier.

The Psychological Case for Paying Off Debt

The math favors investing at low rates. The emotional case for paying off debt is separate—and real. Research in the Journal of Consumer Research found that clearing individual debts builds motivation. That psychological benefit doesn’t show up in a compound interest calculation—but it has genuine value.

The risk: overpaying on low-rate loans for peace of mind while missing years of market growth. $200 a month invested at 10.5% for 20 years produces roughly $158,000. The same $200 applied to a 3% loan produces a guaranteed 3% return. Useful—but not the same.

If the debt feels heavy at a rate where the math says invest, paying it faster is a reasonable choice. Just know what it costs. Decide deliberately—not by default.

How to Decide

  • Employer match available? Contribute enough to get it all before doing anything else. A 50–100% instant return beats every other option.
  • Loan rate below 5%? Make minimum payments. Invest the rest.
  • Loan rate 5–7%? Split. Put money into retirement up to the match. Then divide extra between the loan and investing. Check forgiveness eligibility first.
  • Loan rate above 7%? Pay the loan before investing beyond the match. The guaranteed return competes with market returns at this level.
  • Heading toward loan forgiveness? Don’t pay extra. Make the minimum income-based payment. Invest the difference.

Rate vs. Decision Reference

Loan rateMarket returnBetter moveWhy
3% or below~10.5% historicallyInvestMarket return far exceeds loan cost
4–5%~10.5% historicallyInvest + pay minimumsMarket likely wins long-term
6–7%~10.5% historicallySplit or pay loans firstGap narrows; guaranteed return has value
8–10%~10.5% historicallyPay loans firstHigh rate erodes investing advantage
Above 10%~10.5% historicallyPay loans firstGuaranteed return matches or beats market
Any rateN/A—employer matchCapture match first50–100% instant return on matched contributions

Market return based on S&P 500 historical average. Past results don’t guarantee future returns. Employer match rates vary.

Bottom Line

The loan rate drives the decision. Below 5%—invest. Above 7%—pay the loan. Between 5 and 7%—split, and check forgiveness eligibility before paying extra. Always capture the employer match first. The math is clear at the extremes. In the middle, timeline and forgiveness outlook matter. Know the rate. Make the call on purpose.

Disclaimer

This article is for informational purposes only and does not constitute financial advice. Investment returns are not guaranteed. Individual circumstances vary. Consult a licensed financial advisor before making major financial decisions.

Sarah Mitchell

Sarah Mitchell, CFA Sarah spent eight years as an investment analyst before turning her attention to helping everyday Americans build wealth. She holds a CFA charter and writes about portfolio construction, retirement planning, and the math behind long-term financial independence. Her approach is rooted in data, not hype — she believes the best financial advice is boring, repeatable, and backed by numbers. When she's not writing, she's stress-testing her own retirement spreadsheet for fun.

Next steps