This is the question that paralyzes a lot of people. They have a loan payment, they have a little money left over each month, and they feel like they have to choose one or the other. The good news is that the answer is not actually that complicated. It comes down almost entirely to one number: your interest rate.
The framework is this: paying off debt is a guaranteed return equal to your interest rate. Investing is an expected return based on historical market performance. When the expected return from investing exceeds the guaranteed return from paying off debt, investing wins. When it does not, debt payoff wins.
What the stock market actually returns
The S&P 500 has returned approximately 10% annually over the past 30 years in nominal terms, and about 7% annually after adjusting for inflation. This is not a guarantee of future performance, but it is the best long-run baseline we have for what a diversified index fund investment is likely to do over a decade or more.
That 7% real return figure is the one most financial planners use as the hurdle rate when comparing debt payoff to investing. If your debt costs you more than 7% per year, you are almost certainly better off eliminating it before investing beyond the basics. If it costs you less, the math typically favors investing.
Where federal student loans actually land
Should you pay off your loan or invest?
Enter your loan rate and monthly surplus. We show the 10-year outcome of each path.
Federal undergraduate student loans disbursed in the 2025 to 2026 academic year carry a fixed rate of 6.39%. Graduate direct loans run at 7.94%. PLUS loans for parents and graduate students are at 8.94%.
This means that for most people with standard undergraduate federal loans, the rate sits just below the 7% threshold, placing them in the gray zone where the right answer depends on your specific situation. For graduate loan borrowers and PLUS loan holders, the math more clearly favors aggressive paydown.
| Loan type | 2025-26 rate | Verdict |
|---|---|---|
| Federal undergraduate (Stafford) | 6.39% | Gray zone: split approach |
| Federal graduate (Stafford) | 7.94% | Lean toward payoff |
| PLUS loans (parent or grad) | 8.94% | Pay off aggressively |
| Private loans (typical range) | varies widely | Check your rate |
| Federal loans below 5% | older fixed rates | Invest first |
The two things you do regardless of your rate
Before you run any math on your loan rate versus the market, two steps come first no matter what:
The three scenarios
The non-mathematical argument for paying off loans faster
The math favors investing for low-rate borrowers. But math is not the only variable. Some people find that carrying debt affects their ability to take career risks, make geographic moves, or simply sleep at night. If your student loans create genuine psychological drag that limits your decisions, there is real value in eliminating them faster even if the pure return calculation does not support it.
This is a legitimate reason to deviate from the optimal mathematical path. The best financial plan is the one you will actually stick to, and peace of mind has value that does not show up in a spreadsheet.
What about student loan forgiveness programs?
If you work in public service or for a qualifying nonprofit, Public Service Loan Forgiveness (PSLF) is worth researching before you make any aggressive payoff decisions. Under PSLF, federal loan balances are forgiven after 10 years of qualifying payments. If you are on track for forgiveness, paying extra toward your principal can actually work against you by reducing the amount that gets forgiven. Confirm your eligibility and payment status at studentaid.gov before changing your loan payment strategy.
The quick version
- Always capture your full employer 401(k) match first, regardless of loan rate
- Build a 3-month emergency fund before aggressive debt payoff or investing
- Loan rate above 7%: pay down aggressively before maxing investment accounts
- Loan rate between 5% and 7%: max your Roth IRA, then put extra toward the loan
- Loan rate below 5%: make minimum payments and invest the rest
- Check PSLF eligibility before making extra loan payments