How 529 Plans Avoid Taxes on Education Savings
The tax-free part of a 529 plan, and what it covers
A 529 plan lets you save money for education without paying federal income tax on the growth. The money you put in is not tax-deductible at the federal level, but the earnings — the interest, dividends, and investment gains your account builds over time — grow tax-free. When you withdraw money to pay for may have access to education expenses, you pay no federal tax on those earnings.
This tax-free growth is the main financial advantage of a 529 over a regular savings account or taxable investment account, where you would owe tax on earnings every year. Over 10 or 15 years, that difference compounds significantly.
The catch is that the tax-free treatment only applies to may have access to education expenses. These include tuition, fees, books, supplies, equipment, and room and board at an accredited college, university, or vocational school. Some plans also cover K-12 tuition and up to $35,000 in student loan repayment. If you withdraw money for something else — a car, a laptop for non-school use, living expenses not tied to enrollment — you pay income tax on the earnings portion plus a 10% penalty.
Key Takeaways
- Investment earnings in a 529 grow tax-free at the federal level, and you owe no tax when you withdraw them for may have access to education expenses.
- The money you contribute is not tax-deductible federally, but many states offer a state income tax deduction or credit for 529 contributions.
- Withdrawals for non-may have access to expenses trigger income tax on the earnings plus a 10% penalty, though the contribution itself comes out tax-free.
- Some states tax 529 earnings if you use them out of state, so check your state's rules before opening an account.
State tax deductions and credits on contributions
While the federal government does not deduct 529 contributions from your taxable income, 34 states and the District of Columbia offer their own tax breaks. Most give you a state income tax deduction — you reduce your state taxable income by the amount you contributed that year. A few states offer a tax credit instead, which directly reduces the tax you owe.
The deduction or credit amount varies by state. Some states let you deduct unlimited contributions; others cap it at $235 per beneficiary per year, or $470 if you are married filing jointly. A handful of states tie the deduction to the plan you choose — usually favoring their own state-sponsored plan. New York, for example, gives a deduction only if you use a New York plan.
To claim the deduction or credit, you report your 529 contributions on your state tax return. You do not need to do anything with the 529 plan itself. If you live in a state with no deduction or credit, you get no state tax benefit, but your earnings still grow tax-free federally.
What happens to earnings if you withdraw for non-may have access to expenses
If you take money out of a 529 for something other than may have access to education expenses, the tax treatment splits into two parts: your contributions and your earnings.
Your contributions come out tax-free — you already paid tax on that money when you earned it. But the earnings portion is taxed as ordinary income at your federal tax rate, plus a 10% penalty on the earnings only. If your account grew by $8,000 and you withdraw $10,000 for a non-may have access to expense, you would owe income tax and the 10% penalty only on the $8,000 in earnings, not on the $2,000 in contributions.
Some states also tax the earnings portion at the state level and may add their own penalty. A few states recapture the state tax deduction you claimed in earlier years if you withdraw for non-may have access to expenses, meaning you lose the tax benefit retroactively.
The exception: non-may have access to withdrawals after the SECURE Act
The SECURE Act 2.0, which took effect in 2024, created one new tax-free withdrawal option. You can now roll up to $35,000 from a 529 plan into a Roth IRA in the beneficiary's name, tax-free, as long as the 529 account has been open for at least 15 years. The money counts toward the annual Roth contribution limit, and the beneficiary must have earned income that year.
This is not a non-may have access to withdrawal in the traditional sense — it is a direct transfer to a retirement account, and the earnings are not taxed. However, it does let you move money out of a 529 without the 10% penalty if your education plans change. The $35,000 limit applies per beneficiary, and you can only roll over money that has been in the account for at least 15 years.
How state residency affects the tax-free status
Most states do not tax 529 earnings regardless of which state's plan you use or where the beneficiary lives. However, a few states — including Vermont, South Carolina, and Nebraska — tax earnings on out-of-state 529 plans or plans not sponsored by their state. If you live in one of these states and use an out-of-state plan, you may owe state tax on the earnings even though you owe no federal tax.
Before opening a 529, check whether your state taxes out-of-state plans. If it does, you have two options: use your state's plan to avoid the tax, or use an out-of-state plan and accept the state tax liability. Some out-of-state plans have lower fees or better investment options, so the trade-off is worth evaluating.
Comparing 529 tax benefits to other education savings accounts
A Coverdell Education Savings Account (ESA) also grows tax-free and allows tax-free withdrawals for may have access to education expenses, including K-12 tuition. However, you can only contribute $2,000 per year per beneficiary, and the account must be closed by age 30. A 529 has no annual contribution limit and no age limit, making it better for larger savings goals or longer time horizons.
A regular savings account or brokerage account offers no tax-free growth on earnings. You pay tax on interest and investment gains every year, and there is no tax break for education expenses. Over time, this tax drag reduces the amount available to spend on school.
A Roth IRA can be used for education expenses without the 10% penalty (though you still owe income tax on earnings), but it is designed for retirement, and withdrawing for education reduces your retirement savings. A 529 is purpose-built for education and offers better tax treatment if you use the money for school.
How to report 529 withdrawals on your tax return
If you withdraw money from a 529 for may have access to education expenses, you do not report anything on your federal tax return — the withdrawal is tax-free and requires no documentation to the IRS. The 529 plan administrator sends you a Form 1099-Q each year showing the total amount withdrawn, but you do not need to attach it to your return if the withdrawal was fully may have access to.
If you take a non-may have access to withdrawal, the plan administrator reports it on Form 1099-Q, and you must report the earnings portion as income on your tax return. You also owe the 10% penalty, which you calculate and pay when you file. Keep records of what you spent the money on in case the IRS asks.
If you roll money into a Roth IRA under the SECURE Act provision, the plan administrator reports the rollover on Form 1099-Q, and you report it on your tax return as a direct rollover to the Roth. No tax is due on the rollover itself.
Frequently Asked Questions
Can I use a 529 plan for graduate school?
Yes. Graduate tuition, fees, books, and room and board at an accredited graduate program all count as may have access to expenses. The tax-free treatment applies the same way as for undergraduate education. There is no limit on how much you can withdraw for graduate school as long as the beneficiary is enrolled at least half-time.
What if I change the beneficiary of my 529 plan?
Changing the beneficiary to another family member — a sibling, cousin, or even a parent — is not a taxable event. The money stays in the plan, and the tax-free growth continues. The new beneficiary can then withdraw for their own may have access to education expenses. This flexibility makes it easier to move money between family members without triggering taxes.
Do I have to use the 529 money before the beneficiary turns 18?
No. There is no age limit on when you can withdraw from a 529 for may have access to education expenses. If the beneficiary attends college at 25 or 35, the money can still be withdrawn tax-free for tuition and related costs. The only limit is that unused money must be rolled to another family member or withdrawn (with tax on earnings) within a certain timeframe after the beneficiary finishes school.
Does a 529 plan affect financial aid?
Yes, but the impact depends on who owns the account. If a parent owns the 529, it counts as a parental asset and reduces financial aid may be able to access by up to 5.64% of the account value. If a grandparent or other non-parent relative owns it, the account does not count toward aid calculations at all. This is one reason some families have grandparents open 529 accounts for grandchildren.
What if the beneficiary gets a scholarship?
You can withdraw an amount equal to the scholarship tax-free without penalty, though you will owe income tax on the earnings portion of that withdrawal. The contribution portion always comes out tax-free. This rule prevents you from being penalized for the beneficiary's good fortune, but it does not eliminate the tax on earnings.