Skip to main content

HomeAll guides

How 529 Plans Work: Saving for Education With Tax Advantages

A 529 plan is a tax-advantaged savings account designed to pay for education expenses

A 529 plan is a savings account created under Section 529 of the Internal Revenue Code that lets you set aside money for education costs without paying federal income tax on the growth. You open an account, contribute money, invest it in mutual funds or other options the plan offers, and withdraw it tax-free when you pay for college, graduate school, or certain K-12 and vocational expenses. The account is named after the tax code section, not after a person or organisation.

Each state runs its own 529 plan, though you can open an account in any state's plan regardless of where you live or where the student attends school. The plans differ in investment choices, fees, and state tax breaks, so comparing a few matters if you want to minimise costs.

You do not need to be the student's parent to open a 529 account. Grandparents, aunts, uncles, or anyone else can open one and name the student as the beneficiary. The account owner controls the money and decides when and how much to withdraw, even if someone else contributed to it.

Key Takeaways

  • Money you contribute to a 529 grows tax-free at the federal level, and you pay no tax when you withdraw it for education expenses.
  • Each state offers its own 529 plan with different investment options and fees, and you can open an account in any state regardless of where you live.
  • You can withdraw money for college, graduate school, vocational programs, and up to $35,000 per beneficiary lifetime for K-12 tuition and student loan repayment.
  • If you withdraw money for non-education expenses, you owe income tax on the earnings plus a 10 percent penalty, though the contribution itself comes out tax-free.
  • Contribution limits are high — $235,000 per beneficiary across all 529 accounts combined as of 2024 — so most families will not hit the cap.

How money grows in a 529 account

When you open a 529, you choose from investment options the plan offers — usually mutual funds that hold stocks, bonds, or a mix of both. Your contributions and any earnings grow over time. You pay no federal income tax on that growth, which is the main advantage over a regular savings account.

The investment options vary by plan. Some offer age-based portfolios that automatically shift from stocks to bonds as the student gets closer to college age. Others let you pick individual funds. A few plans offer a stable value option that works like a money market fund. The plan's website shows what is available and the fees charged for each option.

You control how the money is invested. If you want a conservative approach, you can choose bond-heavy funds. If you have many years before the student needs the money, you can choose stock-heavy funds that historically grow faster but fluctuate more in value.

Contribution limits and how much you can put in

There is no annual limit on how much you can contribute to a 529 in a single year. However, contributions above $18,000 per person per year (as of 2024) count against your lifetime gift tax exemption, though you will not owe tax unless you exceed the exemption. Married couples can each contribute $18,000 without triggering this rule, so $36,000 combined per year per beneficiary.

The aggregate limit — the total amount you can have across all 529 accounts for one beneficiary — is $235,000 as of 2024. This limit varies slightly by state and changes over time. Once you reach it, you cannot contribute more for that beneficiary unless money is withdrawn.

These limits are high enough that most families will not hit them. A family saving $200 per month for 18 years contributes $43,200 total, well below the cap.

Tax treatment: federal, state, and when you withdraw

At the federal level, you get no deduction for contributing to a 529 — the money you put in comes from after-tax income. However, the earnings grow tax-free, and you owe no federal income tax when you withdraw for education expenses. This is the core tax benefit.

Many states offer a state income tax deduction or credit for 529 contributions. The amount and rules vary widely. Some states deduct contributions from your state taxable income. Others offer a tax credit. A few offer nothing. Your state's plan website lists what your state offers, and you can also contribute to another state's plan and still get your own state's deduction if your state allows it — though some states only deduct contributions to their own plan.

When you withdraw money for a may have access to education expense — tuition, fees, room and board, books, computers, and certain other costs at an accredited school — the withdrawal is tax-free. The plan sends you the money, and you pay the school or the student directly.

What counts as a may have access to education expense

may have access to expenses include tuition and fees at any accredited college, university, graduate school, or vocational school in the United States or abroad. Room and board counts if the student is at least a half-time student. Books, supplies, computers, and internet access count. Up to $35,000 per beneficiary lifetime can be withdrawn for K-12 tuition at public, private, or religious schools. Up to $35,000 lifetime can also be rolled into a Roth IRA for the beneficiary if certain conditions are met.

Expenses that do not count include transportation, health insurance, and student activity fees that are not required for enrollment. If you are unsure whether an expense qualifies, the plan's customer service team can tell you, or you can check IRS Publication 970.

What happens if you withdraw money for non-education expenses

If you withdraw money and do not use it for a may have access to education expense, you owe income tax on the earnings portion of the withdrawal, plus a 10 percent penalty on those earnings. The contribution itself — the money you put in — comes out tax-free because it was already taxed when you earned it.

Example: You contribute $10,000 and the account grows to $12,000. You withdraw $12,000 for a non-may have access to expense. You owe income tax and a 10 percent penalty on the $2,000 in earnings. The $10,000 contribution is not taxed or penalised.

The 10 percent penalty does not explore if the beneficiary receives a scholarship, attends a military academy, becomes disabled, or dies. In those cases, you owe tax on the earnings but not the penalty. Some states also waive the penalty for in-state public university attendance, though this varies.

Rolling money between beneficiaries and changing plans

You can change the beneficiary of a 529 account to another family member without tax consequences. Family members include the original beneficiary's siblings, cousins, parents, grandparents, aunts, uncles, and their spouses. If the original beneficiary does not use all the money, you can name a younger sibling or cousin instead of withdrawing it and paying the penalty.

You can also roll money from one 529 plan to another plan without tax consequences, though most plans require you to wait 30 days between rollovers for the same beneficiary. This matters if you want to switch to a plan with lower fees or better investment options.

If you roll money to a different beneficiary, the rollover is tax-free as long as the new beneficiary is a family member. You can do this once per year per beneficiary.

Frequently Asked Questions

Can I use a 529 for private K-12 school tuition?

Yes, up to $35,000 per beneficiary lifetime can be withdrawn for K-12 tuition at public, private, or religious schools. This includes elementary, middle, and high school. Room and board do not count for K-12, only tuition and fees.

Does opening a 529 hurt my child's chances of getting financial aid?

A 529 owned by a parent counts as a parental asset on the FAFSA and reduces aid may be able to access more than other assets. A 529 owned by a grandparent does not appear on the FAFSA at all, though withdrawals for education may reduce aid in the year they are taken. The impact varies by school and aid formula.

What if the student gets a full scholarship?

You can withdraw up to the scholarship amount without the 10 percent penalty, though you owe income tax on the earnings portion. You can also change the beneficiary to a sibling or other family member and use the money for their education instead.

Can I invest in individual stocks through a 529?

No. 529 plans offer only the investment options the plan provides, which are typically mutual funds, exchange-traded funds, and stable value options. You cannot pick individual stocks or direct the investments yourself.

What happens to a 529 if the beneficiary does not go to college?

You can change the beneficiary to another family member, roll the money to a different 529 plan, or withdraw it. Non-may have access to withdrawals trigger income tax on earnings plus a 10 percent penalty, but the contribution comes out tax-free. You can also roll up to $35,000 into a Roth IRA for the beneficiary if certain conditions are met.

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.