Skip to main content

HomeAll guides

How a 529 Plan Works: A Tax-Advantaged Way to Save for Education

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

A 529 plan is an investment account where you can save money for someone's education without paying federal income tax on the growth. You put after-tax dollars in, the money grows through investments, and when you withdraw it to pay for college, graduate school, or certain K-12 and vocational costs, that growth comes out tax-free. The account is named after Section 529 of the Internal Revenue Code.

The key difference from a regular savings account is the tax treatment. If you put $10,000 in a regular savings account and it grows to $12,000, you owe federal income tax on that $2,000 gain. With a 529, you owe nothing on the growth as long as you use the money for education. You do not get a federal tax deduction for putting money in (though some states offer one), but the tax-free growth is the real benefit over time.

Each state runs its own 529 plan, though you can use any state's plan regardless of where you live or where the student goes to school. The plans vary in investment options, fees, and whether your state offers a tax deduction for contributions. You can open an account for a child, grandchild, or even yourself.

Key Takeaways

  • Money in a 529 grows tax-free and can be withdrawn without federal tax as long as it pays for education costs like tuition, room and board, books, and certain K-12 tuition.
  • You contribute after-tax dollars, meaning you do not deduct the contribution on your federal return, though some states let you deduct it on your state return.
  • Each state offers its own 529 plan with different investment options and fee structures, and you can choose any state's plan regardless of where you live.
  • If you withdraw money for non-education purposes, you owe income tax on the growth plus a 10 percent federal penalty, though some exceptions exist.
  • The account owner controls the money and can change the beneficiary to another family member if the original beneficiary does not use all of it.

How money grows in a 529 account

When you open a 529, you choose from investment options the plan offers — usually mutual funds or target-date portfolios that automatically shift from stocks to bonds as the student gets closer to college. Your contributions and any growth sit in these investments. The growth is not taxed each year the way it would be in a regular brokerage account, and it is not taxed when you withdraw it for education.

The amount of growth depends on which investments you pick and how long the money sits. A 529 opened for a newborn has 18 years to grow, while one opened for a high school junior has only a few years. Most plans offer age-based portfolios that automatically become more conservative as the student approaches college age, so you do not have to rebalance yourself.

You can contribute as much as you want in a single year, but there is a federal gift tax limit. In 2024, you can give up to $18,000 per person per year without filing a gift tax return (the limit changes yearly). Married couples can give $36,000 together. Some states also cap how much can be in a 529 account total, usually between $235,000 and $550,000 per beneficiary, though these limits are high enough that most families never hit them.

What education expenses the money can cover

A 529 withdrawal is tax-free when used for may have access to education expenses. These include tuition and fees at any accredited college, university, graduate school, or vocational school. They also include room and board if the student is at least a half-time student, books and supplies, computers and equipment, and up to $35,000 in student loan repayment (lifetime, not per year).

Since 2024, you can also use 529 money for K-12 tuition at private schools (up to $35,000 total over the account's life) and for up to $35,000 in 529-to-Roth conversions, which lets you move unused money into a Roth IRA for the beneficiary if certain conditions are met. These newer options expanded what families can do with leftover balances.

Room and board is only covered if the student is enrolled at least half-time. If your child takes a semester off or attends part-time, you cannot withdraw for housing that semester. Expenses like transportation, insurance, and living expenses not directly tied to school do not count.

The tax penalty for non-education withdrawals

If you withdraw money for something other than a may have access to education expense, you owe federal income tax on the growth portion plus a 10 percent federal penalty on that growth. The contribution itself comes out tax-free (you already paid tax on it), but the earnings are taxed and penalized.

For example, if you contributed $20,000 and the account grew to $25,000, and you withdraw $25,000 for a non-education purpose, you owe income tax plus the 10 percent penalty on the $5,000 growth. The $20,000contribution comes out clean. This penalty is steep enough that most people avoid non-may have access to withdrawals unless they have a good reason.

Some exceptions exist. If the beneficiary receives a scholarship, you can withdraw that amount without penalty (though you still owe tax on the earnings portion of that withdrawal). If the beneficiary attends a military academy, certain expenses are covered. If the beneficiary dies or becomes disabled, the penalty is waived. These exceptions are narrow, so check the IRS rules if you think one might explore to you.

How a 529 affects financial aid and taxes

A 529 owned by a parent counts as a parental asset on the Free process for Federal Student Aid (FAFSA), which can reduce the amount of need-based aid the student receives. The impact is usually modest — parent-owned 529s are assessed at a lower rate than other parental assets — but it is worth knowing. A 529 owned by a grandparent or other non-parent does not count on the FAFSA at all, though distributions from a grandparent-owned 529 can affect aid in other ways.

On your tax return, you do not deduct 529 contributions on your federal return. However, some states offer a state income tax deduction for contributions to that state's plan. New York, for example, lets you deduct up to $10,000 per year ($20,000 if married filing jointly) from your New York state income if you contribute to the New York 529. Other states offer different deduction amounts or no deduction at all. Check your state's rules.

When you withdraw money for education, you do not report the contribution portion on your tax return. You only report the earnings portion if it is a non-may have access to withdrawal. If it is a may have access to withdrawal, you report nothing — the earnings come out tax-free.

Choosing between your state's plan and other states' plans

You can open a 529 with any state's plan, even if you do not live there and the student does not attend school there. However, your own state's plan may offer a tax deduction that other states' plans do not. If your state offers a deduction and you are in a high tax bracket, that deduction can be worth more than choosing a plan with lower investment fees.

Each plan has different investment options and fee structures. Some plans charge higher expense ratios (the annual cost of owning the fund), while others are low-cost. Some offer many investment choices, while others offer just a few. If your state does not offer a tax deduction or the deduction is small, you might choose a plan from another state with lower fees or better investment options.

A common strategy is to contribute enough to your state's plan to capture the full tax deduction, then open a second 529 with a lower-cost plan in another state for additional savings. This requires managing two accounts, but it can be worth it if the tax savings and fee differences are significant.

What happens if the beneficiary does not use all the money

If the student does not use all the 529 money for education, you have several options. You can change the beneficiary to another family member — a sibling, cousin, niece, nephew, or even yourself — and the unused balance stays in the account tax-free. This is the simplest solution if another family member will attend school.

You can also roll up to $35,000 of unused 529 money into a Roth IRA for the beneficiary, as long as the account has been open for at least 15 years and the beneficiary is may be able to access to contribute to a Roth. This is a newer option (available since 2024) that lets you convert education savings into retirement savings.

If you withdraw the unused balance for non-education purposes, you owe income tax and the 10 percent penalty on the earnings, as described above. This is the least attractive option and should be a last resort.

Frequently Asked Questions

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

Yes, as of 2024 you can withdraw up to $35,000 total over the account's lifetime for private K-12 tuition. This is a newer rule that expanded 529 use beyond college. Public school tuition does not count.

What if I want to change the beneficiary?

You can change the beneficiary to another family member — sibling, cousin, niece, nephew, grandchild, or yourself — without tax or penalty. The money stays in the account and continues growing tax-free. The IRS defines family member broadly for this purpose.

Do I have to use the money by a certain age?

No, there is no age limit on when the beneficiary must use the money. However, if money sits unused for many years and the beneficiary is unlikely to attend school, you may want to change the beneficiary to another family member or consider a Roth conversion.

Can grandparents open a 529 for a grandchild?

Yes, anyone can open a 529 for anyone else, as long as you provide the beneficiary's Social Security number. Grandparent-owned 529s do not count on the FAFSA, which can be an advantage for financial aid purposes.

What if the student gets a scholarship?

You can withdraw the scholarship amount from the 529 without the 10 percent penalty, though you still owe income tax on the earnings portion of that withdrawal. The contribution portion always comes out tax-free.

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.