Answer

How Do You Avoid the 529 Non-Qualified Withdrawal Penalty?

You avoid the additional federal penalty on a 529 withdrawal by not making it non-qualified in the first place, or by fitting one of the built-in exceptions. The cleanest way is to withdraw only up to your qualified education expenses for the year -- tuition, fees, books, required equipment, room and board for a half-time student, and, within IRS limits, K-12 tuition, apprenticeship costs, and student-loan payments -- and to keep receipts that match. If money would otherwise be left over, change the beneficiary to another eligible family member so it stays tax-advantaged, or, under the SECURE 2.0 Act, roll a portion into a Roth IRA for the beneficiary if the conditions are met. If you do take a non-qualified withdrawal, the penalty (not the income tax on the earnings) is waived when the beneficiary received a tax-free scholarship -- up to the scholarship amount -- attends a U.S. military service academy, or dies or becomes disabled. Remember only the earnings portion is ever taxed or penalized; your contributions always come out free. And none of this runs through a debt-relief or settlement company -- a 529 is your own account, so the only players are you, your plan, and the IRS.

DW
By Dana Whitfield — Personal finance writer

The 529 penalty only ever lands on the earnings portion of a withdrawal, and only when that withdrawal is "non-qualified." So avoiding it comes down to two ideas: keep withdrawals matched to real education spending, or use one of the specific exceptions the law provides. Here's how to do each -- and why no debt-settlement company belongs anywhere in the process.

Match withdrawals to qualified expenses

The most reliable way to avoid the penalty is to take out only what you spend on qualified education costs in the same tax year, and to keep the paperwork that proves it. Qualified expenses are broader than just tuition: they include mandatory fees, books, supplies, and required equipment, room and board for a student enrolled at least half-time, and computers and internet used primarily by the student. Within IRS limits, they also cover K-12 tuition, registered apprenticeship costs, and repayment of the beneficiary's (or a sibling's) student loans. Time the withdrawal to the same year as the expense, and don't withdraw more than the qualified total -- the excess is what becomes non-qualified.

Don't accidentally double-dip

A common way people trip the penalty by surprise is claiming the same expense twice. You can't use a tax-free scholarship, a Pell Grant, or an education tax credit to cover a cost and also pull tax-free 529 money for that same cost. If you plan to claim an education credit, carve out those expenses and don't pay them from the 529. Coordinating which dollars cover which expense keeps every 529 withdrawal genuinely qualified and the penalty off.

Redirect leftover money instead of cashing out

If a beneficiary won't use the funds, the penalty is easiest to avoid by never making a non-qualified withdrawal at all. Change the beneficiary to another eligible family member -- a sibling, yourself, a future grandchild -- and the money keeps its tax advantage. Leave the account invested, since 529s generally have no deadline. Or, under the SECURE 2.0 Act, roll a portion of long-held leftover funds into a Roth IRA for the beneficiary, subject to the plan's minimum age, annual and lifetime caps, and the beneficiary's own IRA contribution room. These options move the money without triggering either the tax or the penalty. See the full list of leftover-529 options for how each works.

Use a penalty exception when one fits

Even a genuinely non-qualified withdrawal can escape the penalty (though not the income tax on the earnings) through a built-in exception:

In every one of these, you still report the earnings as income and pay ordinary income tax on that portion -- but the additional penalty comes off. If one applies, keep documentation of the scholarship, benefit, or circumstance with your tax records.

Remember: only earnings are ever hit

Whatever route you take, keep the scale in perspective. The tax and penalty apply only to the earnings portion of a withdrawal, never to your contributions -- you always get your own after-tax deposits back free. On an account that hasn't grown much, even a fully non-qualified withdrawal costs little. So "avoiding the penalty" is sometimes less urgent than it feels; running the actual earnings math with a tax professional may show the cost is small.

This is a tax step, not a settlement

Because a 529 is your own account and not a lender debt, there is no creditor to negotiate with and nothing for a debt-relief or settlement company to do. Any pitch to "settle," "forgive," or "erase" a 529 tax bill is a red flag -- there's no such thing. This is ordinary tax handling reported on Form 1099-Q, the same way correcting your own HSA is a tax step, not a negotiation. The people who can genuinely help are your 529 plan administrator and a tax professional.

Bottom line

Avoid the 529 non-qualified penalty by keeping withdrawals matched to qualified expenses and receipts, not double-dipping with scholarships or education credits, and redirecting leftover money by changing the beneficiary or -- under SECURE 2.0 -- rolling a portion to a Roth IRA. If you must take a non-qualified withdrawal, use an exception (scholarship, service academy, death, or disability) to drop the penalty, and remember only the earnings are ever taxed or penalized. It's a tax decision about your own money, so work it out with your plan and a tax professional -- never a settlement company.

This page is general information, not tax or legal advice. 529 plan rules, qualified expenses, penalty exceptions, and Roth-rollover conditions are set by federal and state law and can change -- rely on IRS guidance, your plan administrator, and a tax professional for your situation.