How 529 Plans Work: Tax-Free Growth for Education Savings
A 529 plan is a tax-advantaged savings account where money grows without federal tax as long as you use it for education costs
A 529 plan is a state-sponsored investment account that lets you save money for education expenses—tuition, room and board, books, computers—without paying federal income tax on the growth. You contribute after-tax dollars, but the earnings accumulate tax-free. When you withdraw money to pay for school, both your contributions and the earnings come out without federal tax.
The account is named after Section 529 of the Internal Revenue Code. Each state runs its own plan, though you can use any state's plan regardless of where you live or where the student attends school. The account owner (usually a parent or grandparent) controls the money and decides when and how much to withdraw. The student named as the beneficiary does not control the account.
529 plans are investment accounts, not savings accounts. Your money goes into mutual funds or other investments chosen by the plan. The value rises and falls with the market. This means a 529 can grow significantly over time, but it can also lose value in a down market year.
Key Takeaways
- Money in a 529 grows without federal tax, and withdrawals for education costs are tax-free at the federal level.
- You can contribute up to $18,000 per person per year (2024) without triggering gift tax, or $90,000 in one year if you elect to spread it over five years.
- Each state offers its own 529 plan, and you can choose any state's plan regardless of where you or the student live.
- If you withdraw money for non-education expenses, you pay income tax on the earnings plus a 10 percent federal penalty.
- Some states offer an income tax deduction for contributions to their own 529 plan, which can reduce your state taxes immediately.
How money grows in a 529 without federal tax
When you put money into a 529, you choose from investment options the plan offers—usually a mix of stock and bond funds. As those investments earn dividends and capital gains, the earnings stay in the account and are not taxed each year the way they would be in a regular brokerage account.
In a regular investment account, you owe federal tax on dividends and capital gains every year, even if you do not withdraw the money. A 529 defers all that tax until you take money out. If you use the withdrawal for education, you owe no federal tax on the earnings at all. Over 10 or 15 years, this tax deferral can add thousands of dollars to your account.
The tax-free growth applies only to federal tax. Some states tax 529 earnings, though most do not. Check your state's rules before opening an account.
Contribution limits and gift tax rules
You can contribute as much as you want to a 529 in total, but the IRS has annual gift tax limits. In 2024, you can give $18,000 per person per year without filing a gift tax return. If you are married, you and your spouse can each give $18,000 to the same beneficiary, for $36,000 total per year.
529 plans have a special rule: you can contribute up to $90,000 in a single year ($180,000 if married) and elect to treat it as if you spread it over five years. This lets you front-load a large amount without gift tax consequences. After you use this election, you cannot make additional gifts to that beneficiary for five years without exceeding the annual limit.
There is no annual limit on how much the account can hold. Some plans cap total account value at $235,000 to $550,000 per beneficiary, depending on the state. Once you hit the cap, you cannot add more money, though existing money can continue to grow.
State income tax deductions for your own plan
Many states offer an income tax deduction if you contribute to that state's 529 plan. The deduction amount and income limits vary widely. Some states deduct up to $235,000 per year; others cap it at $2,000 or $2,500. A few states offer no deduction at all.
If your state offers a deduction and you are in a high tax bracket, the immediate state tax savings can be substantial. For example, if your state has a 5 percent income tax and you contribute $10,000, you might save $500 in state taxes that year. Over time, this can offset some of the investment fees.
Most states only allow the deduction if you contribute to their own plan. If you live in New York and contribute to California's plan, New York will not give you a deduction. A few states—including Arizona, Colorado, and Kansas—allow deductions for contributions to any state's plan, but these are exceptions.
What happens if you withdraw money for non-education expenses
If you take money out of a 529 and do not use it for education, the earnings portion is taxed as ordinary income, and you owe a 10 percent federal penalty on the earnings. Your contributions come out tax-free (since you already paid tax on them), but the growth does not.
For example, if you contributed $50,000 and the account grew to $65,000, and you withdraw $65,000 for a car, you pay income tax plus a 10 percent penalty on the $15,000 in earnings. The $50,000in contributions comes out clean. The penalty can be steep, so 529 plans work best when you are confident the money will be used for education.
There are a few exceptions to the penalty. If the beneficiary receives a scholarship, you can withdraw that amount penalty-free (though you still owe tax on the earnings). If the beneficiary attends a U.S. military academy, you can withdraw penalty-free. If the beneficiary dies or becomes disabled, withdrawals are penalty-free. In 2024, new rules also allow you to roll unused 529 funds into a Roth IRA under certain conditions, though this is complex and has strict limits.
Choosing between your state's plan and other states' plans
You have two decisions: which state's plan to use, and which investment options within that plan to choose. These are separate choices.
If your state offers a significant income tax deduction and you are subject to that state's tax, using your state's plan usually makes sense. The immediate tax savings can outweigh higher fees in the plan. If your state offers no deduction or a small one, you can compare plans based on investment options and fees.
Some states' plans have lower fees than others. Plans run by discount brokers like Vanguard and Fidelity tend to have lower expense ratios than plans run by full-service brokers. If you are comfortable choosing your own investments, a low-cost plan may serve you better than a plan with higher fees and advisor support.
You can also open accounts in multiple states' plans for the same beneficiary, though this complicates record-keeping and may affect financial aid calculations. Most families use one plan per beneficiary.
How 529 withdrawals affect financial aid
Money in a 529 owned by a parent is counted as a parental asset on the Free Application for Federal Student Aid (FAFSA). Parent-owned assets reduce financial aid may be able to access by up to 5.64 percent of the asset value per year. A $50,000 529 might reduce aid by roughly $2,800 per year.
If a grandparent or other relative owns the 529, it is not counted on the FAFSA at all, which is better for aid purposes. However, when the student withdraws money from a grandparent-owned 529, it counts as student income on the next year's FAFSA and can reduce aid by up to 50 percent of that amount.
If you expect to receive need-based financial aid, talk to the school's financial aid office before opening a 529. The timing and ownership of the account can affect how much aid the student receives. In some cases, other savings vehicles may be better.
Frequently Asked Questions
Can I change the beneficiary of a 529 to a different family member?
Yes. You can change the beneficiary to a spouse, child, grandchild, niece, nephew, or even a cousin without tax consequences. The account keeps its tax-free status. This is useful if one child does not use all the money—you can move it to a sibling or other relative. The new beneficiary must be a family member as defined by the IRS.
What counts as a may have access to education expense?
Tuition and fees at any accredited college, university, trade school, or graduate school count. Room and board for students living on campus or off campus (up to the school's cost of attendance) counts. Books, supplies, computers, and required equipment count. K-12 tuition at public, private, or religious schools counts. Up to $35,000 can be rolled into a Roth IRA for the beneficiary under new 2024 rules. Student loan repayment (up to $35,000 lifetime) also qualifies.
Can I use a 529 for graduate school?
Yes. 529 plans cover tuition and fees for graduate and professional schools, including law school and medical school. Room and board and other education expenses count the same way they do for undergraduate school. There is no separate limit for graduate school—it all comes from the same account.
What happens to a 529 if the student does not go to college?
You can change the beneficiary to another family member at no tax cost. You can roll the money into a Roth IRA for the original beneficiary (up to $35,000 lifetime, with restrictions). You can withdraw the money and pay tax plus a 10 percent penalty on the earnings. Some states allow you to recover your state tax deduction if you withdraw for non-education purposes.
Do I have to use the 529 money before the student graduates?
No. There is no deadline. Money can sit in the account and continue to grow. You can withdraw it years after graduation to pay off student loans (up to $35,000 lifetime) or for other education-related expenses. Some people use 529s to fund graduate school years after the beneficiary finishes college.