Federal tax deduction for 529 contributions: what you actually get
529 contributions are not deductible on your federal income tax return. You contribute money that has already been taxed, and the IRS does not let you deduct it again. This is different from a traditional IRA or a 401(k), where you can deduct contributions in the year you make them.
What you do get is tax-free growth. Money inside the 529 account grows without being taxed each year, and withdrawals for may have access to education expenses (tuition, fees, room and board, books, computers) come out tax-free. The tax benefit is in the growth and withdrawal, not in the contribution itself.
Key Takeaways
- 529 contributions do not reduce your federal taxable income in the year you contribute.
- Some states offer a state income tax deduction or credit for 529 contributions, but this varies by state and is separate from federal tax treatment.
- The main tax advantage of a 529 is that earnings grow tax-free and can be withdrawn tax-free for may have access to education costs.
- You can contribute up to $18,000 per person per year (2024) without triggering federal gift tax, or $90,000 if you elect to spread it over five years.
- Withdrawals for non-education expenses are taxed on the earnings portion, plus a 10 percent penalty on those earnings.
State tax deductions and credits: the real federal-level benefit
While the federal government does not deduct 529 contributions, many states do. About 34 states offer either a state income tax deduction or a tax credit for money you put into a 529 plan. The amount and the rules vary widely by state.
Some states let you deduct the full amount you contribute in a single year. Others cap the deduction at a specific dollar amount (for example, $235 per beneficiary in New York, or $500 per beneficiary in Illinois). A few states offer a tax credit instead of a deduction, which is often more valuable because a credit reduces your tax bill dollar-for-dollar rather than just reducing your taxable income.
State tax treatment also depends on which plan you use. Most states let you deduct contributions to any 529 plan in the country, but some states only offer the deduction if you use their own state's plan. Check your state's tax authority website or the plan's disclosure documents to see what applies to you.
How the gift tax annual exclusion works with 529 contributions
You can put money into a 529 for someone else (like a grandchild) without triggering federal gift tax. The annual gift tax exclusion for 2024 is $18,000 per person per year. If you are married, you and your spouse can each give $18,000 to the same person in the same year, for a total of $36,000, without filing a gift tax return.
529 plans have a special rule: you can contribute up to five years' worth of the annual exclusion in a single year ($90,000 per person, or $180,000 if married) without gift tax, as long as you do not make other gifts to that person that year and you elect to spread the contribution over five years on your gift tax return (Form 709). This is a one-time election per donor per beneficiary.
This is not a tax deduction—it is a way to move money into an education savings account without using up your lifetime gift and estate tax exemption. The contribution itself is still made with after-tax dollars.
What happens to earnings when you withdraw money
Earnings inside a 529 account are never taxed while the money sits there. When you withdraw money for a may have access to education expense, the entire withdrawal—both your original contribution and the earnings—comes out tax-free. This is the real tax advantage of the plan.
If you withdraw money for something other than a may have access to education expense, the earnings portion is taxed as ordinary income at your tax rate, plus a 10 percent penalty. Your original contributions always come out tax-free, no matter what you use them for. So if you put in $10,000 and the account grew to $15,000, and you withdraw $15,000 for a non-may have access to expense, the $5,000 in earnings gets taxed and penalized, but the $10,000 contribution does not.
Recent changes: 529 rollovers to Roth IRAs
As of 2024, you can roll over unused 529 money into a Roth IRA for the same beneficiary, subject to specific rules. The rollover itself is not taxed, but the money counts toward annual Roth contribution limits ($7,000 for 2024). The 529 account must have been open for at least 15 years, and you can only roll over earnings, not contributions.
This is not a tax deduction either—it is a way to move money from one tax-advantaged account to another if education plans change. The earnings that move into the Roth are not taxed at the time of the rollover, but they will be taxed if you withdraw them from the Roth before meeting Roth withdrawal rules.
How to report 529 contributions and withdrawals on your taxes
If your state offers a tax deduction for 529 contributions, you claim it on your state income tax return, not your federal return. The specific line or form depends on your state. Most state tax software and tax preparation services have a field for 529 contributions.
Withdrawals for may have access to education expenses do not appear on your federal tax return at all—they are tax-free and do not need to be reported. If you withdraw money for non-may have access to expenses, the earnings portion is reported on Form 1099-Q, which the plan sends to you and the IRS. You then report the taxable earnings on your federal return (usually on Form 1040, Schedule 1).
Frequently Asked Questions
Can I deduct 529 contributions on my federal taxes?
No. 529 contributions are made with after-tax money and cannot be deducted on your federal income tax return. Some states offer a state income tax deduction or credit, but this is separate from federal tax treatment.
What if I contribute to a 529 and then withdraw the money the same year?
The contribution is still not deductible federally. If you withdraw for a may have access to education expense, the withdrawal is tax-free. If you withdraw for any other reason, earnings are taxed and penalized, but your contributions come out tax-free.
Does my state let me deduct 529 contributions?
About 34 states offer a deduction or credit, but the amount and rules vary. Some states only allow the deduction if you use their own plan. Check your state's tax authority website or the plan's disclosure documents for your specific state rules.
If I roll over a 529 to a Roth IRA, do I owe taxes?
The rollover itself is not taxed, but the money counts toward your annual Roth contribution limit. The 529 account must be at least 15 years old, and you can only roll over earnings. Withdrawals from the Roth follow standard Roth rules.
Do I have to report 529 withdrawals to the IRS?
Withdrawals for may have access to education expenses are tax-free and do not need to be reported. Non-may have access to withdrawals are reported on Form 1099-Q, and you report the taxable earnings portion on your federal return.