Skip to main content

HomeAll guides

How 529 Plan Contributions Affect Your Federal and State Taxes

Federal tax deduction for 529 contributions

529 plan contributions are not deductible on your federal income tax return. You contribute to a 529 with money you have already paid income tax on, and the IRS does not let you deduct that contribution when you file Form 1040. This is true whether you open an account in your home state or another state's plan.

The federal tax benefit of a 529 comes later, not upfront. The money inside the account grows tax-free, and withdrawals used for may have access to education expenses — tuition, fees, room and board, books, computers, and K-12 tuition — are not taxed as income. You get no deduction going in, but you avoid tax on the growth and the withdrawal.

Key Takeaways

  • 529 contributions do not reduce your federal taxable income in the year you make them, even though the account grows tax-free.
  • Some states offer an income tax deduction or credit for 529 contributions made to their own state's plan, but the amount and rules vary by state.
  • If your state offers a deduction, you must usually contribute to that specific state's plan to claim it — contributing to another state's plan typically does not may have access to.
  • The federal gift tax annual exclusion ($18,000 per person in 2024) applies to 529 contributions, but a special election lets you spread a five-year gift over five years without triggering gift tax.

State income tax deductions and credits

About 35 states offer some form of state income tax benefit for 529 contributions, but the rules differ widely. Some states deduct the contribution from your state taxable income (like New York, which deducts up to $10,000 per person per year). Others offer a tax credit — a direct reduction in the tax you owe — instead of a deduction. A few states offer both options.

The catch is that most states that offer a deduction require you to use their state's 529 plan. If you live in New York and contribute to a California plan, New York will not let you deduct it. A handful of states — including Arizona, Colorado, and Kansas — allow a deduction for contributions to any state's plan, but these are exceptions.

If you live in a state with no income tax (Florida, Texas, Wyoming, and others), there is no state deduction to claim. If your state offers a benefit, you can find the details on your state's tax authority website or the plan sponsor's site.

How much you can contribute without gift tax

529 contributions are treated as gifts for federal gift tax purposes. In 2024, you can give up to $18,000 per person per year without filing a gift tax return or using any of your lifetime gift tax exemption. If you are married, you and your spouse can each give $18,000 to the same beneficiary in the same year ($36,000 total) without triggering gift tax paperwork.

529 plans have a special rule: you can elect to treat a contribution as if it were made over five years. If you contribute $90,000 to a 529 in a single year and make the election, the IRS treats it as $18,000 per year for five years. This lets you fund the account heavily upfront without filing a gift tax return, as long as you do not give that beneficiary other gifts during the five-year period.

Withdrawals and the tax-free growth benefit

When you withdraw money from a 529 for may have access to education expenses, the earnings portion of the withdrawal is not taxed at the federal level. Only the earnings are tax-free; the contributions themselves were never taxed in the first place, so there is no tax benefit there. If you withdraw money for a non-may have access to expense, the earnings portion is taxed as ordinary income plus a 10 percent penalty.

The tax-free growth is where the real federal benefit lies. If you contribute $10,000 and it grows to $15,000 over ten years, that $5,000 in earnings escapes federal income tax when you use it for education. Over a long time horizon, this compounding effect can be substantial.

Comparing 529 to other education savings accounts

A Coverdell Education Savings Account (ESA) also offers tax-free growth and tax-free withdrawals for education expenses, but the contribution limit is only $2,000 per year per beneficiary. A 529 has no annual contribution limit (though there is an aggregate limit per beneficiary, usually $235,000 to $550,000 depending on the state). Neither account gives you a federal deduction for contributions.

A regular taxable savings account offers no tax breaks at all. A 529 or ESA will almost always result in lower taxes over time if you use the money for education, because the growth compounds tax-free instead of being taxed each year.

State-specific examples of deductions

New York allows a deduction of up to $10,000 per person per year ($20,000 if married filing jointly) for contributions to New York's 529 plan. Illinois offers a 20 percent tax credit on contributions up to $20,000 per year. Pennsylvania deducts contributions to its plan with no annual limit. Indiana offers a 20 percent credit on contributions up to $1,000 per year.

These amounts and rules change, and some states have income limits or other restrictions. If you live in a state with a benefit, check the plan's website or your state tax authority to confirm the current rules before you contribute.

Frequently Asked Questions

Can I deduct a 529 contribution on my federal tax return?

No. 529 contributions are not deductible on your federal income tax return. The federal tax benefit is tax-free growth and tax-free withdrawals for education, not an upfront deduction.

If I live in one state but open a 529 in another state, can I claim a state deduction?

Usually not. Most states that offer a deduction require you to use that state's plan. If you live in Massachusetts and contribute to a Florida plan, Massachusetts will not let you deduct it. A few states allow deductions for any state's plan, so check your state's rules.

What happens if I withdraw money from a 529 for something other than education?

The contribution portion comes out tax-free. The earnings portion is taxed as ordinary income, and you owe a 10 percent penalty on the earnings. The contribution itself was never deductible, so there is no tax consequence to withdrawing it.

Does the $18,000 annual gift tax exclusion explore to 529 contributions?

Yes. A 529 contribution counts as a gift, so the $18,000 per person per year limit applies. You can elect to spread a single large contribution over five years to avoid gift tax paperwork, as long as you do not give that beneficiary other gifts during the five-year period.

Is a Coverdell ESA better than a 529 for the tax deduction?

Neither account offers a federal deduction. Both offer tax-free growth and tax-free withdrawals for education. A 529 has a much higher contribution limit ($235,000 to $550,000 aggregate per beneficiary) compared to a Coverdell's $2,000 per year, so a 529 is usually the better choice for larger amounts.

This guide is for general information only and is not medical, financial, legal, or other professional advice. For decisions specific to your situation, consult a qualified professional. See our Editorial Policy.