Skip to main content

HomeAll guides

What a 529 Plan Is and How It Works

A 529 is a tax-advantaged savings account for education expenses

A 529 plan is an investment account that lets you save money for education costs without paying federal tax on the growth. You put money in, it grows over time, and when you withdraw it to pay for tuition, room and board, books, or other school expenses, that growth is not taxed. The account is named after Section 529 of the Internal Revenue Code, the law that created it.

The person who opens the account — usually a parent or grandparent — controls the money and decides when and how much to withdraw. The student does not have to be born yet, and you can change the beneficiary to another family member if plans change. The money stays in the account until you use it, and you can invest it in mutual funds or other options depending on which plan you choose.

Every state runs its own 529 plan, and some states run more than one. You do not have to use your home state's plan — you can open an account in any state's plan. The main difference between plans is the investment options available and the fees charged.

Key Takeaways

  • Money you withdraw from a 529 to pay for may have access to education expenses is not subject to federal income tax on the growth, though you may owe state tax depending on where you live.
  • You can open a 529 in any state's plan regardless of where you live or where the student will attend school.
  • The account owner controls the money and can change the beneficiary to another family member, including cousins, nieces, or nephews.
  • Withdrawals for non-education expenses are taxed as income plus a 10 percent penalty on the growth, though some exceptions exist.
  • You can contribute up to a certain amount per year without triggering federal gift tax, and the limits are high enough that most families do not hit them.

How money grows in a 529 account

When you open a 529, you choose how to invest the money — usually from a menu of mutual funds or target-date funds that the plan offers. Target-date funds automatically shift from stocks to bonds as the student gets closer to college, which reduces risk over time. You can also choose a static portfolio that stays the same mix of stocks and bonds throughout.

The money you invest grows through capital gains and dividends, just like any investment account. The difference is that in a regular brokerage account, you would owe federal tax on that growth each year. In a 529, the growth is not taxed as long as the money stays in the account and is used for education.

You can change your investment choices once per calendar year, or whenever you change the beneficiary. Some plans also let you rebalance automatically as the student ages.

Who can open a 529 and who can benefit

Anyone can open a 529 — you do not have to be the parent of the student. Grandparents, aunts, uncles, or even family friends can open an account and name a child as the beneficiary. The account owner is the only person who can withdraw money, so the student has no control over the account unless you give it to them later.

The beneficiary can be any age, including a newborn or even an unborn child (you would just use the parent's Social Security number until the child is born). You can change the beneficiary to another family member at any time — for example, if one child does not go to college, you can move the money to a sibling's account.

The student does not have to attend a four-year university. Money can be used for tuition and fees at any accredited college, university, trade school, or vocational program. It can also cover room and board if the student is at least a half-time student, plus books, supplies, equipment, and computer costs.

Tax benefits and how they work

The main tax benefit is that the growth in the account is not taxed at the federal level when you withdraw it for education. If you put in $10,000 and it grows to $15,000, you owe no federal tax on that $5,000 gain when you withdraw it for tuition.

Some states also offer a state income tax deduction for contributions you make to a 529. The deduction amount and rules vary by state — some states deduct up to $235,000 per beneficiary per year, while others have lower limits or no deduction at all. A few states offer a deduction only if you use that state's plan. Check your state's rules before opening an account.

The money you contribute (not the growth) can be withdrawn at any time without penalty, though you may owe income tax on the growth if you do not use it for education. If you withdraw growth for non-education purposes, you also owe a 10 percent penalty on that growth.

What happens if the money is not used for education

If you withdraw money from a 529 for something other than education, you owe federal income tax on the growth plus a 10 percent penalty on the growth. The money you contributed is not penalized — only the earnings are. For example, if you contributed $10,000 and it grew to $15,000, and you withdraw $15,000 for a non-education purpose, you owe income tax and a 10 percent penalty on the $5,000 gain.

There are some exceptions to the penalty. If the beneficiary receives a scholarship, you can withdraw that amount penalty-free (though you still owe tax on the growth). If the beneficiary attends a military academy, you can withdraw penalty-free. If the beneficiary dies or becomes disabled, you can withdraw penalty-free.

A newer rule lets you roll unused 529 money into a Roth IRA for the beneficiary, up to certain limits. This lets you move the money into retirement savings instead of withdrawing it and paying the penalty. The rules are complex and depend on how long the account has been open and how much is in it.

Contribution limits and gift tax rules

There is no annual limit on how much you can contribute to a 529 in a single year. However, contributions are subject to federal gift tax rules. You can give up to $18,000 per person per year (in 2024) without filing a gift tax return. If you give more than that, you must file a form, though you typically do not owe tax unless you have already used up your lifetime gift tax exemption.

529 plans have a special rule that lets you contribute up to five times the annual gift tax limit ($90,000 in 2024) in a single year if you treat it as if you spread it over five years. This is called a superfunding strategy and is useful if you want to move a large amount into the account quickly. You must file a gift tax return to use this strategy, but you still do not owe tax.

Each state also sets a maximum account balance — usually between $235,000 and $550,000 per beneficiary across all 529 accounts in that state. Once you hit the limit, you cannot contribute more until the balance drops.

How 529s affect financial aid

Money in a 529 owned by a parent is counted as a parental asset on the Free process 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. A 529 with $50,000 in it would reduce aid by roughly $2,820.

If a grandparent or other non-parent owns the 529, it is not counted on the FAFSA at all, which is better for financial aid purposes. However, if the grandparent withdraws money to pay for the student's education, that withdrawal counts as income to the student in the following year, which can reduce aid by up to 50 percent of the withdrawal amount. The timing of withdrawals matters if financial aid is a factor in your planning.

If the student receives a scholarship, you can withdraw that amount from the 529 without penalty, though you still owe tax on the growth. This prevents you from double-dipping by having both the scholarship and the 529 money pay for the same expense.

Frequently Asked Questions

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

Yes. You can withdraw up to $35,000 per year from a 529 to pay for private elementary, middle, or high school tuition. This limit applies per beneficiary, not per account, so if you have multiple 529s for the same child, the $35,000 limit covers all of them combined. The money can only be used for tuition, not for room and board or other expenses.

What if I open a 529 and then the student gets a full scholarship?

You can withdraw the scholarship amount penalty-free, though you still owe tax on the growth. You can also roll the remaining balance into a Roth IRA for the beneficiary, up to certain limits. If you do neither, you can withdraw the money and pay tax and penalty on the growth, or leave it in the account for graduate school or other education expenses.

Can I change the beneficiary to a different child?

Yes. You can change the beneficiary to any family member, including a sibling, cousin, niece, nephew, or even a parent. The change does not trigger any tax or penalty. If you change the beneficiary, any growth in the account is not taxed at that time — tax is only owed when you withdraw the money for non-education purposes.

Do I have to use my state's 529 plan?

No. You can open a 529 in any state's plan. However, check whether your state offers a tax deduction for contributions — if it does, you may want to use your state's plan to get the deduction. Some states offer a deduction only for their own plan, while others offer it for any plan.

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

You can change the beneficiary to another family member at any time. If no family member will use the money for education, you can withdraw it and pay tax and penalty on the growth. You can also roll the money into a Roth IRA for the beneficiary under the newer rollover rules, which lets you move it to retirement savings instead.

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.