A 529 plan is a tax-advantaged savings account that lets you set money aside for education costs without paying federal income tax on the growth

A 529 plan is an investment account where you contribute after-tax dollars, but the money inside grows tax-free. Withdrawals for education expenses are not taxed federally. The account is named after Section 529 of the Internal Revenue Code, which created this structure.

Each state runs its own 529 plan, though you are not required 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 main difference between plans is the investment options available and the state tax benefits — some states offer an income tax deduction if you contribute to their plan.

The account owner (usually a parent or grandparent) controls the money and decides when and how much to withdraw. The student named on the account — called the beneficiary — does not have legal control over it, though the account is meant to be used for their education.

Key Takeaways

  • Money in a 529 plan grows tax-free and withdrawals for education costs are not taxed federally, though some states tax withdrawals.
  • You can contribute up to $18,000 per year per person without triggering federal gift tax, or $36,000 if you are married filing jointly.
  • Education expenses that count include tuition, room and board, books, computers, and up to $35,000 in student loan repayment.
  • If you withdraw money for non-education purposes, you pay income tax on the earnings plus a 10 percent penalty, though the contributions themselves come out tax-free.
  • You can change the beneficiary to another family member without penalty, which gives you flexibility if the original student does not attend college.

The two types of 529 plans and how they differ

There are two structures: a prepaid tuition plan and a savings plan. Most people use a savings plan because prepaid plans are limited and restrictive.

A prepaid tuition plan lets you lock in tuition rates at participating colleges, usually in-state public universities. You pay a lump sum or installments now, and the plan covers tuition later. The risk is that if the student attends a private school or out-of-state school, the benefit may be smaller or the plan may only refund what you paid in plus a modest return. Prepaid plans exist in only about a dozen states and are closed to new enrollments in most of them.

A savings plan works like a regular investment account. You choose from a menu of investment options — usually mutual funds or target-date portfolios — and the money grows based on market performance. You can withdraw any amount at any time, but non-education withdrawals trigger taxes and a penalty on the earnings. Savings plans are available in every state and are more flexible because you can use the money at any accredited school in the country, including private universities and trade schools.

What counts as an education expense

The IRS defines may have access to education expenses broadly. Tuition and fees are the core, but room and board, books, supplies, computers, and required equipment all count. If the student is at least a half-time student, you can also cover transportation and other reasonable costs of attendance.

Recent changes expanded what you can withdraw for. As of 2024, you can roll up to $35,000 from a 529 plan into a Roth IRA in the student's name, subject to annual contribution limits. You can also use up to $35,000 to repay the student's own federal or private student loans. These options are useful if the student receives a scholarship or does not attend college, because they let you move the money into retirement savings instead of losing it to taxes and penalties.

Expenses that do not count include room and board if the student lives off-campus and is not at least a half-time student, private K-12 tuition (though up to $235 per year can be used for K-12 in some cases), and student loan repayment for parent loans. If you withdraw money for any non-may have access to expense, you owe income tax on the earnings portion plus a 10 percent penalty.

Contribution limits and tax treatment

There is no annual contribution limit set by federal law, but the IRS treats large gifts carefully. You can contribute up to $18,000 per year per person without filing a gift tax return, or $36,000 if you are married and file jointly. If you give more than that in a single year, you must file Form 709, though you still will not owe tax unless you exceed your lifetime gift tax exemption (currently $13.61 million per person).

Some states offer an income tax deduction for 529 contributions. New York, for example, allows you to deduct up to $10,000 per year ($20,000 if married filing jointly) from your state taxable income. Other states have no deduction, and a few allow deductions only if you use their state's plan. Check your state's tax authority website to see what applies to you.

The money inside the account grows tax-free. When you withdraw it for a may have access to education expense, there is no federal income tax on the growth. Some states tax 529 withdrawals, but most do not. The contributions themselves are never taxed again because they were made with after-tax dollars.

Who can open a 529 plan and for whom

Anyone can open a 529 plan. You do not have to be a parent — grandparents, aunts, uncles, and even non-relatives can open an account for a student. The account owner has full control over the money; the beneficiary has no legal claim to it unless the account owner decides to give it to them.

The beneficiary must have a Social Security number or tax identification number. You can open an account for a newborn, and you can change the beneficiary later without penalty. If one child does not use all the money, you can transfer it to a sibling, cousin, or even a parent's spouse — the definition of family member is broad enough to include most relatives.

There are no income limits for opening or contributing to a 529 plan. High earners and low earners alike can use them. However, 529 assets are counted differently depending on who owns the account. If a parent owns it, it counts as a parental asset on the FAFSA (Free Application for Federal Student Aid) and reduces financial aid by up to 5.64 percent of the account value. If a grandparent or other non-parent owns it, it does not count on the FAFSA at all, which can be an advantage for financial aid purposes.

What happens if the money is not used for education

If you withdraw money for a non-may have access to expense, you owe federal income tax on the earnings portion of the withdrawal, plus a 10 percent penalty on those earnings. The contributions themselves come out tax-free because they were already taxed when you put them in.

For example, if you contributed $50,000 and the account grew to $70,000, and you withdraw $70,000 for a non-may have access to expense, you owe income tax and a 10 percent penalty on the $20,000 in earnings. The $50,000 in contributions is not taxed again. The penalty does not apply to the contributions, only to the growth.

There are a few exceptions to the penalty. If the beneficiary receives a scholarship, you can withdraw an amount equal to the scholarship without the 10 percent penalty (though you still owe income tax on the earnings). If the beneficiary attends a U.S. military academy, you can withdraw without penalty. If the beneficiary dies or becomes disabled, the penalty is waived. In all other cases, non-may have access to withdrawals trigger the penalty.

The new rollover options — moving money to a Roth IRA or using it for student loan repayment — are a way to avoid the penalty if the student does not use all the money for college tuition and fees.

How to choose between state plans

You can open an account in any state's plan, so the choice depends on three things: investment options, fees, and state tax benefits. Most plans offer similar investment menus — age-based portfolios that automatically shift from stocks to bonds as the student gets closer to college, and individual fund options. Fees vary; some plans charge less than 0.20 percent annually, while others charge over 1 percent.

If your state offers an income tax deduction for contributions to your state's plan, that is usually the strongest reason to use it. A deduction can be worth hundreds of dollars per year and is immediate, whereas investment growth is uncertain. If your state has no deduction or a small one, compare the plans on fees and investment options. A low-cost plan in another state might outperform your state's plan over time.

You can also split contributions between plans. Some families open an account in their home state to capture the tax deduction, then open another account in a low-cost plan for additional savings. There is no rule against having multiple 529 accounts for the same beneficiary.

Frequently Asked Questions

Can I use a 529 plan for trade school or community college?

Yes. Any accredited post-secondary school counts, including trade schools, community colleges, and online programs. The school must be accredited by a recognized agency and may be able to access to participate in federal student aid programs. Check the school's accreditation status on the Department of Education website before assuming it qualifies.

What happens if I change the beneficiary?

You can change the beneficiary to another family member without tax or penalty. Family includes siblings, cousins, aunts, uncles, parents, and even in-laws. If you change the beneficiary, the account keeps its tax-free growth status. This flexibility is one reason 529 plans are useful even if you are not certain which child will attend college.

Does a 529 plan hurt financial aid?

It depends on who owns the account. If a parent owns it, the FAFSA counts it as a parental asset and reduces aid by up to 5.64 percent of the balance. If a grandparent owns it, it does not count on the FAFSA. If you are concerned about financial aid, a grandparent-owned account is more favorable, though you lose control of the money.

Can I withdraw money to pay for room and board?

Yes, if the student is at least a half-time student. Room and board counts as a may have access to education expense under the IRS rules. If the student lives off-campus, the plan uses the school's cost-of-attendance estimate, which is usually lower than actual rent but still covers a portion of housing costs.

What if the student gets a full scholarship?

You can withdraw an amount equal to the scholarship without the 10 percent penalty, though you still owe income tax on the earnings portion. You can also roll the money into a Roth IRA in the student's name, which lets you move it into retirement savings. The scholarship itself is not taxed, but the 529 earnings are treated as income if withdrawn.