Federal tax deduction for 529 contributions: what you need to know

Contributions to a 529 plan do not reduce your federal taxable income. Unlike contributions to a traditional IRA or a health savings account (HSA), money you put into a 529 is not deductible on your federal tax return. The federal government does not offer a tax break for funding these accounts.

However, the tax benefit of a 529 plan works differently. The money grows inside the account tax-free, and when you withdraw it to pay for may have access to education expenses — tuition, fees, room and board, books, computers — that withdrawal is also tax-free. You pay tax on the contribution itself, but never on the growth or the withdrawal. That's the trade-off: no deduction going in, but no tax on the way out.

Some states do offer a state income tax deduction or credit for 529 contributions, but this varies significantly by state. A few states offer no state tax benefit at all. Others allow a deduction only if you contribute to your own state's plan. A handful allow a deduction regardless of which state's plan you choose. You need to check your specific state's rules.

Key Takeaways

  • Federal tax law does not allow you to deduct 529 contributions from your federal income tax, even though the account grows tax-free.
  • Some states offer a state income tax deduction or credit for 529 contributions, but the rules and amounts vary widely by state.
  • A few states limit the deduction to contributions made to their own state's plan, while others allow it for any state's plan.
  • The tax benefit of a 529 comes from tax-free growth and tax-free withdrawals for may have access to education expenses, not from a deduction at contribution time.

How state tax deductions for 529 plans work

If your state does offer a deduction, it typically works like this: you contribute money to a 529 plan, and when you file your state income tax return, you report that contribution on a specific line. The state then reduces your taxable income by that amount (or sometimes by a percentage of it), lowering your state tax bill.

The amount of the deduction varies. Some states allow you to deduct up to $235,000 per beneficiary per year (the annual gift tax exclusion limit). Others cap it at $2,000 or $2,500 per year. A few states allow an unlimited deduction. You should verify the current limit for your state, because these rules change and limits are sometimes indexed to inflation.

A critical detail: many states require you to contribute to their own 529 plan to claim the deduction. If you live in New York and contribute to a California plan, New York will not give you a deduction. However, some states — including New York, Pennsylvania, and a few others — allow the deduction regardless of which state's plan you choose. This matters if you prefer a plan offered by a different state.

Which states offer 529 tax deductions or credits

As of 2024, approximately 35 states offer some form of state tax benefit for 529 contributions. The benefit takes one of three forms: a deduction from state taxable income, a credit against state tax owed, or both. A credit is generally more valuable than a deduction because it reduces your tax dollar-for-dollar, whereas a deduction only reduces the income that is taxed.

States that offer a deduction only for their own plan include Arizona, Colorado, Illinois, Indiana, Iowa, Kansas, Louisiana, Maine, Missouri, Montana, Nebraska, New Mexico, Ohio, Oklahoma, Oregon, Rhode Island, South Carolina, Utah, and West Virginia. If you live in one of these states and want the tax benefit, you must use that state's plan.

States that allow a deduction for any state's plan include New York, Pennsylvania, and a small number of others. A few states offer a credit instead of a deduction. Because these rules change and new states sometimes add benefits, you should confirm your state's current rules on the state tax authority website or through the College Savings Plans Network, which tracks state benefits.

The difference between a deduction and a credit

A deduction reduces the amount of income you report to the state. If you contribute $2,500 to a 529 and your state allows a $2,500 deduction, your taxable income drops by $2,500. If your state tax rate is 5%, that saves you $125. If your rate is 8%, it saves you $200. The benefit depends on your tax bracket.

A credit reduces your tax bill directly. A $2,500 contribution that qualifies for a 20% credit gives you a $500 tax credit, regardless of your tax bracket. Credits are more generous than deductions for most people, but fewer states offer them. Some states offer both: a deduction up to a certain amount, and then a credit on contributions above that.

How 529 tax-free growth works instead

Because the federal government does not allow a deduction for 529 contributions, Congress created a different benefit: the earnings inside the account grow tax-free. If you contribute $10,000 and it grows to $15,000 over ten years, you owe no federal tax on that $5,000 gain. In a regular taxable investment account, you would owe tax on the earnings every year.

This tax-free growth compounds over time. The longer the money sits in the account, the more valuable this benefit becomes. For a child born today with a 529 account funded for eighteen years until college, the tax-free growth can amount to thousands of dollars depending on investment returns.

The withdrawals are also tax-free, but only if you use the money for may have access to education expenses. The IRS defines these as tuition, fees, books, supplies, equipment, room and board (if the student is at least half-time), and up to $35,000 per beneficiary lifetime for student loan repayment. If you withdraw money for something else — a car, a gap year, living expenses not related to school — you owe federal income tax on the earnings portion of that withdrawal, plus a 10% penalty.

Comparing 529 plans to other education savings accounts

A Coverdell Education Savings Account (ESA) works similarly to a 529 but with stricter limits. You can contribute only $2,000 per year per beneficiary, and the account must be spent by age 30. Like a 529, Coverdell contributions are not federally deductible, but earnings grow tax-free and withdrawals for education are tax-free. A few states offer a tax deduction for Coverdell contributions, but most do not.

A traditional or Roth IRA is not designed for education, but you can withdraw earnings penalty-free (though not tax-free in a traditional IRA) if you use the money for may have access to education expenses. However, IRAs have annual contribution limits of $7,000 (for 2024), and they are meant for retirement. A 529 is specifically designed for education and allows much larger contributions.

The key difference: 529 plans offer tax-free growth and tax-free withdrawals for education, but no federal deduction. Some other accounts offer a deduction but not tax-free growth. The 529 is the most tax-efficient vehicle for education savings if you know the money will be used for school.

What happens if you don't use the money for education

If you withdraw money from a 529 for a non-may have access to expense, you owe federal income tax on the earnings portion of the withdrawal, plus a 10% penalty on those earnings. The contribution itself comes out tax-free (you already paid tax on it), but the growth does not.

However, recent changes have made 529 plans more flexible. As of 2024, you can roll unused 529 funds into a Roth IRA for the same beneficiary, subject to certain limits and rules. This allows you to preserve the tax benefit if the original beneficiary does not use all the education money. You should consult a tax professional about whether this option makes sense for your situation.

Frequently Asked Questions

Can I deduct 529 contributions on my federal tax return?

No. Federal tax law does not allow a deduction for 529 contributions. However, some states offer a state income tax deduction or credit. Check your state's tax authority website to see if you live in a state that offers this benefit and what the rules are.

If my state offers a deduction, do I have to use my state's 529 plan?

It depends on your state. Some states limit the deduction to their own plan only. Others allow the deduction for any state's plan. A few states offer no deduction at all. You need to confirm your state's specific rule before opening an account.

Is the tax-free growth in a 529 better than a federal deduction would be?

For most people saving for education over many years, tax-free growth is more valuable than a deduction would be. A deduction saves you tax once, at contribution time. Tax-free growth saves you tax every year on the earnings, and that compounds. The longer the money is invested, the bigger the benefit.

What if I contribute to a 529 but my child gets a scholarship?

You can withdraw an amount equal to the scholarship from the 529 without the 10% penalty on earnings. You will owe income tax on the earnings portion of that withdrawal, but not the penalty. The contribution itself comes out tax-free. This rule protects you from being penalized for a change in circumstances.

Can I open a 529 plan in a state other than where I live?

Yes. You can open a 529 plan in any state, regardless of where you live or where the beneficiary goes to school. However, if your state offers a tax deduction only for its own plan, you will not receive that deduction if you choose a different state's plan. Weigh the tax benefit against the plan's investment options and fees before deciding.