529 contributions use after-tax dollars, but the money grows tax-free

When you put money into a 529 plan, you contribute with money you have already paid income tax on — that is, post-tax dollars. You do not get a federal tax deduction for putting the money in. However, once the money is in the account, it grows without being taxed each year, and you pay no tax on the growth when you withdraw it for may have access to education expenses.

The tax advantage of a 529 is not in the contribution itself. It is in what happens after: the account balance compounds year after year without triggering capital gains tax or dividend tax. That tax-free growth is what makes a 529 different from saving the same money in a regular savings account or brokerage account.

Key Takeaways

  • You contribute to a 529 with after-tax money and receive no federal tax deduction for the contribution itself.
  • The earnings inside the account grow tax-free, and you owe no tax on those earnings when you withdraw them for may have access to education costs.
  • Some states offer a state income tax deduction or credit for 529 contributions, which is separate from the federal tax treatment.
  • If you withdraw money for non-education expenses, you pay income tax on the earnings portion plus a 10 percent penalty.
  • The tax-free growth benefit applies only to withdrawals used for tuition, fees, room and board, books, and other may have access to education expenses.

State tax deductions and credits vary by where you live

Although the federal government does not give you a deduction for 529 contributions, many states do. Some states let you deduct a portion or all of your 529 contribution from your state income tax. Others offer a state tax credit instead — a direct reduction in the tax you owe. A few states offer both, or offer a deduction only if you use that state's own 529 plan.

The amount of the state deduction or credit depends on where you live. New York allows a deduction of up to $10,000 per beneficiary per year for married couples filing jointly. Illinois offers a 20 percent tax credit on contributions up to $20,000 per beneficiary per year. Indiana, Iowa, and several other states have different limits. Some states have no state income tax at all, so there is no state deduction to claim.

You should check your state's 529 rules before you contribute. The state tax benefit can be substantial enough to make a 529 more attractive than other savings methods, even though the federal treatment is the same everywhere.

How the tax-free growth actually works

Suppose you open a 529 account and contribute $5,000 in January. You have already paid federal income tax on that $5,000 — it came from your after-tax paycheck or savings. You put it into the 529, and it sits in an investment option you choose: a stock fund, a bond fund, a target-date fund, or something else.

By December, the account has grown to $5,400. That $400 in earnings is not taxed that year. The next year, the $5,400 grows to $5,800. Again, no tax is owed on the $400 in new earnings. This continues year after year. If the account reaches $50,000 by the time the beneficiary turns 18, and you withdraw $30,000 for tuition, you owe no federal tax on any of it — not the original contribution and not the growth.

This is the core benefit: money in a regular savings account or taxable brokerage account would be taxed on its earnings every year. A 529 defers all that tax until withdrawal, and then erases it entirely if the money goes toward education.

What happens if you withdraw money for non-education expenses

If you withdraw money from a 529 for something other than may have access to education expenses — a car, a vacation, or anything else — the tax treatment changes. You owe income tax on the earnings portion of the withdrawal, plus a 10 percent penalty on those earnings. The original contribution comes out tax-free, because you already paid tax on it.

For example, if your 529 account holds $30,000 (of which $20,000 is your original contribution and $10,000 is earnings), and you withdraw $15,000 for a non-may have access to expense, you owe income tax plus a 10 percent penalty on the $10,000 in earnings. The $5,000 of contribution that came out with it is not taxed again.

Some exceptions exist: you can withdraw up to $35,000 over a lifetime to pay down student loans, and you can roll unused 529 money into a Roth IRA under certain conditions. But for most non-education withdrawals, the penalty applies.

may have access to education expenses that avoid the penalty

The 529 tax benefit applies when you use the money for may have access to education expenses. These include tuition and fees at any accredited college, university, trade school, or graduate school. They also include room and board if the student is enrolled at least half-time, books and supplies, computers and equipment required for school, and up to $35,000 in student loan repayment.

K-12 tuition at private schools is also covered, up to $35,000 per beneficiary over a lifetime. Some states allow 529 money to be used for K-12 public school expenses as well, though the federal rules are narrower.

The key is that the expense must be for education. A laptop for college counts. A laptop for personal use does not. Room and board counts only if the student is enrolled. Withdrawals must match up with actual education costs in the same year, or the earnings portion becomes taxable.

How 529s compare to other savings methods for taxes

A 529 is not the only way to save for education. A Coverdell Education Savings Account (ESA) also grows tax-free and lets you withdraw tax-free for education expenses. However, ESAs have a $2,000 annual contribution limit and income limits on who can contribute. A 529 has no annual contribution limit (though there are aggregate limits per beneficiary that vary by state, typically $235,000 to $550,000).

A regular savings account or brokerage account has no tax advantage at all. You pay tax on interest and dividends every year, and you pay capital gains tax when you sell investments at a profit. Over 18 years, this tax drag can be significant.

A 529 is also different from a Roth IRA, which also grows tax-free. A Roth is for retirement, not education, and has strict rules about when you can withdraw without penalty. A 529 is specifically designed for education and lets you withdraw whenever you need to pay education costs.

Frequently Asked Questions

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

No. You contribute with after-tax dollars and receive no federal deduction. Some states offer a state income tax deduction or credit, but that is separate from federal taxes. Check your state's rules to see if you may have access to for a state benefit.

Do I have to pay taxes on 529 earnings when I withdraw them for college?

No, as long as you use the money for may have access to education expenses. The earnings grow tax-free and come out tax-free. You owe no federal or state income tax on the withdrawal, and no capital gains tax.

What if I contribute more than I end up needing for education?

You can roll unused 529 money into a Roth IRA for the same beneficiary, up to $35,000 over a lifetime, subject to income limits. You can also change the beneficiary to another family member. If you withdraw the excess for non-education purposes, you pay income tax and a 10 percent penalty on the earnings portion only.

Does opening a 529 affect my taxes right away?

Not federally. You get no federal deduction when you contribute. If your state offers a deduction or credit, you claim it on your state tax return for the year you made the contribution. The federal tax benefit comes later, when you withdraw the money tax-free for education.

Can I use a 529 for graduate school?

Yes. 529 money can be used for tuition, fees, and room and board at any accredited graduate or professional school. The tax-free withdrawal rules are the same as for undergraduate education.