Student loans vs
investing.

READ6 min · UPDATED
Every factual claim on this page is cited to a primary source you can verify.

You have $40,000 in student loans at 6%. You also want to invest. Which wins? The math has an answer, and it's boringer than the internet makes it sound. 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.).

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 simply 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[4] .

Private loans are ordinary consumer debt with a degree attached. Treat them accordingly. Private rates commonly land in the 8 to 12%+ range[5] . 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 three main ones:

SAVE (Saving on a Valuable Education).
The newest plan, currently the target of litigation and status uncertainty[1] . Caps payments at 5 to 10% of discretionary income and waives 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 personal retirement savings account with tax advantages. Two main types: Traditional (tax now, pay later) and Roth (pay now, tax-free forever).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.

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 regardless of price, to reduce timing risk.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[2]. 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 ↗120 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) or the 10-year Standard plan.
  • Consolidating loans incorrectly, which can reset the payment count for some loan types. The 2023 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. The PSLF Servicer (currently MOHELA) 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 ICR but its status under recent rule changes is in flux ×DON'T TRUST, VERIFYClaim: Double Consolidation was a workaround to access broader IDR for Parent PLUS Loans; status is changing.Verify at: studentaid.gov ↗Department 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 matchFree money your employer adds to your 401k when you contribute. Not capturing the full match leaves guaranteed returns behind.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 $25K in retirement accounts, $6K in BTCBitcoin (BTC)The ticker symbol for Bitcoin, used on exchanges and in price quotes.Full definition, $24K loan balance (down from $40K), and habits that compound for 30 years. Not dramatic. That's the point.

SOURCES
  1. U.S. Department of Education, Federal Student Aid (SAVE plan status), studentaid.gov
  2. PSLF Help Tool and employer certification requirements, studentaid.gov/pslf
  3. IRS Contribution Limits for IRAs, irs.gov
  4. Federal student loan interest rates, Federal Student Aid, studentaid.gov/understand-aid/types/loans/interest-rates
  5. Private student loan rate surveys, NerdWallet and Bankrate, nerdwallet.com, bankrate.com

Last updated 2026-04-14. Not financial advice. Do your own research.

Subscribe via RSS for new articles.