Does paying off student loans early pay over investing?

See whether putting extra monthly cash toward your student loan balance beats investing that cash in the market after accounting for the student loan interest tax deduction and capital gains taxes.

Loan interest saved
$6,435
63 months shaved off loan
Example calculationNo, investing wins

Investing $300/mo ends $1,649 ahead in after-tax wealth at month 120, even though extra loan payments would save $6,435 in interest and clear the debt 63 months sooner.

After-tax loan APR
5.09%
vs 6.38% after-tax return
Debt-free in
57 mos
down from 120 mos
Net wealth difference
-$1,649
payoff vs invest wealth at mo 120

Side-by-side breakdown

Pay off student loan early versus invest extra monthly cash
MetricPay off loan earlyInvest extra monthly
Monthly payment toward student loan$664$364
Months until student loan is $057 mos120 mos
Total student loan interest paid$5,207$11,642
After-tax wealth at month 120$51,684$53,333

Sensitivity to investment return

How after-tax wealth at the original loan payoff date shifts with market returns:

Net wealth across expected annual investment returns
Annual returnPayoff-first wealthInvest-first wealthPayoff net advantage
5.5%$49,311$48,636+$676
6.5%$50,477$50,904-$427
7.5% (yours)$51,684$53,333-$1,649
8.5%$52,935$55,936-$3,002
9.5%$54,230$58,727-$4,496

Frequently asked questions

What student loan interest rate is high enough to prioritize paying off early?

As a rule of thumb, student loans above 6% APR offer a guaranteed, risk-free return that is hard to beat in a taxable brokerage account after capital gains taxes. Loans below 4.5% APR usually favor investing once you have an emergency fund and full 401(k) match.

Should I get my employer 401(k) match before paying extra on student loans?

Yes. An employer 401(k) match is an immediate 50% to 100% return on your contribution, which beats any student loan interest rate. Always capture the full employer match before making extra student loan principal payments.

How does the IRS student loan interest deduction change the math?

If your modified adjusted gross income is below the IRS phase-out limit, you can deduct up to $2,500 of student loan interest each year even without itemizing. At a 22% marginal tax rate, that reduces a 6.5% interest rate to roughly 5.1% after tax on the covered interest.

What happens after the student loan is paid off early in this calculator?

To keep total monthly cash outflow identical between both choices, once the accelerated loan reaches $0, the calculator redirects your entire former loan payment plus the extra monthly amount into investments for the remaining months. The verdict compares after-tax wealth on both paths at the end of the original loan term; a difference within $500 or 1% of the larger total, whichever is more, is called a close call.

Benchmark sources and dates

Starting assumptions are example benchmarks, not binding quotes. Change any input to match your own bills or offers.

Assumption / InputStarting valueSourceChecked
Student loan balance$32,000Federal Student Aid Data Center Portfolio Summary2026-10-12
Student loan interest rate6.52%Federal Student Aid Interest Rates and Fees; FSA Partners electronic announcement of 2026-06-042026-10-16
Student loan interest tax deductionUp to $2,500/yrInternal Revenue Service Topic No. 456 Student Loan Interest Deduction2026-10-16
Expected investment return7.5%S&P Dow Jones Indices U.S. Equities Benchmark2026-10-12