Skip to main content

HomeAll guides

How 529 Plans Handle Taxes on Contributions and Earnings

529 contributions are not pre-tax, but earnings can grow tax-free

A 529 plan contribution does not reduce your federal income tax in the year you make it. You contribute money that has already been taxed as income, the same way you would contribute to a regular savings account. However, the money inside the account grows without triggering federal income tax on the earnings — and in most states, you also get a state income tax deduction or credit on the amount you contribute.

The tax advantage of a 529 is not about the money going in; it is about what happens while it sits there. If you put $5,000 into a 529 and it grows to $7,000 over five years, you pay no federal tax on that $2,000 gain. When the money is withdrawn to pay for education, the earnings portion stays untaxed as long as it goes toward a may have access to education expense — tuition, fees, room and board, books, and certain other costs at an accredited school.

Key Takeaways

  • 529 contributions come from after-tax money and do not reduce your federal taxable income, but the earnings inside the account grow without federal tax.
  • Most states offer a state income tax deduction or credit on 529 contributions, which does reduce your state taxes in the year you contribute.
  • Earnings withdrawn for may have access to education expenses are not taxed at the federal level; earnings withdrawn for other purposes are taxed as income plus a 10 percent penalty.
  • Your state's tax benefit may depend on whether you contribute to your own state's plan or another state's plan, so check your state's rules.

State tax deductions and credits on 529 contributions

While the federal government does not deduct 529 contributions from your income, most states do. Thirty-four states and the District of Columbia offer a state income tax deduction or credit when you contribute to a 529 plan. The amount varies widely: some states let you deduct the full amount you contribute in a year, while others cap the deduction at a specific dollar amount or a percentage of income.

Many states limit the tax benefit to contributions made to their own state's 529 plan. A few states — including New York, Pennsylvania, and Colorado — allow the deduction regardless of which state's plan you choose. Before opening a 529, check whether your state offers a deduction, how much it allows, and whether it applies only to your state's plan or to any plan.

How the tax-free growth works in practice

Inside a 529 account, your money can be invested in mutual funds, age-based portfolios, or stable value funds depending on the plan. Any gains from those investments — dividends, capital gains, interest — accumulate without triggering a tax bill each year. In a regular taxable investment account, you would owe tax on those earnings annually. In a 529, you owe nothing until the money is withdrawn.

This tax-free compounding is the main financial benefit of a 529. Over 10 or 15 years, the difference between paying tax on earnings each year and paying nothing can be substantial. The longer the money stays in the account, the more that tax-free growth compounds.

What happens to earnings when you withdraw the money

When you withdraw money from a 529 for a may have access to education expense, the earnings portion is not taxed. The plan will send you a statement showing how much of your withdrawal is contributions (which were already taxed) and how much is earnings (which are now tax-free). You report the withdrawal on your tax return, but no additional tax is due on the earnings.

If you withdraw money for something other than a may have access to education expense — or if the beneficiary receives a scholarship and you withdraw the earnings portion — the earnings are taxed as ordinary income. You also owe a 10 percent penalty on the earnings portion only, not on the contributions. The contributions themselves can always be withdrawn tax-free and penalty-free, since they came from after-tax money.

The difference between 529 plans and pre-tax retirement accounts

A 529 is often confused with pre-tax retirement accounts like a 401(k) or traditional IRA, where contributions reduce your taxable income in the year you make them. A 529 does not work that way at the federal level. The federal tax advantage is entirely on the earnings side: the money grows tax-free, and withdrawals for education are not taxed.

The state tax deduction on 529 contributions can look similar to a federal deduction, but it is a separate benefit that only applies in states that offer it. Even in those states, the deduction is usually smaller than what you would get from a 401(k) contribution, and it may be capped by income or contribution limits.

How to report a 529 on your tax return

If your state offers a tax deduction for 529 contributions, you claim it on your state income tax return, not your federal return. The specific form varies by state — some use a line on the main return, others require a separate schedule. Check your state's tax department website or your tax software for the correct form.

When you withdraw money from a 529 for education, the plan sends you a Form 1099-Q showing the total withdrawal and how much is earnings. You report this on your federal return (Form 8606 or your tax software's 529 section), but if the withdrawal was for a may have access to expense, no additional tax is owed. If part of the withdrawal was not for a may have access to expense, you will owe tax and the 10 percent penalty on the earnings portion of that non-may have access to withdrawal.

Frequently Asked Questions

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

No. 529 contributions do not reduce your federal taxable income. However, most states offer a state income tax deduction or credit on contributions, so check your state's rules. The federal tax benefit of a 529 comes from the tax-free growth of earnings inside the account, not from the contribution itself.

What counts as a may have access to education expense for tax-free withdrawal?

may have access to expenses include tuition and fees at an accredited college, university, or vocational school; room and board if the student is enrolled at least half-time; books and supplies; computers and equipment; and up to $35,000 in student loan repayment per beneficiary over their lifetime. K-12 tuition (up to $235 per year) and up to $35,000 in 529-to-Roth IRA rollovers also may have access to. The school must be accredited by the U.S. Department of Education.

Do I owe tax on the contributions I withdraw from a 529?

No. Contributions are always withdrawn tax-free and penalty-free because they came from after-tax money. Only the earnings portion of a withdrawal can be taxed or penalized. The plan statement will show you how much of each withdrawal is contributions versus earnings.

What happens if my child gets a scholarship?

You can withdraw an amount equal to the scholarship from the 529 without penalty. However, the earnings portion of that withdrawal is still taxed as income — only the contributions portion is tax-free. If the scholarship covers more than the 529 balance, you straightforward withdraw what you need and leave the rest to grow.

Can I move money between 529 plans without tax consequences?

Yes, but only if you follow the rules. A direct rollover from one 529 plan to another (same beneficiary) is not taxed. If you withdraw the money yourself and redeposit it within 60 days, it is treated as a non-may have access to withdrawal and the earnings are taxed plus penalized. Most people use a direct transfer through the plans to avoid this problem.

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.