The tax advantage depends on how you use the money

A 529 plan is not automatically tax-free. The tax benefit only applies when you withdraw money to pay for may have access to education expenses. If you withdraw money for anything else, you pay income tax on the earnings plus a 10 percent penalty. The account itself grows without annual tax bills, but that is different from the money being tax-free when you take it out.

The earnings in your account accumulate tax-free year to year — you do not file taxes on the growth while the money sits there. But the moment you withdraw it, the tax treatment depends entirely on what you spend it on. This distinction matters because it changes your actual cost and your planning.

Key Takeaways

  • Withdrawals for may have access to education expenses (tuition, fees, room and board, books, required equipment) are tax-free; withdrawals for other purposes trigger income tax on earnings plus a 10 percent penalty.
  • The money grows inside the account without generating annual tax bills, but this tax-free growth only benefits you if you eventually spend it on school.
  • State income tax treatment varies: some states tax 529 withdrawals, others do not, and some offer a state tax deduction when you contribute.
  • If a beneficiary does not attend college, you can roll the account to a different family member or withdraw the money and pay tax on earnings only.

What counts as a may have access to education expense

The IRS defines may have access to expenses narrowly. Tuition and mandatory fees at any accredited college, university, or vocational school count. Room and board count if the student is enrolled at least half-time. Books, supplies, and required equipment (including a computer) count. Student loan repayment up to $35,000 lifetime per beneficiary counts as of 2024.

What does not count: transportation to school, health insurance, personal expenses, or room and board if the student lives at home. If you withdraw $10,000 for tuition and $2,000 for a car to drive to campus, only the tuition portion is tax-free. You pay tax and the 10 percent penalty on the $2,000 earnings portion.

State tax treatment varies significantly

Federal tax law treats may have access to withdrawals as tax-free, but state income tax is separate. Some states follow federal law and do not tax may have access to withdrawals. Other states tax the earnings portion even on may have access to withdrawals. A few states tax the entire withdrawal.

Additionally, many states offer a state income tax deduction or credit when you contribute to a 529 plan — usually $235 to $550 per year, depending on the state. This deduction applies in the year you contribute, not when you withdraw. If you live in a state with both a contribution deduction and no tax on may have access to withdrawals, the 529 becomes more valuable. If you live in a state that taxes may have access to withdrawals, the benefit is smaller. Check your state's specific rules before opening an account.

What happens if the money is not used for school

If you withdraw money for non-may have access to expenses, you owe income tax on the earnings portion at your ordinary tax rate, plus a 10 percent penalty. The principal (the money you originally deposited) comes out tax-free, but the growth is taxed and penalized. If you contributed $50,000 and the account grew to $65,000, and you withdraw all $65,000 for a non-may have access to expense, you pay tax and penalty only on the $15,000 in earnings.

The 10 percent penalty does not apply to withdrawals made because the beneficiary received a scholarship, died, or became disabled. In those cases, you pay income tax on earnings but skip the penalty.

Rolling money to a different family member

If the original beneficiary does not attend college or does not use all the money, you can roll the account to a different family member without tax or penalty. As of 2024, you can also roll up to $35,000 from a 529 to a Roth IRA in the beneficiary's name, subject to income limits and a five-year holding period on the original contributions. This option lets you preserve the tax-free growth even if college does not happen.

A family member includes siblings, cousins, parents, grandparents, and in-laws — the IRS definition is broad. Rolling the account is straightforward: you contact the plan administrator and name the new beneficiary. No tax bill, no penalty, and the money keeps growing tax-free under the new person's name.

How the tax-free growth compounds over time

The real advantage of a 529 is that you avoid paying annual tax on investment gains while the money sits in the account. If you invest $10,000 in a regular taxable brokerage account and it grows to $15,000 over five years, you owe tax each year on the dividends and capital gains — reducing your actual growth. In a 529, that same $10,000 grows to $15,000 with no annual tax bills. When you withdraw it for school, the entire $15,000 is tax-free.

This tax-free compounding is most valuable over long time horizons — 10 to 18 years from birth to college. The longer the money sits, the more the tax savings add up. A 529 opened at birth has more time to compound than one opened in high school, even if the contribution amount is the same.

Federal tax deduction does not exist, but state deductions do

There is no federal income tax deduction for 529 contributions. You contribute with after-tax dollars. However, many states offer a state income tax deduction or credit for contributions to their own 529 plan — and some states allow deductions for contributions to any state's plan. The deduction amount and income limits vary widely. New York allows up to $10,000 per person per year; other states allow $235 or $500.

If your state offers a deduction and you are in a high tax bracket, the state tax savings can be substantial. A $10,000 contribution in a state with a 6 percent income tax saves $600 in state taxes immediately. That $600 stays in the account and compounds tax-free, adding to your federal tax-free growth.

Frequently Asked Questions

Do I pay taxes on 529 earnings if I do not use the money for school?

Yes. You pay income tax on the earnings at your ordinary tax rate, plus a 10 percent penalty. The principal comes out tax-free. If you contributed $30,000 and withdrew $40,000 for a non-may have access to expense, you pay tax and penalty only on the $10,000 in earnings, not the full amount.

Can I use 529 money for graduate school?

Yes. Graduate tuition, fees, and room and board at accredited graduate programs count as may have access to expenses. The tax-free withdrawal rules are the same as for undergraduate school. Graduate student loan repayment also counts up to the $35,000 lifetime limit.

What if my child gets a scholarship?

You can withdraw an amount equal to the scholarship without the 10 percent penalty. You still owe income tax on the earnings portion of that withdrawal, but the penalty is waived. You can leave the rest of the money in the account to grow tax-free or roll it to another family member.

Does a 529 affect financial aid?

Yes, but the impact depends on who owns the account. Parent-owned 529 accounts count as parental assets and reduce aid by up to 5.64 percent of the account value. Grandparent-owned accounts do not count as assets on the FAFSA, but withdrawals count as income in the year they are taken, which can reduce aid in the following year.

Can I withdraw money from a 529 for room and board if my child lives at home?

No. Room and board is only a may have access to expense if the student is enrolled at least half-time and lives in school housing or off-campus housing. If your child lives at home while attending college, room and board does not count, and withdrawals for it are taxed and penalized.