529 Plan Non-Qualified Distributions: Taxes, Penalties, and Exceptions

Taking money out of a 529 for something other than qualified education expenses triggers a 529 plan non-qualified distribution penalty of 10% on the earnings portion, plus ordinary federal income tax on those same earnings. Your original contributions come back tax-free because you funded the account with after-tax dollars. Only the investment growth gets hit, and several exceptions can knock out the 10% surcharge even when income tax still applies.

How the Tax and Penalty Are Calculated

Every 529 withdrawal is a proportional mix of contributions and earnings. The IRS does not let you designate that you are pulling contributions first. You divide total account earnings by the total balance to get the earnings ratio, then multiply that ratio by the non-qualified distribution to find the taxable earnings.

An example makes the math concrete. If your account holds $50,000 made up of $40,000 in contributions and $10,000 in earnings, the earnings ratio is 20%. A $5,000 non-qualified withdrawal produces $1,000 in taxable earnings and $4,000 that comes back as a tax-free return of contributions. That $1,000 gets taxed at your ordinary federal rate and hit with the additional 10%.1Office of the Law Revision Counsel. 26 USC 529 – Qualified Tuition Programs

State taxes can add a second layer. If you claimed a state income tax deduction or credit when you contributed, your state may recapture that benefit on a non-qualified withdrawal. Rules vary widely, from full recapture to no state consequence at all in states without an income tax. Check your state’s 529 rules before withdrawing, because the combined federal and state bite can eat a meaningful share of the money you pull.

What Counts as Non-Qualified

A distribution is non-qualified whenever the funds go toward expenses that fall outside the federal definition of qualified higher education expenses. That definition covers tuition, fees, books, supplies, equipment, and room and board for students enrolled at least half-time. Room and board qualifies only up to the greater of the school’s published cost-of-attendance allowance or the actual amount charged for on-campus housing.2Internal Revenue Service. Publication 970 (2025), Tax Benefits for Education

Some expenses look education-adjacent but do not qualify:

  • Transportation costs, including gas, airfare, parking, and car payments.
  • Health insurance, student health fees, and medical costs, even when the school requires them for enrollment.
  • Off-campus rent and groceries above the school’s published room and board allowance. The excess is non-qualified.
  • Gym memberships, streaming subscriptions, and general lifestyle costs.
  • Smartphones, which do not fall under the computer equipment definition.

Computers, software, and internet service do qualify as long as the beneficiary uses them primarily during enrollment years. The school does not need to specifically require them for a course; the statute treats them as qualified expenses on their own terms.1Office of the Law Revision Counsel. 26 USC 529 – Qualified Tuition Programs

Timing Traps That Create Non-Qualified Withdrawals

The distribution and the expense it pays for must fall in the same calendar year. Pay spring tuition in December 2025 and the withdrawal has to happen in 2025 too. Wait until January 2026 to pull the money and the IRS can treat the whole thing as a non-qualified distribution, with income tax and the 10% penalty following on the earnings portion. This catches families most often around the fall-to-spring semester transition.

The rule works both ways. If you paid a qualified expense out of pocket earlier in the year and forgot to reimburse yourself from the 529, you can still withdraw the money later that same calendar year and treat the distribution as qualified.

When the 10% Penalty Is Waived

Federal law waives the 10% additional tax in several situations where a distribution becomes non-qualified through no real fault of the account holder. Ordinary income tax on the earnings still applies in each case. The waiver only removes the surcharge.1Office of the Law Revision Counsel. 26 USC 529 – Qualified Tuition Programs

  • Death of the beneficiary.
  • Permanent disability of the beneficiary.
  • Receipt of a tax-free scholarship. The waiver applies up to the scholarship amount.
  • Attendance at a U.S. service academy. The waiver applies up to the cost of the education the academy provides.
  • Tax-free employer-provided educational assistance covering the beneficiary’s costs. The waiver applies up to that amount.
  • Expenses used to claim the American Opportunity Tax Credit or Lifetime Learning Credit. The portion that becomes non-qualified because those dollars went to the credit avoids the penalty.2Internal Revenue Service. Publication 970 (2025), Tax Benefits for Education

Documentation matters for every exception. Keep the scholarship award letter, the disability determination, the academy attendance records, or the employer benefit statement. You will need to substantiate the amounts if the IRS questions your return.

What to Do With a Tuition Refund

Schools sometimes refund tuition originally paid with 529 funds. You have 60 days from the date of the refund to recontribute the money to a 529 plan for the same beneficiary. Meet that deadline and the refund is not treated as a non-qualified distribution. The recontribution does not count against contribution limits and is treated entirely as principal going forward.3Internal Revenue Service. Guidance on Recontributions, Rollovers and Qualified Higher Education Expenses under Section 529 (Notice 2018-58)

The recontribution does not have to go back into the same 529 plan the distribution came from. Any 529 account with the same beneficiary works. Miss the 60-day window and the refunded amount becomes an ordinary non-qualified distribution, with tax and penalty applying to the earnings portion.

Reporting the Distribution

After any year in which you take a 529 distribution, the plan administrator issues Form 1099-Q. The form reports the gross distribution in Box 1, the earnings portion in Box 2, and your basis in Box 3. It goes to whoever received the payment, which is either the account owner or the beneficiary.4Internal Revenue Service. Form 1099-Q – Payments From Qualified Education Programs

You are responsible for figuring out how much of the distribution is taxable. The IRS does not do that for you. Taxable earnings from a non-qualified distribution get reported as income on Form 1040. If the 10% additional tax applies, you calculate and report it on Form 5329.5Internal Revenue Service. About Form 5329, Additional Taxes on Qualified Plans The IRS receives a copy of your 1099-Q and will notice if the distribution does not appear on your return.

Alternatives That Avoid the Penalty Entirely

Before you accept the tax and penalty, look at whether the money can go toward a different qualified purpose. The list of eligible uses has expanded, and one of these options often works better than absorbing the hit.

K-12 Tuition

Up to $10,000 per year per student can come out tax-free to pay tuition at an elementary or secondary public, private, or religious school. Only tuition qualifies at the K-12 level. Books, supplies, and other costs that would count at the college level do not.6Internal Revenue Service. 529 Plans: Questions and Answers

Student Loan Repayment

529 funds can pay principal or interest on qualified student loans for the beneficiary or any of the beneficiary’s siblings. The cap is $10,000 per person across all 529 plans, applied on a lifetime basis. Once someone has received $10,000 toward their loans from any 529 account, no further tax-free distributions are available for those loans.1Office of the Law Revision Counsel. 26 USC 529 – Qualified Tuition Programs

Registered Apprenticeship Programs

Fees, textbooks, supplies, and required equipment for apprenticeship programs registered with the U.S. Department of Labor qualify. The program must be certified under the National Apprenticeship Act. This opens 529 funds to trade and vocational paths outside traditional college enrollment.1Office of the Law Revision Counsel. 26 USC 529 – Qualified Tuition Programs

Changing the Beneficiary

If the current beneficiary no longer needs the funds, you can name a different qualifying family member with no tax consequences. The definition is broad and covers the current beneficiary’s spouse, children, siblings, parents, nieces, nephews, aunts, uncles, first cousins, and their spouses. This is often the simplest way to preserve the tax benefits when one child finishes school with money left over or decides not to attend college.

Rolling Funds Into a Roth IRA

Starting in 2024, the SECURE 2.0 Act allows tax-free rollovers from a 529 into a Roth IRA for the beneficiary. The rules are strict. The 529 account must have been open for at least 15 years. Only funds contributed more than five years before the rollover date, plus their attributable earnings, are eligible. Annual rollovers cannot exceed the Roth IRA contribution limit for that year, which is $7,500 for 2026 for those under age 50, reduced by any other IRA contributions the beneficiary makes.7Internal Revenue Service. Retirement Topics – IRA Contribution Limits The lifetime cap across all years is $35,000 per beneficiary. The transfer has to move trustee-to-trustee, and the 529 beneficiary and Roth IRA owner must be the same person, who needs earned income at least equal to the rollover amount for the year.

At $7,500 a year, reaching the $35,000 lifetime cap takes at least five years. This is a long-term strategy rather than an emergency exit, but it converts education savings into retirement savings without tax cost. If you recently changed the 529 beneficiary or rolled funds between plans, the 15-year clock may have restarted, so verify your account history with the plan administrator before initiating a transfer.2Internal Revenue Service. Publication 970 (2025), Tax Benefits for Education