Pay Off Loans or Invest?
Should you throw extra money at your student loans or invest it? Enter your numbers and see which path builds more wealth over time.
Pay Off First: Put all extra money toward your student loans until they're gone, then redirect everything (minimum payment + extra) into investments. You start investing later but with zero debt.
Invest Extra: Make only minimum loan payments and invest the extra money immediately. Your investments start growing from day one, but you carry the loan longer and pay more interest.
The key variable is the gap between your loan rate and expected investment returns. When returns significantly exceed your loan rate, investing wins. When rates are close, the guaranteed "return" of eliminating debt often makes more sense — especially when you factor in the peace of mind.
Pay Off Student Loans or Invest: The Real Math
You've got extra money each month and two competing priorities: student loan debt and retirement savings. The internet is full of passionate opinions on both sides. Here's what the math actually says.
The Simple Rule
If your expected investment return is higher than your student loan interest rate, investing the extra money builds more wealth over time. If your loan rate is higher than your expected returns, paying off the debt wins.
In practice, most federal student loans carry rates between 3–7%, while the long-term stock market has returned roughly 8–10% annually. That spread is why investing often wins on paper. But there's more to the story.
When Investing Wins
Investing tends to come out ahead when your loan rates are below 5–6%, you have a long time horizon (10+ years), and you're comfortable with market volatility. The longer the time frame, the more compound growth works in your favor and the more likely you are to actually realize those average returns.
This is especially true if your employer offers a 401(k) match — that's free money that instantly doubles your return. Always capture the full match before making extra loan payments.
When Paying Off Loans Wins
Aggressive loan payoff wins when your rates are above 7–8% (common with private loans and some Grad PLUS loans), when investment returns are lower than average, or when the guaranteed "return" of eliminating debt gives you peace of mind that keeps you on track financially.
Paying off debt is also a risk-free return. The stock market averages 8–10% over decades but individual years vary wildly. Your student loan interest rate is a guaranteed cost. If you pay off a 6% loan, you earn a guaranteed 6% return — no market risk involved.
The Psychology Factor
Numbers tell one story, but behavior tells another. Some people are more motivated and financially disciplined when they're debt-free. Others sleep fine with low-rate debt and prefer to see their investment accounts grow. Neither approach is wrong — the best strategy is the one you actually execute consistently.
Research shows that the emotional weight of debt reduces well-being independently of the financial impact. If your student loans stress you out, the psychological benefit of paying them off may outweigh a few percentage points of theoretical investment gains.
The Hybrid Approach
Most financial planners recommend a middle path: capture your employer match first (if applicable), build a small emergency fund, then split extra money between loan payments and investing. This hedges your bets and keeps both priorities moving forward.
A common split is 50/50 or 60/40 in favor of whichever priority has the higher rate. You can adjust this over time as your loans shrink and your income grows.
What This Calculator Assumes
This tool compares two extreme strategies: put ALL extra money toward loans, or invest ALL extra money. Real life is usually somewhere in between. The model assumes a constant investment return (no volatility), which overstates certainty. It also doesn't account for employer matches, tax deductions on student loan interest, or changes in income over time.
Use it to understand the direction and magnitude of the tradeoff, not as a precise prediction. Adjust the return slider to see how sensitive the result is to different market outcomes.
Frequently Asked Questions
Should I always invest if my loan rate is lower than market returns?
Not necessarily. Market returns are an average over decades — in any given year, you could lose money. Your loan rate is a guaranteed cost. The wider the gap between the two, the more compelling the case for investing. If they're close (within 1–2%), the "right" answer depends on your risk tolerance.
What about student loan forgiveness programs?
If you qualify for Public Service Loan Forgiveness (PSLF) or an income-driven repayment forgiveness program, paying extra is usually the wrong move. You want to minimize payments, not accelerate them. Invest the difference instead and let forgiveness handle the balance.
Should I refinance first?
If you can lower your rate by refinancing, it makes both strategies better — but it especially strengthens the case for minimum payments + investing, since the lower rate reduces the "cost" of carrying the debt. Just note that refinancing federal loans into private loans means losing access to federal protections and forgiveness programs.
What about the student loan interest tax deduction?
You can deduct up to $2,500 in student loan interest per year (income limits apply). This effectively reduces your loan's real cost by your marginal tax rate. For example, a 6% loan at a 22% tax rate effectively costs about 4.7%. This makes the case for investing even stronger.