Can a 529 Plan Be Applied to a Student Loan?

Finding the money to pay down student loans—let alone pay for school—is a struggle for many new graduates who are just starting out in the workforce. 529 plans not only helps people save for tuition and other expenses tax-free, but it also helps them pay a portion of their student loans—or those of their beneficiaries—without facing any penalties.

Key Takeaways

  • 529 plans are tax-advantaged savings plans originally designed to cover the costs of post-secondary education of the plan holder's beneficiary.
  • The Tax Cuts and Jobs Act (TCJA), signed in 2017, expanded coverage to include qualified tuition expenses for K–12 education.
  • Under the SECURE Act of 2019, plan holders can use 529 plans to pay for tuition and qualified expenses of apprenticeship programs and can withdraw a lifetime maximum of $10,000 per beneficiary to pay down student loan debt.

The Basics of the 529 Plan

Created in the 1990s as a way to help people pay for the costs associated with post-secondary education, 529 plans are tax-advantaged savings plans. The plans let people grow savings for a beneficiary—a child, grandchild, or spouse. The plan also allows people to save for themselves.

There are two types of 529 plans—prepaid tuition plans and savings plans. Prepaid tuition plans give plan holders the ability to prepay tuition and other fees for the beneficiary, provided the payments are for a specified institution. Savings plans, on the other hand, resemble individual retirement accounts (IRAs) in that they are tax-advantaged plans.

Plan rules were laid out in Section 529 of the Internal Revenue Code (IRC). For instance, withdrawals from 529 plans were 100% free of federal taxes if they were used to cover qualified education expenses such as tuition and fees, or room and board.

H.R. 529

In January 2017, House members Lynn Jenkins (R-Kan.) and Ron Kind (D-Wis.) introduced H.R. 529, also dubbed the 529 and ABLE Account Improvement Act of 2017. The bill was primarily designed to encourage employers to contribute funds to 529 plans on behalf of employees via a tax incentive. Up to $100 in employer contributions to these accounts were excluded from taxes. Small businesses that made 529 plan contributions also got a tax credit to help with the cost of setting up payroll deductions for these accounts.

The legislation also benefitted savers by removing penalties for using 529 funds to pay off student loans. Taxpayers who used 529 plan money for anything other than qualified education expenses were subject to a 10% federal tax penalty. Any distribution of earnings was considered taxable income, which could drive the saver's tax liability even higher.

The bill was considered a boon for families with leftover 529 plan money who want to avoid a tax penalty for making non-qualified distributions. The Internal Revenue Service (IRS) did allow accounts to be transferred from one beneficiary to another in the past, but if there are no other students in a family that can use the money, the account owner must either leave the fund unused or accept the tax liability.

Changes to 529 Plans

There have been several changes to how plan holders can use 529 plans as of 2017, with the Tax Cuts and Jobs Act (TCJA) and the passing of the Setting Every Community Up for Retirement Enhancement (SECURE) Act in 2019. President Donald Trump signed both laws.

More recently, President Joe Biden signed the SECURE 2.0 Act of 2022. This further expanded the functionality of 529 plans. Now, up to $35,000 of the balance may be transferred into a Roth IRA in the account beneficiary's name. The account must be open for 15 years to qualify, and the transfers must be made following annual contribution limits for Roth IRAs, so it may take several years to reach the $35,000 lifetime maximum.

The TCJA changed how 529 plans could be used, increasing some benefits. The primary change expanded coverage beyond post-secondary education to include a maximum of $10,000 in annual tuition expenses per student for K–12 education at a public, private, or religious school. Other expenses do not qualify, and distributions made to cover additional educational costs would be considered gross income.

Additional changes were made to the plans after the U.S. House of Representatives passed the SECURE Act, which was signed on Dec. 20, 2019. Under Section 302 of the act, plan holders can now:

  • Use their 529 accounts to cover expenses related to any registered apprenticeship program attended by the beneficiary. This includes any additional costs like fees, equipment, books, and other supplies.
  • Withdraw up to $10,000 from their plan to pay down qualified student loans penalty-free—with conditions. The first is that the $10,000 maximum is a lifetime limit for a beneficiary and each sibling. This means a family with two children can take out a maximum of $20,000 to pay down their student loans. Secondly, plan holders cannot claim any student loan interest deductions paid with this money.


The maximum lifetime limit a plan holder can withdraw from a 529 plan to pay down a beneficiary's qualified student loan.

Can a 529 Plan Be Applied to a Student Loan?

Investopedia / Michela Buttignol

Can I Use a 529 to Pay for Private Student Loans?

Yes. The SECURE Act allows funds to be used to pay off both federal and private student loans. However, the funds may not be used for other types of consumer loans, such as personal loans or credit cards.

Do I Have to Change the Name of the Beneficiary to Pay Off a Sibling's Loan?

No. Under the new provision, up to $10,000 of the 529 may be used to pay off student loans borrowed by the beneficiary and their siblings, without changing the beneficiary name.

Do I Have to Pay State Taxes on the Money Withdrawn From My 529 to Pay My Student Loans?

Since the SECURE Act is a federal law, states may do what they wish regarding taxes. Unfortunately, some states levy state income taxes on money withdrawn from a 529 to pay off student debt. Check with your state to see if taxes may apply.

The Bottom Line

Student loan debt remains one of the biggest sources of consumer debt in the country. Although people with education debt have been limited to exploring existing avenues for managing their loans, there is a little relief. Since the passing of the SECURE Act, 529 plan holders are able to withdraw up to $10,000 tax-free to put toward their own student loan debt or that of their children, grandchildren, or spouses. As with any other financial product, it's a good idea to check with your plan administrator for full details on how this works.

Article Sources
Investopedia requires writers to use primary sources to support their work. These include white papers, government data, original reporting, and interviews with industry experts. We also reference original research from other reputable publishers where appropriate. You can learn more about the standards we follow in producing accurate, unbiased content in our editorial policy.
  1. Internal Revenue Service. "Topic No. 313 Qualified Tuition Programs (QTPs)."

  2. United States Congress. "H.R.2014 - Taxpayer Relief Act of 1997."

  3. United States Congress. "H.R.3448 - Small Business Job Protection Act of 1996."

  4. U.S. Government Publishing Office. "§ 529. Qualified tuition programs," Pages 1,524–1,526.

  5. U.S. Securities and Exchange Commission. "An Introduction to 529 Plans."

  6. United States Congress. "Cosponsors: H.R.529 — 115th Congress (2017-2018)."

  7. United States Congress. "H.R.529 - 529 and ABLE Account Improvement Act of 2017."

  8. Internal Revenue Service. "Guidance on Recontributions, Rollovers and Qualified Higher Education Expenses under Section 529," Page 2.

  9. United States Congress. "H.R.1994 - Setting Every Community Up for Retirement Enhancement Act of 2019."

  10. United States Congress. "H.R.1 - An Act to Provide for Reconciliation Pursuant to Titles II and V of the Concurrent Resolution on the Budget for Fiscal Year 2018."

  11. United States Congress. "Actions Overview H.R.1865 — 116th Congress (2019-2020)."

  12. United States Congress. "Actions Overview H.R.1 — 115th Congress (2017-2018)."

  13. U.S. Senate. "SECURE 2.0 Act of 2022." Page 6.

  14. Education Loan Finance. "Can You Use A 529 Plan To Pay Student Loan Debt?"

Take the Next Step to Invest
The offers that appear in this table are from partnerships from which Investopedia receives compensation. This compensation may impact how and where listings appear. Investopedia does not include all offers available in the marketplace.