Federal tax deduction for 529 contributions: what you get and don't get
Contributions to a 529 plan are not deductible on your federal income tax return. You pay into the account with after-tax dollars, meaning you cannot reduce your federal taxable income by the amount you contribute. This is true whether you contribute $100 or $10,000 in a single year.
The tax benefit of a 529 plan comes later, when the money grows. The earnings inside the account — interest, dividends, capital gains — are not taxed while the money sits there. When you withdraw funds to pay for may have access to education expenses, those earnings come out tax-free at the federal level. That is the trade-off: no deduction going in, but tax-free growth and withdrawal.
This structure is different from a traditional IRA or 401(k), where contributions themselves reduce your taxable income in the year you make them. With a 529, you are trading an immediate tax break for a larger one later, if the account grows and you use it for school.
Key Takeaways
- You cannot deduct 529 contributions on your federal tax return, even if you contribute thousands in a single year.
- Some states offer a state income tax deduction or credit for 529 contributions, but the rules vary widely by state and contribution amount.
- The federal tax benefit comes from tax-free growth and tax-free withdrawal for may have access to education expenses, not from a deduction.
- If you withdraw money for non-education expenses, the earnings portion is taxed as income plus a 10 percent federal penalty.
State tax deductions and credits: where you may save money
About 35 states offer some form of state income tax benefit for 529 contributions, but the rules are not uniform. Some states let you deduct contributions from your state taxable income. Others offer a tax credit — a direct reduction in the tax you owe — instead. A few states offer both, or neither.
The amount you can deduct or credit varies by state. Some states let you deduct unlimited contributions. Others cap the deduction at $235 per beneficiary per year, or $500, or $2,000 — the number depends on which state you live in and which state's 529 plan you use. A handful of states require you to use their own plan to get the deduction; most do not.
To find out whether your state offers a deduction or credit, check your state's tax authority website or the plan materials for the 529 you are considering. The deduction or credit amount is usually small compared to the contribution, but it is real money if you are already planning to save for education.
How the tax-free growth actually works
When you put money into a 529, you choose how to invest it — usually from a menu of mutual funds or age-based portfolios. As those investments earn returns, the gains accumulate without being taxed each year. In a regular taxable investment account, you would owe tax on dividends and capital gains annually. In a 529, you owe nothing until you withdraw.
If you withdraw the money to pay for may have access to education expenses — tuition, fees, room and board, books, required equipment, computers — the entire withdrawal, including all the earnings, comes out tax-free. The earnings are never taxed at the federal level. This is the main reason people use 529 plans instead of saving in a regular savings account or brokerage account.
The longer the money stays in the account and the more it grows, the larger this tax benefit becomes. A $10,000 contribution that grows to $15,000 over ten years means $5,000 in earnings that will never be taxed if used for school.
What happens if you withdraw money for non-education expenses
If you take money out of a 529 for something other than may have access to education expenses — a car, a wedding, a down payment on a house — the earnings portion of that withdrawal is taxed as ordinary income, and you also owe a 10 percent federal penalty on the earnings. The contribution itself comes out tax-free and penalty-free, because you already paid tax on it going in.
Example: You contributed $10,000 and the account grew to $14,000. You withdraw $8,000 for a non-may have access to expense. The $8,000 is treated as $5,714 contribution (tax-free) and $2,286 earnings. You owe federal income tax on the $2,286 plus a 10 percent penalty ($228.60). You do not owe the penalty on the contribution portion.
Some states also impose a state income tax penalty on non-may have access to withdrawals, in addition to the federal 10 percent. A few states do not. Check your state's rules if you think you might need to withdraw for a non-education reason.
The difference between 529 plans and other education savings accounts
A Coverdell Education Savings Account (ESA) works similarly to a 529 in terms of federal tax treatment: contributions are not deductible, but earnings grow tax-free and withdrawals for education are tax-free. However, you can only contribute $2,000 per beneficiary per year to an ESA, and income limits apply. A 529 has no annual contribution limit and no income limits.
A 529 plan also lets you save much larger amounts — there is no federal cap, though each state sets its own aggregate limit (usually $235,000 to $550,000 per beneficiary across all accounts). You can also change the beneficiary to another family member without penalty, which you cannot do with an ESA.
If you are saving for K-12 private school tuition (not college), a 529 plan allows up to $35,000 per year in tax-free withdrawals under the SECURE Act 2.0, as of 2024. An ESA covers K-12 as well but with the $2,000 annual limit. For most families saving significant amounts, a 529 offers more flexibility and higher contribution room.
How to report 529 contributions and withdrawals on your tax return
If your state offers a deduction or credit for 529 contributions, you claim it on your state tax return, not your federal return. The process varies by state — some states have a specific line on the state income tax form, others require you to file a separate schedule. Check your state's tax instructions or the 529 plan's tax guide.
You do not report 529 contributions on your federal return at all. The account owner (usually a parent or grandparent) does not get a federal deduction, and the beneficiary (the student) does not report it as income.
When you withdraw money for education, the plan will send you a Form 1099-Q showing the total withdrawal and how much is earnings versus contribution. If the entire withdrawal is for may have access to education expenses, you do not owe federal tax on any of it. If part of it is non-may have access to, you will need to calculate the taxable portion and report it on your federal return. Your tax software or preparer can walk you through this.
Frequently Asked Questions
Can I deduct 529 contributions on my federal taxes?
No. 529 contributions are made with after-tax dollars and do not reduce your federal taxable income. Some states offer a state income tax deduction or credit, but there is no federal deduction. The federal tax benefit comes from tax-free growth and tax-free withdrawal for education expenses.
Do I have to use my own state's 529 plan to get a tax deduction?
Most states let you deduct contributions to any state's 529 plan. However, a few states (including Arizona, Kansas, Missouri, and Pennsylvania) only allow the deduction if you use their own plan. Check your state's tax rules before opening an account.
What counts as a may have access to education expense for the tax-free withdrawal?
may have access to expenses include tuition, fees, room and board, books, required equipment, and computers for college or graduate school. For K-12 private school, tuition is covered. For apprenticeships, certain program fees may have access to. Room and board only counts if the student is at least half-time enrolled. Check the IRS rules or your plan materials for the full list.
If I withdraw money and don't use it for school, do I owe tax and penalty on the whole amount?
No. Only the earnings portion is taxed as income and subject to the 10 percent federal penalty. Your original contributions come out tax-free and penalty-free. If you contributed $10,000 and it grew to $13,000, only the $3,000 in earnings is taxed and penalized.
Can I move money from a 529 to a Roth IRA without penalty?
As of 2024, the SECURE Act 2.0 allows a one-time rollover of up to $35,000 from a 529 to a Roth IRA for the same beneficiary, subject to certain rules. The 529 account must have been open for at least 15 years, and the rollover counts toward annual Roth contribution limits. This is a new option and rules are still being clarified by the IRS.