Stack Math

Learn · Saving

What is a 529 plan, and how does it work?

By Stack Math team · Reviewed by Levi Rosenthal · Updated

8 min read6 sources

The short answer

A 529 plan is an investment account for education costs. You put in money after tax, it grows, and withdrawals are free from federal tax when spent on qualified education costs such as college tuition, books and housing, and up to $20,000 a year of K-12 tuition from 2026. Anyone can open one for any beneficiary, there are no income limits, and you can use any state’s plan.

Key points

Try it with your numbersSavings goalsFree, no sign-up

How does a 529 plan work?

A 529 is a state-sponsored account named after a section of the tax code. You open it for a beneficiary, usually your child, and invest the money, often in an age-based fund that gets more cautious as college gets closer. The IRS explains the deal: contributions are not deductible on your federal return, but earnings grow federally tax-free and are not taxed when you withdraw them for qualified education costs. Many states add their own tax break for contributions.

$20,000a year of K-12 tuition allowed from 2026my529
$19,000a year per beneficiary before gift tax rules applyIRS
$35,000lifetime limit on 529-to-Roth IRA rolloversSECURE 2.0

Anyone can open one: parents, grandparents, aunts, even the student. The IRS says there are no income limits, and you can use any state’s plan.

What can you spend it on?

Qualified expenses (tax-free)

College and other eligible schools
Tuition, fees, books, supplies, equipment, and room and board for students at least half-time.
K-12 tuition
Up to $20,000 a year per beneficiary from January 1, 2026.
Not qualified
Spending for other things means the earnings are taxed and usually hit with an extra 10% penalty.

Myth vs fact

Myth A 529 only works if your child goes to a four-year college.

Fact Many eligible schools, including trade and vocational schools, count, as does K-12 tuition up to the limit.

Myth If they do not go, you lose the money.

Fact You can change the beneficiary or withdraw it; only the earnings are taxed and penalized.

Myth You have to use your own state’s plan.

Fact You can use any state’s plan, though your state’s tax break may only apply to its own.

How much can it grow?

Saving monthly from birth to age 18, at an assumed 6% a year
$100 a monthAbout $38,100 ($21,600 put in)
$250 a monthAbout $95,200 ($54,000 put in)

6% a year is an assumption for illustration, not a forecast. Investment returns vary and can be negative. Fees not included.

Starting early matters. Nearly half the $100-a-month balance is growth, not contributions, because the early deposits have 18 years to compound.

What if your child does not go to college?

What research says

How to open one

  1. 1
    Look up your state’s plan

    Note any tax deduction and the fees.

  2. 2
    Open online

    You need your and the beneficiary’s Social Security numbers.

  3. 3
    Pick an investment

    An age-based option is simplest.

  4. 4
    Automate a monthly amount

    Even $25 or $50 starts the clock.

  5. 5
    Share the link

    Many plans let family contribute directly for birthdays.

Set a savings target and monthly amount in savings goals. Read can a kid have a Roth IRA? and how compound interest works.

The bottom line

Starting a 529 early, even with a small monthly amount, gives compounding the most time to work. Check your own state’s plan first for a possible tax break, and compare fees.

Common questions

Do I have to use my own state’s 529 plan?

No. The IRS notes you can use any state’s plan. Your own state may offer a tax deduction only for its plan, so check that first.

What happens to a 529 if my child gets a scholarship?

You can withdraw up to the scholarship amount without the extra 10% penalty, though the earnings are taxable. You can also keep it for other education or change the beneficiary.

Can grandparents open a 529?

Yes. Anyone can open a 529 for any beneficiary, and there are no income limits.

Sources

  1. IRS: 529 plans: Questions and answers (tax-free earnings for qualified expenses; no income limits; beneficiary changes; gift tax above $19,000) (checked November 29, 2026)
  2. my529 (Utah’s official 529 plan): Qualified education expenses expand with recent legislation (K-12 limit $20,000 from Jan 1, 2026) (checked November 29, 2026)
  3. Kitces: 529-to-Roth IRA rollovers under SECURE 2.0 section 126 (15-year account, 5-year-old funds, annual IRA limit, $35,000 lifetime) (checked November 29, 2026)
  4. IRS: Retirement topics, IRA contribution limits ($7,500 for 2026) (checked November 29, 2026)
  5. Elliott, W., Song, H.-a. and Nam, I. (2013). Small-dollar children’s savings accounts and children’s college outcomes. Children and Youth Services Review (checked November 29, 2026)
  6. McKenzie, C. R. M. and Liersch, M. J. (2011). Misunderstanding Savings Growth: Implications for Retirement Savings Behavior. Journal of Marketing Research (checked November 5, 2026)

Keep reading

Also worth knowing

General education, not financial, tax or legal advice. Rates and rules change, so check the sources above before you act. Disclaimers