Independent 529 education savings resource. Not affiliated with any 529 plan provider, state program, or financial institution.
529Calc
Yes, with conditionsVerified July 2026

Can I Use a 529 to Pay Off Student Loans?

Before 2019, 529 funds could not be used to repay student loans - graduation ended the qualified-expense window. The SECURE Act changed this, adding a $10,000 lifetime cap per beneficiary for student loan repayment, plus a separate $10,000 cap per sibling. Small in the context of graduate-school debt, but useful for cleaning up an undergraduate balance.

The short answer

Up to $10,000 lifetime per beneficiary can be withdrawn to repay student loans.

IRC 529(c)(9), added by the SECURE Act (Pub. L. 116-94, 2019), permits qualified 529 withdrawals for principal and interest payments on 'qualified education loans' of the beneficiary. The $10,000 cap is per beneficiary lifetime, not per year. A separate $10,000 lifetime cap applies to each of the beneficiary's siblings, so a family with three children could technically clear $30,000 of undergraduate debt across siblings.

What has to be true

  • The loan being repaid must be a 'qualified education loan' as defined by IRC 221(d) - basically any federal or private student loan taken out solely for higher education expenses.
  • The lifetime cap is $10,000 per beneficiary total, across all withdrawals for loan repayment.
  • Payments can be applied to the beneficiary's own loans, or to the qualified education loans of a sibling (each sibling has their own separate $10,000 cap).

The catches

  • Interest paid with 529 funds is not deductible on your tax return - you cannot take both the 529 tax-free treatment and the student loan interest deduction on the same dollars.
  • The $10,000 is a lifetime cap, not annual. Using $6,000 in year one leaves only $4,000 for future years.
  • Loans that were not originally 'qualified education loans' (personal loans re-purposed for tuition) do not qualify.

Real examples

Qualifies

  • $10,000 lump sum from a 529 to pay down a federal Stafford loan - qualified, uses the full lifetime cap.
  • $3,000/year for 3 years applied to a graduate PLUS loan - qualified as long as total stays $10,000 or under.
  • $10,000 from the same 529 applied to a sibling's federal loan - qualified as a separate lifetime cap for the sibling.

Does not qualify

  • $15,000 applied to loan repayment - only $10,000 is qualified; the extra $5,000 is a non-qualified withdrawal.
  • Personal loan taken out to pay tuition - not a 'qualified education loan' under IRC 221(d), does not qualify.
  • Second $10,000 for the same beneficiary in a later year - not qualified; the cap is lifetime.

Common questions

Can I use both the $10,000 loan repayment and the $35,000 Roth rollover?+

Yes. They are separate provisions and do not interact. A beneficiary with $50,000 of unused 529 funds could clear $10,000 of student loans, roll $35,000 to a Roth IRA over several years, and still have $5,000 in the 529 for future use.

Which loan gets paid first, principal or interest?+

The lender's normal allocation rules apply - most federal loans apply payments first to accrued interest, then to principal. The 529 does not change this; it just makes the payment tax-free from your side.

What if I have Parent PLUS loans?+

Parent PLUS loans are qualified education loans, but repaying them from a 529 is trickier. The parent is the borrower, not the beneficiary. IRS guidance is that the 529 owner (usually the same parent) can use the beneficiary's $10,000 cap for Parent PLUS repayment, but keep records showing the loan was originally for that beneficiary's education.

Sources

  • SECURE Act (Pub. L. 116-94), section 302.
  • IRC 529(c)(9) and IRC 221(d).
  • IRS Publication 970 (2025), Chapter 8.

Last verified July 2026 (2026-07-16). Educational only, not tax advice. Consult a tax professional before making a 529 withdrawal.

Updated 2026-07-16