Most families should fund both. A 529 plan is the dedicated education-savings vehicle: federal tax-free growth, qualified-expense withdrawals tax-free, and a state income tax deduction in roughly 30 states. A Roth IRA is the dedicated retirement vehicle, but its contribution withdrawals are accessible at any age tax- and penalty-free, making it a flexible secondary education-savings option. SECURE 2.0 §126 (effective 2024) created a bridge: unused 529 funds can be rolled to the beneficiary's Roth IRA up to a $35,000 lifetime cap if the 529 has been open at least 15 years.

quick_reference_all

Quick Facts

  • check_circleDifferent goals. 529 = education tax shelter. Roth IRA = retirement tax shelter. They are complementary, not alternatives.
  • check_circle529 contribution capacity: no federal annual cap; gift-tax exclusion $19,000 single / $38,000 MFJ in 2026; 5-year averaging ("superfunding") allows up to $95K / $190K at once. State plan aggregate caps range $235K–$550K.
  • infoRoth IRA contribution capacity: $7,500 ($8,600 if 50+) in 2026 per IRS Notice 2025-67; MAGI phase-out $153K–$168K single / $242K–$252K MFJ; requires earned income.
  • check_circleOBBBA expanded 529 qualified expenses (effective July 4, 2025): K-12 cap doubled to $20,000/year per beneficiary; expanded list now includes curriculum materials, tutoring, AP/SAT fees, educational therapies; postsecondary credentialing programs (WIOA, apprenticeships, state-licensed certifications) now qualify.
  • warningState conformity warning. Many states have NOT adopted the OBBBA expansions — federally tax-free distributions may be state-taxable or trigger recapture of prior state tax benefits. Check your state's 529 program.
  • check_circleRoth IRA contributions are accessible anytime. The IRC §408A(d)(4) ordering rules let you withdraw contributions tax/penalty-free at any age. Earnings have a 5-year + age 59½ gate (with a §72(t)(2)(E) education exception for the 10% penalty only — income tax still applies).
  • infoThe 529-to-Roth bridge (SECURE 2.0 §126). Unused 529 funds can be rolled to the beneficiary's Roth IRA: $35,000 lifetime cap, 15-year account seasoning, 5-year contribution lookback, annual rollover capped at the Roth IRA contribution limit. Bypasses the MAGI phase-out.
  • warningNon-qualified 529 withdrawals cost you. Earnings portion = ordinary income tax + 10% penalty (with carve-outs: scholarships received, beneficiary's death/disability, attendance at U.S. Service Academy). Returning principal is fine.

The Bottom Line

The right framing isn't "529 or Roth IRA?" but "what is each account designed for, and how do they fit together?" The Internal Revenue Code answers cleanly:

  • IRC §529 creates a tax shelter for higher-education and (post-OBBBA) K-12 + credentialing expenses. Contributions go in after-tax federally (state tax deduction in ~30 states); growth is tax-deferred; qualified withdrawals are tax-free. Non-qualified withdrawals: earnings taxed plus 10% penalty.
  • IRC §408A creates a tax shelter for retirement income. Contributions go in after-tax (federal AND state); growth is tax-free; qualified retirement withdrawals are tax-free. Contributions are withdrawable anytime; earnings have an age-and-time test.
  • IRC §529(c)(3)(E) (added by SECURE 2.0 §126, effective 2024) lets unused 529 funds become Roth IRA contributions for the beneficiary — subject to constraints designed to prevent abuse.

For most families with a child the both-strategy applies: fund the 529 for education-targeted dollars, fund the Roth IRA for retirement-targeted dollars, use the §126 bridge for any 529 surplus at the end. The detailed comparison below shows where each vehicle wins on the margin.

Side-by-Side Comparison

The Code-level differences in one table:

Dimension 529 plan Roth IRA
Statutory homeIRC §529 (state-administered, 50+ state plans)IRC §408A
Annual contribution capNo federal annual cap; $19,000 single / $38,000 MFJ gift-tax exclusion in 2026; superfunding allows 5x at once. State aggregate caps $235K–$550K.$7,500 / $8,600 (50+) in 2026 per IRS Notice 2025-67
Income limitsNoneMAGI phase-out $153,000–$168,000 single / $242,000–$252,000 MFJ in 2026
Earned-income requirementNo — anyone can contribute on behalf of beneficiaryYes — the contributor (or beneficiary, for custodial Roth IRA) must have compensation at least equal to the contribution
Federal income tax deduction for contributionsNoNo
State income tax incentive~30 states offer deduction or credit (varies $1,000–$10,000+/year). Some require home-state plan; others allow any state's plan.No state income tax deduction in any state
Tax treatment of growthTax-deferred federally; usually tax-deferred at state level for in-state plansTax-free
Tax-free withdrawalsQualified education expenses (higher-ed tuition + fees + room/board + books); K-12 tuition + (post-OBBBA) curriculum materials, tutoring, test fees, therapies, capped at $20,000/yr per beneficiary; postsecondary credentialing programs (WIOA, apprenticeships, certifications)Qualified retirement distributions (5-year rule satisfied + age 59½ OR qualifying exception). Contributions are withdrawable anytime, tax-free.
Penalty for non-qualified withdrawalEarnings: ordinary income tax + 10% federal penalty (carve-outs: scholarship received, beneficiary death/disability, U.S. Service Academy attendance, transfer to ABLE account)Earnings only (contributions never penalized): ordinary income tax + 10% under §72(t) unless an exception applies (e.g., qualified higher-education expenses waive the 10% under §72(t)(2)(E), but income tax on earnings still applies)
Beneficiary changeable?Yes — to another "family member" of original beneficiary (broad definition under §529(e)(2)): siblings, parents, descendants, first cousins, etc. No tax event.No — the account is owned by the contributor; beneficiaries (in the inheritance sense) are designated but the owner is fixed
Use for first-home purchaseNo direct pathYes — $10,000 lifetime first-time-homebuyer exception under §72(t)(8)(B) (not indexed; static since 1997)
Use for non-tuition college expenses (room/board)Yes (subject to school's stated cost-of-attendance figures)Yes — through contribution withdrawal at any time (tax/penalty-free) or earnings withdrawal under §72(t)(2)(E) (10% waived; income tax still applies on earnings)
529-to-Roth rolloverSECURE 2.0 §126 / §529(c)(3)(E): $35K lifetime per beneficiary, 15-year account seasoning, 5-year contribution lookback, annual cap matches Roth IRA contribution limitReceives the rollover; rollover counts against the beneficiary's annual Roth IRA contribution limit; bypasses the MAGI phase-out for direct contributions
Estate tax exposureGenerally outside the contributor's estate (though account owner retains control); 5-year averaging election restores included amount if contributor dies during the 5 yearsInside the owner's estate; 2026 federal exclusion is $15,000,000 per Rev. Proc. 2025-32 + OBBBA

What the OBBBA Changed in 2026

The One Big Beautiful Bill Act (P.L. 119-21, signed July 4, 2025) made three substantive changes to §529, all effective for distributions on or after July 4, 2025:

  • K-12 cap doubled. Annual cap on qualified K-12 distributions went from $10,000 per beneficiary (set by TCJA in 2018) to $20,000 per beneficiary. This is per-beneficiary across ALL 529 accounts, not per-account.
  • Expanded K-12 qualified-expense list. Pre-OBBBA, only "tuition" qualified for the K-12 use case. Now: tuition + curriculum materials + textbooks + online learning materials + tutoring fees + standardized test fees (AP, SAT, college entrance exams, dual-enrollment programs) + educational therapies for students with disabilities provided by licensed or accredited providers.
  • Postsecondary credentialing now qualifies. Tuition, exam fees, books, materials, and continuing education tied to recognized credentials — WIOA programs, registered apprenticeships, state-licensed professional certifications. This brings 529 into trade-school and certification-program use cases for the first time.

State conformity warning. The OBBBA changes apply at the federal level immediately, but each state's 529 program follows its own statutory definition of qualified expenses. Many states have not yet conformed to the expanded list. Until your state legislature explicitly adopts the OBBBA changes, distributions for the new categories may be state-taxable, and prior years' state tax deductions on those contributions may be subject to recapture. Check your state's 529 administrator's guidance before relying on the expanded use cases.

The 529-to-Roth Bridge (SECURE 2.0 §126)

SECURE 2.0 §126 (P.L. 117-328, effective January 1, 2024) added IRC §529(c)(3)(E), which permits 529-to-Roth IRA rollovers under tightly-defined conditions. This is the single most important interaction between the two accounts: unused 529 funds don't have to be withdrawn at a 10% penalty — they can become Roth IRA contributions for the beneficiary.

The constraints (designed to prevent abuse as a high-income Roth contribution loophole):

  1. $35,000 lifetime cap per beneficiary across all rollovers from all 529 accounts. Once you've rolled $35K into the beneficiary's Roth IRA, no more.
  2. 15-year account seasoning. The 529 account must have been open for at least 15 years. This prevents opening a 529 today and rolling tomorrow.
  3. 5-year contribution lookback. Any 529 contribution made within the prior 5 years (and its earnings) is ineligible for rollover. This blocks the "deposit + immediately roll" workaround.
  4. Annual cap matches Roth IRA contribution limit. $7,500 in 2026, $8,600 if the beneficiary is 50+. So a full $35K rollover takes a minimum of 5 calendar years (5 × $7,500 = $37,500, capped at $35K).
  5. Beneficiary needs earned income. Same as a direct Roth IRA contribution — the beneficiary must have compensation under §219(c) at least equal to the rollover amount.
  6. MAGI phase-out is bypassed. Unlike direct Roth IRA contributions (which phase out at $153K–$168K single in 2026), the 529-to-Roth rollover does NOT have an income limit on the beneficiary. This is the one place a high-earner can legitimately fund a Roth without using the backdoor.

For mechanics, see our dedicated 529-to-Roth Conversion Guide — it covers the trustee-to-trustee transfer process, the ordering interaction with the beneficiary's other Roth contributions, and the open-question issues IRS guidance hasn't yet resolved.

When the 529 Is the Better Choice

The 529 is structurally superior for these scenarios:

  • Education is the primary use case and the funder has high confidence the beneficiary will incur qualifying expenses.
  • The funder lives in a state with an income tax deduction or credit for 529 contributions. Even a $1,000-2,000/year state benefit compounds meaningfully over an 18-year horizon.
  • High-income family with no Roth IRA access. 529 has no income limit on contributions, while Roth IRA phases out at $153K-$168K single / $242K-$252K MFJ in 2026.
  • Grandparent or other family-member funding. 529 contributions don't require earned income on the funder's part and don't count against the beneficiary's own retirement-savings capacity.
  • Estate-planning use case. 5-year averaging ("superfunding") allows up to $95,000 single / $190,000 MFJ in a single year per beneficiary, removed from the contributor's estate.
  • Multiple potential beneficiaries. If the named beneficiary doesn't use the funds, they can be reassigned to a sibling, cousin, or other family member with no tax event.

When the Roth IRA Is the Better Choice

The Roth IRA is structurally superior for these scenarios:

  • The funds may not actually go to education. The Roth IRA's flexibility means you don't pay a 10% penalty if the original education plan changes.
  • The funder also wants retirement use. Because Roth contributions are accessible anytime tax/penalty-free, a parent contributing for a child's college can pivot the funds to retirement use if scholarships or other education funding materializes.
  • The first-time-homebuyer exception matters. Roth IRA contributions can withdraw $10,000 of earnings under §72(t)(8)(B) for a first home; 529s have no equivalent direct path.
  • The beneficiary will be a high earner. The 529-to-Roth bridge bypasses the MAGI phase-out, but a direct Roth IRA contribution (or backdoor) is simpler if the beneficiary qualifies.
  • You're saving for the parent's retirement, not the child's college. Use the Roth IRA for retirement; don't blur the goals.

The Both-Strategy: Worked Example

Hypothetical: The Hwang family, child Liam born March 2026

Parents earn $180,000 combined (within Roth IRA MAGI eligibility). They want to save for Liam's college and their own retirement.

Phase 1 — birth through age 17: open a 529 in their state (which offers a $5,000/year deduction). Contribute $250/month ($3,000/year). Each parent maxes their own Roth IRA at $7,500/year — $15,000/year combined retirement contribution.

By age 18 (2044): 529 balance ≈ $90,000 (assuming 7% real returns); each parent's Roth IRA balance is independent of this analysis but compounds in parallel.

College years: Liam attends a state university with $25,000/year cost of attendance. The 529 covers all tuition, fees, books, and most room/board. Roth IRA contributions stay invested for retirement.

If Liam doesn't use all the 529 funds (e.g., scholarship, transfer to lower-cost program, gap year): per SECURE 2.0 §126, parents start rolling unused 529 funds into Liam's Roth IRA at age 22 (when he's filed earnings of at least $7,500). Five years × $7,500/year = $37,500 capped at the $35,000 lifetime limit. Liam graduates with a head-start Roth IRA balance + the parents' retirement Roth IRAs intact.

If 529 is exhausted on education: the 529-to-Roth bridge is unused, but the original purpose was met. No regret — the bridge exists to handle the surplus case, not to make the surplus the goal.

Common Mistakes to Avoid

  • Treating them as alternatives. They serve different goals. Most middle-income families with children should fund both, not pick one.
  • Funding the 529 ahead of the parents' retirement Roth IRA. Education has scholarships, grants, and student loans as fallbacks; retirement does not. Max parental retirement first; 529 second.
  • Over-funding the 529. The $35,000 SECURE 2.0 §126 bridge handles modest overfunding, but a wildly over-funded 529 will hit the 10% penalty on non-qualified withdrawals. Aim for the projected qualified-expense amount with modest overage; not 2×.
  • Assuming OBBBA changes apply at the state level. Federally tax-free does not mean state tax-free. Verify your state's 529 program guidance before using the expanded K-12 / credentialing categories.
  • Forgetting the 15-year seasoning rule. You can't open a 529 for a college senior and roll it to Roth; the rollover requires 15-year account age. Open the 529 early or accept the rollover path is unavailable.
  • Using a Roth IRA for non-qualified college expenses without doing the math. Pulling earnings before 59½ for college triggers ordinary income tax (the 10% penalty is waived under §72(t)(2)(E), but the income tax remains). For pure education saving the 529's tax efficiency wins.
menu_book

Primary sources

  • IRC §529 — qualified tuition programs.
  • IRC §529(c)(3)(E) — 529-to-Roth rollover (added by SECURE 2.0 §126).
  • IRC §408A — Roth IRAs.
  • IRC §408A(d)(4) — Roth IRA distribution ordering rules.
  • IRC §72(t)(2)(E) — qualified higher-education expenses penalty exception.
  • IRC §72(t)(8)(B) — first-time-homebuyer $10,000 lifetime exception (not indexed).
  • SECURE 2.0 Act §126 — established the 529-to-Roth rollover mechanism. Part of the Consolidated Appropriations Act of 2023, P.L. 117-328 (Dec 29, 2022); rollover effective January 1, 2024.
  • OBBBA — P.L. 119-21 (July 4, 2025); expanded 529 K-12 cap, qualified-expense list, and credentialing eligibility, effective for distributions on or after July 4, 2025.
  • IRS Notice 2025-67 — 2026 retirement plan limits including the $7,500 Roth IRA cap and $153K–$168K phase-out.
  • IRS Pub 590-A — Contributions to Individual Retirement Arrangements.
  • IRS Pub 970 — Tax Benefits for Education (covers §529 and education-related distributions).