Whether 529 Plans Use Pre-Tax or Post-Tax Money — and Why It Matters
529 plans accept post-tax money, but the earnings grow tax-free
You fund a 529 plan with money you have already paid income tax on. The dollars you deposit do not reduce your federal taxable income in the year you contribute. However, the investment earnings that accumulate inside the account grow without being taxed each year, and you pay no federal tax on those earnings when you withdraw them for education expenses.
This is different from a traditional retirement account like a 401(k), where your contribution itself lowers your taxable income. With a 529, the tax benefit comes later, on the back end, through tax-free growth and withdrawals rather than an upfront deduction.
Some states do offer a state income tax deduction for 529 contributions, which means you could reduce your state taxes in the year you contribute. But this is a state-level benefit, not a federal one, and it varies significantly by state. If your state offers it, you get both the upfront state deduction and the federal tax-free growth.
Key Takeaways
- You contribute post-tax dollars to a 529 plan, meaning you do not get a federal income tax deduction for the money you put in.
- The investment earnings inside the account grow tax-free, and you owe no federal tax on those earnings when withdrawn for education.
- Some states allow you to deduct 529 contributions from your state income tax, reducing your state tax bill in the year you contribute.
- The tax-free growth benefit applies only to earnings, not to your original contributions, which you can always withdraw tax-free.
- If you withdraw money for non-education expenses, you pay income tax and a 10 percent penalty on the earnings portion only.
How the tax-free growth works in practice
Suppose you open a 529 account and contribute $10,000 in January. You do not deduct this $10,000 from your federal taxes. Over five years, the account grows to $13,500 through investment gains. When your child uses the money for tuition, room, or books, you withdraw the full $13,500 with no federal tax owed on any of it — not on the original $10,000 and not on the $3,500 in earnings.
This is the core advantage of a 529: the earnings portion, which would normally be taxed as income each year in a regular investment account, escapes federal taxation entirely. In a taxable brokerage account, you would owe tax on that $3,500 in gains, likely at your ordinary income tax rate or capital gains rate depending on how long you held the investments.
The tax-free treatment applies only to withdrawals used for may have access to education expenses. These include tuition, fees, books, supplies, equipment, room and board (if the student is enrolled at least half-time), and up to $35,000 in student loan repayment per beneficiary over their lifetime. If you withdraw money for something else, the earnings portion becomes taxable and subject to a 10 percent penalty.
State income tax deductions vary widely
About 35 states offer an income tax deduction for 529 contributions, but the rules differ from state to state. Some states deduct contributions to any 529 plan in the country. Others allow deductions only for contributions to their own state's plan. A few states cap the deduction amount per year or per person.
New York, for example, allows residents to deduct up to $10,000 per beneficiary per year ($20,000 if married filing jointly) from state taxable income, regardless of which state's 529 plan they use. Illinois allows an unlimited deduction but only for contributions to the Illinois Bright Start plan. Pennsylvania offers no state deduction at all.
If your state offers a deduction and you use it, you reduce your state tax bill in the year you contribute. This is an upfront benefit that stacks on top of the federal tax-free growth. To find your state's rules, search your state's tax department website for "529 deduction" or check the plan materials for your state's 529 program.
Your contributions are always yours to withdraw tax-free
An important distinction: you can withdraw your original contributions from a 529 plan at any time, for any reason, with no tax or penalty. Only the earnings portion is restricted to education expenses. This means if you contribute $10,000 and the account grows to $13,500, you can pull out the $10,000 whenever you want without consequence.
If you withdraw the $3,500 in earnings for a non-education purpose, you owe income tax on that $3,500 plus a 10 percent penalty. But your contributions themselves are not penalized and not taxed again, because you already paid tax on them when you earned the money.
This distinction matters if your circumstances change. If your child receives a full scholarship, you can withdraw your contributions without penalty. You would owe tax and penalty only on the earnings if you wanted to take those out as well.
How a 529 compares to other savings accounts
A Coverdell Education Savings Account (ESA) works similarly to a 529 in that contributions are post-tax but earnings grow tax-free. However, ESAs have much lower contribution limits ($2,000 per year per beneficiary) and income limits that phase out for higher earners. A 529 has no income limits and allows much larger contributions.
A regular savings account or taxable brokerage account requires you to pay tax on earnings each year as they accumulate, and again when you sell investments at a gain. A 529 defers all that taxation until withdrawal, and eliminates it entirely if used for education.
A Roth IRA also uses post-tax contributions with tax-free growth, but it is designed for retirement, not education. You cannot withdraw earnings penalty-free before age 59½ unless you meet specific exceptions. A 529 is built specifically for education and allows penalty-free withdrawals for that purpose at any age.
What happens if money is not used for education
If a beneficiary does not attend college or does not use all the money in the account, you have options. You can change the beneficiary to another family member — a sibling, cousin, or even yourself — without tax or penalty. This keeps the money in the tax-advantaged account and lets it continue growing.
You can also roll up to $35,000 from a 529 to a Roth IRA in the beneficiary's name, subject to certain conditions. The money must have been in the 529 for at least 15 years, and the Roth IRA contribution limits still apply. This is a newer option that gives families more flexibility if education plans change.
If you withdraw earnings for non-education reasons and do not use one of these options, you owe income tax on the earnings at your ordinary tax rate, plus a 10 percent penalty. Your contributions come out tax-free and penalty-free regardless.
Frequently Asked Questions
Can I deduct my 529 contribution from my federal taxes?
No, 529 contributions do not reduce your federal taxable income. However, some states allow you to deduct contributions from your state income tax. Check your state's tax rules or your state's 529 plan website to see if you live in a state that offers this benefit.
Do I pay taxes on the money growing inside a 529?
No. The earnings inside a 529 account grow without being taxed each year, and you owe no federal tax on those earnings when you withdraw them for education expenses. This tax-free growth is the main advantage of using a 529 instead of a regular savings account.
What if I withdraw money from a 529 for something other than education?
Your original contributions come out tax-free and penalty-free. The earnings portion is taxed as ordinary income and subject to a 10 percent penalty. For example, if you contributed $10,000 and it grew to $13,500, withdrawing the $3,500 in earnings for non-education purposes means paying income tax plus 10 percent penalty on that $3,500 only.
Can I move money from a 529 to a Roth IRA?
Yes, as of 2024, you can roll up to $35,000 from a 529 to a Roth IRA in the beneficiary's name over their lifetime. The money must have been in the 529 for at least 15 years. This option gives families flexibility if education plans change, though annual Roth contribution limits still apply.
Is there a limit to how much I can contribute to a 529?
There is no annual contribution limit, but each state sets an aggregate limit on how much can be in a 529 account per beneficiary. These limits typically range from $235,000 to $550,000 depending on the state. You can contribute as much as you want in a single year, but the total across all accounts for one beneficiary cannot exceed your state's aggregate limit.