Pay Off Student Loans or Invest? (Real Numbers)
Should you pay off student loans or invest? Take the employer match first, then use the 7% rate rule. Real 2026 numbers on a $90k salary and $32k of loans.
In this article
- Should I pay off student loans or invest first?
- What interest rate makes paying off loans the better deal?
- Where does the 7% number actually come from?
- How much does the employer match actually add up to?
- What does $500 a month look like either way?
- What if you're on an income-driven repayment plan?
- Should you refinance to a lower rate first?
- What has to be true before either one?
- When is paying off loans first clearly right?
- Frequently Asked Questions
- The takeaway
Whether you should pay off student loans or invest comes down to two things: your employer match and your interest rate. Grab the match first, because nothing else in personal finance pays you 50 cents on the dollar instantly, then let the rate on your loans decide where the rest of your money goes.
Quick Answer: Contribute enough to get your full employer 401(k) match first, then compare rates. If your student loans charge more than about 7%, pay them down aggressively. If they're under 5%, invest the extra instead. Between 5% and 7%, split the difference and do both.
Should I pay off student loans or invest first?
Do both, in a specific order. The order matters more than the split, and it looks like this: employer match, then high-interest debt, then everything else.
Here's why the match jumps the line. If you're 29 and earning $90,000, and your employer matches 50% of the first 6% you contribute, that's $5,400 of your own money buying $2,700 of free money every single year. No student loan charges you 50% interest. Nothing you can buy in a brokerage account returns 50% on day one, guaranteed. Skipping the match to make an extra loan payment is the one move in this whole decision that's almost always wrong.
After the match, you're comparing a guaranteed return (your loan rate) against an expected one (market returns). That's the real question, and it's less about math than most people assume.
What interest rate makes paying off loans the better deal?
Roughly 7%. Above that, paying down the loan usually wins. Below 5%, investing usually wins. In between, it's close enough that your temperament matters as much as the spreadsheet.
Federal loans sit at the friendly end of that range. Undergraduate Direct Unsubsidized Loans first disbursed between July 1, 2026 and June 30, 2027 carry a fixed rate of 6.52%, and older undergraduate loans are often lower still. Graduate loans and private refinanced loans run higher.
Still choosing a tool? Compare Planned against the app you are considering.
Paying down a 6.52% loan is a guaranteed, tax-free 6.52% return. The catch is that it's capped: once the loan is gone, that return stops. Money invested at 29 keeps compounding for another 35 years. That asymmetry is why the cutoff sits at 7% rather than at the long-run market average.
Where does the 7% number actually come from?
From comparing after-tax returns, not headline rates, and the account you invest in changes the answer. Most articles assert a cutoff and move on. Here's the arithmetic underneath it.
Paying an extra dollar against a 6.5% loan earns you exactly 6.5%, guaranteed, with no tax on the gain. Investing that dollar at an assumed 7% return earns different amounts depending on where it lands:
| Where the dollar goes | Assumed return | What you actually keep |
|---|---|---|
| Extra loan payment at 6.5% | 6.5% guaranteed | 6.5%, tax-free, but it stops when the loan does |
| 401(k) or Roth IRA | 7% expected | About 7%, no annual tax drag |
| Taxable brokerage account | 7% expected | About 5.95% after 15% long-term capital gains tax |
Read that table twice, because it contains the answer most people miss. In a tax-advantaged account, a 7% expected return narrowly beats a 6.5% certain one. In a taxable account, the same 7% return loses to the same loan. So "should I invest instead?" is really two questions, and the second one is whether you still have room in a 401(k) or IRA. If you're deciding between those two account types, the comparison of a taxable brokerage account and a Roth IRA covers the order.
One more thing nudges the cutoff up: the student loan interest deduction. You can deduct up to $2,500 of student loan interest a year, subject to income phase-outs. If you're in the 22% bracket and your interest is fully deductible, a 6.5% loan is really costing you closer to 5.1%. That single adjustment can flip a borderline case toward investing, and it's the reason a bare rate comparison overstates the case for paying down federal loans.
How much does the employer match actually add up to?
Over five years, more than most people guess. Stick with that $90,000 salary and a 50% match on the first 6%. You contribute $5,400 a year, your employer adds $2,700, and after five years the match alone has handed you $13,500 that you never had to earn.
That's before any growth. The 2026 employee contribution limit is $24,500, so at 6% you're using well under a quarter of the room available to you. Matching formulas vary a lot (some employers do dollar-for-dollar on 3%, some do 50% on 6%, some do nothing), so check your actual plan document rather than assuming. If you're not sure what account your match is landing in, our guide to tax-advantaged accounts and how they differ is a good place to start.
What does $500 a month look like either way?
Let's say you've got $500 a month of breathing room after the match, and $32,000 of federal loans at 6.5%. Here's the honest comparison over five years.
- Invest it: $30,000 contributed, worth roughly $35,800 after five years at a 7% annual return. You've built about $5,800 of growth and you still owe on the loans.
- Attack the loans: $30,000 against principal wipes out most of the $32,000 balance years early and saves you several thousand in interest you'd otherwise pay. You end with no loan payment and no invested balance.
Those outcomes are closer than the internet suggests. The invested version comes out modestly ahead on paper, and only if the market cooperates. The payoff version is certain. For those of us who lose sleep over a balance, certainty is worth real money, and at Planned we'd rather you pick the option you'll actually stick with for five years than the one that models 1% better and gets abandoned in month eight.
What if you're on an income-driven repayment plan?
Then this whole calculation changes, and 2026 is the year it changed for millions of people. If you're heading toward forgiveness on an income-driven plan, extra payments actively work against you: every dollar you overpay shrinks a balance that was going to be written off anyway.
Here's what moved. A court order ended the SAVE plan, and starting July 1, 2026 servicers began notifying borrowers to exit it. The Department of Education put the affected population at roughly 7.5 million borrowers and said each gets at least 90 days to pick a legal repayment plan. Miss that window and you're automatically enrolled in the Standard Repayment Plan or the new Tiered Standard Plan, which is very likely a higher monthly payment than you were making.
Two new options arrived on July 1, 2026: the Tiered Standard plan and the Repayment Assistance Plan, or RAP. RAP sets your payment between 1% and 10% of income depending on what you earn, reduces it by $50 a month per dependent, waives unpaid monthly interest when you pay on time, and discharges the balance after 360 on-time payments. Borrowers whose loans predate July 1, 2026 have until July 1, 2028 to choose between RAP, Tiered Standard, and Income-Based Repayment.
What this means for the question you came here with: before you send a single extra dollar anywhere, find out which plan you're on and whether you're inside a transition window. Check it on the federal income-driven repayment page. If an auto-enrollment is about to raise your required payment, the $500 of surplus in the example above may not survive contact with your new statement, and that changes the answer before any investing question gets asked.
Should you refinance to a lower rate first?
Only if you are certain you will never need federal protections, because refinancing to a private lender gives them up permanently and there is no path back.
What you surrender is specific: access to income-driven plans like RAP and IBR, federal forbearance and deferment if your income drops, and eligibility for Public Service Loan Forgiveness and any future federal relief. What you gain is a lower rate. On $32,000, cutting the rate from 6.5% to 4.5% saves roughly $1,900 of interest over five years, which is real money but not life-changing money.
So the test is your income stability rather than your rate. A tenured, high, predictable income with no forgiveness path and a two-point rate cut available is a reasonable refinance. An income that could drop, a job that might become public-sector, or any chance you'd want a payment tied to earnings means the flexibility is worth more than the spread. And note the interaction with the section above: refinancing out of the federal system in the middle of a plan transition removes the option you might be about to need.
What has to be true before either one?
Cash on hand. Before you accelerate loans or open a brokerage account, you want a starter emergency fund of at least one month of expenses, and ideally three to six.
The reason is mechanical, not moral. If you throw every spare dollar at your loans and then your transmission dies, you end up on a credit card at 20% or more, which is far worse than the 6.5% loan you were so eager to kill. Extra payments on a student loan are a one-way door: you generally can't pull that money back out. Money in a high-yield savings account can go anywhere. Our breakdown of how much emergency fund you actually need walks through sizing it against your real expenses. And if you're carrying credit card debt alongside the student loans, that comes first, ahead of both options here. Choosing between the snowball and avalanche methods will help you sequence it.
When is paying off loans first clearly right?
When the rate is high, the balance is small enough to see the end of, or the debt is affecting decisions you want to make in the next few years.
Private loans refinanced at 9% or 10% are an easy call: pay them down. So are loans small enough that six focused months clears them, because the psychological win of a zero balance tends to fund the next good habit. And if you're planning to buy a house, your debt-to-income ratio matters to a lender in a way that your brokerage balance does not, so shrinking the monthly payment can be worth more than the spread.
Frequently Asked Questions
Should I invest in a Roth IRA or pay off student loans?
Get your 401(k) match first, then decide. A Roth IRA gives you tax-free growth and, unlike loan payments, you can withdraw your contributions (not earnings) without penalty, which makes it more flexible than an extra loan payment. The 2026 IRA contribution limit is $7,500. If your loan rate is under 5%, the Roth usually wins.
What is the Repayment Assistance Plan and should I switch to it?
RAP is the federal plan that launched July 1, 2026. It sets payments at 1% to 10% of income, waives unpaid interest when you pay on time, and forgives the balance after 360 on-time payments. It suits borrowers with high balances relative to income. If your income is strong and your balance is modest, a standard plan usually clears the debt faster and cheaper.
Does paying off student loans early hurt my credit score?
Slightly and temporarily, in most cases. Closing an installment loan can shorten your average account age and reduce your credit mix, so a small dip is normal. It typically recovers within a few months, and the effect is far smaller than what on-time payment history and credit utilization do to your score. Don't carry debt purely to protect a number.
What if I don't get an employer match at all?
Then the decision is purely rate versus expected return, and the 7% cutoff does all the work. Without a match, a 6.5% federal loan and a diversified index fund are genuinely close to a coin flip. Many people in that spot split it, sending half the surplus to loans and half to a Roth IRA, which hedges both ways.
The takeaway
Take the full employer match, keep a real cash cushion, confirm which repayment plan you're actually on, and then let your interest rate break the tie: above 7% pay the loans, below 5% invest, and in the middle do some of each. You're not choosing between a right answer and a wrong one, you're choosing which kind of return you want, and both of them move you forward. If you want to go deeper on the investing side, our beginner's guide to growing wealth covers where that money should actually go.
This article is general education, not personalized financial, investment, tax, legal, or insurance advice. Rules vary by state and change over time, so talk with a qualified professional before acting on it for your own situation.
Best Debt Payoff Apps in 2026 (Free and Paid)
The best debt payoff app holds every debt and models extra payments. Compare Undebt.it, Debt Payoff Planner, YNAB and Planned on price, methods and limits.
Should I Use Savings to Pay Off Credit Card Debt?
Should you use savings to pay off credit card debt? Usually yes: keep one month of essentials in cash and send the rest to the card. See the 22% APR math.
Should I Pay Off My Car Loan Early? (A Simple Rate Rule)
Pay off your car loan early if the rate is above about 7% and your emergency fund is set. Under 5%, invest instead. The math on a $22,000 loan at 4 rates.
Debt Consolidation Loan vs Balance Transfer: How to Pick
Debt consolidation loan vs balance transfer: the transfer card wins under 18 months, the loan wins past it. See the math on a $9,000 balance, run three ways.