Skip to main content
Quant Investing Lab

Retirement accounts

529 to Roth IRA: The Rules, the Caps, and How Long It Really Takes

SECURE 2.0 lets you roll leftover 529 funds into a Roth IRA. Here are the five gates a 529 to Roth IRA rollover must pass, and why it takes years.

John Bergerat
By John Bergerat, MSc Quantitative Finance·
9 min read
Blue ink illustration: a small figure ladles from a wide brimming basin tagged 35000 dollars into a narrow-necked bottle with a tiny ladle, beside a wall of tally marks counting the years.

Yes, leftover 529 money can be moved into a Roth IRA. SECURE 2.0 opened that door for distributions made after December 31, 2023, and the transfer is free of federal income tax and free of the 10% penalty that normally hits a non-qualified withdrawal. But a 529 to Roth IRA rollover has to clear five separate conditions, and the one that catches people is not a tax rule at all. It is a throttle. Only a few thousand dollars can move per year, so draining a meaningful leftover balance takes five years at best, and often much longer.

What SECURE 2.0 actually changed

For years, over-funding a 529 was the quiet risk of the whole account type. You saved for eighteen years, then your kid picked a cheaper school, won a scholarship, or skipped college entirely, and the money was stuck.

It had three exits. Spend it on qualified education. Change the beneficiary to another family member. Or pull it out and pay the toll.

That third exit is the expensive one, and it is worth understanding why. Contributions come back out tax-free, because they went in as after-tax dollars. The growth does not. Earnings get taxed as ordinary income and then penalized another 10% on top. On an account that has compounded for eighteen years, the growth is often the larger half of the balance, so the toll lands on exactly the part you were most pleased about.

Section 126 of the SECURE 2.0 Act added a fourth exit. A 529 balance can move, trustee to trustee, into a Roth IRA belonging to the plan's beneficiary. That is the student, not the parent who funded the account. No federal income tax, no penalty. And the Roth IRA income phase-out does not apply, so a beneficiary who earns too much to fund a Roth directly can still receive the rollover, without falling back on a nondeductible contribution followed by a conversion.

ExitTax costMain constraint
Roth IRA rolloverNone$35,000 lifetime, throttled yearly
Change beneficiaryNoneMust be a qualifying family member
Qualified educationNoneHas to be a real expense
Student loan repaymentNone$10,000 lifetime per beneficiary
Non-qualified withdrawalIncome tax plus 10% penalty on earningsNone

The 529 rollover to Roth IRA rules, gate by gate

The five gates a 529-to-Roth-IRA rollover has to clearLEFTOVER 529 BALANCEthe beneficiary has finished school115-year account ageThe 529 has been open at least 15 yearsno25-year contribution lookbackThe last 5 years of contributions are frozenno3$35,000 lifetime capPer beneficiary, for life, across all 529sno4Annual IRA contribution limitThe rollover uses that year's IRA roomno5Beneficiary has earned incomeWages at least equal the amount rolled overnoROTH IRA IN THE BENEFICIARY’S NAMEno federal income tax, no 10% penaltyMoney stays in the 529or exits as a non-qualifiedwithdrawal: ordinary income taxplus 10% penalty on the earningsSource: SECURE 2.0 Act of 2022, §126 as enacted. Applies to distributions after 31 Dec 2023.
Five conditions, all of which have to hold at once. Failing any one of them leaves the money in the 529.

Gate 1 — the account has to be 15 years old.

The 529 must have been maintained for at least 15 years before anything can be rolled out of it. This is a property of the account, not of the money in it, and it is the gate that rules out the obvious abuse: opening a 529 purely as a laundering route into a Roth.

There is an unsettled piece here. The statute does not say whether changing the beneficiary restarts the 15-year clock, and Treasury has not issued guidance that resolves it. Anyone counting on a beneficiary swap to inherit an older account's seasoning is relying on a reading that has not been confirmed.

Gate 2 — the last five years of contributions are frozen.

Contributions made in the five years before the rollover, plus the earnings attributable to them, cannot be moved. A well-timed deposit does not help. The account cannot be topped up with fresh money and routed straight through to a Roth. The dollars have to have been sitting there.

Gate 3 — $35,000 is the ceiling, for life.

The lifetime cap is $35,000 per beneficiary, counted across every 529 that names that person. As enacted it is a flat dollar figure with no inflation indexing, so it quietly shrinks in real terms every year it sits on the books.

Gate 4 — the rollover eats the beneficiary's IRA contribution for the year.

This is the throttle, and it changes the shape of the whole thing. Whatever gets rolled over in a year counts against that beneficiary's annual IRA contribution limit for that year, traditional and Roth combined. For 2026 that limit is $7,500 for someone under 50, up from $7,000 in 2024 and 2025. That ceiling is one number attached to the person, not to each account, so opening more Roth IRAs does nothing to widen the pipe.

The arithmetic is unforgiving. Roll $7,500 and the beneficiary has nothing left to contribute from their paycheck. Contribute $3,000 from their paycheck first and only $4,500 of rollover room survives. Deferrals into a workplace Roth account sit outside this calculation entirely, because those limits stack rather than share.

Gate 5 — the beneficiary needs earned income.

An IRA contribution requires compensation, and the rollover is treated as a contribution. So the beneficiary needs earned income that year at least equal to the amount being rolled. Someone who earned $4,000 waiting tables can move $4,000, not $7,500. Someone in an unpaid year can move nothing at all. It is the same "lesser of earned income and the annual limit" test that governs a Roth IRA opened for a child.

Notice who ends up in control. The parent funded the account, but the pace of the rollover is set entirely by the beneficiary's income and their own retirement saving.

Why draining leftover 529 funds takes years

How long it takes to drain a $35,000 leftover 529 into a Roth IRA$0$7k$14k$21k$28k$35kLeftover 529 still to move02468101214Tax years of rollovers completed$7,500/yr → 5 years$4,500/yr → 8 years$2,500/yr → 14 yearsroom left after the beneficiary’sown IRA contributionsAssumes a $35,000 leftover balance, the 2026 $7,500 annual IRA limit held flat, and no growth in the 529 while it drains.
The lifetime cap says how much can leave. The annual IRA limit says how fast, and that is what turns a transfer into a multi-year project.

At the full $7,500 limit, moving $35,000 takes five transfers across five separate tax years. That is the floor, and it assumes the beneficiary has the earned income every year and dedicates every dollar of IRA room to the rollover, contributing nothing of their own. Which is a strange way for a young worker to behave, because the rollover is crowding out the exact retirement contribution it was meant to encourage.

Loosen that assumption and the timeline stretches quickly. A beneficiary putting $3,000 a year into their own Roth leaves $4,500 of room, and the balance takes eight years to clear. Where thin earned income or larger personal contributions leave only $2,500 of room a year, it takes fourteen.

And the balance keeps growing while it drains.

Here is the wrinkle that rarely gets mentioned. The money still in the 529 stays invested. Take a $35,000 leftover balance compounding at 6%, pull the maximum out each year, and the account does not hit zero when the lifetime cap runs out. Run it year by year: $27,500 remains after the first transfer, which grows to $29,150, then $22,949, then $16,376, then $9,408. By the time the fifth transfer uses up the last of the $35,000 allowance, roughly $4,400 is still sitting in the 529 with no rollover room left.

The cap applies to dollars rolled, not to the account balance. A larger or faster-growing leftover balance can outrun the door entirely.

What the drip costs

What the annual limit costs over 40 years, at 7% nominal$0$100k$200k$300k$400k$500k$600kRoth IRA value0510152025303540Years after the first rollover$524k$464kFive annual rollovers, as the law requiresOne $35,000 transfer — not permittedGap = cost of the annual limit ($60k)Assumes 7% nominal annual return, transfers at the start of each year, the 2026 $7,500 annual IRA limit held flat.
Four-fifths of the balance starts compounding late. Over 40 years that delay is worth about $60,000.

Spreading $35,000 across five years instead of moving it at once has a measurable price. Compound the same five transfers at 7% nominal and after 40 years the Roth holds about $464,000. The identical $35,000 moved in one transfer at year zero would reach about $524,000. The difference is roughly $60,000, about 11% of the ending value, purely because most of the money started late.

That single transfer is not on the menu. The law does not permit it, and the comparison exists to size the constraint rather than to point at a better route. It is the arithmetic answer to whether the annual limit really matters, and the answer is that four years of delay on the bulk of the balance costs roughly a ninth of the outcome.

What the rollover does not solve

Federal treatment does not bind the states. State tax codes conform to federal changes on their own schedules, and where a state has not conformed, a rollover can be treated as a non-qualified distribution at the state level. That means state income tax, and in states that granted a deduction on the way in, recapture of that deduction.

The 15-year clock and beneficiary changes remain unresolved. The cap is not indexed. And the earned income requirement means the rollover cannot be planned far in advance with any confidence, because it depends on facts about the beneficiary's working life that nobody knows when the 529 is first funded.

None of that makes the provision small. It closed a real trap, because before 2024 an over-funded 529 had no clean exit into retirement savings at all. It just means the honest description is narrower than the headline. SECURE 2.0 did not turn the 529 into a Roth conversion vehicle. It added a slow, capped, conditional drain, one that clears a modest leftover balance in an old account with a working beneficiary, and barely moves the needle on a large one.