You have $400 a month that isn't already spoken for. You have student loan debt. You also know you're supposed to be investing. Everyone in their mid-20s hits this question eventually.
The standard financial media answer: "Pay off high-interest debt first, then invest." That's technically correct and completely useless. High-interest relative to what return? Compared to which investment? At what timeline?
The actual answer to this question depends on one number — and once you know it, the decision is almost always obvious.
Why this is actually a math problem
Paying down student loan debt and investing are both ways of growing your net worth. The difference is that one is guaranteed and one is expected.
Your student loan interest rate is a guaranteed, certain cost. Every dollar you put toward the principal is a dollar that stops generating that interest charge — which is a guaranteed return exactly equal to your interest rate. If your loan is at 7%, paying it down is the equivalent of a guaranteed 7% annual return on that money.
Investing in the stock market is not guaranteed. The S&P 500 has averaged roughly 10% annually over the past century — about 7% after adjusting for inflation. That's a real, historically consistent return. But it's not guaranteed in any given year, and it includes crashes like 2008 (down 38%) alongside runs like 2013 (up 32%).
The question is: at what loan interest rate does the guaranteed return of paying it down beat the expected but uncertain return of investing?
That's your break-even. For most people, it falls somewhere between 6% and 7%.
This is where the free preview ends. Subscribe to GenHedge — free — to get the full breakdown, including real scenario math across multiple loan rates.
The actual math across two scenarios
$38,000 in federal student loans — the national average for a four-year degree. $400 a month free to allocate.
Scenario A: Loans at 4.5% interest
Option 1 — Put $400/month entirely toward the loans. You pay off the full balance in about 8.5 years and pay roughly $7,100 in total interest. Guaranteed return: 4.5%.
Option 2 — Invest $400/month into an S&P 500 index fund and make only minimum loan payments (approximately $380/month). Over 8.5 years at 7% average annual return, your investment account grows to approximately $52,000. You've paid roughly $9,500 in loan interest over that period — but you've built $52,000 in invested wealth instead of eliminating $38,000 in debt. The investing path wins by about $23,000 in net worth.
Scenario B: Loans at 8% interest
Option 1 — $400/month toward the loans. Paid off in about 7 years, roughly $12,000 in total interest paid. Guaranteed return: 8%.
Option 2 — Invest $400/month instead, make minimum loan payments. Over 7 years at 7% average return: approximately $41,000 in investments. But you've paid roughly $15,600 in loan interest during that time.
At 8%, the guaranteed return of paying down debt is competitive with — and arguably better than — the expected stock market return, especially once you account for the volatility risk of the investing path. Loan paydown wins, or at minimum it's a wash.
The crossover is around 6%–6.5%. Below that: invest. Above that: pay down debt aggressively, or at least prioritize it.
The mistake that costs people the most
The mistake isn't choosing the wrong side of the equation. It's making the decision based on feeling instead of looking up the actual interest rates.
Federal undergraduate loans originated in 2023–24 are at 5.5%. Graduate school direct unsubsidized loans are at 7.05%. Private loans can range anywhere from 4% to 12% depending on the lender, your credit, and when you borrowed. The decision is completely different depending on which loans you have — and most people have a mix.
Go to studentaid.gov right now, log in, and look up your actual interest rates on every loan. Not the rough number you remember. The exact rate. Then run the math.
The second thing most people miss entirely: the 401k employer match. If your employer matches contributions up to 4% of your salary and you're not contributing at least 4%, you are leaving a 100% instant return on the table. Contribute 4%, your employer matches it — you've immediately doubled that money before any investment return even happens. Nothing else in personal finance offers a 100% instant return. Paying down a 7% loan instead of capturing a 100% match is a bad trade, every time.
The order of operations
Here's the sequence that works for most people in their 20s:
Step 1: Contribute exactly enough to your 401k to capture the full employer match. Even if you have $30,000 in high-interest debt. The match is always the priority.
Step 2: Build a $1,000 emergency buffer if you don't have one. Not three months of expenses — just $1,000 to stop credit card debt from growing every time something unexpected happens.
Step 3: Apply the threshold. If your loan rates are above 6.5%, pay them down aggressively with every extra dollar. If they're below 6.5%, make minimum loan payments and invest the difference in a Roth IRA or taxable brokerage account.
Step 4: As loans drop below $15,000 remaining, or below 5% interest rate, shift to investing entirely. The psychological weight of the debt isn't worth the marginal math difference at that point.
The threshold isn't a hard rule — it's a judgment call between a certain return and an expected one. But it's a much better framework than "high-interest debt bad, investing good," which tells you nothing without a number attached. Once debt is under control, building a budget around both makes the progress visible.
The one thing to take away
The student loans vs. investing debate has exactly one answer: know your interest rate. Everything else is math — and the math usually favors investing once you're below 6.5%, with the 401k match captured first, always.
Not financial advice. Rates referenced are as of 2024. Consult a qualified financial professional for advice specific to your situation.