Student loans vs
investing.

READ7 min·UPDATED·APPLIES TOUnited States·LEVELBeginner
For people with student loans deciding whether to invest or pay down debt. Sources are listed at the bottom of the page; check their dates before acting.

With $40,000 in student loans at 6%, compare the cost of the debt with the return you expect from investing. See also: New Graduate and Early Career playbooks, plus tax strategy.

This page covers US-specific accounts and tax law. Outside the US? The priority order is the same, the account names differ (ISAIndividual Savings Account (ISA)A UK tax-advantaged account where contributions are post-tax but all growth and withdrawals are tax-free.Full definition in the UK, TFSATax-Free Savings Account (TFSA)A Canadian tax-advantaged account where contributions are post-tax but all growth and withdrawals are tax-free.Full definition/RRSPRegistered Retirement Savings Plan (RRSP)A Canadian tax-deferred retirement account; contributions reduce taxable income and growth is tax-deferred until withdrawal.Full definition in Canada, Super in Australia, etc.).

Check before acting. Rules described here reflect the law as of the update date above. Check for later changes before you act.

This page applies the pay-off-or-invest decision to student loans specifically. For the general rate breakpoint across all debt types, see Pay Off Debt or Invest?; to start with any kind of debt, see You Have Debt: The Payoff Order.

Short answer

If your loan rate is above 7%, including private loans, pay it off aggressively: a guaranteed return is hard to beat. Below about 5%, once you have the 401(k) match, a 3-month emergency fund and a maxed Roth IRA ($7,500 in 2026), pay the minimums and invest the rest. If you work in public service, check PSLF with the studentaid.gov Help Tool.

On this page
  1. The math
  2. Federal vs private loans
  3. Income-Driven Repayment (IDR)
  4. The Order of Operations, applied
  5. Can you buy Bitcoin while carrying student loans?
  6. PSLF (Public Service Loan Forgiveness)
  7. PSLF step by step
  8. Parent PLUS Loans: the warning
  9. Sample 5-year plan

The math

Every dollar that pays down a loan at 6% earns you a guaranteed 6% return, before taxes. Every dollar invested in stocks returns an expected ~7% long-term, but with volatility and no guarantee.

The simple rule: if your loan rate is below your expected investment return after tax, investing usually wins long-term. If your loan rate is above 7%, pay it off aggressively. A guaranteed return is hard to beat.

A 6% loan and a 6% investment return are not the same. The loan is guaranteed. The return is not.

Federal vs private loans

Federal student loans come with protections private loans do not. Income-driven repayment plans, forbearance, deferment, interest-rate caps, and loan forgiveness options all apply only to federal debt. Federal rates for undergraduate, graduate, and PLUS loans typically fall in the 5 to 8% range[1] .

Private loans are ordinary consumer debt with a degree attached. Treat them accordingly. Private rates commonly land in the 8 to 12%+ range[2] . If you have private loans above 7%, they belong ahead of investing in the queue.

Income-Driven Repayment (IDR)

IDRIncome-Driven Repayment (IDR)A federal student loan repayment plan that caps monthly payments at a percentage of your income. plans cap your monthly payment as a percentage of discretionary income. The newest is the Repayment Assistance Plan (RAP), launched July 1, 2026: 1 to 10% of AGI with a $10 minimum, forgiveness after 30 years, and the only IDR option for loans made on or after that date. The older main ones:

SAVE (Saving on a Valuable Education).
The newest plan before RAP; a court order ended it in March 2026 and it takes no new enrollments[3] . It capped payments at 5 to 10% of discretionary income and waived unpaid interest.
PAYE / IBR.
Caps monthly payments at 10% of discretionary income. Forgiveness after 20 to 25 years. The forgiven amount may be taxable.

Check studentaid.gov for current plan availability and terms.

The Order of Operations, applied

If you carry student loans, here's how to sequence your paycheck:

1
Employer 401(k) match.
Free money. Never skip. Typically 3 to 6% of salary.
2
High-rate debt (credit cards, private loans >7%).
Kill this first. It's draining your income.
3
3-month emergency fund in an HYSA.
Insulates you from forbearance-triggering life events.
4
Roth IRAIndividual Retirement Account (IRA)A retirement account with tax advantages and eligibility rules. Traditional IRA contributions may be deductible; taxable withdrawals generally enter income. Roth contributions use after-tax money, and qualified Roth withdrawals are tax-free.Full definition to the cap ($7,500 in 2026).
Tax-free growth for decades.
5
Low-rate federal loans + taxable investing, in parallel.
Once loan rates are below ~5%, paying minimums while investing the rest usually produces higher net worthnet worthEverything you own (assets) minus everything you owe (debts). The most comprehensive measure of financial health.Full definition long-term.
Pay it off or invest? The loan rate decides
What to doby loan rate
Minimums + invest~5%Weigh7%Pay off first
Federal loanstypically 5 to 8%
Sample: $40K at 6%
Private loanscommonly 8 to 12%+
0%6%12%
Between 5 and 7%, weigh the guaranteed loan rate against the expected investment return after tax (~7% for stocks, not guaranteed). The sample plan ($40K at 6%) does both: loan minimum plus investing from year 1, then $200/mo of extra principal from year 3.
On track for PSLF? It forgives the remaining federal balance, so check the PSLF section below before paying extra.
Above 7%, pay the loan off aggressively, as step 2 does for private loans right after the employer match; below about 5%, step 5 pays minimums and invests the rest. Private loans commonly sit above 7%, while federal loans typically straddle the 7% line.

Can you buy Bitcoin while carrying student loans?

Short answer: if your federal loan rate is below 5%, and you've already cleared steps 1 to 4 above, yes. 1 to 5% of your paycheck into Bitcoin DCADollar-cost averaging (DCA)Investing a fixed amount on a regular schedule, such as $50 every payday, regardless of price. It spreads out when money enters the market and buys more units when prices are low, but it does not guarantee a better price than investing all at once, a profit or protection against loss.Full definition does not meaningfully slow your loan payoff and builds a long-term position while you are young enough for time to compound.

If your loan rate is above 7%, nuke the loan first. A guaranteed 7% is very hard to beat and it frees cash flowcash flowMoney coming in minus money going out over a month or year. A positive number means you earn more than you spend; negative means the opposite.Full definition permanently once it's gone.

PSLF (Public Service Loan Forgiveness)

If you work for the government, a 501(c)(3) nonprofit, or a qualifying educational institution, PSLFPublic Service Loan Forgiveness (PSLF)A federal program that forgives remaining student loan balances after 10 years of qualifying payments while working for a government or nonprofit. forgives your remaining federal student loan balance after 120 qualifying monthly payments (10 years) on an IDR plan[4]. Employer certification is required.

Teachers, social workers, public defenders, city employees, hospital nurses in nonprofit systems. This is the single biggest loan-math lever in the U.S. system and millions don't use it because the paperwork is brutal. If you might qualify, use the PSLF Help Tool on studentaid.gov.

The tax-free forgiveness on PSLF (unlike IDR forgiveness) makes the math dramatic. A teacher who makes $55K and qualifies can see $30K+ erased, tax-free.

PSLF step by step

Public Service Loan Forgiveness (PSLF) discharges remaining federal student-loan balance after 120 qualifying payments while working full-time for a qualifying employer ×DON'T TRUST, VERIFYClaim: PSLF requires 120 qualifying payments while employed full-time at a qualifying employer.Verify at: studentaid.gov PSLF page ↗ Source 5 in the list below120 monthly payments equals 10 years; payments must be on an Income-Driven Repayment plan (or the 10-year Standard plan).. Forgiveness is tax-free at the federal level.

Who qualifies

  • Federal government agencies (federal, state, local, tribal)
  • Public schools, public universities, and public hospitals
  • Nonprofit 501(c)(3) organizations
  • Some other not-for-profit organizations that provide qualifying public services

The certification process

Submit the Employment Certification Form (ECF) annually. Do not wait until year 10 to discover that an employer was not qualifying or a payment plan did not count. The PSLF Help Tool at studentaid.gov is the official lookup; results are tied to your specific FEIN.

Common PSLF mistakes

  • Being on the wrong repayment plan. Must be an Income-Driven Repayment (IBR, PAYE, SAVE, ICR, RAP) or the 10-year Standard plan.
  • Consolidating loans incorrectly, which can reset the payment count for some loan types. The 2021-2022 Limited PSLF Waiver fixed many cases retroactively, but new consolidations after the waiver should be done deliberately.
  • Working for an employer that seems nonprofit but does not qualify (some public-benefit corporations, certain religious organizations).
  • Not submitting ECF annually. Federal Student Aid (via StudentAid.gov) cannot count your progress without certification.

See the student loan IDR comparison tool for monthly-payment math under each plan, and consult the official PSLF page for the most current rules.

Parent PLUS Loans: the warning

Parent PLUS Loans are among the most dangerous financial products in the federal student-loan system. They have:

  • No standard income-driven repayment options. The Double Consolidation workaround historically allowed access to IBR, PAYE and SAVE, but it closed for consolidations made on or after July 1, 2025 ×DON'T TRUST, VERIFYClaim: Double Consolidation was a workaround to access broader IDR for Parent PLUS Loans; status is changing.Verify at: studentaid.gov ↗ Source 3 in the list belowDepartment of Education has tightened Double Consolidation rules; check current status before relying on it..
  • No borrowing limits beyond cost of attendance, so a parent can borrow $40k-$80k per year for a single child.
  • Parents take on debt at the peak of their earning years and closest to retirement, with no income-protection safety net.
  • Default consequences include garnished Social Security benefits in retirement.
THE RULE

Before taking any Parent PLUS Loan: confirm the student has exhausted all federal student-loan eligibility in their own name (Direct Subsidized and Unsubsidized Loans). Then model the monthly payment against your current income and years to retirement. If the payment plus your other obligations exceeds 30% of pre-tax income, the loan is too large. The student's career prospects and ability to contribute to repayment cannot be a substitute for your own analysis.

Sample 5-year plan

Take-home: $72,000. Student loans: $40,000 at 6% federal. No other debt.

YEARS 1-2
Lock the foundation
  • 401(k) to employer matchemployer matchAn employer contribution linked to qualifying employee contributions under a plan formula. Eligibility, vesting and plan terms determine what you receive and keep. The match ratio is not an annual investment return, and the invested balance can fall.Full definition (~$2,100)
  • $5,000 emergency fund in HYSA
  • Loan minimum (~$450/mo standard)
  • Roth IRA $3,500/yr
YEARS 3-5
Add growth
  • Same 401(k) match and loan minimum
  • Roth IRA maxed ($7,500/yr)
  • $100/mo Bitcoin DCA
  • Extra $200/mo at loan principal

End of Year 5: roughly $45K in retirement accounts, $6K in BTCBitcoin (BTC)The ticker symbol for Bitcoin, used on exchanges and in price quotes.Full definition, $15K loan balance (down from $40K), and habits that compound for 30 years. Not dramatic. That's the point.

Where to go from here

Do next

Order of Operations

See exactly where student loan payoff fits versus the rest of your paycheck priorities.

Read next

Bitcoin For Beginners

Once the debt sequencing is settled, the natural next step for building the rest of the plan.

Explore further

Sources

Bracketed numbers and verify badges in the text link to these sources. Figures, rates and rules change: check each source’s date before acting on it.

  1. Federal student loan interest rates, Federal Student Aid, studentaid.gov/understand-aid/types/loans/interest-rates ↩
  2. Private student loan rate surveys, NerdWallet and Bankrate, nerdwallet.com, bankrate.com ↩
  3. U.S. Department of Education, Federal Student Aid (SAVE plan status), studentaid.gov ↩
  4. PSLF Help Tool and employer certification requirements, studentaid.gov/pslf ↩
  5. studentaid.gov PSLF page ↩
  6. Internal Revenue Service, Retirement topics - IRA contribution limits
  7. Bankrate, Best student loan rates in September 2026 | Bankrate

Last updated . Not financial advice. Do your own research. Disclosures · How pages are reviewed

Subscribe via RSS for new articles.