529 Non-Qualified Distributions: Taxes, 10% Penalty, and Exceptions

A 529 non-qualified distribution penalty is the 10% additional federal tax charged on the earnings portion of any withdrawal you use for something other than qualified education expenses. That 10% sits on top of ordinary federal income tax on those same earnings. Your original contributions come back tax-free no matter how you spend them, so the damage is limited to the investment growth inside the account.

Earnings vs. Contributions: Only Part of the Withdrawal Is Hit

The penalty and the income tax both apply only to the earnings portion of a non-qualified distribution, never to the contributions you originally put in. You can’t choose which dollars come out first, though. Every distribution contains a proportional mix of basis (your contributions) and earnings (the investment growth), based on the account’s overall ratio at the time of the withdrawal.1Office of the Law Revision Counsel. 26 USC 529 – Qualified Tuition Programs

The math: divide total contributions by the account’s current value, then multiply by the distribution amount. That gives you the basis portion. The rest is earnings. If you contributed $15,000 over the years and the account is now worth $20,000, 75% of any withdrawal is basis and 25% is earnings. A $4,000 non-qualified withdrawal contains $3,000 of returned contributions (tax-free, penalty-free) and $1,000 of taxable, penalized earnings.

An account that has grown a lot has a higher earnings ratio, so more of every non-qualified dollar gets taxed. An account that hasn’t grown much has very little exposure.

What the Penalty Actually Costs You

Two federal charges land on the earnings portion:

  • Ordinary federal income tax at your regular rate. These gains don’t qualify for long-term capital gains treatment, even if the underlying investments would have qualified in a taxable brokerage account. The earnings stack on top of your other income, so the effective rate depends on your bracket. For 2026, federal rates run from 10% to 37%, with the top rate starting above $640,600 for single filers and $768,700 for married couples filing jointly.2Internal Revenue Service. IRS Releases Tax Inflation Adjustments for Tax Year 2026
  • A separate 10% additional tax on the same earnings.1Office of the Law Revision Counsel. 26 USC 529 – Qualified Tuition Programs

Put those together on a $4,000 non-qualified distribution containing $1,000 in earnings. At a 22% marginal rate, you owe $220 in income tax plus $100 in penalty. Total federal cost: $320 on that $1,000 of growth. The $3,000 of basis costs nothing. Across the range of marginal rates most families face, the combined bite typically runs roughly a third of the earnings, sometimes more.

One boundary worth stating: the tax and penalty are triggered by any use outside the qualified-expense definition, including expenses that feel education-related but aren’t covered, such as transportation to and from campus, student health fees, and personal electronics that aren’t used primarily for coursework. Off-campus rent above the school’s published room-and-board allowance also falls into non-qualified territory on the excess.

Exceptions That Waive the 10% (but Not the Income Tax)

Several situations remove the 10% additional tax while leaving ordinary income tax on the earnings in place. IRS Publication 970 lists them:3Internal Revenue Service. Publication 970, Tax Benefits for Education

  • Death of the beneficiary. Distributions to the estate or another recipient after the beneficiary dies are exempt from the penalty.
  • Disability. If the beneficiary has a physical or mental condition that substantially limits any gainful activity and a physician determines the condition will result in death or continue indefinitely, the penalty is waived.
  • Tax-free scholarships, veterans’ educational assistance, and employer-provided educational assistance. You can withdraw up to the amount of the scholarship or assistance without the 10%. Income tax on the earnings still applies.
  • Attendance at a U.S. military academy such as West Point or Annapolis. Distributions up to the cost of advanced education at the academy avoid the penalty.
  • Coordination with an education tax credit. If you claim the American Opportunity Tax Credit or the Lifetime Learning Credit for the same expenses a 529 distribution paid for, the overlap makes that portion of the 529 distribution non-qualified, but the 10% doesn’t apply. Ordinary income tax on the earnings still does.

That last one catches a lot of families. You can’t use the same tuition dollars for both a tax-free 529 withdrawal and a credit, but if you allocate some tuition to the credit and take the 529 distribution for the overlapping amount, at least the penalty disappears.

State Tax Recapture

Federal isn’t the whole picture. Most states that give an income tax deduction or credit for 529 contributions “recapture” that benefit when you take a non-qualified distribution. The mechanics: the amount you previously deducted gets added back to your state taxable income in the year of the withdrawal. Deducted $5,000 three years ago and now pull money out for a non-educational expense? That $5,000 reappears on your state return as income.

Some states also add their own penalty on top of the recapture. Approaches vary. A few states apply recapture to plan-to-plan rollovers when you move funds from an in-state plan to an out-of-state plan, even though the federal government treats those rollovers as non-taxable. Check your state’s rules before either withdrawing for non-educational purposes or transferring to another state’s plan.

How It Gets Reported

Your 529 plan administrator issues Form 1099-Q for any distribution during the year.4Internal Revenue Service. Instructions for Form 1099-Q Box 1 shows the total gross distribution, Box 2 shows the earnings portion, and Box 3 shows the basis. Those numbers drive the rest of the return.

Taxable earnings from a non-qualified distribution go on Schedule 1 of Form 1040, Line 8(z), flowing to the main return as other income.5Internal Revenue Service. 1099-Q: What Do I Do? If no exception applies, you also file Form 5329 to calculate the 10% additional tax, which then carries to the additional taxes section of your 1040.6Internal Revenue Service. Instructions for Form 5329

Watch whose name is on the 1099-Q. If it’s issued to the beneficiary (the student) rather than the account owner, the student is the one who reports the income and pays the tax. That can help when the student has little other income and sits in a low bracket, but it can also surprise a family at filing time. Hold onto every 1099-Q and every receipt for qualifying expenses. You need to be able to show the IRS which distributions were qualified if it asks.

Ways to Avoid the Penalty Entirely

Before accepting the tax and penalty, look at options that keep the money in tax-advantaged territory.

Change the beneficiary. You can switch the designated beneficiary to a sibling, parent, child, cousin, niece, nephew, spouse, in-law, or several other qualifying family members with no tax consequences.1Office of the Law Revision Counsel. 26 USC 529 – Qualified Tuition Programs If the original beneficiary finishes school with money left over, naming a younger sibling keeps the account growing for their education.

Pay down student loans. Up to $10,000 over a beneficiary’s lifetime can go toward principal or interest on qualified education loans. The same $10,000 limit applies separately to each of the beneficiary’s siblings, so a family can move meaningful money out of the plan through loan repayments.1Office of the Law Revision Counsel. 26 USC 529 – Qualified Tuition Programs

Use a scholarship exception withdrawal. If the beneficiary received a scholarship, you can withdraw up to that amount penalty-free. You still owe income tax on the earnings, but the 10% is gone.

Roll leftover funds into a Roth IRA for the beneficiary. Available starting in 2024 under the SECURE 2.0 Act. The rules are strict: the 529 must have existed for at least 15 years, the funds being rolled over must have been in the plan for at least five years, and the beneficiary must have earned income. Annual transfers are capped at the Roth IRA contribution limit ($7,500 for 2026 for those under 50), with a $35,000 lifetime cap per beneficiary.1Office of the Law Revision Counsel. 26 USC 529 – Qualified Tuition Programs Rollovers count against the beneficiary’s annual Roth IRA contribution limit for that year.

The Roth rollover rewards patience more than last-minute planning, given the 15-year clock. Beneficiary changes and loan repayments are the faster tools for money you need to move out of the plan now without paying the penalty on the earnings.