Skip to main content

HomeAll guides

What a 529 Plan Is and How It Works

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

A 529 plan is an investment account created by individual states that lets you save 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 tuition, room and board, books, or other education expenses at an accredited school.

The account is named after Section 529 of the Internal Revenue Code. Each state runs its own plan or contracts with a financial company to run one. You do not have to use your home state's plan — you can open an account in any state's plan, regardless of where you live or where the student will attend school.

The person who opens the account (the account owner) controls the money and decides when to withdraw it. The student named on the account (the beneficiary) does not have legal ownership and cannot access the money without the account owner's permission.

Key Takeaways

  • Money you contribute grows tax-free, and withdrawals for education expenses are not taxed at the federal level, though state tax treatment varies by plan.
  • You can contribute up to $18,000 per person per year without filing a gift tax form, or use a special election to contribute up to $90,000 in one year and spread it over five years.
  • The account owner keeps control of the money and can change the beneficiary to another family member, withdraw money for non-education expenses (though earnings are taxed and penalized), or roll funds to a Roth IRA under current rules.
  • Each state's plan has different investment options, fees, and tax incentives, so comparing plans before opening an account can lower your costs.
  • 529 plans are separate from financial aid — the money in the account counts as a parental or student asset when calculating how much aid a student may receive.

How money grows in a 529 account

When you open a 529 account, you choose from investment options offered by that plan — usually mutual funds that hold stocks, bonds, or a mix of both. Your contributions and any earnings on those investments grow without being taxed each year. If you contribute $5,000 and it grows to $7,000, you do not owe federal income tax on that $2,000 gain while the money stays in the account.

When you withdraw money to pay for education, the earnings portion is also not taxed at the federal level. This tax-free growth is the main financial advantage of a 529 plan compared to saving in a regular bank account or taxable investment account, where you would owe tax on earnings each year.

Some states also offer a state income tax deduction or credit for contributions you make to that state's plan. The amount and rules vary — some states let you deduct all contributions, others cap the deduction, and some offer no state tax benefit at all. You can research your state's benefit on your state's 529 plan website.

Contribution limits and gift tax rules

There is no annual limit on how much you can contribute to a 529 account in total. However, the IRS has rules about gifts that affect how much you can contribute without filing extra paperwork.

You can contribute up to $18,000 per person per year (in 2024) without triggering gift tax reporting. If you are married and your spouse also contributes, you can together contribute $36,000 per year per beneficiary without filing a gift tax form. These amounts change yearly and are set by the IRS.

If you want to contribute more than $18,000 in a single year, you can use a special election that lets you treat the contribution as if it were spread over five years. This means you could contribute $90,000 in one year (in 2024) without owing gift tax, as long as you do not make other gifts to that person during those five years. You must file Form 709 with the IRS to make this election.

What counts as an education expense

You can withdraw money tax-free from a 529 plan to pay for tuition and fees at any accredited college, university, trade school, or graduate school in the United States or abroad. You can also withdraw money for room and board if the student is enrolled at least half-time, books and supplies, computers and equipment, and up to $35,000 over the student's lifetime to repay student loans.

The school must be accredited by the U.S. Department of Education. Before you withdraw money, check the school's accreditation status on the Department of Education website to make sure the expense will be covered.

Starting in 2024, you can also roll unused 529 funds to a Roth IRA in the beneficiary's name, subject to certain rules about how long the account has been open and income limits. This option lets you move money that will not be used for education into retirement savings.

What happens if money is not used for education

If you withdraw money from a 529 plan for something other than an education expense, you owe federal income tax on the earnings portion of the withdrawal, plus a 10 percent penalty on those earnings. The contribution portion (the money you put in) comes out tax-free.

For example, if you contributed $10,000 and the account grew to $12,000, and you withdraw $12,000 for a non-education expense, you owe income tax and the 10 percent penalty only on the $2,000 in earnings. You do not owe tax or penalty on the $10,000 contribution.

You can avoid this penalty by changing the beneficiary to another family member — a sibling, cousin, grandparent, or even the account owner themselves if they plan to attend school. The money stays in the account and keeps growing tax-free under the new beneficiary's name.

How 529 plans affect financial aid

Money in a 529 plan counts as an asset when a school calculates how much financial aid a student may receive. If the account is owned by a parent, it typically reduces aid may be able to access more than if it is owned by the student or a grandparent, because the formula assumes parents will contribute a higher percentage of their assets to education.

The exact impact depends on the school's aid formula and the total amount in the account. A school using the federal formula may count a parental 529 asset at roughly 5.6 percent toward the expected family contribution, while a student-owned account might be counted at 20 percent.

If you are concerned about how a 529 plan will affect financial aid, you can speak with the school's financial aid office before opening an account. Some families choose to use a 529 plan only after a student has already received financial aid offers, or to save for graduate school instead, where financial aid calculations are different.

Comparing 529 plans across states

Each state's plan has different investment options, fees, and features. Some plans offer age-based portfolios that automatically shift from stocks to bonds as the beneficiary gets closer to college age. Others let you choose individual mutual funds. Some plans charge annual fees of less than 0.20 percent, while others charge 1 percent or more.

You can open an account in any state's plan, so it makes sense to compare a few before deciding. Start with your home state's plan to see if it offers a state tax deduction — that benefit often outweighs slightly higher fees. Then compare the investment options and expense ratios of the mutual funds offered. Many states publish comparison tools on their 529 plan websites.

If your state offers no tax deduction or has high fees, you might find a better deal in another state's plan. However, if your state offers a substantial tax deduction, the tax savings usually make up for higher fees, so staying in-state is often the better choice.

Frequently Asked Questions

Can I change the beneficiary of a 529 plan?

Yes. You can change the beneficiary to another family member at any time without tax or penalty. Family members include siblings, cousins, aunts, uncles, grandparents, parents, and the account owner. If you change the beneficiary, the money stays in the account and continues to grow tax-free under the new beneficiary's name.

What if the beneficiary gets a scholarship?

You can withdraw an amount equal to the scholarship from the 529 plan without owing the 10 percent penalty on earnings, though you will still owe federal income tax on the earnings portion. The contribution portion always comes out tax-free. Some states also waive state income tax on the earnings in this situation.

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

Yes. You can withdraw up to $35,000 over the beneficiary's lifetime from a 529 plan to pay for tuition at private elementary, middle, or high schools. This counts toward the $35,000 lifetime limit for student loan repayment and Roth IRA rollovers combined.

Do I have to use the 529 plan money before the student turns 18?

No. There is no age limit on when you must use the money. You can leave it in the account for graduate school, professional school, or other education expenses later. However, if the money is not used for education eventually, you will owe tax and penalty on the earnings when you withdraw it.

Can grandparents open a 529 plan for a grandchild?

Yes. Anyone can open a 529 plan for any beneficiary — you do not have to be a parent or relative. The account owner keeps control of the money. Grandparents should be aware that a grandparent-owned 529 plan may affect financial aid differently than a parent-owned plan, depending on the school's aid formula.

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.