The Verdict
Paying off student loans first makes sense if your interest rate is above 7%, you carry no employer 401(k) match, or your debt-to-income ratio is straining your cash flow. Investing wins when your rate is below 5% and you have an employer match on the table. Between those two thresholds, split the difference.
The decision to pay off student loans or invest hinges on one number above almost everything else: your interest rate compared to what the market is likely to return. As of June 2025, federal undergraduate Direct Loan rates for new borrowers sit at 6.53% for the 2024-25 award year, which puts a lot of borrowers right at the breakeven zone where neither choice is obviously wrong. The S&P 500’s long-run average annual return is roughly 10% before inflation, but sequence-of-returns risk means any single decade can look very different from that average.
This matters right now because federal student loan forbearances have ended, income-driven repayment rules are in legal flux under court challenges, and inflation has kept interest rates elevated across the board. The passive “I’ll just pay the minimum and invest everything” strategy that worked in a zero-rate environment deserves a harder look in 2025.
| Factor | Reasons to Pay Off Loans First | Reasons to Invest First |
|---|---|---|
| Interest rate | Your rate is above 7%; guaranteed return equals loan APR | Your rate is below 5%; market returns likely exceed cost |
| Employer match | No employer match available | Employer matches 401(k) contributions; that is an instant 50-100% return |
| Loan type | Private loans with variable rates averaging 9-12% | Federal subsidized loans locked at 5.5% or lower |
| Tax deduction | Income above $85,000 (single); deduction phases out fully | Roth IRA or 401(k) contributions lower taxable income now |
| Psychological burden | Debt causes measurable financial anxiety affecting decisions | Low rate; discomfort should not override math |
| Emergency fund | Already have 3-6 months of expenses saved | No emergency fund yet; investing before saving cash is backwards |
Key Takeaways
- Investing first is almost always the right call if your employer matches at least 3% of salary in your 401(k); pass that up and you are leaving free money behind.
- If your student loan interest rate is above 7%, aggressive repayment offers a guaranteed after-tax return better than most bond funds and comparable to moderate equity exposure.
- If your rate is below 5% and you have a funded emergency reserve of at least 3 months of expenses, direct surplus cash toward a Roth IRA or taxable brokerage account.
- Borrowers earning under $85,000 (single filer) can deduct up to $2,500 in student loan interest, which slightly lowers the effective rate and nudges the math toward investing.
- Private student loan borrowers facing variable rates should treat their loan like high-interest debt; rates above 8% almost always beat expected investment returns on a risk-adjusted basis.
- Anyone without a 3-6 month emergency fund should build that before splitting funds between loans and investments; an unexpected expense at the wrong time forces high-cost borrowing that erases any market gain.
- Borrowers on Public Service Loan Forgiveness (PSLF) should almost never pay extra toward principal; invest instead and let the forgiveness clock run.
Does Your Interest Rate Clear the Threshold?
The single most reliable rule: if your student loan rate exceeds your expected after-tax investment return, pay the loan. If it falls short, invest. The complication is that investment returns are uncertain while your loan rate is fixed and guaranteed.
A reasonable baseline for long-run U.S. equity returns is 7% annually after inflation, based on historical S&P 500 data. That means a federal Direct Loan at 6.53% is genuinely a toss-up, and one at 8% or higher (common for graduate PLUS loans, which currently carry a 9.08% rate for 2024-25) is a clear case for paying down debt. Private loan rates are worse: the average private student loan rate for a borrower without a co-signer has ranged from 9% to 14% in recent years, according to Credible’s rate data. At those levels, paying off debt is the higher-return move by a significant margin.
One nuance worth naming: the student loan interest deduction reduces your effective rate if you qualify. Single filers with modified adjusted gross income under $75,000 get the full deduction; it phases out between $75,000 and $90,000. If you are in the 22% bracket and deducting $2,500, a stated 6.53% rate becomes closer to 5.1% effective, which shifts the math toward investing.

Never Skip the Employer Match
If your employer offers a 401(k) match and you are not capturing it, contribute enough to get every dollar of that match before you send an extra cent to your loan servicer. An employer that matches 50 cents per dollar up to 6% of salary is effectively handing you a 50% return on that slice of income before any investment growth occurs.
According to the U.S. Department of Labor, the majority of private-sector employer retirement plans offer some form of matching contribution. Forfeiting that match to pay down a 6% student loan means trading a guaranteed 50-100% gain for a guaranteed 6% one. The math is not close. Fund the match first; it is the rare piece of personal finance advice that holds regardless of income level.
How Income Level Changes the Calculus
The right split between loan payoff and investing shifts materially depending on where you sit on the income ladder, and it is not just about how much you can afford to put somewhere each month.
Lower income (under $50,000)
At this income level, cash flow is tight and an emergency fund should be the first priority. Once you have 3 months of expenses saved, capture any employer match, then put every extra dollar toward high-rate debt. Roth IRA contributions make sense here because your tax rate is low now and likely to rise later, but student loan interest above 7% should come first. Our article on whether to pay off debt or build an emergency fund first covers this sequencing in detail.
Middle income ($50,000-$100,000)
This is where the split strategy makes the most sense. Capture the employer match, contribute enough to a Roth IRA or traditional 401(k) to reduce your tax bill, and then direct surplus cash toward any loan above 7%. Loans below 5% can be paid on the standard schedule while you invest the difference. The salary-based framework for evaluating total student loan burden can help you assess whether your debt level is manageable relative to your income before deciding how aggressively to pay it down.
Higher income (above $100,000)
High earners lose access to the student loan interest deduction entirely above $90,000 (single filer) and face Roth IRA phase-outs starting at $150,000 in 2025 according to IRS guidelines. At this income level, maxing a 401(k) (up to $23,500 in 2025) and a backdoor Roth IRA should happen alongside or before extra loan payments, unless the loan rate is meaningfully above 7%. High earners also tend to carry graduate school debt at PLUS rates, which at 9.08% justifies aggressive paydown alongside investing.

Are You Eligible for Loan Forgiveness?
If you qualify for Public Service Loan Forgiveness (PSLF) or an income-driven repayment (IDR) forgiveness plan, paying extra toward principal is usually the wrong move. Any dollar you overpay reduces the balance that would otherwise be forgiven, dollar for dollar.
PSLF forgives the remaining balance after 120 qualifying payments for borrowers working full-time for a qualifying government or nonprofit employer, tax-free under current law. The Federal Student Aid office estimates that hundreds of thousands of borrowers are on track for forgiveness. If you are one of them, direct every spare dollar toward a retirement account instead. This is one situation where the math is clear regardless of your interest rate. If you are a teacher, there are also specific forgiveness programs worth reviewing, including ones that most educators never claim.
Income-driven repayment plans (SAVE, IBR, PAYE, ICR) cap monthly payments as a percentage of discretionary income and forgive balances after 20-25 years. Legal challenges to the SAVE plan are ongoing as of June 2025, but IDR forgiveness as a concept remains intact under federal law. If your expected forgiveness amount is large relative to your balance, the same logic applies: pay the minimum, invest the rest.
Who Should and Who Should Not
Good candidates for prioritizing loan payoff
These borrowers are likely to come out ahead by targeting debt aggressively before or alongside investing.
- Borrowers with private student loans at variable rates above 8%, who have already captured the full employer 401(k) match
- Anyone carrying graduate PLUS loans at 9.08% with no access to PSLF or income-driven forgiveness
- Borrowers with a debt-to-income ratio above 20% for student loans alone, where the debt is limiting major financial decisions like home purchase
- People who have already maxed their 401(k) and Roth IRA contributions for the year and have surplus cash remaining
Who should skip aggressive loan payoff
For these borrowers, directing money toward investments or other priorities first will produce a better financial outcome.
- Anyone with employer 401(k) matching not yet fully captured; the match beats any loan paydown math
- PSLF-eligible borrowers on qualifying repayment plans with more than 5 years of remaining service; extra payments reduce the amount eventually forgiven
- Borrowers with federal subsidized loans locked below 5% from earlier award years, where long-run investment returns should outpace the loan cost
- Anyone without a 3-month emergency fund; building that cash cushion should come before either extra loan payments or non-retirement investing
- Borrowers considering refinancing high-rate private loans before deciding; private student loan refinancing can drop the rate enough to change the entire decision
Frequently Asked Questions
Should I pay off student loans or invest if my rate is 6%?
At 6%, you are in the gray zone where either choice is defensible. The practical tiebreaker: capture the employer 401(k) match first, then contribute to a Roth IRA, then split remaining surplus between extra loan payments and a taxable brokerage account. If the psychological weight of the debt is affecting your financial decisions, lean toward payoff; that cost is real even if it does not show up in a spreadsheet.
Is it better to max a Roth IRA or pay off student loans?
If your student loan rate is below 7%, maxing a Roth IRA first is usually the better move because Roth growth is tax-free and contribution room cannot be carried forward. At rates above 7%, pay the loans first. The Roth IRA contribution limit for 2025 is $7,000 (or $8,000 if you are 50 or older) per IRS rules, so the annual decision is relatively concrete.
What if I can only afford to do one: invest or pay extra on loans?
The answer depends on your loan rate. Above 7%, pay the loans. Below 5%, invest. Between 5% and 7%, prioritize whichever one you are more likely to stay consistent with, because consistency matters more than optimization at tight margins. The similar trade-off in auto lending is explored in our piece on whether to pay off an auto loan early or invest, and the logic translates directly.
Does income-driven repayment change whether I should invest?
Yes, significantly. If your monthly IDR payment is lower than what you would pay on a standard 10-year plan, you have extra monthly cash flow. Direct that surplus to retirement accounts rather than extra loan payments, especially if you are on track for forgiveness. Paying ahead on a balance that will eventually be forgiven is a mathematical error.
Should a new graduate with $30,000 in loans invest or pay off debt first?
Start with the employer match, then build a 3-month emergency fund, then assess the loan rate. At current federal undergraduate rates of 6.53%, a reasonable split is 50/50 between extra payments and Roth IRA contributions once the match is captured and the emergency fund is in place. If the $30,000 is all private debt above 8%, shift the split to 70% loan paydown. The right framework for sizing this debt relative to your salary is covered in our student loan debt-to-salary guide.
Can I deduct student loan interest if I invest instead of paying off early?
Yes. The student loan interest deduction is based on interest actually paid, not on your repayment pace. Single filers earning under $75,000 can deduct the full $2,500; the deduction phases out completely at $90,000. If you qualify, this deduction lowers your effective interest rate and slightly strengthens the case for investing over aggressive paydown.
Sources
- Internal Revenue Service (IRS.gov) — Roth IRAs: Contribution Limits and Rules
- U.S. Department of Labor — What You Should Know About Your Retirement Plan
- Federal Reserve — Consumer Credit (G.19 Statistical Release)
- IRS — Topic No. 456: Student Loan Interest Deduction
- Consumer Financial Protection Bureau (CFPB) — Repay Student Debt