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 that lets you save money for education costs without paying federal income tax on the growth. You put money in, it grows over time, and when the account owner (usually a student) uses it to pay for college, graduate school, or certain other education expenses, that withdrawal is tax-free. The money you contribute is not tax-deductible at the federal level, but many states let you deduct contributions from your state income tax.

The account is named after Section 529 of the Internal Revenue Code. Each state runs its own 529 program, though you can use any state's plan regardless of where you live or where the student will attend school. The plans differ in investment options, fees, and state tax benefits, so comparing a few is worth the time if you are considering one.

Key Takeaways

  • Money you deposit grows tax-free, and withdrawals for education expenses are not taxed federally, which saves you money compared to a regular savings account.
  • Each state offers its own 529 plan with different investment choices and fee structures, and you can open an account in any state regardless of where you live.
  • Many states offer a state income tax deduction or credit for contributions, though the amount and rules vary by state.
  • You can change the beneficiary to another family member, and unused money can be rolled into a Roth IRA under recent rules, giving you flexibility if plans change.

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 portfolios that the plan offers. Your money buys shares of those investments, and as they gain value, your account balance grows. You pay no federal tax on that growth, which is the main advantage over a regular brokerage or savings account.

If you invested $10,000 and it grew to $15,000 over ten years, you would owe federal tax on the $5,000 gain in a regular account. In a 529, you owe nothing on that $5,000 as long as you use the money for education. That tax savings compounds — the money you would have paid in taxes stays in the account and keeps growing.

What counts as an education expense

The IRS lets you withdraw 529 money tax-free for tuition, fees, books, supplies, equipment, and room and board at any accredited college, university, trade school, or graduate program. You can also use up to $35,000 per beneficiary to pay down student loans, and up to $2,000 per year per beneficiary can go into a Roth IRA (subject to income limits). The rules are broad enough to cover most direct education costs.

If you withdraw money for something that is not an education expense — say, a car or living expenses unrelated to school — you owe federal income tax on the earnings portion of that withdrawal, plus a 10 percent penalty. The money you contributed comes out tax-free, but the growth is taxed and penalized. This is why it matters to plan carefully if you are not certain the student will use the full balance.

State tax benefits vary widely

Many states offer a state income tax deduction or credit for 529 contributions. New York, for example, lets you deduct up to $10,000 per year ($20,000 if married filing jointly) from your state taxable income. Other states offer smaller deductions, and a few offer no state tax benefit at all. Some states limit the deduction to contributions made to their own plan, while others let you deduct contributions to any state's plan.

The state tax benefit can be significant — if you live in a state with a 6 percent income tax rate and contribute $5,000, you might save $300 in state taxes that year. Over many years of contributions, that adds up. Check your state's specific rules before opening an account, because the tax benefit often depends on which plan you choose.

Who can open and contribute to a 529

Anyone can open a 529 account — a parent, grandparent, aunt, uncle, or even the student themselves. The account owner controls the money and decides when and how it is spent. The beneficiary is the student who will use the funds, and you can name any person as the beneficiary, not just a relative.

There is no limit on how much you can contribute in total, but contributions above a certain amount per year ($18,000 in 2024, though this changes annually) count toward your federal gift tax limit if you are giving money away. For most families, this is not a concern, but if you are contributing large sums, a tax professional can explain the implications. You can contribute as much as you want in a single year without triggering gift tax if you spread it over five years using a special election.

What happens if the student does not go to college

If the student receives a scholarship, you can withdraw the scholarship amount from the 529 without the 10 percent penalty (though you still owe tax on the earnings). If the student does not attend college at all, you have options: you can change the beneficiary to another family member — a sibling, cousin, or even your own child if you open the account as a grandparent — and use the money for their education instead.

Under rules that took effect in 2024, you can also roll unused 529 money into a Roth IRA in the beneficiary's name, up to $35,000 over time, as long as the 529 account has been open for at least 15 years. This gives you a way to use the money for retirement savings if education plans change. If you do not use either option, you can withdraw the money, but you will owe federal income tax and the 10 percent penalty on the earnings.

Comparing 529 plans and investment options

Each state's 529 plan offers different investment menus. Some offer only a handful of mutual funds; others offer dozens. Many include target-date portfolios that automatically shift from stocks to bonds as the student gets closer to college age — a straightforward way to reduce risk without managing the account yourself. Some plans charge annual fees of 0.5 percent or less; others charge more.

You can research plans on the College Savings Plans Network website or through individual state plan websites. Look at the investment options available, the annual fees, and whether your state offers a tax deduction for contributions to that plan. If your state offers a strong tax benefit for its own plan, that often outweighs slightly lower fees in another state's plan. If your state offers no tax benefit, you might choose a plan from another state with lower fees or better investment options.

Frequently Asked Questions

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

Yes. You can withdraw up to $35,000 over a student's lifetime for private school tuition in grades K-12, and up to $2,000 per year for public school tuition. The rules are more restrictive than for college, so check your state's plan to confirm what counts.

What if I change my mind about which school the student will attend?

You do not need to do anything. A 529 can be used at any accredited school in the country, so the student can change schools and still use the money. You only need to change the beneficiary if you want to move the money to a different person entirely.

Does a 529 affect financial aid?

Yes, but the impact depends on who owns the account. If a parent owns it, the 529 is counted as a parental asset and reduces aid may be able to access by up to 5.64 percent of the account value. If a grandparent or other non-parent owns it, the impact is smaller or nonexistent. Discuss this with a financial aid office if the student is explore for aid.

Can I withdraw money for room and board if the student lives at home?

Yes. The IRS allows room and board withdrawals for students enrolled at least half-time, whether they live on campus, off campus, or at home. The amount is limited to what the school's cost of attendance estimate includes for room and board.

What happens to a 529 if the account owner dies?

The account passes to your estate or to whoever you named as a successor owner. The beneficiary can continue using the money for education. If you did not name a successor owner, your will or state law determines who controls the account.

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.