How 529 Plans Get You a Tax Deduction (And When They Don't)
Federal tax deduction: 529 contributions are not deductible at the federal level
You cannot deduct money you put into a 529 plan from your federal income taxes. The IRS does not treat 529 contributions the way it treats contributions to a traditional IRA or a health savings account. You contribute with after-tax dollars, meaning you pay income tax on the money before it goes into the account.
This is the most important thing to understand about 529 tax treatment. Many people assume that because 529 plans offer tax benefits, those benefits start when you contribute. They do not. The tax advantage comes later, when the money grows and when you withdraw it to pay for school.
Key Takeaways
- You cannot deduct 529 contributions from your federal income taxes, even though the account offers other tax benefits.
- Thirty-five states and the District of Columbia offer state income tax deductions or credits for 529 contributions, but the amount and rules vary by state.
- The main federal tax benefit is that earnings in the account grow tax-free and come out tax-free when used for may have access to education expenses.
- Some states let you deduct contributions only if you use that state's own 529 plan, while others let you deduct contributions to any state's plan.
- If you withdraw money for non-education expenses, you owe income tax on the earnings plus a 10 percent federal penalty.
State tax deductions: where the real savings happen
Thirty-five states plus the District of Columbia let you deduct 529 contributions from your state income taxes. The amount you can deduct, the rules about which plans may have access to, and whether your spouse can also deduct the contribution all depend on where you live and file taxes.
Some states let you deduct contributions to any state's 529 plan. Others limit the deduction to contributions made to that state's own plan. A few states offer a tax credit instead of a deduction — meaning you subtract the credit directly from the tax you owe, rather than reducing your taxable income. A credit is usually worth more than a deduction of the same size.
States that do not offer any deduction or credit include Alabama, Hawaii, Kentucky, New Hampshire, North Carolina, South Dakota, Tennessee, Texas, and Wyoming. If you live in one of these states, you get no state tax benefit from contributing to a 529 plan, though the federal benefits (tax-free growth and tax-free withdrawals) still apply.
How to find your state's specific rules
Your state's tax authority website lists the deduction or credit amount and any restrictions. Search "[your state] 529 tax deduction" or "[your state] 529 tax credit" to find the official page. You can also call your state's department of revenue directly — they can tell you the exact deduction for your income level and filing status.
Some states let you carry forward unused deductions to future years if you contribute more than the annual limit. Others do not. Some states let married couples filing jointly each deduct contributions, while others cap the deduction per household. These details matter for your tax planning, so confirm them before you contribute a large amount.
Tax-free growth and withdrawals: the federal benefit that does apply
Money inside a 529 account grows without being taxed each year. If you invest $10,000 and it grows to $15,000 over five years, you do not owe tax on that $5,000 gain while it sits in the account. This is different from a regular investment account, where you would owe tax on dividends and capital gains every year.
When you withdraw money to pay for may have access to education expenses — tuition, fees, room and board, books, and required equipment at an accredited college, university, trade school, or graduate program — both your original contribution and all the earnings come out tax-free. You owe no federal income tax on the withdrawal.
This is where the real tax savings come from. If your $10,000 contribution grows to $15,000 and you use it for tuition, you avoid paying federal income tax on that $5,000 gain. At a 24 percent tax rate, that is $1,200 in federal tax you do not owe.
What happens if you withdraw money for non-education expenses
If you withdraw money and do not use it for may have access to education expenses, you owe income tax on the earnings portion of the withdrawal. You also owe a 10 percent federal penalty on those earnings. Your original contribution comes out tax-free — you already paid tax on it when you earned it.
Example: You contributed $10,000 and the account grew to $15,000. You withdraw $15,000 for a non-may have access to expense. You owe income tax plus a 10 percent penalty on the $5,000 in earnings. At a 24 percent tax rate plus the 10 percent penalty, that is $4,100 in federal tax and penalty on money that was supposed to be tax-free.
Some exceptions exist. If the beneficiary receives a scholarship, you can withdraw that amount without penalty (though you still owe tax on the earnings). If the beneficiary attends a military academy, certain expenses are treated as may have access to. If the beneficiary dies or becomes disabled, you can withdraw without penalty. Check the IRS rules for your specific situation.
How state tax deductions interact with federal tax-free withdrawals
You can use both benefits in the same year. You deduct the contribution from your state income taxes when you make it, and then you withdraw the money tax-free from federal income taxes when you use it for school. These are separate tax benefits that stack on top of each other.
If you live in a state with a generous deduction and a high state income tax rate, the state benefit alone can be substantial. New York, for example, lets you deduct up to $10,000 per beneficiary per year ($20,000 if married filing jointly). At New York's top state tax rate of about 6.85 percent, that deduction saves you $685 per year in state tax. Over 18 years of contributions, that adds up.
Comparing 529 plans across states to maximize your deduction
If you live in a state that lets you deduct contributions to any state's plan, you can choose based on investment options and fees rather than being locked into your home state's plan. If your state limits the deduction to its own plan, you face a choice: use your state's plan to get the deduction, or use another state's plan if it has better investments and lower costs.
Run the math before you decide. If your state's plan charges high fees but offers a generous deduction, the deduction might outweigh the higher costs. If your state's plan has low fees and a modest deduction, it might still be your best choice. If your state offers no deduction at all, choose based purely on investment options and fees.
Frequently Asked Questions
Can I deduct 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 tax-free growth and tax-free withdrawals for may have access to education expenses, not from a deduction when you contribute.
What if I live in a state with no 529 tax deduction?
You still get the federal benefits: tax-free growth inside the account and tax-free withdrawals for may have access to education expenses. You simply do not get a state income tax deduction. If you live in one of the nine states with no deduction, compare 529 plans based on investment options and fees rather than tax benefits.
Can I deduct contributions for a child who is not my dependent?
Rules vary by state. Some states let you deduct contributions to a 529 for any beneficiary, including grandchildren or nieces and nephews. Others limit the deduction to dependents you claim on your tax return. Check your state's specific rules before contributing.
If I get a state tax deduction and then withdraw the money for a non-may have access to expense, do I have to pay back the deduction?
Some states require you to recapture the deduction — meaning you add it back to your taxable income in the year you make the non-may have access to withdrawal. Others do not. This is a state-specific rule, so confirm it with your state's tax authority before you withdraw.
Does a 529 deduction reduce my federal taxable income?
No. State tax deductions reduce only your state taxable income. They do not affect your federal return. Your federal tax benefit from a 529 plan comes entirely from tax-free growth and tax-free withdrawals, not from any deduction.