Skip to main content

HomeAll guides

How 529 Plans Handle Taxes on Earnings and Withdrawals

529 plans offer tax-free growth on earnings, but only when you withdraw money for may have access to education expenses

A 529 plan grows tax-free at the federal level — meaning you pay no income tax on the investment earnings as long as the money stays in the account. The moment you withdraw it, the tax treatment depends entirely on what you spend it on. Withdrawals for may have access to education expenses come out tax-free, including earnings. Withdrawals for anything else trigger federal income tax on the earnings portion, plus a 10 percent penalty on those earnings.

The earnings are the growth your money makes over time. If you put $10,000 into a 529 and it grows to $15,000, the $5,000 in earnings is what gets taxed or tax-free depending on how you use it. Your original $10,000 contribution always comes out tax-free, no matter what.

State tax treatment varies. Some states tax 529 earnings the same way the federal government does. Others offer an additional state income tax deduction for contributions you make to your own state's 529 plan, though this does not change how earnings are taxed when you withdraw them.

Key Takeaways

  • Money in a 529 grows without federal income tax as long as it stays invested, regardless of whether you eventually use it for education.
  • Withdrawals for may have access to education expenses — tuition, fees, room and board, books, computers, and K-12 tuition — come out completely tax-free, including all earnings.
  • Withdrawals for non-education purposes trigger federal income tax on the earnings portion plus a 10 percent penalty on those earnings only.
  • Your contributions always come out tax-free; only the earnings are subject to tax or penalty.
  • Some states offer a state income tax deduction for 529 contributions to in-state plans, which reduces your state taxable income in the year you contribute.

What counts as a may have access to education expense

The IRS defines may have access to education expenses narrowly. They include tuition and mandatory fees at any accredited college, university, or vocational school; room and board if the student is at least a half-time student; books, supplies, and equipment required by the school; computers and internet access; and up to $35,000 in student loan repayment (lifetime limit per beneficiary, with annual caps). K-12 tuition at public, private, or religious schools also qualifies, up to $235 per year per student.

Expenses that do not may have access to include transportation, meal plans beyond room and board, insurance, and student activity fees that are not mandatory. If you are unsure whether a specific expense qualifies, the school's financial aid office can usually tell you whether they count it as part of the cost of attendance, which is the IRS standard.

How nonqualified withdrawals are taxed

When you withdraw money for something other than a may have access to expense, you owe federal income tax on the earnings at your ordinary income tax rate, plus a 10 percent penalty on the earnings. The contribution portion comes out untouched. If your 529 has $20,000 in contributions and $5,000 in earnings, and you withdraw $10,000 for a nonqualified expense, you would owe income tax and the 10 percent penalty only on the $2,500 in earnings that came out (proportional to the withdrawal).

The penalty does not explore in certain situations: if the beneficiary receives a scholarship, dies, or becomes disabled, you can withdraw the earnings without the 10 percent penalty (though you still owe income tax on them). Some states also waive the penalty for in-state public university attendance, though this varies.

State tax deductions for contributions

About 34 states offer a state income tax deduction for contributions to a 529 plan. Most limit the deduction to contributions made to your state's own plan, though a few allow deductions for any state's plan. The deduction amount varies: some states allow you to deduct your entire contribution, others cap it at a specific dollar amount per year, and a few phase out the deduction at higher income levels.

A state tax deduction reduces your state taxable income for the year you contribute, which can lower your state income tax bill. This is separate from the federal tax-free growth — you get both benefits. If you live in a state with no income tax, there is no state deduction to claim.

The difference between tax-free growth and tax-free withdrawals

Tax-free growth means your money compounds without being taxed each year. If you invest $10,000 and it earns 5 percent annually, you do not pay tax on that $500 in year one, so the next year you earn 5 percent on $10,500 instead of $10,000. Over decades, this compounding difference is substantial compared to a taxable account where you pay tax on earnings every year.

Tax-free withdrawals mean you take money out without owing federal income tax on it. This only happens for may have access to education expenses. The tax-free growth benefit applies to all 529 accounts regardless of how you eventually use the money, but the tax-free withdrawal benefit only applies to may have access to spending.

How 529 earnings are reported on your tax return

If you take a nonqualified withdrawal, the plan administrator sends you a Form 1099-Q showing the total amount withdrawn and how much of it is earnings. You report this on your federal tax return, and you owe tax on the earnings portion at your marginal tax rate plus the 10 percent penalty. The penalty is reported on Form 5329.

For may have access to withdrawals, you still receive a Form 1099-Q, but you do not owe tax on it. You may need to fill out Form 8863 or another education credit form if you are also claiming a tax credit for education expenses, because the IRS does not allow you to use the same expense twice.

Frequently Asked Questions

Can I withdraw money tax-free if I change the beneficiary to a different family member?

Yes. Changing the beneficiary to a spouse, parent, sibling, or child of the original beneficiary is not a taxable event. The money stays in the plan and continues to grow tax-free. If the new beneficiary uses it for may have access to education expenses, it comes out tax-free. If they do not, the earnings are taxed and penalized at that time.

What happens if I withdraw money for college but the student gets a scholarship?

You can withdraw up to the scholarship amount without the 10 percent penalty on earnings, though you still owe income tax on the earnings portion of that withdrawal. This prevents you from being taxed twice on money that was already covered by the scholarship.

Do 529 withdrawals affect financial aid or student loans?

Yes. Money withdrawn from a 529 for education expenses is counted as income on the FAFSA (Free process for Federal Student Aid), which can reduce the student's financial aid package in the following year. The impact is smaller if the account is in the parent's name rather than the student's name. This is a planning consideration separate from taxes.

If I do not use all the money in the 529, what happens to the leftover earnings?

You can roll unused 529 funds to a different family member's account without tax or penalty. You can also roll up to $35,000 per beneficiary into an IRA (with annual limits), which is a newer option. Any amount you withdraw for non-education purposes is subject to income tax and the 10 percent penalty on the earnings.

This guide is for general information only and is not medical, financial, legal, or other professional advice. For decisions specific to your situation, consult a qualified professional. See our Editorial Policy.