How are 529 plans taxed?

529 plans are tax-advantaged savings accounts designed to help families pay for education. The federal government does not tax the earnings in a 529 plan as long as you use the money for qualified education expenses. This means your contributions grow tax-free, and you pay no federal tax on withdrawals for eligible costs like tuition, room and board, and required books.

But state tax treatment can vary, and not all withdrawals are tax-free. Understanding the rules helps you avoid surprise taxes and penalties, especially if you use the funds for non-qualified expenses. This article explains the federal and state tax rules, what counts as a qualified expense, and what changed recently.

Federal Tax Rules for 529 Plans

At the federal level, 529 plans offer three key tax benefits: tax-free growth, tax-free withdrawals for qualified expenses, and gift tax advantages. You contribute after-tax dollars, but the investment earnings accumulate without being taxed each year. When you withdraw money for qualified education expenses, you pay no federal income tax on the earnings.

If you withdraw money for non-qualified expenses, the earnings portion is subject to federal income tax and a 10% penalty. The penalty applies to the earnings only, not your original contributions. For example, if you withdraw $5,000 and $1,000 is earnings, you pay tax and a $100 penalty on that $1,000.

Qualified Education Expenses

Qualified expenses include tuition, fees, books, supplies, and equipment required for enrollment. Room and board counts if the student is enrolled at least half-time. For K-12, up to $10,000 per year can be used for tuition at public, private, or religious schools.

Since 2024, the definition of qualified expenses also includes:

  • Apprenticeship program costs, including fees, books, and equipment
  • Student loan repayments up to $10,000 per beneficiary (lifetime limit)
  • Certain expenses for special needs services
  • Computer and technology expenses, including internet access

State Tax Treatment of 529 Plans

Most states offer a state income tax deduction or credit for contributions to their own 529 plan. However, the rules vary by state, and some states do not offer any state tax benefit. If you contribute to another state’s plan, you may not get the deduction, and your state may tax the earnings.

As of 2026, 34 states and the District of Columbia offer a deduction or credit for 529 contributions. The deduction limits range from $1,000 to $10,000 per year, depending on the state. A few states also offer a credit, which reduces your tax bill dollar-for-dollar.

State Deduction or Credit? Annual Limit
New York Deduction $10,000 ($5,000 if single)
California None N/A
Texas None (no state income tax) N/A
Illinois Deduction $10,000 per beneficiary
Michigan Deduction $5,000 ($10,000 if married filing jointly)

Check your state’s rules before choosing a plan. If your state offers a deduction, you usually must use your home state’s plan to get it. Some states allow a deduction for contributions to any state’s plan, but that is rare.

Recent Changes and SECURE Act 2.0

The SECURE Act 2.0, passed in late 2022, brought significant changes to 529 plans. One major change allows unused 529 funds to be rolled over to a Roth IRA for the beneficiary, starting in 2024. The rollover is subject to a lifetime limit of $35,000 per beneficiary, and the 529 account must have been open for at least 15 years.

Another change: 529 plans can now be used to repay student loans. Up to $10,000 in student loan repayments per beneficiary is allowed, and this counts toward the $10,000 lifetime limit for K-12 tuition? Actually, the $10,000 student loan limit is separate from the $10,000 K-12 limit. The student loan repayment benefit is a lifetime limit of $10,000 per beneficiary.

These changes make 529 plans more flexible, but they also add complexity. Always confirm the latest IRS guidance before making a rollover or using funds for loan repayment.

How to Avoid Taxes and Penalties

To keep your 529 withdrawals tax-free, follow these tips:

  • Use the money only for qualified education expenses as defined by the IRS.
  • Keep receipts and records of all expenses for at least three years.
  • If you take a non-qualified withdrawal, consider doing it in a year when your income is low to reduce the tax impact.
  • If you have unused funds, consider changing the beneficiary to another family member rather than withdrawing.

Also, remember that the 10% penalty is waived in certain situations, such as if the beneficiary receives a scholarship or attends a U.S. military academy. In those cases, you still pay income tax on the earnings, but not the penalty.

Conclusion

529 plans are a powerful tax-advantaged way to save for education, but you must follow the rules to enjoy the benefits. Federal law provides tax-free growth and withdrawals for qualified expenses, while state laws vary on deductions and credits. Recent changes have made these plans more flexible, including Roth IRA rollovers and student loan repayment options. Always check the latest IRS guidance and your state’s rules before making decisions. With careful planning, you can maximize the tax benefits and minimize surprises.

Frequently Asked Questions

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

If you withdraw money for non-qualified expenses, the earnings portion is subject to federal income tax and a 10% penalty. Your original contributions are not taxed or penalized.

Can I use 529 funds to pay for K-12 tuition without tax penalties?

Yes, you can use up to $10,000 per year from a 529 plan for K-12 tuition at public, private, or religious schools without federal tax penalties. State tax treatment may vary.

Is there a state tax deduction for 529 contributions in every state?

No, not every state offers a tax deduction. As of 2026, 34 states and the District of Columbia offer a deduction or credit, but some states like California and Texas do not.

Can I roll over unused 529 funds to a Roth IRA?

Yes, since 2024, you can roll over unused 529 funds to a Roth IRA for the beneficiary, subject to a lifetime limit of $35,000 and a 15-year account holding period.

Are student loan payments considered qualified 529 expenses?

Yes, you can use up to $10,000 from a 529 plan to repay student loans for the beneficiary, and this is treated as a qualified expense for federal tax purposes.

Written by Cleveland ESDC Team

At Cleveland ESDC, we believe every student deserves access to clear information. We're here to help breaking down complex education topics into simple, practical guides anyone can use.