529 contributions come from after-tax dollars, but the growth inside the account is tax-free

You fund a 529 plan with money you have already paid income tax on. The dollars you put in are not deductible from your federal income tax return. However, once the money is inside the account, any earnings — interest, dividends, capital gains — grow without federal tax. When you withdraw money to pay for may have access to education expenses, you pay no tax on the growth portion of that withdrawal.

Some states offer a state income tax deduction for 529 contributions, which is separate from the federal treatment. That deduction reduces your state taxable income in the year you contribute, even though the contribution itself is made with after-tax dollars. The federal side and the state side work differently, and knowing which applies to you matters for your actual tax bill.

Key Takeaways

  • 529 contributions are made with after-tax money and do not reduce your federal taxable income.
  • Investment earnings inside a 529 grow tax-free at the federal level, and withdrawals for may have access to education costs are not taxed on the earnings.
  • Some states let you deduct 529 contributions from state income tax, which lowers your state tax bill even though the contribution was after-tax.
  • If you withdraw money for non-education expenses, you owe income tax plus a 10 percent penalty on the earnings portion only.
  • The tax advantage comes from tax-free growth over time, not from deducting the contribution itself.

Why the contribution is after-tax but the growth is not

The 529 plan is designed to reward long-term saving for education. You do not get a tax break on the money going in, but you get a major one on the money coming out. If you put $10,000 into a 529 and it grows to $15,000 over ten years, the $5,000 gain is never taxed at the federal level — as long as you use it for school.

This structure is different from a traditional IRA or 401(k), where contributions themselves reduce your taxable income. With a 529, the tax benefit is entirely on the back end: the growth and the withdrawal. That means the longer money sits in the account, the more valuable the tax break becomes. A student born today whose parents start a 529 at birth will see eighteen years of tax-free compounding.

State income tax deductions for 529 contributions

About thirty-five states offer a state income tax deduction or credit for 529 contributions made to their own state's plan. The amount varies. New York allows you to deduct up to $10,000 per person per year ($20,000 if married filing jointly). Illinois offers a 20 percent credit on contributions up to $20,000 per beneficiary per year. Other states have different caps or no deduction at all.

The state deduction is a real tax savings in the year you contribute. If you live in New York, earn $100,000, and contribute $10,000 to the New York 529, your state taxable income drops to $90,000. That lowers your state income tax bill when ready. However, this is a state-level benefit only — it does not change your federal taxes.

Some states restrict the deduction to contributions made to their own plan. Others allow you to deduct contributions to any state's 529. A few states offer no deduction at all. Check your state's tax authority website or your tax preparer to learn what your state offers.

What happens when you withdraw money for school

When you withdraw from a 529 to pay for may have access to education expenses — tuition, fees, room and board, books, computers, and student loan repayment — the entire withdrawal is tax-free. You do not report it on your federal return, and you owe no state tax on it either (in most states). The money you contributed comes out tax-free because it was already taxed. The earnings come out tax-free because they grew inside the 529.

may have access to expenses are defined by federal law and include tuition and mandatory fees at any accredited college, university, trade school, or graduate program. Room and board is covered if the student is enrolled at least half-time. Up to $35,000 per beneficiary can be rolled into a Roth IRA if the account has been open for at least fifteen years and the beneficiary has earned income, which is a newer option as of 2024.

Withdrawals for non-education purposes and the tax penalty

If you withdraw money for something other than may have access to education expenses, you owe income tax on the earnings portion and a 10 percent federal penalty on those earnings. The contribution portion comes out tax-free because you already paid tax on it. Only the growth is penalized.

Example: You contributed $10,000 and the account grew to $15,000. You withdraw $15,000 to buy a car. The $10,000 contribution is not taxed or penalized. The $5,000 earnings are subject to income tax at your ordinary rate plus a 10 percent penalty — so roughly 30 to 40 percent of that $5,000 goes to taxes and penalties, depending on your tax bracket.

There is an exception: if the beneficiary receives a scholarship, you can withdraw an amount equal to the scholarship without penalty (though you still owe tax on the earnings). If the beneficiary attends a military academy, you can withdraw without penalty. Some states also waive the penalty if the beneficiary dies or becomes disabled.

How 529 growth compounds over time

The real tax advantage of a 529 is the compounding. If you invest $5,000 per year for eighteen years in a 529 earning 6 percent annually, you will contribute $90,000 and the account will grow to roughly $145,000. The $55,000 in earnings is never taxed. In a regular taxable account earning the same 6 percent, you would owe tax on the earnings each year, reducing the final balance to around $125,000 depending on your tax bracket.

That difference — $20,000 more in the 529 — comes entirely from tax-free growth. The longer the money stays invested, the larger this advantage becomes. A newborn's 529 has eighteen years to compound. A high school junior's 529 has four years. Both are tax-advantaged, but the timeline matters.

Frequently Asked Questions

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

No. 529 contributions are not deductible from federal income tax. You fund the account with after-tax dollars. However, some states allow you to deduct contributions from state income tax. Check your state's rules to see if you live in one of those states.

Do I have to report 529 withdrawals on my tax return?

No, not for may have access to education expenses. If you withdraw for non-may have access to expenses, you report the earnings portion as income and owe the 10 percent penalty. Your 529 plan custodian will send you a form showing how much of each withdrawal is earnings versus contribution.

What if I use 529 money for room and board — is that tax-free?

Yes, room and board is a may have access to education expense as long as the student is enrolled at least half-time. The withdrawal is entirely tax-free, including the earnings portion. The same applies to books, computers, and required supplies.

Can I move money between 529 plans without tax consequences?

Yes, you can roll over a 529 to another plan or change beneficiaries to a family member without tax or penalty. However, if you change the beneficiary to someone not in the original beneficiary's family, you may owe tax on the earnings. Check the rules before moving money.

If my child gets a scholarship, what happens to the 529?

You can withdraw an amount equal to the scholarship without the 10 percent penalty, though you still owe income tax on the earnings portion of that withdrawal. You can also leave the money in the account to cover other education costs or roll it to a family member's 529.