What a 529 can and cannot do for student loans

A 529 plan is a tax-advantaged savings account designed to pay education expenses. For decades, you could only use it for tuition, fees, room and board, and books. Student loan repayment was off-limits, and withdrawing money for any other purpose meant taxes plus a 10% penalty on the earnings.

That changed in 2024. The SECURE Act 2.0, passed in late 2022, created a new option: you can now roll unused 529 money into a Roth IRA in the account owner's name, and that Roth IRA can then be used to pay student loans. This is not a direct payment from the 529 to a loan servicer. It is a workaround that lets you move money from one account type to another, with specific rules about how much and whose loans you can cover.

The rules are narrow, and the strategy only works if you have unused 529 money left over after education is paid for. If you are looking to pay current student loans with a 529 that is still being used for tuition or other school costs, this option does not apply to you.

Key Takeaways

  • You cannot pay student loans directly from a 529 plan, but you can roll unused 529 money into a Roth IRA starting in 2024, and that Roth IRA can then be used for loan repayment.
  • The rollover is limited to $35,000 per beneficiary over a lifetime, and the 529 account must have been open for at least 15 years.
  • Only the account owner (usually a parent) can roll money into their own Roth IRA; a student cannot roll a parent-owned 529 into their own retirement account.
  • Money rolled into a Roth IRA counts toward that year's contribution limit, so you may not be able to roll the full $35,000 in a single year.
  • This strategy only makes sense if you have 529 money left over after paying all education expenses and do not need it for future education costs.

How the 529-to-Roth rollover actually works

The process has three parts: the 529 account must meet age and timing requirements, the rollover itself must follow IRS rules, and the money must then sit in the Roth IRA before it can be used for loans.

First, the 529 account must have been open for at least 15 years. If you opened a 529 for your child in 2010, you can start rolling money over in 2025. If you opened one in 2020, you cannot roll anything over until 2035. This rule is meant to prevent people from opening a 529, immediately funding it, and then moving the money to a Roth IRA as a backdoor retirement contribution.

Second, the rollover amount counts toward the Roth IRA contribution limit for that year. In 2024, the Roth IRA contribution limit is $7,000 for most people (or $8,000 if you are 50 or older). If you roll $10,000 from a 529 to a Roth IRA, you have used up your entire contribution room for the year and can only add $0 more to any Roth IRA you own. You can roll more in future years, up to the $35,000 lifetime cap per beneficiary, but you are limited by the annual contribution ceiling each time.

Third, the money sits in the Roth IRA as a regular contribution. You can withdraw it at any time without penalty to pay student loans — either your own loans or loans for a spouse or dependent. The withdrawal does not trigger taxes because Roth contributions are made with after-tax dollars.

Who can use this strategy and whose loans it covers

The account owner — usually a parent — is the person who can roll money into a Roth IRA and later withdraw it for loans. If your parents opened and funded a 529 for you, they are the ones who can set up the Roth rollover. You, as the beneficiary, cannot roll the 529 into your own Roth IRA.

Once the money is in the parent's Roth IRA, it can be withdrawn to pay student loans for the parent themselves, their spouse, or any of their dependents. This means a parent could roll 529 money into a Roth and then use it to pay loans for multiple children, as long as each child was a beneficiary of that same 529 account at some point.

If you are a student and you own your own 529 account (which is rare but possible), you can roll it into your own Roth IRA and use it for your own loans. But most 529 accounts are parent-owned, which means the parent controls the rollover decision.

The $35,000 lifetime limit and how it works

You can roll a maximum of $35,000 per beneficiary from a 529 into a Roth IRA over your lifetime. This is not $35,000 per year — it is $35,000 total, ever, for each person who was named as a beneficiary on the 529.

If a 529 account had two beneficiaries over its lifetime (for example, you named your daughter as the beneficiary for 10 years, then changed it to your son), each child has their own $35,000 limit. You could roll up to $35,000 from the daughter's portion and up to $35,000 from the son's portion.

The $35,000 limit applies to the total amount rolled, not to the number of rollovers. You could roll $7,000 in 2025, $8,000 in 2026, and $10,000 in 2027, and you would have $25,000 of your $35,000 limit remaining. Once you hit $35,000, you cannot roll any more 529 money into a Roth for that beneficiary.

When this strategy makes financial sense

The 529-to-Roth rollover is only useful if you have money left in the 529 after education is finished and you do not plan to use it for future education costs. If your child finished college and you have $20,000 sitting in the account, rolling it to a Roth IRA lets that money grow tax-free for retirement instead of sitting idle or being withdrawn and taxed.

It does not make sense if you still have younger children who will use the 529 for their education, or if you think the beneficiary might go back to school. Once money is rolled into a Roth IRA, it is no longer in the 529, and you cannot move it back. If you roll $15,000 and then your child decides to pursue a graduate degree, you have lost the chance to use that $15,000 for tuition.

The strategy also only saves money if you would otherwise withdraw the 529 and pay taxes on the earnings. If you have $50,000 in a 529 and only $10,000 of that is earnings, rolling $35,000 into a Roth means you avoid taxes on roughly $7,000 of earnings (the portion of the rollover that represents gains). That is real money saved, but it is not a windfall — it depends on how much the account has grown.

Other ways to use leftover 529 money

Rolling to a Roth IRA is not your only option for 529 money that is no longer needed for education. You can also change the beneficiary to another family member — a sibling, cousin, niece, or nephew — and use the money for their education instead. This does not trigger any taxes or penalties as long as the new beneficiary is a family member.

You can also simply withdraw the money and pay taxes on the earnings portion plus the 10% penalty. If you have $30,000 in the account and $5,000 of that is earnings, you would owe income tax on the $5,000 plus a $500 penalty. The principal ($25,000) comes out tax-free. This is not ideal, but it is an option if you do not have a use for the Roth IRA rollover.

Starting in 2024, you can also roll unused 529 money into a ABLE account if the beneficiary is disabled or blind. ABLE accounts are tax-advantaged savings accounts for people with disabilities, and they have higher contribution limits than 529 plans. This is a separate path from the Roth IRA rollover and has its own rules.

Frequently Asked Questions

Can I use a 529 to pay my student loans right now?

Not directly. You can only roll unused 529 money into a Roth IRA if the account has been open for at least 15 years. If your 529 is newer, you will have to wait. If your 529 is old enough, you can roll money over, but it takes time to set up the Roth IRA and complete the rollover process.

What happens if I roll 529 money into a Roth and then need it for tuition?

Once money is in a Roth IRA, it is no longer in the 529. You can withdraw it, but you cannot put it back into the 529. If you think there is any chance the beneficiary will need money for education, do not roll it over yet.

Can my child roll their own 529 into a Roth IRA?

Only if they own the 529 account themselves, which is uncommon. Most 529 accounts are owned by parents, and only the account owner can set up the Roth rollover. A student cannot roll a parent-owned 529 into their own Roth IRA.

Does the $35,000 rollover limit apply to each child or to the total?

It applies to each beneficiary. If you have two children and each was a beneficiary of the same 529 at different times, you can roll up to $35,000 for each child. If both children were beneficiaries at the same time, the $35,000 is split between them.

Can I roll 529 money into a Roth IRA if I already maxed out my Roth contribution for the year?

No. The rollover counts toward your annual Roth IRA contribution limit. If you have already contributed $7,000 to a Roth in 2024, you cannot roll any 529 money over until 2025. You can roll the full amount in future years as long as you stay within the annual limit.