Federal tax deduction for 529 contributions: what you need to know
Contributions to a 529 plan are not deductible from your federal income taxes. You contribute money that has already been taxed, and the IRS does not let you reduce your taxable income based on what you put into the account. This is different from a traditional IRA or a 401(k), where contributions can lower your federal tax bill in the year you make them.
The federal tax benefit of a 529 comes later, not upfront. The money inside the account grows tax-free, and when you withdraw it to pay for education, you pay no federal tax on the earnings. That tax-free growth is the trade-off for not getting a deduction when you deposit the money.
Key Takeaways
- Federal law does not allow you to deduct 529 contributions from your federal income taxes in the year you make them.
- Many states offer a state income tax deduction or credit for 529 contributions, but the amount and rules vary widely by state.
- Some states limit the deduction to contributions made to their own state's 529 plan, while others allow it for any plan.
- The earnings inside a 529 grow tax-free at both the federal and state level, which is the main tax advantage of the account.
- A few states offer no state tax benefit for 529 contributions at all, so the tax advantage depends entirely on where you live.
State income tax deductions and credits for 529 contributions
Most states do allow you to deduct or credit 529 contributions on your state income tax return, but the rules are not the same everywhere. Some states let you deduct the full amount you contribute in a year, up to a limit. Others offer a tax credit—a direct reduction in the tax you owe—instead of a deduction. A few states offer neither.
The deduction or credit amount varies by state. New York, for example, allows a deduction of up to $10,000 per beneficiary per year for married couples filing jointly (or $5,000 for single filers). Illinois offers a 20 percent tax credit on contributions up to $20,000 per beneficiary per year. Pennsylvania allows an unlimited deduction. You need to check your own state's rules to know what you can claim.
Some states restrict the deduction to contributions made to their own 529 plan only. Others allow the deduction for contributions to any state's 529 plan. A handful of states—including Texas, Florida, and Wyoming—offer no state income tax deduction or credit for 529 contributions at all. If you live in one of those states, the state tax benefit does not exist for you, though the federal tax-free growth still applies.
How to claim a state 529 deduction or credit on your tax return
To claim a state deduction or credit, you report it on your state income tax return, not your federal return. The form and line number depend on your state. Some states include it on the main return form; others require a separate schedule. Your 529 plan provider will send you a statement showing how much you contributed during the year, which you use as the basis for your claim.
You can only claim the deduction or credit in the year you make the contribution. If you contribute in December, you claim it on that year's return. If you contribute in January, you claim it on the next year's return. Some states allow you to carry forward unused deductions to future years if you exceed the annual limit, but most do not.
You do not need to report the contribution itself to the IRS. The 529 plan does not send a form to the federal government about your deposits. You only report it to your state if your state offers a deduction or credit and you want to claim it.
The difference between a deduction and a credit
A deduction reduces the income you report to your state, which lowers the amount of income that gets taxed. If you contribute $5,000 and your state allows a full deduction, your taxable income drops by $5,000. The tax savings depend on your tax bracket—someone in a 5 percent bracket saves $250, while someone in a 6.5 percent bracket saves $325 on the same contribution.
A credit is a direct reduction in the tax you owe. If your state offers a 20 percent credit on a $5,000 contribution, you reduce your tax bill by $1,000, regardless of your tax bracket. Credits are usually more valuable than deductions because they give the same benefit to everyone, not just high earners.
Contribution limits and how they affect your tax benefit
The federal gift tax rules allow you to contribute up to $18,000 per person per beneficiary in 2024 without filing a gift tax return (this amount changes yearly). You can contribute more, but you would need to file Form 709 with the IRS. Some states set their own annual limits on how much you can deduct or credit, which is separate from the gift tax limit.
If your state caps the deduction at $5,000 per year but you want to contribute $10,000, you can still contribute the full $10,000—you just can only deduct $5,000 on your state return. The extra $5,000 grows in the account tax-free, but you get no state tax benefit for it in that year. Some states let you carry the unused deduction forward to future years, which means you could claim it next year instead.
Tax-free growth and withdrawals: the real federal benefit
Even though you cannot deduct your contributions from federal taxes, the earnings inside the 529 grow completely tax-free. If you contribute $50,000 and the account grows to $75,000 over ten years, that $25,000 in gains is never taxed at the federal level—as long as you use the money for education.
When you withdraw money to pay for may have access to education expenses (tuition, fees, room and board, books, and certain other costs), the earnings come out tax-free. You only pay tax on the earnings if you withdraw money for something other than education. That tax-free growth is the main reason people use 529 plans, even in states that offer no state tax deduction.
Frequently Asked Questions
Can I deduct my 529 contributions on my federal tax return?
No. The IRS does not allow a federal deduction for 529 contributions. You contribute with after-tax dollars. The federal tax benefit comes from the tax-free growth of earnings inside the account, not from a deduction when you deposit the money.
What if I live in a state with no income tax?
States with no income tax (Texas, Florida, Wyoming, and others) do not offer a state tax deduction or credit for 529 contributions because they do not have a state income tax to reduce. You still get the federal tax-free growth benefit, but no state tax advantage.
Can I deduct contributions to someone else's 529 plan?
Yes, if your state allows it. You can contribute to a 529 plan for any beneficiary—your child, grandchild, niece, or even an unrelated person. Whether you can deduct it depends on your state's rules, not on your relationship to the beneficiary. Some states only allow deductions for plans you own; others allow deductions for any contribution you make.
Do I have to file a gift tax return if I contribute to a 529?
Not if you stay within the annual limit. In 2024, you can give up to $18,000 per person per beneficiary without filing a gift tax return. If you contribute more than that in a single year, you must file Form 709, though you typically do not owe tax—you just use part of your lifetime gift tax exemption.
What happens to the tax deduction if I withdraw the money for non-education expenses?
The deduction you claimed in the year you contributed stays on your tax return—you do not have to pay it back. However, the earnings you withdraw for non-education purposes are subject to federal income tax and a 10 percent penalty. The state may also tax those earnings or require you to recapture the state deduction you claimed.