TaxesBy Josh Ackerman · 6-minute read · Updated July 14, 2026

Federally Tax-Free Isn't Always State Tax-Free: 529 Withdrawals and Your State

Federal tax-free isn't always state tax-free: state penalties, income tax on earnings, and deduction recapture on 529 withdrawals.

Most 529 guides stop at the federal rules — and the federal rules are genuinely good news. But there's a layer underneath them that trips up careful families: a withdrawal that's completely federal penalty-free and tax-free is not automatically tax-free in your state.Your state writes its own definition of a “qualified” 529 expense, and when those two definitions disagree, the gap can cost you.

New to 529s? Start with 529 Plans Explained for the basics, or Your Kid Got Into College: How to Actually Use the 529 for the federal spending mechanics. This guide is about the part that follows: how your state treats the same withdrawal.

Federal tax-free ≠ state tax-free

When a state doesn’t consider what you spent the money on a qualified expense, the earnings portion of that distribution can be subject to state income tax and, in some states, a state penalty — even though the IRS waved it through cleanly. Your original contributions are never at risk; they were already-taxed dollars and come back to you tax-free. It’s the growth on top that a state can reach.

The recapture surprise

There’s a second catch that’s easy to forget years later. Many states hand you a state income-tax deduction or credit when you contribute to a 529 — one of the main reasons to use your own state’s plan. If you later take a distribution the state treats as non-qualified, some of those states “recapture” that break: they add the previously deducted amount back to your state taxable income for the year of the withdrawal. You effectively pay back the benefit you already claimed.

Recapture rules vary widely — some states recapture aggressively, some not at all — which is exactly why the same move can be painless in one state and expensive in another.

Which uses states are most likely to tax

Several of the federally blessed 529 uses are the ones states most often decline to recognize. These are the withdrawals worth checking your state’s rules on before you take them:

UseThe state catch
K-12 tuitionFederally allowed up to an annual per-student limit, but some states cap it lower or exclude K-12 entirely — making the earnings portion state-taxable.
Registered apprenticeshipsFees, textbooks, and required trade tools count federally when the program is registered under the U.S. Department of Labor’s National Apprenticeship Act. Not every state has adopted the same treatment.
Student-loan repaymentFederally allowed up to a lifetime cap per beneficiary (and per sibling), but several states treat it as a non-qualified distribution.
Out-of-state 529 rolloverA rollover to a plan in a different state can be a non-qualified distribution for state purposes — see below.

Rollovers: same state vs. different state

If a qualifying family member already has a 529, you can move funds into their plan with a rollover instead of changing the beneficiary. A rollover to another 529 within the same state is generally penalty- and income-tax-free. A rollover to a plan in a different state is where it gets delicate — some states treat the outbound move as a non-qualified distribution and tax the earnings, and a few recapture prior deductions on top.

Two federal guardrails apply either way: a beneficiary can receive a rollover only once in any 12-month period, and — as with changing the beneficiary — gift tax could apply if the rollover lands in a 529 whose beneficiary is a younger generation.

Scholarships: penalty-free, but still taxed

A scholarship is one of the better problems to have. When your kid wins one, you can withdraw up to the tax-free scholarship amount without the 10% federal penalty. But the penalty waiver is not a tax waiver: federal and state income tax are still owed on the earnings portion of that withdrawal — not on the principal you contributed.

The clean way to handle it is to take the distribution in the same calendar year the scholarship is used. (That same-year timing rule is the one families trip over most — it’s covered in depth in the using-a-529 guide.)

What to do before you withdraw

  1. Identify which category your withdrawal falls into — K-12, apprenticeship, student loans, an out-of-state rollover, or a scholarship offset.
  2. Check whether your state treats that use as qualified, and whether it recaptures 529 deductions on non-qualified distributions.
  3. Keep contributions and earnings straight — only the earnings portion is ever exposed to state tax.
  4. For scholarships and rollovers, mind the timing and the once-per-12-months rollover limit.
  5. Run any of the above past a tax professional — state treatment varies enough that a quick check beats an April surprise.

Want your own state’s treatment at a glance? The kids’ accounts by state explorer shows every state’s 529 tax benefit (deduction, credit, parity, or none) alongside its custodial-account transfer age.

The bigger picture is reassuring: a 529 has far more flexible exits than it used to, from student loans and apprenticeships to the 529-to-Roth rollover. Knowing how your state treats each one is what turns that flexibility into a clean, no-surprises withdrawal.

Frequently asked questions

Is a 529 withdrawal that's federal tax-free also tax-free in my state?

Not automatically. Your state writes its own definition of a qualified 529 expense, and when it doesn't match the federal one, the earnings portion of the distribution can be subject to state income tax and, in some states, a state penalty — even though the IRS waved it through cleanly. Your original contributions are never at risk; only the growth on top is exposed.

What is 529 deduction recapture?

Many states give you a state income-tax deduction or credit when you contribute to a 529. If you later take a distribution the state treats as non-qualified, some states recapture that break by adding the previously deducted amount back to your state taxable income for the year of the withdrawal. Recapture rules vary widely — some states recapture aggressively, some not at all.

Which 529 withdrawals are states most likely to tax?

The uses states most often decline to recognize are K-12 tuition (some states cap it lower than the federal per-student limit or exclude it entirely), registered apprenticeships, student-loan repayment, and rollovers to a 529 plan in a different state. These are the withdrawals worth checking your state's rules on before you take them.

Is rolling a 529 into another state's plan taxable?

It can be at the state level. A rollover to another 529 within the same state is generally penalty- and income-tax-free, but some states treat an outbound rollover to a different state's plan as a non-qualified distribution and tax the earnings — and a few recapture prior deductions on top. Either way, a beneficiary can receive a rollover only once in any 12-month period, and gift tax could apply if the receiving 529's beneficiary is a younger generation.

Do I pay taxes on a 529 withdrawal if my kid gets a scholarship?

Partly. You can withdraw up to the tax-free scholarship amount without the 10% federal penalty, but the penalty waiver is not a tax waiver — federal and state income tax are still owed on the earnings portion of that withdrawal, not on the principal you contributed. Take the distribution in the same calendar year the scholarship is used, and run it past a tax professional since state treatment varies.

Josh Ackerman, Founder, MemoryBank

Written by Josh Ackerman

Founder of MemoryBank. A computer scientist and M.B.A. with 20+ years of investing and technology experience, Josh built the first MemoryBank in his basement so his three kids could watch their own accounts grow. More about Josh →

Penny, the MemoryBank mascot, waving hello

See it in one place

MemoryBank shows your kid's UTMA, 529, Roth IRA, brokerage, and savings in one place — across every institution — and explains their accounts and how investing works in age-appropriate terms they actually understand.

Try MemoryBank free →

Stay in the loop

Occasional updates on new guides and product news — that’s it.

No spam, ever. Unsubscribe in one click. We'll never share your email.

MemoryBank is a display and education tool, not a financial advisor. Nothing here is investment, tax, or legal advice. Verify program details with the IRS, your tax advisor, or a licensed financial professional before making decisions.