Can You Avoid the 529 Withdrawal Penalty? (w/Examples) + FAQs

Yes, in most cases you can avoid the 529 withdrawal penalty. The 10% federal additional tax hits only the earnings in a non-qualified withdrawal, and you skip it by spending on qualified costs, using an exception such as a scholarship, or rolling the money to a Roth individual retirement account (IRA) or an ABLE account.

If your child won a scholarship, skipped college or finished with money left over, you have a real choice to make. You can cash out and pay tax plus the penalty on the growth, or you can use one of several legal exits the Internal Revenue Service (IRS) allows. The money you put in always comes back to you tax-free, which is why the true cost is often smaller than people fear.

This article reflects federal rules as of November 2026 for tax years 2026 and 2027. State rules vary, so confirm current figures with IRS.gov before you file.

What the 529 Withdrawal Penalty Actually Is

A 529 plan is a state-sponsored savings account that grows tax-free when used for education. Spend the money on something the IRS does not count as a qualified education expense, and the withdrawal becomes non-qualified. When that happens, the earnings portion is taxed as ordinary income and hit with a 10% federal penalty.

The fact most people miss is that the penalty applies only to earnings, never to your contributions. You funded the account with after-tax dollars, so that part of any withdrawal comes back with no tax and no penalty. Only the growth, which was never taxed, gets the 10% charge.

This matters because many parents withdraw a lump sum, assume the whole thing is penalized and overpay. In practice the penalty is often a small fraction of the withdrawal. A parent who goes $1,000 over their qualified costs on an $8,000 withdrawal may owe a penalty of about $12.

There is one limit on that good news: you cannot pick which dollars come out. Savers sometimes hope to pull only their contributions and leave the growth behind, but every 529 withdrawal carries a proportional share of earnings. That is different from a Roth IRA, where contributions come out first.

Some people also worry that leaving money in the account triggers a penalty, and it does not. A 529 plan has no expiration date, so doing nothing is a valid, penalty-free choice while you decide.

Before withdrawing anything, ask your plan administrator for the earnings-to-basis ratio of your account. That single number tells you how much of any withdrawal is even exposed to tax and penalty.

How the Penalty Is Calculated (With Real Math)

The IRS requires you to prorate earnings across qualified and non-qualified spending, so you cannot assign all your contributions to the taxable part. The taxable earnings equal the total earnings multiplied by the share of the distribution that was non-qualified, a method detailed in IRS Publication 970.

The math takes two steps. First, find the earnings inside your withdrawal, and then multiply them by the non-qualified share of the withdrawal. The result is the amount subject to income tax and the 10% penalty.

Skipping this math leads to overpaying or, worse, underpaying and getting an IRS notice. The plan sends you and the IRS a Form 1099-Q each year, where Box 1 is the gross distribution, Box 2 is the earnings and Box 3 is your basis. Those numbers must match what you report.

The form goes to whoever received the money, so check the SSN on a 529 plan withdrawal before you file. A payment sent to the student or the school is reported under the student's number, and the student's return then handles any taxable earnings.

Worked Example: Partial Non-Qualified Withdrawal

Suppose you withdraw $8,000 in 2026. Your qualified expenses that year are $7,000, and the earnings inside the withdrawal are $1,000. The non-qualified part is $1,000 of the total, or 12.5%.

Now apply the ratio: $1,000 in earnings times 12.5% equals $125 in taxable earnings. The 10% penalty on that amount is just $12.50. In a 22% bracket, the income tax adds $27.50, for a total federal cost of $40.

The other $875 of earnings and all your contributions escape both tax and penalty. This proration math, shown in savingforcollege.com examples, is why the effective penalty is so small.

The example only works if you can prove the qualified part, so keep every receipt for qualified expenses in the same calendar year as the withdrawal. Most plans ask for no proof when you take money out, which makes the receipts your defense if the IRS ever asks. If you paid a tuition bill from your bank account, reimburse yourself from the 529 before December 31 instead of waiting for the school's Form 1098-T in January.

Which Situation Applies to You?

The right move depends on why you have leftover money. Find the line that matches your case, because each one leads to a different rule and a different cost.

  • Your child earned a scholarship, or received veterans' or employer-provided educational assistance: use the scholarship exception. The penalty is waived up to that amount.
  • The beneficiary died or became disabled: use the death or disability exception, which waives the penalty.
  • Your child entered a U.S. military academy: use the service academy exception, which waives the penalty.
  • You are paying K-12 tuition, tutoring, curriculum or a credential program: these are qualified uses with no tax and no penalty, within limits.
  • The beneficiary has a disability that began before age 46: look at the 529-to-ABLE rollover, which avoids tax and penalty.
  • You have leftover funds and no immediate use: consider a Roth IRA rollover or a beneficiary change, which avoid both penalty and tax.
  • You just want the cash for non-education needs: you will likely owe tax and the 10% penalty on earnings only, so calculate first.
  • You are claiming an education tax credit: the penalty is waived on the matching amount, though tax on earnings still applies.

One more case comes up often: you already took the money out and then learned the cost did not qualify. Federal law gives you 60 days from the withdrawal to roll the money into another 529 for the same beneficiary or a family member. Mark the deposit as a rollover, give the new plan the earnings breakdown from the old one, and keep copies of everything.

The Five Federal Exceptions That Waive the Penalty

The IRS waives the 10% penalty in five specific situations, and the full list is in IRS Publication 970. In all five, the income tax on earnings still applies and only the penalty disappears. Many families mix up those two charges, so keep them separate as you read.

Scholarship Exception

If the beneficiary receives a tax-free scholarship, fellowship, or grant, you can withdraw an amount up to that scholarship without the 10% penalty. The logic is fair, because the scholarship replaced the tuition the 529 was meant to cover. A $10,000 scholarship means that same amount can come out penalty-free that year.

The waiver also reaches beyond scholarships. Publication 970 covers withdrawals up to the amount of tax-free veterans' educational assistance, employer-provided educational assistance and other tax-free educational assistance. Gifts and inheritances do not count.

Even so, the withdrawal is not fully tax-free, because you still owe ordinary income tax on the earnings portion. Take the penalty-free withdrawal in the same tax year the scholarship applies, and keep the award letter as proof.

Death of the Beneficiary

If the beneficiary dies, the 10% penalty is waived on distributions paid to the beneficiary's estate or to another recipient on or after the date of death. The earnings are still taxable to whoever receives them. Changing the beneficiary to another family member is the alternative that avoids both tax and penalty.

If you do take the money out, gather the death certificate and contact the plan administrator, who will document the exception for the 1099-Q. Ask how the plan will report the distribution, so the form matches your return.

Disability of the Beneficiary

A withdrawal is penalty-free if it is made because the beneficiary is disabled. Under Publication 970, that means a physical or mental condition keeps the beneficiary from doing any substantial gainful activity. A physician must determine that the condition is expected to result in death or to last a long and indefinite time.

Keep the physician's statement on file in case the IRS asks for it. The earnings in the withdrawal are still taxed as income, even though the penalty is gone.

U.S. Service Academy Attendance

If the beneficiary attends a U.S. military academy, such as West Point, the Naval Academy, the Air Force Academy, the Coast Guard Academy or the Merchant Marine Academy, you can withdraw up to the cost of attendance penalty-free. These schools charge attendees no tuition, so this rule keeps the savings from being trapped. Confirm the academy's published cost of attendance and limit the penalty-free withdrawal to that figure.

Education Tax Credit Coordination

If you claim the American Opportunity Tax Credit or the Lifetime Learning Credit, the 10% penalty is waived on the amount of expenses used for the credit. You cannot use the same dollars for both a tax-free 529 withdrawal and the credit, because that double-dipping is barred. Claim the credit on Form 8863 and reserve the matching expenses for the credit, not the 529 withdrawal.

New Penalty-Free Ways to Spend 529 Money in 2026 and 2027

Public Law 119-21, the 2025 tax law, widened the list of qualified 529 expenses. Spending on these costs avoids both federal income tax and the 10% penalty, so check this list before you treat a balance as leftover.

The biggest change is the K-12 limit, which for 2026 and 2027 is $20,000 per beneficiary per year, counted across all of that student's 529 accounts. The limit was $10,000 through 2025, and IRS Publication 970 explains how the K-12 rule works.

K-12 costs also go beyond tuition now. They include curriculum and materials, books, tutoring outside the home, standardized and Advanced Placement test fees, dual-enrollment fees and educational therapies for students with disabilities. Our guide on whether a 529 withdrawal for K-12 gets taxed covers the details, and a separate post explains using a 529 for homeschool expenses under the same rules. Both walk through real dollar examples.

Recognized postsecondary credential programs qualify too. That covers licenses, certifications and trade credentials, with tuition, fees, books, supplies, equipment, and testing and credential fees all counting. The word recognized does real work here: a parent who pays a flight academy or training school that is not on an approved list can find out after the withdrawal that the cost did not qualify. Ask the program for proof of its status first.

State rules may differ from all of this. Some states have not adopted these federal changes, so a withdrawal that is clean on your federal return can still cost you on your state return.

Worked Example: Going Over the $20,000 K-12 Cap

A parent withdraws $24,000 in 2026 to pay private high school tuition for one child. Only $20,000 is qualified under that year's K-12 limit. The $4,000 excess, which is one-sixth of the withdrawal, is non-qualified.

Say the withdrawal holds $6,000 of earnings. One-sixth of that is $1,000 of taxable earnings, so the penalty is $100. Income tax comes on top, which is $220 in a 22% bracket.

The fix is easy: keep the withdrawal at the cap for that child and pay the rest of the bill from regular savings. The money left in the account keeps growing and can cover next year's tuition.

The 529-to-Roth IRA Rollover: The Biggest Escape Hatch

Section 126 of the SECURE 2.0 Act lets you move unused 529 funds into a Roth IRA tax-free and penalty-free. This is the strongest tool for leftover 529 money because it avoids both the penalty and the income tax that the other exceptions still charge. The 2025 tax law left this rollover unchanged.

The rollover is not unlimited, though, and the rules are strict. Breaking even one turns a tax-free move into a taxed and penalized withdrawal.

Each of these conditions must be met:

  • The 529 account must have been open for at least 15 years, per the rollover rules.
  • Contributions made in the last 5 years, and the earnings on them, cannot be rolled.
  • The lifetime cap is $35,000 per beneficiary.
  • The annual cap is the IRA contribution limit, which the IRS set at $7,500 for 2026 and again for 2027, or $8,600 at age 50 or older in both years.
  • Any other traditional or Roth IRA contribution the beneficiary makes that year reduces that year's cap.
  • The Roth IRA must be owned by the 529 beneficiary, not the account owner.
  • The beneficiary must have earned income at least equal to the amount rolled that year.
  • The transfer must be a direct trustee-to-trustee move.

In return for those limits, these rollovers bypass the normal Roth income limits. For 2027, regular Roth contributions phase out between $158,000 and $173,000 of income for single filers and between $250,000 and $260,000 for joint filers. A high-earning beneficiary above those ranges can still build a Roth this way.

One error ruins the whole move: taking the cash yourself and then depositing it into the Roth. That is treated as a non-qualified withdrawal, subject to tax and the 10% penalty. Have the beneficiary open the Roth first, then ask your 529 plan for its trustee-to-trustee rollover form.

Worked Example: Rolling Leftover Funds to a Roth IRA

Sarah finished college with $35,000 left in a 529 her mother opened in 2008, well past the 15-year mark. Sarah earns $50,000 a year, so she has plenty of earned income.

Her mother rolls $7,500 into Sarah's Roth IRA in 2026 and the same amount in 2027, the official limit for both years. That moves $15,000 and leaves $20,000, which will take about three more years. The IRS will announce the limits for 2028 and later, so the exact schedule is not known yet.

Sarah must make no other IRA contributions in those years, or the rollover room shrinks. Every dollar moves tax-free and penalty-free, and the rollover is reported in Box 10 of Form 5498. Her result is $0 owed and a head start on retirement.

Rolling 529 Money Into an ABLE Account

A 529 can also roll into an ABLE account, the tax-favored savings account for people with disabilities under section 529A. The rollover is tax-free and penalty-free when the ABLE account belongs to the same beneficiary or to a member of that beneficiary's family. This option used to end after 2025, and Public Law 119-21 made it permanent.

Two limits apply. First, the rollover counts toward that year's ABLE annual contribution limit, together with every other deposit into the account. The IRS sets that limit at $20,000 for both 2026 and 2027, with the 2027 figure published in Revenue Procedure 2026-35.

Second, the ABLE owner must qualify. Starting in 2026, the blindness or disability must have begun before age 46, up from age 26 in earlier years. That change opens the door for many adults who could not have an ABLE account before.

The process itself is short: open the ABLE account first, then ask the 529 plan for a direct rollover to it. Tell the ABLE program how much others plan to deposit that year, so the rollover does not push the account over the annual limit.

Scenario Detail: The Beneficiary Change

If neither rollover fits, you can change the 529 beneficiary at any time without tax or penalty. The new beneficiary must be a member of the original beneficiary's family, such as a sibling, parent, first cousin or the account owner if related. The timing matters when a Roth rollover is also planned, as the second row shows.

MoveResult
Switch beneficiary to a sibling, cousin, or yourself for future schoolNo tax, no penalty; funds stay invested and tax-deferred
Switch beneficiary then immediately roll to a RothNo final IRS guidance on whether this restarts the 15-year clock. Many plans treat it as a restart, so check with your plan first

Scenario Detail: Student Loan Payoff

Paying down education debt is a qualified use, within a lifetime limit set by law. Our post on using a 529 for student loan repayment explains which loans count and how to document the payment.

Move (2026-2027)Result
Use up to $10,000 (lifetime) to repay the beneficiary's student loansQualified expense; no tax, no penalty
Use another $10,000 (lifetime) for each sibling's student loansQualified for each sibling under the SECURE Act loan rule

Named Examples: How It Plays Out

Three families show how these rules work with real numbers. Maria is a scholarship parent whose son James wins a $15,000 merit scholarship for 2026, and she withdraws the same amount from his 529 that year. Because of the scholarship exception, she pays no 10% penalty.

She still owes income tax on the earnings slice, which is $3,000 in her case and is taxed at her rate. The penalty of roughly $300 is erased, so her goal of recovering the unneeded savings is met cleanly.

David, by contrast, has leftover funds. His daughter Mia graduated debt-free with $20,000 still in a 529 opened in 2007, and Mia earns $45,000 a year. David rolls $7,500 into Mia's Roth IRA in 2026 and again in 2027, the official IRA limit for both years.

The last $5,000 moves in a later year, once the IRS announces that year's limit. His goal of turning school money into tax-free retirement money costs him nothing in tax or penalty.

Lena takes the third path, a non-qualified cash-out. She needs $10,000 from a 529 for a home repair, not education, and the withdrawal holds $4,000 of earnings. She owes a 10% penalty of $400 plus ordinary income tax on those earnings.

Her $6,000 of contributions come out free. Knowing the math up front, Lena accepts the small cost instead of overestimating it.

Federal vs. State: Two Separate Bills

Federal rules are only half the story. Most states recapture the state tax deduction or credit you claimed on contributions when you make a non-qualified withdrawal, as explained by savingforcollege.com. In effect, you repay the state benefit you received.

New York is a clear example. For 2026, the state offers residents a deduction of up to $5,000 ($10,000 for joint filers) on contributions to the NY 529 Direct Plan. A non-qualified withdrawal can trigger recapture of those deductions, so the state cost is separate from the federal penalty.

States also decide for themselves what counts as qualified. Some states, including New York, do not treat K-12 tuition, the new federal K-12 and credential expenses, or the Roth rollover as qualified. A withdrawal that is penalty-free on your federal return can still trigger state recapture there.

Forgetting this leads to a surprise state tax bill months after the federal one. Check your own state's rules before you withdraw, because conformity varies widely and no state is guaranteed to follow the federal Roth-rollover rule.

Federal Rule (2026 and 2027)State Rule
10% penalty on earnings for non-qualified withdrawalsMany states recapture prior contribution deductions or credits
No extra state penalty federallyCalifornia adds a 2.5% state penalty on earnings, for 12.5% total
529-to-Roth rollover is tax-freeSome states do not treat the rollover as qualified and may recapture deductions
K-12 (up to $20,000 a year from 2026) and credential-program costs are qualifiedSome states treat these as non-qualified and recapture deductions

Mistakes to Avoid

Most 529 penalties come from a short list of errors, not from bad luck. Each one is easy to avoid once you know the rule behind it.

  • Withdrawing more than your qualified expenses in a year. The excess becomes non-qualified, which triggers penalty and tax on its earnings.
  • Mismatching the withdrawal year and the expense year. The safe practice is to match them by calendar year, because a December withdrawal for January tuition can be ruled non-qualified.
  • Assuming the whole withdrawal is penalized. Only the prorated earnings are, so overpaying wastes money.
  • Doing a withdraw-then-deposit Roth move. This voids the tax-free rollover and creates a penalized non-qualified distribution.
  • Changing the beneficiary right before a Roth rollover. IRS guidance is unsettled, and many plans treat the change as restarting the 15-year clock.
  • Double-dipping on education credits. Using the same expenses for both a 529 withdrawal and the American Opportunity Tax Credit triggers tax on the duplicated earnings.
  • Ignoring state recapture. You can avoid the federal penalty and still owe your state for clawed-back deductions.
  • Withdrawing more than $20,000 per beneficiary for K-12 costs in 2026 or 2027. The amount over the cap is non-qualified.
  • Making a regular Roth or traditional IRA contribution in the same year as a 529-to-Roth rollover. That contribution shrinks the rollover room for the year.

A Quick Checklist

These habits keep a withdrawal clean on both your federal and state returns.

Do's:

  • Match each withdrawal to qualified expenses in the same year, which keeps the distribution fully tax-free.
  • Request your earnings-to-basis ratio first, so you know your true exposure before acting.
  • Use the scholarship exception in the same year the scholarship applies, because timing controls eligibility.
  • Keep receipts, award letters and 1099-Q forms, since the IRS may ask you to prove qualified use.
  • Consider a Roth rollover for leftover funds, because it avoids penalty and income tax.

Don'ts:

  • Do not cash out for non-education needs without running the proration math, or you may overpay.
  • Do not forget your state may recapture deductions, which creates a second bill.
  • Do not assume your state follows the federal Roth-rollover rule, because not every state does.
  • Do not withdraw the funds yourself for a Roth, since only trustee-to-trustee transfers qualify.
  • Do not leave large balances unexamined, because a beneficiary change or rollover often beats a penalized cash-out.

Pros and Cons of Taking a Non-Qualified Withdrawal

Sometimes cashing out is the right call, even with the penalty. Weigh these points against your need for the money.

Pros

  • Immediate access to cash, which is useful when you truly need the money now.
  • Only earnings are penalized, so the real cost is often small.
  • Contributions come out free, giving you flexible principal anytime.
  • No need to find a new beneficiary, which simplifies your decision.
  • Predictable math through the 1099-Q proration, so there are no hidden surprises.

Cons

  • The 10% penalty on earnings is money you never recover.
  • Earnings are taxed as ordinary income, possibly pushing you into a higher bracket.
  • State recapture can add a separate, later tax bill.
  • Lost tax-free growth, because money pulled out stops compounding tax-free.
  • A better option may exist, since Roth and ABLE rollovers, beneficiary changes and the new K-12 and credential uses often cost nothing.

What to Do Next

  1. Pull your account's earnings-to-basis ratio from your plan administrator, so you know your true taxable exposure.
  2. Pick the exception or strategy that fits, and check whether a K-12, credential-program or ABLE-rollover use works before cashing out.
  3. Match withdrawals to the correct tax year and gather receipts, scholarship letters or physician statements as proof.
  4. For leftover funds, open the beneficiary's Roth IRA and request a trustee-to-trustee rollover form, after checking your state's recapture and conformity rules.
  5. Watch for your Form 1099-Q in January, reconcile it against your qualified expenses, and call a CPA or tax advisor if the amounts are large or your state's treatment is unclear.

Professional help often costs a few hundred dollars and can prevent a far bigger error, above all when the beneficiary has died. This article is educational and not a substitute for advice from a licensed tax professional for your specific situation.

Frequently Asked Questions

What happens if I withdraw 529 funds for non-qualified expenses?

The earnings portion is taxed as ordinary income plus a 10% federal penalty. Your contributions are never taxed or penalized. Your state may also recapture deductions or credits you claimed on those contributions.

Can I avoid the penalty if my child gets a scholarship?

Yes. You can withdraw an amount equal to the tax-free scholarship, or other tax-free educational assistance such as veterans' benefits, without the 10% penalty in that same year. You still owe ordinary income tax on the earnings portion, but the penalty is fully waived.

Is there a time limit for using 529 funds?

No, 529 plans never expire. You can leave funds invested indefinitely, change beneficiaries, or save for graduate school later. There is no penalty for simply keeping money in the account.

How much can I roll from a 529 to a Roth IRA?

The lifetime limit is $35,000 per beneficiary. Each year is capped at the IRA contribution limit, which is $7,500 for 2026 and for 2027 ($8,600 at age 50 or older), minus any other IRA contributions the beneficiary makes that year. The 529 account must have been open at least 15 years.

Can I roll 529 funds into my own Roth IRA?

No, unless you are also the account's beneficiary. The money can only land in a Roth IRA that belongs to the student the 529 was set up for. That person also needs earned income for the year at least as large as the amount moved.

Does my state charge its own 529 penalty?

It depends on the state. Most have no extra penalty but recapture prior deductions on non-qualified withdrawals. California adds a 2.5% state penalty on earnings, raising the total penalty to 12.5%. Some states also treat K-12 or Roth-rollover withdrawals as non-qualified.

Can I use 529 funds and claim an education tax credit?

Yes, but not on the same expenses. You cannot use the same costs for both a tax-free 529 withdrawal and the American Opportunity Tax Credit or Lifetime Learning Credit. If you claim the credit, the 10% penalty is waived on the matching amount, but earnings tax still applies.

Can I use 529 money to repay student loans?

Yes, up to $10,000 lifetime per borrower. You can repay the beneficiary's loans and a separate $10,000 for each sibling, all penalty-free and tax-free as a qualified expense.

Can I roll leftover 529 money into an ABLE account?

Yes. A direct rollover to an ABLE account for the beneficiary or a family member is tax-free and penalty-free, and the option is now permanent. The rollover counts toward that year's ABLE contribution limit, which is $20,000 for 2026. Starting in 2026, the disability must have begun before age 46.