Student loans vs
investing.
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.
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
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:
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:
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 verify×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 verify×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.
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.
- 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
- 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
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.
- Federal student loan interest rates, Federal Student Aid, studentaid.gov/understand-aid/types/loans/interest-rates ↩
- Private student loan rate surveys, NerdWallet and Bankrate, nerdwallet.com, bankrate.com ↩
- U.S. Department of Education, Federal Student Aid (SAVE plan status), studentaid.gov ↩
- PSLF Help Tool and employer certification requirements, studentaid.gov/pslf ↩
- studentaid.gov PSLF page ↩
- Internal Revenue Service, Retirement topics - IRA contribution limits
- Bankrate, Best student loan rates in September 2026 | Bankrate
Last updated . Not financial advice. Do your own research. Disclosures · How pages are reviewed