A 529 account is a tax-advantaged savings account where you deposit money, invest it, and withdraw it tax-free to pay for school

You open a 529 account through your state's plan (or sometimes a private plan), put money in, choose how to invest it, and then withdraw the balance to cover tuition, room and board, books, computers, and other school costs. The money grows without being taxed on gains or interest. When you withdraw it for school, you pay no federal tax on that growth—only on the original deposit, which was made with after-tax dollars anyway. If you withdraw money for something other than school, you pay income tax on the earnings plus a 10 percent penalty, though some exceptions exist.

The account is owned by the person who opens it (usually a parent or grandparent), not by the student. That matters for financial aid calculations and for control: you decide when and how the money is spent, and you can change the beneficiary to another family member if the first one doesn't need it all.

Key Takeaways

  • Money you deposit grows tax-free and comes out tax-free when used for tuition, room and board, books, computers, and certain other school expenses.
  • You choose the investment option when you open the account—typically a mix of stocks and bonds that gets more conservative as the student gets closer to college.
  • The account owner (usually a parent) controls the money and can change the beneficiary to a sibling or other relative without penalty.
  • Withdrawals for non-school expenses trigger income tax on the earnings plus a 10 percent penalty, though exceptions exist for death, disability, and unused balances.
  • Each state runs its own 529 plan, and you can use any state's plan regardless of where you live or where the student will attend school.

How money flows in and out of a 529

You deposit money into the account after it is opened. There is no federal limit on how much you can contribute in a single year, but most states cap the total account balance at $235,000 to $550,000 per beneficiary (the range varies by state). You can contribute from your own funds, and other people—grandparents, aunts, uncles, friends—can also contribute to an account you opened, as long as they give you the money to deposit or you authorize them to deposit directly.

The money sits in the investment options you chose when you opened the account. As it grows, you do not pay tax on the gains each year the way you would in a regular brokerage account. When the student is ready to pay for school, you withdraw the money and send it to the school, or the student uses it to reimburse themselves for expenses they paid out of pocket. The school does not need to know the money came from a 529—it just receives a check or bank transfer like any other payment.

If money is left over after the student finishes school, you have options: you can roll the unused balance to a sibling or other close relative (a change in beneficiary), or you can withdraw it. If you withdraw unused money, you pay income tax on the earnings portion and a 10 percent penalty on those earnings. The original deposits come out tax-free.

Investment choices and how they work

When you open a 529, you select an investment option from a menu the plan provides. Most plans offer age-based portfolios, which automatically shift from stocks (higher growth, more risk) to bonds and stable value funds (lower growth, less risk) as the beneficiary gets older. A typical age-based option might be 90 percent stocks when the child is born and gradually move to 20 percent stocks by age 18. You do not have to do anything—the plan rebalances automatically.

Some plans also offer static portfolios, where you pick a single mix of stocks and bonds and it stays that way. Others let you pick individual mutual funds or exchange-traded funds. The investment options vary by plan, so the returns you see depend on which plan you chose and which option within that plan you selected. A plan in one state might offer different funds than a plan in another state.

You can change your investment option twice per calendar year, or once per beneficiary change. This is a built-in limit to prevent frequent trading. If you want to move money to a different state's plan, you can do a rollover, but it counts as a change of plan and comes with restrictions on how often you can do it.

Tax treatment: what you pay and what you don't

Money you deposit into a 529 is made with after-tax dollars—you do not get a federal deduction for it. However, some states offer a state income tax deduction for contributions to their own 529 plan. The amount varies: some states deduct up to $235,000 per beneficiary per year, others cap it at $2,500 or $10,000. If you live in a state with a deduction and you contribute to that state's plan, you can reduce your state taxable income. You do not get this deduction if you contribute to another state's plan.

The earnings—the investment gains, dividends, and interest—grow tax-free inside the account. You never pay federal tax on those earnings as long as you withdraw the money for a may have access to education expense. may have access to expenses include tuition and fees, room and board (if the student is at least half-time), books and supplies, computers and equipment, and up to $35,000 per beneficiary lifetime for student loan repayment (this rule took effect in 2024).

If you withdraw money for something other than a may have access to expense, you pay income tax on the earnings portion at your ordinary tax rate, plus a 10 percent federal penalty on those earnings. The original deposit always comes out tax-free. Some exceptions to the penalty exist: if the beneficiary dies or becomes disabled, you can withdraw without penalty. If the beneficiary receives a scholarship, you can withdraw an amount equal to the scholarship without penalty (though you still pay tax on the earnings).

How 529 accounts affect financial aid

A 529 account owned by a parent is counted as a parental asset on the Free Application for Federal Student Aid (FAFSA). Parental assets reduce financial aid may be able to access by up to 5.64 percent of the asset value per year. A 529 owned by a grandparent or other relative is not counted on the FAFSA at all, but if the grandparent makes a withdrawal to pay for the student's school, that withdrawal counts as untaxed income to the student in the following year, which can reduce aid may be able to access by up to 50 percent.

The timing of withdrawals matters if you are trying to minimize the impact on financial aid. If a grandparent-owned 529 will be used, it is often better to wait until after the student's final FAFSA is filed to make withdrawals. If a parent owns the account, the balance itself affects aid, so the timing of withdrawals matters less—the damage is already done on the FAFSA.

529 accounts do not affect may be able to access for federal student loans or grants based on income. They affect only need-based aid calculations. Merit scholarships and non-need-based aid are not affected.

Changing beneficiaries and rolling over unused money

If the original beneficiary does not use all the money—because they got a scholarship, chose not to attend college, or simply did not need the full balance—you can change the beneficiary to another family member without penalty or tax. Family members include siblings, cousins, aunts, uncles, parents, grandparents, and in-laws. The new beneficiary can be any age, including an adult.

When you change the beneficiary, the money stays in the account and continues to grow tax-free. You do not withdraw it and re-deposit it; you simply notify the plan of the new beneficiary's name and Social Security number. The change takes effect immediately, and the new beneficiary's investment timeline may reset (if you chose an age-based portfolio, it will rebalance based on the new beneficiary's age).

As of 2024, you can also roll up to $35,000 of unused 529 money into a Roth IRA in the beneficiary's name, subject to income limits and contribution rules. This is a newer option that lets families recover some of the tax benefit if the student does not need the full 529 balance for school.

Choosing between state plans and what to watch for

Each state sponsors at least one 529 plan, and some states sponsor two. You can open an account in any state's plan regardless of where you live or where the student will attend school. The main differences between plans are the investment options offered, the fees charged, and whether your state offers a tax deduction for contributions to its own plan.

Fees matter because they reduce your returns over time. Some plans charge an annual program fee (typically 0.3 to 0.5 percent of your balance), and all plans charge underlying fund fees (the cost of the mutual funds or ETFs inside the plan). A plan with low fees can significantly outpace a plan with high fees over 18 years. You can find fee information in the plan's official statement, which every plan publishes online.

If your state offers a tax deduction and you live there, opening an account in your state's plan usually makes sense, even if another state's plan has lower fees—the tax savings often outweigh the fee difference. If your state does not offer a deduction or you live in a state with a small deduction, you can shop across all plans and choose based on investment options and fees.

What happens if the student does not go to college

If the student decides not to attend college, you have several options. You can change the beneficiary to a sibling, cousin, or other family member and use the money for their education instead. You can roll up to $35,000 into a Roth IRA for the original beneficiary (subject to income and contribution limits). Or you can withdraw the money, pay income tax on the earnings, and accept the 10 percent penalty.

The penalty is only on the earnings, not on the full balance. If you deposited $50,000 and it grew to $65,000, you would pay income tax and the 10 percent penalty only on the $15,000 in earnings. The $50,000 deposit comes out tax-free. For many families, this is an acceptable cost if the student's plans change.

Some plans also offer a scholarship exception: if the student receives a scholarship to attend college, you can withdraw an amount equal to the scholarship without the 10 percent penalty (though you still pay income tax on the earnings portion of that withdrawal).

Frequently Asked Questions

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

Yes. You can withdraw up to $35,000 per beneficiary lifetime from a 529 to pay for tuition at a private elementary, middle, or high school. This is a may have access to education expense. Room and board do not count for K-12, only tuition and fees.

What if I want to move money from one state's 529 plan to another?

You can do a rollover to a different state's plan, but you are limited to one rollover per beneficiary per 12-month period. The process takes a few weeks. You do not withdraw the money yourself; the plans handle the transfer directly. Check whether your current plan charges a rollover fee.

Can I use 529 money to pay for room and board if my student lives at home?

No. Room and board is only a may have access to expense if the student is enrolled at least half-time at an may be able to access school and living in school-provided housing or off-campus housing. If the student lives at home, room and board does not count, and withdrawing money for that purpose triggers tax and penalty on the earnings.

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

No. The money can be used for graduate school, professional school, or any education after high school. There is no age limit on when the beneficiary can use the money, as long as it is for a may have access to education expense at an may be able to access school.

What if the student gets a full scholarship?

You can withdraw an amount equal to the scholarship without the 10 percent penalty. You still pay income tax on the earnings portion of that withdrawal, but the penalty is waived. The original deposit always comes out tax-free.