Skip to content
getback
Money & Investing · Investing for Beginners

How Does a 529 Plan Work?

How does a 529 plan work? You invest after-tax money, it grows tax-deferred, and qualified education withdrawals are tax-free. Rules and limits for 2026.

By Updated 8 min read

Disclaimer: Educational content. Not financial advice. Investing involves risk, including loss of principal. Consult a licensed professional about your situation.

Quick summary (TL;DR)

  • A 529 plan is a state-sponsored education account: you contribute after-tax money, it grows tax-deferred, and withdrawals for qualified education costs are federally tax-free.
  • There are two types: education savings plans, which are invested in the market, and prepaid tuition plans, which buy future tuition at today's prices.
  • There's no federal deduction or annual contribution limit, but gifts above $19,000 per person in 2026 may need a gift tax return, and each state sets a total account maximum.
  • Earnings withdrawn for non-qualified uses are taxed as income plus a 10% additional federal tax, with exceptions such as scholarships, death or disability.
  • Leftover money can go to another family member or, after 15 years, partly into the beneficiary's Roth IRA, up to a $35,000 lifetime limit.
In this guide
  1. How does a 529 plan work, step by step?
  2. What are the two types of 529 plans?
  3. Who owns a 529 account, and who can put money in?
  4. How is the money invested inside a 529?
  5. What can you spend 529 money on?
  6. What happens if you withdraw for something else?
  7. What happens to leftover 529 money?
  8. How do you open a 529 plan?
  9. Next steps

Steps at a glance

  1. 1Check your state's plan first. See whether your state offers an income tax deduction or credit for contributions, and whether it applies only to its own plan.
  2. 2Compare fees and investments. Look at direct-sold plans from your state and one or two others, comparing annual fees and the age-based options.
  3. 3Open the account. Apply online as the account owner and name the child or other student as the beneficiary.
  4. 4Choose an investment option. Pick an age-based portfolio or a static option; you can change existing investments only twice a year.
  5. 5Automate contributions. Set a monthly transfer you can keep up, and share a gifting link with relatives if the plan offers one.

How does a 529 plan work? You put after-tax money into a state-sponsored education account, invest it, and let it grow without yearly tax; when you withdraw it for qualified education costs, the earnings come out federally tax-free.

A 529 plan, which the IRS calls a qualified tuition program, is named after Section 529 of the tax code. This guide explains how the account works from opening day to the last withdrawal, as of 2026. It's education, not tax or investment advice, and 529 plans are a US account; other countries have their own education savings options.

How does a 529 plan work, step by step?

A 529 plan has three stages: you contribute, the money is invested, and you withdraw it for education. The tax benefit comes at the end, as long as the withdrawal pays for qualified expenses.

StageWhat happensTax treatment (federal)
ContributeThe owner, or anyone else, adds money for a named beneficiaryNo federal deduction; some states give one
InvestMoney goes into the plan's portfolios, often age-based fundsEarnings grow tax-deferred
Withdraw for qualified costsPlan pays the school or reimburses youEarnings are tax-free
Withdraw for anything elseMoney goes to you or the beneficiaryEarnings taxed as income, plus a 10% additional tax unless an exception applies

The power of a 529 comes from time. The earlier you start, the more years the investments have to grow before you need them. That's the same principle behind any long-term investing, which our step-by-step guide to how to start investing explains if you're new to it.

What are the two types of 529 plans?

There are education savings plans and prepaid tuition plans. Most families use savings plans, but prepaid plans still exist in some states.

FeatureEducation savings planPrepaid tuition plan
How it worksYou invest in a menu of portfoliosYou buy units or credits of future tuition at today's prices
Can lose value?Yes, it moves with the marketsMost states back the plan's promise to keep pace with tuition
ResidencyUsually open to residents of any stateMost require you or the child to live in the state when you apply
What it coversA broad list of qualified expensesMainly tuition and mandatory fees at participating schools
FeesEnrollment, maintenance, program and asset management fees can applyEnrollment and administrative fees can apply

Investor.gov notes that education savings plans bought through a broker usually add extra charges such as sales loads and ongoing distribution fees. Many states offer direct-sold plans you can open yourself without those broker fees.

Who owns a 529 account, and who can put money in?

The account owner controls the money; the beneficiary is the student it's for. The owner is often a parent or grandparent, and they decide when to withdraw and can change the beneficiary.

Contribution rules, as of 2026:

  • Anyone can contribute. Parents, grandparents, relatives and friends can all add money, and many plans offer gifting links.
  • No federal deduction. The IRS says contributions aren't deductible on your federal return. Many states give a deduction or credit, and some limit it to their own plan, so check your state's rules.
  • No annual federal limit, but each state sets a total maximum per beneficiary, and the IRS says contributions can't exceed what's needed for qualified expenses.
  • Gift tax rules apply. Contributions count as gifts. The IRS annual exclusion for 2026 is $19,000 per recipient, or $38,000 for a married couple splitting gifts. A special election lets you treat a larger contribution as spread over five years, which Fidelity puts at up to $95,000 in one year for an individual in 2026.

You can change the beneficiary to another member of the family without tax, according to IRS Publication 970. That's what makes a 529 more flexible than many people assume.

How is the money invested inside a 529?

In a savings plan, you pick from the plan's portfolios, usually mutual funds or similar. The most common choice is an age-based or enrollment-date portfolio that holds more stocks when the child is young and shifts toward bonds and cash as college gets closer.

Other options usually include static portfolios with a fixed mix, individual index funds, and sometimes a stable value or savings option. If you want to understand what's inside those funds, look for the fund names and annual expense ratios in the plan's disclosure document.

Three rules shape how you manage it:

  1. Only two investment changes a year. FINRA notes that under IRS rules, you can change the investment mix of existing money only twice per year.
  2. Fees compound too. A difference of a fraction of a percent a year adds up over 18 years, so compare the total annual cost of the options you're considering.
  3. Values can fall. A 529 savings plan can lose money, including in the years right before tuition is due. Age-based portfolios try to reduce that risk, but they don't remove it.

What can you spend 529 money on?

Qualified expenses include college costs and, within limits, K-12 tuition, apprenticeships and some student loan repayment. The full list, with the gray areas, is in our guide to 529 plan qualified expenses.

The headline rules from IRS Topic 313, as of 2026:

  • College and other eligible postsecondary schools: tuition, fees, books, supplies, equipment, and room and board for students enrolled at least half-time.
  • K-12: tuition up to $20,000 per year per beneficiary from 2026 (the limit was $10,000 before), and, under 2025 changes, certain other K-12 costs such as curriculum materials, tutoring and standardized test fees.
  • Apprenticeships and certain postsecondary credentialing programs.
  • Student loans: up to a $10,000 lifetime limit per individual.

You can't use the same expenses for both a tax-free 529 withdrawal and an education tax credit such as the American opportunity credit, so families who claim the credit often pay part of the bill from other money.

What happens if you withdraw for something else?

Only the earnings portion is taxed; your original contributions come back tax-free. Each non-qualified withdrawal is treated as part contributions and part earnings.

On the earnings part, you generally owe:

  • Federal income tax, at the recipient's rate.
  • A 10% additional federal tax, unless an exception applies. IRS Publication 970 lists exceptions such as the beneficiary's death or disability, a tax-free scholarship (up to its amount), and attendance at a US military academy.
  • Possible state income tax, depending on where you live. If you took a state deduction, check whether your state wants it back.

Whether that penalty makes 529s a bad deal for your family is a separate question; we weigh it in are 529 plans a bad idea.

What happens to leftover 529 money?

You have several options before any penalty applies. Many families keep the account for graduate school, change the beneficiary to a sibling or cousin, or save it for a future grandchild.

Since 2024, there's also a Roth IRA rollover, created by the SECURE 2.0 Act. According to the IRS and Fidelity:

  • The 529 must have been open for the beneficiary for at least 15 years.
  • Contributions made in the last five years, and their earnings, can't be rolled over.
  • The rollover counts toward the beneficiary's yearly IRA limit, $7,500 in 2026 for those under 50, together with any other IRA contributions.
  • The lifetime maximum is $35,000 per beneficiary, and the money must move directly from the plan to the Roth IRA.

Fidelity notes that the IRS hasn't issued full guidance on some details, including whether the beneficiary needs earned income, so confirm with your plan before relying on it. For how Roth IRAs work for young people, see can I open a Roth IRA for my child.

How do you open a 529 plan?

You open a 529 directly with a state plan, usually online, or through a broker. Choosing the plan matters more than the paperwork.

  1. Start with your own state. If it offers a deduction or credit only for its plan, that's often worth more than slightly lower fees elsewhere.
  2. Compare direct-sold plans for annual cost and the quality of the age-based options.
  3. Open the account as owner, naming the beneficiary with their Social Security number.
  4. Pick an investment option and set an automatic monthly contribution you can sustain.
  5. Review once a year, not every week.

Before you commit, make sure your own foundations are in place: an emergency fund, no high-interest debt, and retirement saving on track. Our guide to the best ways to save money for your kids compares 529s with custodial accounts and other options.

Returns in a 529 savings plan are not guaranteed, and investments can lose value.

Next steps

  • Look up your state's 529 tax benefit on its official plan website or state tax agency.
  • Learn how the investments inside the plan behave in our beginner's guide to investing.
  • Want more room in your budget to save? Explore our guide to making money online, keeping in mind that results depend on effort and time.

Frequently asked questions

Can I use any state's 529 plan?

Usually yes, savings plans are open to residents of any state. But many states give a tax deduction or credit only for contributions to their own plan, and most prepaid tuition plans require you or the beneficiary to live in the sponsoring state.

Who can contribute to a 529 plan?

Anyone, including parents, grandparents, other relatives and friends. The account owner controls the money, and the beneficiary is the student it's meant for.

Is money in a 529 plan safe?

A 529 savings plan is invested, usually in mutual funds, so its value can go up or down, including close to when you need it. Prepaid tuition plans work differently and are often backed by the sponsoring state.

How often can I change the investments in a 529?

Under IRS rules, you can change how existing money is invested only twice per calendar year. New contributions can go into a different option at any time.

Does a 529 plan hurt financial aid?

A parent-owned 529 counts as a parental asset on the FAFSA, which typically reduces aid eligibility by a small fraction of its value. Since the 2024-25 FAFSA, withdrawals from grandparent-owned 529s are no longer counted.

Free PDF

The Investing for Beginners starter checklist

Every step to get started, a 7-day plan, the numbers to track and the scams to skip — on two printable pages.

Sources

  1. IRS — Topic no. 313, Qualified tuition programs (QTPs)
  2. IRS — Publication 970, Tax Benefits for Education
  3. IRS — Frequently asked questions on gift taxes
  4. IRS — 401(k) limit increases to $24,500 for 2026, IRA limit increases to $7,500
  5. Investor.gov (SEC) — An Introduction to 529 Plans
  6. FINRA — 529 Plans
  7. Fidelity — 529 contribution limits 2026
  8. Fidelity — Understanding 529 rollovers to a Roth IRA
  9. Saving for College — FAFSA Simplification Act makes grandparent-owned 529 plans more attractive

Getback Editorial Team

We research each guide from official platform documentation and public data, show real costs and trade-offs, and update it when rules change. Read our editorial policy.

Get one honest money idea a week

Practical side-hustle and money guides, costs included. No hype, unsubscribe anytime.