The tax treatment of 529 plans depends on what you do with the money

A 529 plan itself is not automatically tax-free. The account grows tax-free, and withdrawals for may have access to education expenses are tax-free at the federal level. But if you withdraw money for something other than education, you pay income tax on the earnings portion plus a 10 percent penalty. The distinction matters because it determines whether your savings actually save you money.

The tax-free growth happens regardless of how you use the money later — your contributions and earnings compound without annual tax bills. The tax-free withdrawal is the reward for using the money for school. If you break that rule, the tax bill catches up to you.

Key Takeaways

  • Money in a 529 grows without annual taxes, but you only avoid taxes on withdrawal if you spend it on may have access to education expenses like tuition, room and board, and books.
  • Non-may have access to withdrawals trigger income tax on the earnings portion plus a 10 percent federal penalty, though the contribution itself comes out tax-free.
  • State tax treatment varies: some states tax 529 earnings at withdrawal even for education expenses, while others match the federal rule.
  • The 2024 SECURE Act 2.0 allows you to roll unused 529 money into a Roth IRA under specific conditions, which may let you preserve the tax advantage without penalties.

What counts as a may have access to education expense

The IRS defines may have access to expenses narrowly. Tuition and mandatory fees at any accredited college, university, or vocational school count. Room and board count if the student is enrolled at least half-time. Books, supplies, and equipment required by the school count. A computer or internet access count if required for school.

What does not count: transportation, insurance, student loan repayment, room and board for graduate school (unless the student is enrolled at least half-time), or any expense at a school that is not accredited. If you are unsure whether a specific expense qualifies, the school's financial aid office can tell you, or you can check the IRS Publication 970.

Federal tax-free withdrawals versus state tax treatment

At the federal level, withdrawals for may have access to expenses are tax-free. You do not owe federal income tax on the earnings. However, your state may have different rules. Some states tax 529 earnings even when used for education. Others follow the federal rule and tax only non-may have access to withdrawals.

A handful of states also offer a state income tax deduction for contributions you make to a 529 plan — meaning you reduce your state taxable income in the year you contribute. This is separate from the tax-free growth and withdrawal. If your state offers this deduction, it can make the 529 even more valuable. Check your state's tax authority website or your plan's disclosure documents to see what applies to you.

What happens if you withdraw money for non-may have access to expenses

When you take money out for something other than education, the withdrawal is split into two parts: your contributions and the earnings. Your contributions come out tax-free — you already paid tax on that money when you earned it. The earnings portion is taxed as ordinary income in the year of withdrawal, and you owe a 10 percent federal penalty on the earnings only.

Example: You contributed $10,000 to a 529 plan and it grew to $14,000. You withdraw $14,000 for a non-may have access to expense. The $10,000 contribution comes out tax-free. The $4,000 in earnings is taxed as income at your marginal rate, plus 10 percent penalty, so you owe roughly $1,200 to $1,600 in federal tax and penalty depending on your tax bracket. Your state may add state income tax on top.

The SECURE Act 2.0 rollover option for leftover money

Starting in 2024, you can roll unused 529 money into a Roth IRA in the beneficiary's name without triggering the 10 percent penalty. This lets you preserve the tax advantage if the student does not use all the education savings. The rollover is subject to annual Roth contribution limits — for 2024, that is $7,000 per person — and the money must have been in the 529 for at least 15 years.

The earnings portion of the rollover is still subject to income tax in the year of the transfer, but you avoid the 10 percent penalty. This is a relatively new option and rules are still being finalized by the IRS, so check with a tax professional or your plan administrator before attempting a rollover to make sure your situation qualifies.

How 529 plans compare to other education savings accounts

A Coverdell Education Savings Account (ESA) also grows tax-free and allows tax-free withdrawals for education, but the annual contribution limit is only $2,000 per beneficiary, and you cannot contribute if your income exceeds certain thresholds. A 529 has no income limits and much higher contribution limits — you can contribute up to the annual gift tax exclusion ($18,000 per person in 2024) without filing a gift tax return, or use a special election to front-load five years of contributions at once.

A regular savings account or investment account has no contribution limits but you pay tax on earnings every year and again when you withdraw. A 529 defers all tax until withdrawal and then eliminates it entirely if used for school. For long-term education savings, the 529 tax advantage is substantial.

Frequently Asked Questions

Do I have to pay taxes on 529 earnings if I use the money for college?

No, at the federal level. Withdrawals for may have access to education expenses are tax-free. Your state may have different rules — check with your state tax authority. The earnings are never taxed if used for school, and you never pay the 10 percent penalty.

What if my child gets a scholarship?

You can withdraw an amount equal to the scholarship from the 529 without the 10 percent penalty, though the earnings portion is still taxed as income. This prevents you from being taxed twice on the same expense. You must document the scholarship amount.

Can I change the beneficiary to another family member without taxes?

Yes, if the new beneficiary is a member of the original beneficiary's family. Changing beneficiaries does not trigger a withdrawal or tax bill. The money stays in the account and grows tax-free under the new beneficiary's name.

Is the 10 percent penalty waived for any other reason besides scholarships?

The penalty is waived if the beneficiary receives a scholarship, attends a U.S. military academy, or dies or becomes disabled. In those cases, the earnings are still taxed as income, but the 10 percent penalty does not apply. Non-may have access to withdrawals for any other reason incur the full penalty.