The 529 withdrawal penalty is smaller than most people assume. The 10% federal penalty applies only to the earnings portion of a non-qualified withdrawal, never to the contributions you originally deposited. On a $50,000 account where $40,000 came from your own after-tax dollars, the penalty targets a thin slice of what comes out, not the whole check. Several statutory exceptions can waive the 10% entirely, and a few planning moves can avoid a non-qualified withdrawal in the first place.
What the Penalty Actually Costs
When money leaves a 529 for something that is not a qualifying education expense, the IRS splits the distribution into two parts. Your original contributions come back tax-free and penalty-free no matter what you spend them on. The earnings portion is treated as ordinary income, taxed at your regular bracket, and hit with an additional 10% tax on top.1Office of the Law Revision Counsel. 26 USC 529 – Qualified Tuition Programs
Run the numbers on a straightforward case. Someone in the 22% federal bracket who pulls out $1,000 of pure earnings owes $220 in income tax plus $100 from the additional tax. The total federal cost is $320 on that $1,000. Not welcome, but not the account-destroying event people picture when they hear “penalty.”
And a $1,000 withdrawal almost never contains $1,000 in earnings, which is where the math gets friendlier.
The Pro-Rata Rule Works in Your Favor
Every dollar you withdraw from a 529 carries a proportional mix of contributions and earnings. You cannot cherry-pick contributions and leave the growth behind. That sounds like a limitation, but for a non-qualified withdrawal it works to your advantage because contributions usually make up the majority of the balance.1Office of the Law Revision Counsel. 26 USC 529 – Qualified Tuition Programs
Say your account holds $30,000: $24,000 in contributions and $6,000 in growth. Earnings are 20% of the total. A $5,000 non-qualified withdrawal contains $1,000 of earnings and $4,000 of returned contributions. The 10% penalty applies to the $1,000, not the $5,000. That is a $100 penalty on a $5,000 withdrawal, plus whatever income tax you owe on the $1,000 of earnings.
Newer accounts and conservatively invested accounts have an even lower earnings ratio, which shrinks the penalty further. An older account that has ridden strong market returns will have a higher earnings percentage, but even then the penalty only touches the proportional share of each withdrawal.
Situations That Waive the 10% Penalty
Federal law lists specific circumstances where a non-qualified withdrawal keeps its income tax treatment on the earnings but escapes the 10% additional tax entirely.2Office of the Law Revision Counsel. 26 U.S. Code 530 – Coverdell Education Savings Accounts – Section (d)(4)(B)
- Scholarship offset. If the beneficiary receives a tax-free scholarship, you can withdraw up to the amount of that scholarship without the 10% penalty. The earnings portion is still taxable income, but the additional tax is excused.
- Death or disability. If the designated beneficiary dies or becomes permanently disabled, the penalty is waived on any withdrawal.
- U.S. military academy attendance. If the beneficiary attends West Point, the Naval Academy, the Air Force Academy, the Coast Guard Academy, or the Merchant Marine Academy, you can withdraw an amount equal to the cost of that education without the penalty.
Another overlap deserves a mention because it looks like a penalty trap and is not one. If you use the same tuition dollars to claim the American Opportunity Credit or Lifetime Learning Credit and to justify a tax-free 529 distribution, the IRS reduces the qualified-expense figure that supports your withdrawal, and the extra earnings become taxable. But because the money was still used for education, only the income tax applies, not the 10% penalty.3Internal Revenue Service. Publication 970 (2025), Tax Benefits for Education
In every one of these situations you still report the earnings on your return and pay ordinary income tax on them. The exception removes the 10%, nothing more.
Ways to Avoid a Non-Qualified Withdrawal Altogether
Before accepting the penalty, check whether the money can stay inside the 529 system. Several routes preserve the full tax advantage.
Broader Qualifying Uses Than Most Families Realize
Room and board for at least half-time students, off-campus rent and groceries up to the school’s published cost-of-attendance allowance, computers and internet service used primarily for education, and books and required supplies all qualify.4Legal Information Institute. 26 USC 529(e)(3) – Qualified Higher Education Expenses Up to $10,000 in lifetime distributions per beneficiary can go toward paying down federal or private student loans, and each of the beneficiary’s siblings can use their own $10,000 from the same account.1Office of the Law Revision Counsel. 26 USC 529 – Qualified Tuition Programs K-12 tuition qualifies up to $20,000 per beneficiary per year under 2025 legislation that also expanded qualifying K-12 costs to include curriculum materials, books, and tutoring. Fees, books, supplies, and equipment for apprenticeship programs registered with the U.S. Department of Labor also count.
Changing the Beneficiary
You can switch the beneficiary to another qualifying family member at any time with no tax consequences. The definition is generous: siblings, parents, children, spouses, nieces, nephews, aunts, uncles, in-laws, and first cousins of the current beneficiary all qualify.1Office of the Law Revision Counsel. 26 USC 529 – Qualified Tuition Programs You can also roll funds into a different 529 plan for the same beneficiary or a family member, so long as you complete only one rollover per beneficiary in any 12-month period.5Internal Revenue Service. 529 Plans: Questions and Answers
Rolling Unused Funds Into a Roth IRA
The SECURE 2.0 Act opened a route to move leftover 529 money into a Roth IRA for the beneficiary, free of income tax and the 10% penalty. The requirements:
- The 529 account must have been open for the current beneficiary for at least 15 years.
- Only contributions that have been in the account for at least five years are eligible.
- The annual rollover amount cannot exceed the IRA contribution limit for the year, which is $7,500 for 2026.6Internal Revenue Service. 401(k) Limit Increases to $24,500 for 2026; IRA Limit Increases to $7,500
- The lifetime maximum is $35,000 per beneficiary.
- The beneficiary must have earned income at least equal to the rollover amount for the year and must own the Roth IRA.
Converting surplus 529 dollars into a retirement asset over several years is often a better answer than swallowing the penalty in one distribution.
State Tax Recapture Is a Separate Issue
Federal rules are only half the picture. Many states give a tax deduction or credit for 529 contributions, and if you later take a non-qualified withdrawal the state may require you to add back the value of those earlier tax benefits, a process commonly called recapture. Some states also charge their own percentage-based penalty on top. The specific rules and rates vary widely, so check your state’s 529 plan documentation or revenue department website before taking a non-qualified distribution. Recapture typically applies only to contributions that were previously deducted, so if you contributed to an out-of-state plan or your state does not offer a deduction, there may be nothing to recapture.
How to Report It on Your Taxes
Your 529 plan administrator will send Form 1099-Q for any year with a distribution. Box 1 shows the total distributed, Box 2 shows the earnings portion, and Box 3 shows the contribution (basis) portion. The form does not sort qualified from non-qualified. You do that at tax time.
Taxable earnings from a non-qualified distribution go on Schedule 1 of Form 1040. The 10% additional tax goes on Form 5329, which feeds into Schedule 2 of Form 1040.7Internal Revenue Service. 2025 Instructions for Form 5329 – Additional Taxes on Qualified Plans and Other Tax-Favored Accounts If a scholarship, disability, or military academy exception applies, you still file Form 5329 to claim the exception even though you owe no additional tax. Keep the scholarship award letters, tuition statements, and receipts for any expenses you treated as qualified. If the IRS questions how you categorized a withdrawal, that paperwork is what settles it.