529 Withdrawal Penalty: How It's Calculated and How to Avoid It
Take money out of a 529 for something other than education and there is a 10% penalty. Worrying about that rule keeps a lot of families from opening an account, or from putting in as much as they should. In reality though, the penalty as applied is much smaller than it sounds, and it never touches the money you put in.
As always on the Hadley blog, let's dive in and demystify this!

What Is the 529 Withdrawal Penalty?
When you withdraw from a 529 for something other than a qualified education expense, the earnings portion of the withdrawal is taxed as ordinary income, and the IRS charges a 10% penalty on that same earnings portion. The principal, meaning the contributions you put in, comes back tax-free and penalty-free, no matter what you spend it on.
Put $100 into a 529 and let it grow to $110. The $100 of principal is yours, untouched. The 10% penalty applies only to the $10 of earnings, so it is $1 on $110 of account value.
How the Penalty Is Calculated
Every withdrawal comes out in the same mix of principal and earnings as the account as a whole. If the account balance is composed of 60% principal and 40% earnings, then so is every dollar you take out. The penalty for a withdrawal on an unqualified expense is 10% of the earnings portion only. The earnings portion is also taxed as income, but that is tax, not penalty, and it would have occurred if the money were invested in an ordinary taxable account anyway.
Example: The Nolans Take $10,000 Out for a Kitchen Reno
Mark and Dana Nolan of Columbus, Ohio have $50,000 in a 529 for their son Mason, $30,000 of it their own contributions, so the account represents 40% earnings and 60% principal. Mason is 14, and the Nolans decide to pull $10,000 from the 529 for a kitchen renovation. However much homework gets done at the new island, a kitchen is not a qualified education expense. This is a non-qualified withdrawal.
Principal portion of the withdrawal: $6,000 or 60% of the withdrawal. No tax, no penalty.
Earnings portion of the withdrawal: $10,000 × 40% = $4,000.
Penalty: 10% of $4,000 = $400.
That is the penalty: $400 on a $10,000 unqualified withdrawal, or 4%. Separately, assuming a 22% tax rate, the Nolans owe $880 of income tax on the $4,000 of earnings, the same tax they would have paid on $4,000 of gains in a regular brokerage account. State tax may add to this; see below.
How to Withdraw From a 529 Without Penalty
Most people asking this question are not planning a kitchen. Usually the worry is that a scholarship comes through, or the account ends up over-saving, with more in it than school will cost. In nearly all of those cases there is no penalty.
When the Penalty Doesn’t Apply
The IRS waives the 10% penalty when the money is no longer needed for school because of:
A scholarship. You can withdraw up to the scholarship amount penalty-free, and the same goes for veterans’ education benefits and employer tuition assistance.
Attendance at a U.S. military academy. The academies charge no tuition, so you can withdraw up to what that education would have cost, penalty-free.
The beneficiary's disability or death. If the student the account was set up for becomes disabled or dies, the money comes out with no penalty.
Back to the Nolans. Suppose that instead of a kitchen, Mason is 18 and has just won a $10,000 scholarship, so the 529 no longer needs to cover that $10,000. His parents withdraw it the same year. Penalty: $0. They can spend it on anything.
The earnings portion is still taxed as ordinary income, the same as it would have been in a regular brokerage account. On the Nolans’ $10,000, that is $880 at a 22% rate. No penalty, and no worse off than if they had never put that money into a 529.
When You Don’t Need to Withdraw at All
If none of those apply and the money is still in the account, the simplest answer is to leave it there. A 529 has no deadline or expiration. The account keeps growing tax-free until there is a qualified expense to pay, whether that is graduate school in six years or a grandchild’s tuition in thirty. You can change the beneficiary to another family member with no tax at all (see Account Owner vs. Beneficiary), roll leftover money into a Roth IRA (see The 529-to-Roth Rollover), or use it for an expense you may not realize qualifies, such as K-12 tuition or student loans.
State Tax Recapture: One More Consideration
The 10% penalty is federal. Your state may add its own cost to a non-qualified withdrawal: state income tax on the earnings, and, if your state gave you a deduction for contributing, recapture of that deduction. New York notes that its deductions “may be subject to recapture” on nonqualified withdrawals; Pennsylvania warns that the entire withdrawal may be subject to state and local income tax. Before a non-qualified withdrawal, check your own plan’s tax-benefits page for the word “recapture.”
The Bottom Line
The 529 withdrawal penalty is 10% of the earnings portion, never of your principal. On an account that is 40% earnings, that is 4 cents per dollar withdrawn. It goes away for scholarships, military academies, disability, and death. It never comes up if you leave the money in the account or change the beneficiary. If you do take a non-qualified withdrawal, the plan sends you a Form 1099-Q in January showing the earnings portion, and the penalty is reported on your tax return. For how to take a qualified withdrawal, see Rules for Withdrawing From a 529.
Does your employer offer 529 benefits? If you’d like yours to, point your HR team to Hadley for Employers or email us at AskHadley@gohadley.com and we’ll reach out to them for you. Already have a 529 account? Download the Hadley app to track balances and schedule contributions from your phone.
//
Questions? Contact us at AskHadley@gohadley.com. We're always open to feedback, suggestions, or otherwise!
This article is provided for informational and educational purposes only and does not constitute investment, legal, tax, or accounting advice. Nothing herein should be construed as a recommendation or solicitation to buy, sell, or hold any security or to adopt any particular investment strategy or vehicle. The views expressed are those of the author as of the date of publication and are subject to change without notice. Any data, figures, or statistics are believed to be reliable as of the publication date but may become outdated. Hadley undertakes no obligation to update such information. Charts, graphs, hypothetical examples, and other visual materials are provided for illustrative purposes only and do not represent actual account performance. Past performance is not indicative of future results. All investments involve risk, including the possible loss of principal. Strategies discussed may not be suitable for all investors, and readers should consult their own professional advisers before making investment decisions. References to third-party websites or content are provided for convenience only. Hadley does not control or endorse, and is not responsible for, the accuracy or content of third-party materials. Advisory services are offered only pursuant to a written agreement and only in jurisdictions where Hadley is properly registered or exempt from registration. Additional information about Hadley is available in its Form ADV, which can be obtained upon request or via the SEC’s Investment Adviser Public Disclosure website: IAPD - Investment Adviser Public Disclosure - Homepage.


