529 to Roth IRA: Rules for a Tax-Free Move of Leftover 529 Funds
Beginning with distributions after December 31, 2023, a 529 beneficiary may be able to make a tax-free rollover to a Roth IRA in the beneficiary’s name if every statutory condition is met. The movement is a special rollover from a state’s qualified tuition program to the beneficiary’s Roth IRA, not a withdrawal you deposit yourself.
This page explains the conditions, the statute’s 15-year wording, the annual and lifetime caps, and the five-year earnings test. After the money is in the Roth IRA, Roth IRA withdrawal rules and the Roth IRA five-year rules govern later withdrawals. IRA withdrawal rules is the cluster lead. This is not a 529 plan shopping guide, and it does not retarget the Saver’s Credit and Saver’s Match.
Reviewed by Sean Webster, CPA.
IRAInvesting.com may earn a referral fee from some companies we review. That does not change these rules. See our affiliate disclosure.

What a 529-to-Roth IRA rollover is
A 529 to Roth IRA rollover is a direct trustee-to-trustee transfer of unused funds from a 529 plan to a Roth IRA for the same beneficiary. Leftover funds, leftover money, and unused 529 account funds can move only if every condition is met.
The destination is a Roth IRA account in the beneficiary’s name. If the beneficiary does not yet have a Roth IRA account, see how to open a Roth IRA. A custodial IRA may be relevant when the beneficiary is a minor; this page does not retarget custodial-account setup.
The Roth IRA page explains the destination account. This page explains only the 529 plan rollover path.
Why leftover 529 plan money is not automatically eligible
A 529 account is built for higher education and other qualified educational expenses. Unused funds are not automatically penalty free in a rollover. Nonqualified withdrawals from a 529 plan can be subject to income tax and an additional 10% tax on earnings, and they can affect other state benefits. Check your state.
Scholarship funds, a decision not to attend college, or a change in plans may leave leftover money in the 529 account. This exception is one possible path for those unused 529 funds, not a promise that all the money qualifies for a rollover in one tax year.
The conditions that must all be met

The rollover must be a direct trustee-to-trustee transfer to the beneficiary’s Roth IRA. It is subject to the annual cap, a $35,000 lifetime cap, and the 15-year and five-year tests. If any condition fails, the rollover is not this exception.
The designated beneficiary of the 529 account and the Roth IRA account owner must be the same beneficiary. Keep the designated beneficiary the same. A qualifying family member is not a substitute, and this page does not discuss changing the designated beneficiary.
The SECURE Act provision in SECURE 2.0 created this path, effective for distributions after December 31, 2023. The statute is IRC § 529(c)(3)(E). Use the current tax year rules when you make the rollover.
Trustee-to-trustee, not a check
You cannot take a distribution, hold the funds, and then make an IRA contribution yourself and call it this rollover. The statute requires a direct transfer to the Roth IRA.
Own records
Keep your own records of what moved and when.
An investment manager or the 529 plan, and account owners, can tell you whether the plan will process the direct transfer. This page does not rank plans or in-state plans.
The 15-year wording: what the statute says, and what IRS publications say

The statute requires a 529 account that has been “maintained for the 15-year period ending on the date” of the distribution. That is the statute’s 15-year wording.
IRS publications describe the same condition in slightly different words. IRS Topic 313 says the 529 account must have been open for at least 15 years as of the date of the distribution. Publication 590-A and Publication 970 describe the 529 account as open for more than 15 years. This page quotes the statute and notes those publication descriptions. It does not choose among them.
Years prior to the distribution count toward that 15-year period as the statute provides. This page does not add a clock rule for those years prior.
Annual and lifetime caps

The annual cap follows the statute. The amount moved in a year is reduced by contributions to all of the beneficiary’s IRAs for that year. The annual IRA contribution limit is the IRS contribution-limits definition: the lesser of the dollar limit or taxable compensation (earned income).
For 2026, that dollar limit is $7,500, or $8,600 at age 50 or older, or taxable compensation if less (IRS contribution-limits page, reviewed September 23, 2026). Full grids stay on IRA contribution limits. A 529-to-Roth IRA contribution counts against those IRA contribution limits.
The lifetime cap on these special rollovers is $35,000 per beneficiary. That lifetime rollover limit, and the lifetime maximum of $35,000, is a limit of $35,000 for these 529 to Roth IRA rollovers.
Section 529(c)(3)(E) cross-references section 408A(c)(2) for the annual cap. This page does not go beyond that cross-reference to assert whether separate Roth IRA income limits apply to the rollover.
Why this is not a second annual cap
The annual rollover limit, in this context, is that same annual IRA contribution limit, reduced by contributions to all of the beneficiary’s IRAs. It is not a separate dollar figure. Annual rollovers under this exception cannot exceed that remaining room.
Roth IRA rollovers of this kind are still IRA contribution-limited rollovers. They are not a way to pay extra into a Roth IRA above that cap. This Roth rollover still uses that remaining room.
The five-year test on contributions and earnings

Only 529 contributions, and earnings on those contributions, from years prior to the five-year period ending on the distribution date can be included in a rollover under this exception. Related earnings on later contributions are not eligible.
The last five years of contributions, and the earnings on those contributions, stay out of this exception. That five-year test is in the statute and in IRS Topic 313.
Once the funds are in the Roth IRA, tax-advantaged growth follows ordinary Roth IRA retirement rules. Later withdrawals, including whether a withdrawal is penalty free, follow the Roth withdrawal and five-year pages, not this exception.
Reporting, and what this page will not say
Taxes, penalties, and 529 plan assets
Nonqualified withdrawals from a 529 plan can be subject to federal income tax, state taxes, and penalties on earnings. A qualifying 529 to Roth IRA rollover, and a Roth rollover under this exception, is not meant to trigger those taxes or those penalties if every condition is met. You do not pay those taxes if the tests are met. 529 plan assets, and other assets in the 529 account, remain assets of the 529 plan until transferred. Account owners should keep records, check tax laws, and check your state. If a Roth IRA opened later is the destination, the 529 plan still has to meet the 15-year test. Earned income still matters. A tax advisor can review a 529 plan rollover.
A qualifying rollover designated for the year is reported on Form 5498 in Box 10, with Roth IRA contributions, not as a Box 2 rollover. Form 8606 may still matter for later Roth basis. This page does not retarget those forms.
Financial aid, state benefits, and other state benefits can be affected by 529 activity. Federal and state taxes can differ. Check your state. This page does not compute income tax or state taxes.
Retirement savings, retirement planning, and retirement accounts after the rollover are later questions.
If you need a tax advisor or a tax professional, use one. This is not tax advice.
FAQ
Can I roll a leftover 529 into a Roth IRA?
Yes, if every condition is met: a direct trustee-to-trustee transfer to the Roth IRA of the beneficiary, the 15-year test, the five-year test, the annual cap, and the $35,000 lifetime cap. Unused 529 funds are not automatically eligible.
What is the 15-year rule?
The statute requires that the 529 account have been maintained for the 15-year period ending on the date of the distribution. IRS publications describe it as open for at least 15 years, or as open for more than 15 years. This page states both wordings and does not add a third test.
What is the lifetime limit?
The lifetime limit is $35,000 per beneficiary for these special 529 to Roth IRA rollovers.
Written by Tim Schmidt and reviewed for tax and account accuracy by Sean Webster, CPA. Last reviewed November 16, 2026 (America/New_York). Tax figures and form-box labels reflect IRS guidance for 2026 as of that date; forms, codes, and dollar limits can change by year, so use the current IRS form and instructions. This guide is for general education. It is not tax, legal, or investment advice, and it is not a recommendation to take a distribution or to open or close any account. IRAInvesting.com is not a custodian, dealer, broker-dealer, or investment adviser. Before you act, talk with a licensed tax professional or adviser who can review your situation. Investing involves risk, including the possible loss of principal, and account values can go down as well as up. Past performance does not guarantee future results.
