Student Loans vs. Investing: Pay Off Debt or Build Wealth First?
One of the most debated questions in personal finance for your 20s. The answer depends on your interest rates, account types, and one key mathematical principle.
You graduated with student loan debt. You also know you should be investing. You cannot fully do both at the same time on your current salary, so which comes first?
This is one of the most commonly debated questions in personal finance, and the answer is not as simple as "always pay off debt first" or "always invest first." The right answer depends on three things: your interest rate, your account types, and whether your employer offers a match. The student loan landscape also shifted dramatically in July 2026, with the SAVE plan ending and a new Repayment Assistance Plan launching. Here is the full breakdown.
The Core Principle: Compare Your Interest Rate to Expected Returns
The fundamental math is straightforward. If your debt costs you more than investing would earn you, pay off the debt. If investing earns more than your debt costs you, invest.
The historical average annual return of the U.S. stock market (measured by the S&P 500) is approximately 10% per year before inflation, or roughly 7-8% after inflation, over any rolling 30-year period. This is not guaranteed, markets fluctuate, but it is a reasonable long-run estimate.
So the pivot point is roughly 7-8% interest rate:
- Debt above 8% APR: Pay this off aggressively before investing beyond the 401(k) match. The guaranteed return of eliminating 20% credit card interest beats expected market returns.
- Debt between 5-8%: The gray zone. Either approach can be mathematically justified. Most people split the difference: standard loan payments plus some investing.
- Debt below 5%: Invest. Your expected returns from the market exceed what you pay in interest. Paying off this debt early is emotionally satisfying but mathematically suboptimal.
Where Your Student Loans Probably Land
Federal student loan interest rates vary by the year you borrowed and the loan type. For loans disbursed between July 1, 2025 and June 30, 2026, the Department of Education set the following rates:
| Loan Type | 2025-2026 Rate | Strategy |
|---|---|---|
| Undergraduate Subsidized/Unsubsidized | 6.39% | Gray zone; split approach |
| Graduate Unsubsidized | 7.94% | Pay down faster; near high-interest |
| Direct PLUS (parent/grad) | 8.94% | Pay off aggressively |
| Private student loans | 4% - 14%+ | Highly variable; treat like consumer debt if above 8% |
Most undergraduate federal borrowers in the last decade have loans ranging from 2.75% (2020-2021) to 6.53% (2024-2025). At rates below 5%, standard payments while simultaneously investing in a Roth IRA is the mathematically correct strategy. At the current 6.39% undergraduate rate, you are in the gray zone where either approach can be justified.
The Exception That Overrides Everything: The 401(k) Match
Before any calculation about loan payoff vs. investing, one rule applies universally:
Always capture your full 401(k) employer match before doing anything else.
An employer match is a guaranteed, immediate return, often 50% or 100% on your contribution, that no debt payoff strategy can compete with. If your employer matches 50% of contributions up to 6% of your salary, that 6% contribution earns a 50% return before it is ever invested.
For 2026, the 401(k) contribution limit rose to $24,500 (up from $23,500 in 2025). Workers 50 and older can contribute up to $32,500 with catch-up contributions, and those ages 60-63 can contribute up to $35,750 under the SECURE 2.0 super catch-up. Even if you cannot max out the contribution, getting the full match is the single highest-priority financial move for anyone with a 401(k) and student loans.
The Non-Negotiable Priority Order
- Capture 100% of the 401(k) employer match
- Pay off any debt above 8-10% APR (credit cards, high-rate private loans)
- Build a $1,000 starter emergency fund
- Open and contribute to a Roth IRA
- Pay student loans on standard schedule (below 7%)
- Build full 3-6 month emergency fund
- Increase retirement contributions
The Roth IRA Argument for Low-Rate Borrowers
Here is a nuance many people miss: Roth IRA contributions can be withdrawn at any time, penalty-free.
Only the earnings inside a Roth IRA are subject to early withdrawal penalties. Your contributions, the money you put in, can come back out at any time without taxes or penalties.
This means a Roth IRA functions somewhat like a savings account with a strong upside. If you contribute $5,000 to a Roth IRA and later face a financial emergency, you can withdraw that $5,000 with no consequence (though you lose the tax-free compounding on those dollars forever, so it should be a last resort).
For 2026, the IRA contribution limit is $7,500 ($8,600 if you are 50 or older). The Roth IRA income phaseout for 2026 starts at $129,000 for single filers and $242,000 for married couples filing jointly.
This flexibility makes contributing to a Roth IRA even while carrying low-rate student debt a reasonable choice. You are building tax-free wealth while retaining access to the principal if needed.
What Changed in July 2026: SAVE, RAP, and the Repayment Overhaul
The student loan repayment landscape underwent its most significant changes in a generation on July 1, 2026. Understanding these changes is essential for the invest-vs-pay-off decision.
SAVE Plan Ended
The Saving on a Valuable Education (SAVE) plan, the most generous income-driven repayment plan, officially ended. More than 7.5 million borrowers who were enrolled in SAVE received notices from their loan servicers starting July 1, 2026, giving them 90 days to select a new repayment plan. If they did not act, the Department of Education automatically enrolled them in a standard repayment plan, which typically has higher monthly payments and does not count toward PSLF in most cases.
If you were on SAVE and had a $0 monthly payment, your payment likely increased under your new plan. This directly affects how much money you have available to invest.
New Repayment Assistance Plan (RAP)
The Department of Education launched the Repayment Assistance Plan (RAP), a new income-driven repayment option. Key features:
- Payments are based on income and family size, similar to other IDR plans
- Minimum payment of $10 per month (other IDR plans allow $0 for very low-income borrowers)
- Interest subsidy: RAP waives excess interest beyond the minimum required payment
- Principal benefit: up to $50 of each payment goes toward principal even if it does not cover all interest
- For PSLF borrowers: RAP payments count toward the 120 qualifying payments for loan forgiveness
- For non-PSLF borrowers: RAP has a 30-year repayment term before forgiveness, longer than the 20-25 years under IBR or PAYE
- RAP does not cap payments for higher earners, unlike IBR and PAYE
ICR and PAYE Phasing Out by 2028
Income-Contingent Repayment (ICR) and Pay As You Earn (PAYE) are being phased out by July 1, 2028. Borrowers currently on these plans can stay on them until then but will need to switch eventually. IBR remains available, and RAP is the new default IDR option.
New Borrowing Limits
The OBBBA set a lifetime borrowing cap of $257,500 for most borrowers and eliminated new Graduate PLUS loans. This does not affect existing loans but changes the landscape for anyone considering graduate school.
How Repayment Plan Changes Affect the Invest-vs-Pay-Off Decision
If your monthly payment increased because you moved from SAVE to a standard plan or RAP, you have less discretionary income to split between loans and investing. The priority order does not change (match first, then high-interest debt, then decide), but the amounts available for each step may have shrunk.
If you are pursuing PSLF and enrolled in RAP, your strategy should be different. Making minimum payments on RAP and investing the rest is usually the right move, because every dollar you pay above the minimum is a dollar that will eventually be forgiven anyway (after 120 qualifying payments). Extra payments toward loans you expect to be forgiven are wasted money.
If you are not pursuing PSLF and your loan rate is in the gray zone (6.39% for current undergraduates), the decision comes down to your risk tolerance and time horizon.
The Emotional Component: Why Math Alone Does Not Decide This
Personal finance is personal. The mathematically optimal answer is not always the right answer for everyone.
Arguments for paying off debt faster:
- Debt creates psychological stress and anxiety for many people. Eliminating it faster has real quality-of-life benefits that numbers do not capture.
- Cash flow improves when loan payments disappear. A freed-up $300/month payment becomes an investment contribution with no lifestyle change.
- Paid-off debt is a guaranteed, risk-free return. Stock market returns are not guaranteed.
- Some people find it easier to stay motivated with a clear, concrete goal (zero debt) than an abstract one (bigger retirement account).
Arguments for investing first (at low rates):
- Time in the market is irreplaceable. A year of Roth IRA contributions at 22 is worth more than a year at 30, and you cannot go back.
- Federal student loans have protections (income-driven repayment, deferment, potential forgiveness programs) that make aggressive early payoff less compelling than with private debt.
- The longer you wait to invest, the higher the contributions you will need to reach the same endpoint.
Neither position is wrong. The key is making a deliberate choice rather than defaulting to "just pay minimums on everything and spend the rest."
A Practical Framework: The Split Approach
For most people with federal loans in the 4-7% range, a split approach works well:
Income: $3,200/month take-home (example)
| Allocation | Amount | Purpose |
|---|---|---|
| 401(k) contribution (to capture match) | $160 | Employer match capture |
| Roth IRA | $200 | Tax-free long-term wealth |
| Student loan (above minimum) | $100 | Moderate acceleration |
| Emergency fund | $150 | Building buffer |
| Living expenses + discretionary | Remainder | Everything else |
This approach builds wealth, makes more than minimum loan payments, and builds a safety net simultaneously. It does not optimize any single goal, but it advances all of them, which is more sustainable over years than a sprint in one direction.
Real-World Examples
Example: Simone, 24, graphic designer at a nonprofit, $42,000 salary, $28,000 in federal loans at 6.39%
Situation: Simone was making minimum payments on her loans and contributing nothing to retirement. She was considering whether to aggressively pay down debt first.
What she did: She contributed 4% to her 403(b) to get the employer match, opened a Roth IRA at Fidelity contributing $150/month, and continued standard payments on her loans. She enrolled in RAP and is tracking PSLF since her nonprofit employer qualifies.
Result: After 2 years, Simone had $9,200 in retirement accounts. Because she qualifies for PSLF, her 10-year loan forgiveness timeline makes aggressive prepayment unnecessary, so every extra dollar went into retirement savings instead.
Example: Tyler, 25, sales rep, $55,000 salary, $18,000 in private student loans at 9.2%
Situation: Tyler had high-rate private loans that were costing him more than his expected investment returns. He was contributing to a Roth IRA.
What he did: He paused Roth IRA contributions (but kept his 401k match), built a $1,500 emergency fund, then directed $600/month at the private loans.
Result: The 9.2% private loans were paid off in 28 months. Tyler then redirected $600/month into his Roth IRA and increased 401(k) contributions. At 27, with no private debt, his investment capacity was dramatically higher than it would have been had he invested during the payoff period.
The Summary Decision Tree
Use this to find your answer:
- Do you have an employer 401(k) match? Yes: Contribute enough to capture it, always. No: Go to step 2.
- Do you have debt above 8% APR? Yes: Pay it off before investing beyond the match. No: Go to step 3.
- Are your loans federal? Yes: Check for RAP/PSLF eligibility. If applicable, pay minimums and invest. No: Go to step 4.
- Is your loan rate below 7%? Yes: Make standard payments and prioritize investing in a Roth IRA. No: Consider the split approach.
- Are you pursuing PSLF? If yes, pay the minimum on RAP and invest everything extra.
The right answer for most young adults with standard federal student debt: capture the match, invest in a Roth IRA, and pay loans on the standard schedule. Let the math, not anxiety, drive the decision.
For more on retirement investing fundamentals, see What Is a 401(k) and How Does It Work? and Roth IRA vs. Traditional IRA: Which One Is Right for You?. If you want to model how different payoff timelines affect your budget, the budget calculator can help you see the impact.
This post is for informational purposes only and does not constitute financial advice. Student loan repayment rules changed significantly in July 2026. Verify current plan options and eligibility at [StudentAid.gov](https://studentaid.gov) or consult a qualified financial advisor for your specific situation.
Savvy Nickel Team
Financial education expert dedicated to making complex money topics simple and accessible for everyone.
Recommended Articles
401k vs Roth IRA: Which Should a 22-Year-Old Choose?
Both accounts will make you wealthy if you use them. But the order and split matters, especially when you are young, in a low tax bracket, and time is your biggest asset.
Investing on a $30,000 Salary: A Beginner's Blueprint
A $30,000 salary feels tight for investing, but the math says otherwise. Here is a realistic, step-by-step blueprint for building wealth on a modest income in your 20s.
The 5 Money Moves to Make Before You Turn 25
Your early 20s are the most financially leveraged years of your life. Here are the five moves that set up everything else, and why they compound harder now than at any other age.
Run the Numbers
Free calculators related to this article.
Debt Payoff Calculator
Compare the avalanche and snowball debt payoff methods side by side. Enter your debts, minimum payments, and extra monthly payment to see which method saves you more money and gets you debt-free faster.
Open calculator →401(k) Calculator
Project your 401(k) balance at retirement based on your salary, contribution rate, employer match, and expected returns. See how tax-deferred growth and free employer money add up over decades.
Open calculator →Auto Loan Calculator
Calculate your monthly car payment, total interest cost, and see how different loan terms affect what you pay. Enter the vehicle price, down payment, interest rate, and loan length to get the full picture.
Open calculator →Recommended Books
Related Glossary Terms
Debt
Debt is money borrowed that must be repaid, usually with interest. American households carry $18.8 trillion in debt as of 2026, spanning mortgages, credit cards, auto loans, and student loans.
Roth IRA
A Roth IRA is a tax-advantaged retirement account where contributions are made with after-tax dollars, allowing all future growth and qualified withdrawals to be completely tax-free.
IRA
An IRA is a personal tax-advantaged retirement savings account that lets individuals invest independently of their employer, with traditional IRAs offering tax-deferred growth and Roth IRAs offering tax-free growth.
Principal
Principal is the original sum of money borrowed on a loan or invested in an account, the base amount on which interest is calculated. In July 2026, a $320,000 mortgage at 6.6% generates $415,480 in total interest over 30 years.
401 K
A 401(k) plan is an employer-sponsored retirement savings account that lets employees contribute pre-tax or Roth dollars, often with an employer match, up to $24,500 in 2026 with higher limits for workers 50 and older.
401(k)
A 401(k) is an employer-sponsored retirement plan that lets you invest pre-tax dollars, reducing taxable income while building long-term wealth with potential employer matching.


