to analyze the federal tax cost
IRC §529 · Form 1099-Q · OBBBA §70413 · SECURE 2.0 §126 · TY 2025 & 2026
Analyze a 529 plan distribution for federal income tax and the 10% additional tax under IRC §529. Includes K-12 ($20,000/beneficiary cap for 2026), apprenticeship, student loan repayment ($10,000 lifetime), postsecondary credentialing, and the 529-to-Roth IRA rollover under SECURE 2.0 §126.
Want the full picture - tax-free growth math, state deductions, 529-to-Roth rollover rules under SECURE 2.0 §126, AOTC/LLC coordination, and the OBBBA expansion to postsecondary credentialing? Read the companion guide.
Read the 529 Plan Tax Benefits Guide →A 529 plan distribution under IRC §529 is federal income tax-free if it is used for qualified higher education expenses (cost of attendance reduced by tax-free scholarships and AOTC/LLC-claimed expenses), qualified K-12 expenses (capped at $20,000 per beneficiary for 2026 under OBBBA §70413, $10,000 for 2025), apprenticeship program fees, student loan repayment (capped at $10,000 lifetime per individual), postsecondary credentialing expenses (new under OBBBA for distributions after July 4, 2025), or ABLE account rollover. Non-qualified distributions are taxed in two ways: the earnings portion (Form 1099-Q Box 2) is included in the recipient's gross income at ordinary rates, AND a 10% additional tax applies to that same earnings portion under §529(c)(6). Four exceptions waive the 10% additional tax: scholarship-equivalent distributions (up to the scholarship amount), death of beneficiary, disability of beneficiary, and service academy attendance. Federal contributions are NOT deductible, but most states with an income tax allow a deduction or credit. SECURE 2.0 §126 allows up to $35,000 lifetime in tax-free 529-to-Roth IRA rollovers once the account is at least 15 years old.
| Parameter | Tax Year 2026 | Tax Year 2025 |
|---|---|---|
| K-12 annual cap per beneficiary (all 529s combined) | $20,000 | $10,000 |
| K-12 cap source | OBBBA §70413 | TCJA (P.L. 115-97) §11032 |
| Student loan lifetime cap per individual | $10,000 | $10,000 |
| Earnings tax rate (non-qualified) | Recipient's marginal rate | Recipient's marginal rate |
| Additional tax under §529(c)(6) | 10% of earnings | 10% of earnings |
| SECURE 2.0 529-to-Roth lifetime cap per beneficiary | $35,000 | $35,000 |
| SECURE 2.0 minimum 529 account age | 15 years | 15 years |
| Annual Roth IRA contribution limit (rollover cap) | $7,500 ($8,600 if 50+) | $7,000 ($8,000 if 50+) |
| Annual federal gift tax exclusion (per donor per recipient) | $19,000 | $19,000 |
| 5-year forward gift tax election ceiling (single donor) | $95,000 | $95,000 |
| ABLE account rollover sunset | None (OBBBA struck 1/1/2026 sunset) | Active through 12/31/2025 |
| Postsecondary credentialing expenses qualified | Yes (OBBBA §70413) | After 7/4/2025 only |
The K-12 cap was doubled by OBBBA §70413 effective for distributions after December 31, 2025. Apprenticeship and student loan qualified-expense categories were added by SECURE Act §302 (2019) and remain unchanged. Postsecondary credentialing was added by OBBBA §70413 for distributions after July 4, 2025. Federal contributions to a 529 plan are not deductible under IRC §529(c)(1); the tax benefits are entirely on the distribution side.
The federal tax cost of a 529 distribution follows a five-step computation under IRC §529(c)(3) and §529(c)(6). The same algorithm applies whether the distribution is paid to the beneficiary, the account owner, or the school. For the full rules, including state conformity and AOTC coordination, see our 529 Plan Tax Benefits Guide.
Earnings Ratio = Form 1099-Q Box 2 (earnings) ÷ Form 1099-Q Box 1 (gross distribution). The earnings ratio determines what fraction of any non-qualified portion is taxable. If your $12,000 distribution had $3,600 of earnings, the earnings ratio is 30% - meaning 30% of any non-qualified piece is taxable income, and the 10% additional tax applies to that 30% slice.
The calculator applies the per-use-type caps before testing how much of the distribution is qualified:
Qualified Distribution = min(Distribution, Capped Qualified Expenses). Non-Qualified Distribution = Distribution − Qualified Distribution. Earnings Allocated to Non-Qualified Portion = Non-Qualified Distribution × Earnings Ratio.
If the distribution is $12,000, qualified expenses are $9,000, and earnings ratio is 30%: Qualified = $9,000 (tax-free), Non-qualified = $3,000 (earnings allocation = $900 taxable, $2,100 basis = no tax).
Federal Income Tax = Non-Qualified Earnings × Recipient's Marginal Federal Rate. The recipient is the person who received the 1099-Q (the beneficiary, account owner, or school depending on how distributions were directed). A beneficiary who is a student often has a lower marginal rate than the account owner; directing the distribution to the beneficiary can lower the tax cost on a non-qualified portion - subject to the kiddie tax under §1(g) for beneficiaries under age 24.
10% Additional Tax = max(0, Non-Qualified Earnings − Exception Amount) × 10%. Reported on Form 5329 Part II. Exceptions under §530(d)(4) and §529(c)(6):
The earnings ratio is the linchpin of every 529 tax calculation. Higher ratios (older accounts with more growth) mean larger non-qualified tax exposure; lower ratios (newer accounts or down markets) shelter more of any non-qualified portion. The table below shows how a $12,000 distribution with $9,000 of qualified expenses produces different tax outcomes at different earnings ratios.
| Earnings Ratio | Box 2 Earnings | Non-Qualified Earnings | Income Tax | 10% Additional | Total Tax Cost |
|---|---|---|---|---|---|
| 10% (new account) | $1,200 | $300 | $66 | $30 | $96 |
| 20% | $2,400 | $600 | $132 | $60 | $192 |
| 30% (default) | $3,600 | $900 | $198 | $90 | $288 |
| 40% | $4,800 | $1,200 | $264 | $120 | $384 |
| 50% (long-held) | $6,000 | $1,500 | $330 | $150 | $480 |
| 65% (very long-held) | $7,800 | $1,950 | $429 | $195 | $624 |
For a long-held 529 with 50%+ earnings ratio, a non-qualified withdrawal costs 16.6% of the non-qualified amount in combined federal tax. Add state income tax on the same earnings (most conforming states) plus state-level recapture of prior contribution deductions in some states, and the all-in cost can exceed 25%. Best practice: avoid non-qualified withdrawals; use the leftover-rollover options (sibling beneficiary change under §529(c)(5), 529-to-Roth under SECURE 2.0 §126, ABLE rollover) before triggering a non-qualified distribution.
The single most common 529 error at intake is the AOTC double-counting issue under §529(c)(3)(B)(v). A family takes $20,000 of 529 distribution to cover tuition, then claims AOTC on the same $4,000 of tuition. The 1099-Q matches the 1098-T, but the AOTC claim on Form 8863 means $4,000 of those tuition dollars are no longer eligible for 529 qualified treatment - producing a $4,000 non-qualified distribution. We coach clients before each fall semester: pay the first $4,000 of tuition out-of-pocket to maximize AOTC ($2,500 credit), then use 529 for the rest. The arithmetic is unambiguous - a 22% bracket family loses about $264 of AOTC by 529-funding the first $4,000, but they save $880 (22% of $4,000) of AOTC-eligible tax. Net win is $616 per year just by sequencing the payments correctly.
The second pattern is the K-12 cap timing trap under TCJA / OBBBA. A family with two children in private school distributed $14,000 per child from each beneficiary's 529 in TY2025 and assumed it was all qualified. The TY2025 cap is $10,000 per beneficiary - so $4,000 per child was non-qualified, producing a 30%-ish earnings ratio tax hit of $264 per child + $120 penalty. The same distribution in TY2026 is fully qualified because OBBBA §70413 doubled the cap to $20,000. For 2026 distributions, we routinely shift K-12 payments forward from December 2025 to January 2026 where flexible to capture the higher cap. The OBBBA expansion to curriculum, books, tutoring, and standardized test fees (effective for distributions after 7/4/2025) also lets families pull more eligible expenses into 529-qualified status - particularly families using AP test prep, SSAT/ISEE prep, or specialized tutoring.
The third pattern is the 529-to-Roth rollover planning window under SECURE 2.0 §126. Families with overfunded 529 accounts (typical when a child got a large scholarship or went to a less-expensive school) now have a path to convert up to $35,000 to the beneficiary's Roth IRA across multiple years. The 15-year account age requirement means anyone with a 2010-or-earlier 529 is already eligible; for newer accounts, we start the clock by opening a 529 for any minor child or grandchild now even with token contributions. The annual rollover cap is the lesser of (a) the Roth contribution limit ($7,500 in 2026, $8,600 if 50+) minus other Roth/traditional IRA contributions for the year, and (b) the beneficiary's earned income. The beneficiary must own the Roth IRA, not the 529 account owner. We model the 5-year drawdown for clients with overfunded accounts: $7,500 per year for 5 years = $37,500 (just over the $35K cap), which clears most modest overfunds in a single beneficiary's working years.
The fourth pattern is the state recapture rule. Families who took a state deduction for prior 529 contributions and then take a non-qualified distribution may face state-level recapture of that prior deduction. New York, Pennsylvania, Indiana, Idaho, and several other states have explicit recapture rules. The federal tax cost ($264 + $120 in Example 3 above) is just the start - state recapture can add several hundred dollars more depending on the prior deduction amount and state marginal rate. We always check the state plan rules before recommending a non-qualified withdrawal; sometimes the cheaper path is to leave the money in, change the beneficiary to a sibling, niece, nephew, or even self under §529(e)(2), or do a 529-to-ABLE rollover (federal tax-free under §529(c)(3)(C), state rules vary).
The fifth pattern is the 5-year forward gift tax election under §529(c)(2)(B). High-net-worth grandparents who want to remove $100,000 from their estate in one year can elect to treat a $95,000 single 529 contribution as five $19,000 annual gifts (2026 annual exclusion). Married grandparents electing gift-splitting can double this to $190,000. The election is made on Form 709 in the contribution year. The key estate-planning advantage: the entire $95K (or $190K) is removed from the contributor's gross estate immediately, even though it is spread over 5 years for gift tax purposes. If the contributor dies during the 5-year period, §529(c)(4)(A) pulls the unused portion back into the estate - meaning grandparents in their 70s and 80s usually do 2-3 year smaller elections rather than the full 5-year forward to manage mortality risk.
Sequence your payments to maximize AOTC under §25A. Pay the first $4,000 of tuition out-of-pocket to capture the full $2,500 AOTC, then use 529 for the rest. Use the Education Tax Credit Calculator to compute the AOTC vs LLC choice for your filing situation.
The OBBBA §70413 expansion doubles the cap to $20,000 per beneficiary and adds tutoring, AP test fees, curriculum, and educational therapies as qualified expenses. Track distributions across all 529 accounts for the same child - the cap is aggregate, not per account. Distributions after July 4, 2025 use the expanded expense definitions.
Avoid the non-qualified distribution penalty. Options: (1) change the beneficiary to a sibling, niece, nephew, parent, or self under §529(e)(2); (2) use up to $10,000 lifetime to pay down the beneficiary's student loans; (3) roll up to $35,000 lifetime into the beneficiary's Roth IRA over multiple years under SECURE 2.0 §126 (if account is 15+ years old); (4) roll into an ABLE account if the beneficiary has a disability.
Use the 5-year forward gift tax election under §529(c)(2)(B). A single $95,000 contribution in 2026 can be treated as five $19,000 annual gifts; married gift-splitters can contribute $190,000. File Form 709 in the contribution year to make the election. The contribution comes out of your gross estate immediately - powerful for grandparent estate planning.