How 529 Plans Avoid Taxes on Education Savings
The tax-free part of a 529 plan
A 529 plan lets you save money for education without paying federal income tax on the growth. The money you put in is not tax-deductible at the federal level, but the earnings — the interest, dividends, and investment gains your account builds over time — grow tax-free. When you withdraw money to pay for may have access to education expenses, you pay no federal tax on those earnings.
This is the core benefit: a regular savings account or brokerage account would charge you federal income tax every year on the earnings. A 529 avoids that tax entirely, as long as you use the money for the right expenses. The longer your money sits in the account, the more it grows without being taxed, which is why 529 plans work best when you start early.
Key Takeaways
- Earnings in a 529 plan grow tax-free at the federal level, and you owe no federal tax when you withdraw them for may have access to education expenses.
- The money you contribute is not deductible from your federal income taxes, but many states offer a state income tax deduction or credit for 529 contributions.
- Withdrawals used for tuition, fees, room and board, books, computers, and up to $35,000 in student loan repayment are tax-free; other uses trigger taxes and a penalty on the earnings.
- If you withdraw money for non-education purposes, you pay federal income tax on the earnings plus a 10 percent penalty, though some exceptions exist.
- The tax-free growth compounds over time, making a 529 significantly more powerful than a regular savings account for long-term education funding.
What counts as a may have access to education expense
The tax-free withdrawal rule only applies to specific expenses. The IRS defines may have access to education expenses as tuition and fees at an accredited college, university, vocational school, or graduate program. Room and board counts if the student is enrolled at least half-time. Books, supplies, equipment (including a computer), and required technology also may have access to.
As of 2024, you can withdraw up to $35,000 over the account's lifetime to repay student loans — either the account owner's loans or a dependent's loans. This is a newer rule that gives 529 accounts more flexibility. The $35,000 limit is per account, not per person, so if both parents have separate 529 accounts for the same child, each account can contribute up to $35,000 toward loan repayment.
Expenses that do not may have access to include room and board at a school where the student is less than half-time enrolled, insurance, transportation, and personal expenses. If you withdraw money for these purposes, the earnings portion of that withdrawal is taxed as ordinary income plus a 10 percent penalty.
State tax benefits on top of federal tax-free growth
Many states offer an additional tax break: a deduction or credit on your state income tax for money you contribute to a 529 plan. This is separate from the federal tax-free growth. New York, for example, allows you to deduct up to $10,000 per year ($20,000 if married filing jointly) from your New York taxable income. Other states offer different limits or use a tax credit instead of a deduction.
Some states limit the deduction to contributions made to their own state's 529 plan, while others allow you to deduct contributions to any state's plan. A few states offer no state tax benefit at all. If you live in a state with a generous deduction and your income is high enough to benefit from it, the state tax savings can be substantial — potentially 5 to 10 percent of your contribution, depending on your state's tax rate.
You should check your own state's rules before opening an account. The state benefit is not automatic; you claim it on your state tax return, just like any other deduction or credit. If you move to a different state, the tax treatment of your existing 529 account may change, though the federal tax-free growth continues regardless of where you live.
What happens if you withdraw money for non-education purposes
If you take money out of a 529 for something other than a may have access to education expense, you face a tax bill on the earnings. The contribution itself comes out tax-free — you already paid tax on that money when you earned it. But the earnings portion is taxed as ordinary income at your federal tax rate, plus a 10 percent penalty.
For example, if you contributed $10,000 and the account grew to $15,000, the $5,000 in earnings would be subject to income tax plus the 10 percent penalty if you withdraw it for a non-may have access to purpose. If you are in the 24 percent federal tax bracket, you would owe roughly $1,200 in taxes and penalties on that $5,000 — leaving you with $3,800 of the earnings. This is why using a 529 for anything other than education is expensive.
A few exceptions exist: if the account owner or the beneficiary dies or becomes disabled, you can withdraw money without the 10 percent penalty (though you still owe income tax on the earnings). If the beneficiary receives a scholarship, you can withdraw an amount equal to the scholarship without the penalty. These exceptions are narrow and require documentation.
How 529 tax-free growth compounds over time
The real power of a 529 is that your earnings are never taxed, no matter how large they grow. In a regular taxable account, you would owe federal income tax on dividends and capital gains every year, which reduces the amount available to reinvest. Over 18 years, this difference becomes substantial.
Suppose you invest $5,000 per year for 18 years in an account that averages 6 percent annual returns. In a taxable account with a 24 percent federal tax rate, you would pay roughly $8,000 in federal taxes over that time, leaving you with about $103,000. In a 529 plan, you would have roughly $111,000 — the full amount without any tax drag. That $8,000 difference is money that stays in your account and continues to grow.
The longer the money sits in the account, the more valuable the tax-free growth becomes. This is why starting a 529 early, even with small contributions, can make a meaningful difference by the time the child reaches college age.
Recent changes to 529 rules
In 2024, the rules for 529 plans expanded in two ways. First, you can now roll up to $35,000 from a 529 plan into a Roth IRA in the account owner's name, subject to certain conditions. The money must have been in the 529 for at least 15 years, and you can only roll over earnings, not contributions. This gives families a way to preserve unused 529 money for retirement if the child does not use all the funds for education.
Second, the $35,000 student loan repayment option became permanent. Previously, this was a temporary provision; now it is a permanent feature of 529 plans. This makes 529 accounts more flexible for families who are uncertain whether their child will attend a four-year college or may take a different path.
These changes do not affect the core tax-free growth on education expenses, but they do reduce the risk of over-funding a 529 account. Families can now save more aggressively without worrying as much about what happens if the money is not used for college.
Frequently Asked Questions
Do I have to pay taxes on the money I put into a 529?
No. The money you contribute to a 529 is after-tax money — you already paid income tax on it when you earned it. You cannot deduct your contributions from your federal income taxes. However, many states offer a state income tax deduction or credit for 529 contributions, which is a separate benefit.
What if my child gets a scholarship and does not use all the 529 money?
You can withdraw an amount equal to the scholarship without owing the 10 percent penalty on the earnings, though you still owe income tax on the earnings portion of that withdrawal. You can also roll unused money into a Roth IRA (up to $35,000 over the account's lifetime) or change the beneficiary to another family member without penalty.
Does a 529 plan affect financial aid?
Yes. Money in a 529 plan owned by the parent is counted as a parental asset on the FAFSA and reduces financial aid may be able to access by up to 5.64 percent of the account balance. A 529 owned by a grandparent or other non-parent is treated differently and may have less impact. This is a trade-off to consider when deciding how much to save in a 529.
Can I use a 529 for private school or K-12 expenses?
Yes, but with limits. You can withdraw up to $35,000 over the account's lifetime for private school tuition in grades K-12. This is separate from the college expense limit. Public school tuition is not covered. The $35,000 limit applies per beneficiary, not per account.
What if I move to a different state after opening a 529?
The federal tax-free growth continues regardless of where you live. However, your state tax deduction or credit may change. Some states allow you to claim a deduction for contributions made while you lived there, even after you move. Others only allow deductions for current residents. Check your new state's rules to see if you can still claim a deduction on your state tax return.