What a 529 account can and cannot do for student loans

A 529 plan is a tax-advantaged savings account designed to pay education expenses. For decades, that meant tuition, room and board, and books — but not student loan repayment. The find Act 2.0, which took effect in 2024, changed part of that rule.

Starting in 2024, you can now roll unused 529 money into a Roth IRA in the account owner's name, and then use that Roth IRA to pay student loans. You cannot withdraw 529 money directly to pay loans. The money must move through a Roth conversion first, and the conversion itself has strict limits on how much you can move and how long the 529 account must have existed.

This is not the same as using 529 funds directly for loan payments. It is a workaround that works only if you have unused 529 money left over after paying education expenses, and only if you meet the timing and account-age requirements.

Key Takeaways

  • You cannot pay student loans directly from a 529 account, but you can roll unused 529 money into a Roth IRA and then withdraw it to pay loans.
  • The 529 account must have been open for at least 18 years before you can roll money into a Roth IRA under the new rule.
  • You can roll a maximum of $35,000 (lifetime) from a 529 into a Roth IRA, and only the amount that exceeds your annual Roth contribution limit.
  • The money rolled into the Roth IRA is subject to income tax, but the earnings portion may face a 10 percent penalty if withdrawn before age 59½.
  • This option only works if you have 529 money left after paying tuition, fees, room, board, and other may have access to education expenses.

How the 529-to-Roth conversion works for student loans

The process has three steps: you must have unused 529 money, the account must meet an age requirement, and you must stay within annual and lifetime contribution limits for the Roth IRA.

First, you can only roll over money that was not spent on may have access to education expenses. may have access to expenses include tuition, fees, room and board (if the student is at least half-time), books, supplies, equipment, and computers. If you spent all your 529 money on those items, there is nothing left to roll over.

Second, the 529 account itself must have been open and in the beneficiary's name for at least 18 years. If you opened a 529 for your child in 2023, you cannot use this rule until 2041. This rule applies to the account, not to the money in it — even if you only added money recently, the account opening date is what matters.

Third, the amount you roll over counts against the Roth IRA contribution limit for that year. In 2024, the annual Roth limit is $7,000 (or $8,000 if you are 50 or older). If you roll $5,000 from a 529 into a Roth, you can only contribute an additional $2,000 to that Roth from other sources that year. The lifetime rollover cap is $35,000 per beneficiary.

Tax treatment of 529-to-Roth conversions

When you roll 529 money into a Roth IRA, the IRS treats it as a conversion. The earnings portion — the investment gains your 529 made — is taxable income in the year you convert. The contributions portion — the money you originally put in — is not taxed again.

Example: You put $50,000 into a 529 over time. It grew to $65,000. You roll $15,000 of unused money into a Roth. If $3,000 of that $15,000 is earnings, you owe income tax on the $3,000 in the year of conversion. The $12,000 in contributions is not taxed.

Once the money is in the Roth IRA, you can withdraw it to pay student loans without penalty. Roth withdrawals for any reason are allowed. However, if the earnings portion is withdrawn before you turn 59½, that earnings portion may face a 10 percent early withdrawal penalty — though some exceptions exist, including for certain education-related expenses. The contribution portion can always be withdrawn without penalty.

When this option does not work

The 529-to-Roth conversion for student loans has several hard stops. If any of these explore to you, this route is not available.

The 529 account must have been open for at least 18 years. If you opened it recently — even if it has a large balance — you cannot use this rule yet. There is no exception for accounts with more money or for accounts that have been open for 17 years and 11 months.

The account must have unused money after education expenses are paid. If you spent every dollar on tuition, room and board, or other may have access to expenses, there is nothing to convert. You cannot use this rule to get money back out of a 529 that you already used for school.

You cannot exceed the annual Roth contribution limit. If you have already contributed $7,000 to a Roth IRA this year, you cannot roll over any 529 money until next year. The rollover counts as a contribution.

Alternatives if you cannot use the 529-to-Roth conversion

If the 529 account is too new, or if you have no unused money, you have other options for the 529 account itself. You can change the beneficiary to another family member — a sibling, cousin, or even yourself if you are pursuing further education. The money can then be used for that person's tuition and education expenses without penalty.

You can also leave the money in the 529 and let it grow. There is no important date to use a 529 account, and no age limit on the beneficiary. If the original beneficiary does not need it, you can change the beneficiary later.

For the student loans themselves, you have separate options that do not involve the 529. Federal student loans may have income-driven repayment plans, deferment, or forbearance. Private loans may offer refinancing. These are independent of what you do with a 529 account.

The 18-year account age requirement explained

The 529-to-Roth conversion rule requires the account to have been open for at least 18 years. This is measured from the date the account was established, not from when money was added to it.

If you opened a 529 in January 2006, you can start rolling money over in January 2024. If you opened one in June 2023, you cannot roll money over until June 2041. The rule does not have exceptions for accounts that are almost old enough, or for accounts with large balances, or for accounts that have been open for 17 years.

This requirement exists because the rule was designed to help people who saved in a 529 for a child's education, the child finished school, and money remains. It was not designed to create a new way to fund student loan repayment from the start.

Contribution limits and the lifetime $35,000 cap

The amount you can roll from a 529 into a Roth IRA is limited in two ways: by the annual Roth contribution limit, and by a lifetime cap of $35,000 per beneficiary.

The annual limit is the standard Roth IRA contribution limit for that year. In 2024, it is $7,000 ($8,000 if age 50 or older). If you roll $5,000 from a 529 into a Roth in 2024, you can contribute only $2,000 more to that Roth from other sources in 2024. The rollover counts as a contribution.

The lifetime limit is $35,000 total per beneficiary, across all years and all rollovers. Once you have rolled $35,000 from a 529 into a Roth for a particular person, you cannot roll any more. This is a per-person limit, not per account — if you have multiple 529 accounts for the same beneficiary, the $35,000 cap applies to the total across all of them.

Frequently Asked Questions

Can I use 529 money to pay parent PLUS loans or private student loans?

The 529-to-Roth conversion rule does not distinguish between loan types. Once money is in a Roth IRA, you can withdraw it to pay any student loan — federal, parent PLUS, private, or otherwise. The rule only requires that the money came from a 529 account that met the age and rollover requirements.

What happens to the 529 account after I roll money into a Roth?

The 529 account continues to exist. You can leave remaining money in it, change the beneficiary, or let it grow. Rolling money out does not close the account or affect its status. If the account still has a balance, it can still be used for education expenses for the current or new beneficiary.

Do I have to roll over all unused 529 money at once?

No. You can roll over money in multiple years, as long as you stay within the annual Roth contribution limit and the $35,000 lifetime cap. You might roll $5,000 one year and $7,000 the next year, depending on your Roth contribution room and your needs.

What if my 529 account lost money — can I still roll it over?

Yes. The rollover rule applies regardless of whether the account has gains or losses. If your 529 has declined in value, you can still roll unused money into a Roth. If the account has losses, there is no earnings portion to tax on the conversion.

Can I use this rule if I am the account owner but not the beneficiary?

No. The money must be rolled into a Roth IRA in the beneficiary's name, not the account owner's name. If you opened a 529 for your child, the rollover goes into your child's Roth IRA, not yours. You cannot use this rule to fund your own retirement account with money you saved for someone else's education.