A 529 plan is a state-run savings account with one job: turning after-tax contributions into tax-free money for education. Congress created it in Section 529 of the tax code, every state except Wyoming sponsors at least one plan, and you can open an account in almost any state's plan no matter where you live. There is no income limit for contributing, no age limit for the beneficiary, and no requirement that the money be spent by a particular birthday. What the plan asks in return is discipline about how the money comes out: withdrawals spent on qualified education expenses are completely tax-free, and withdrawals spent on anything else cost income tax plus a 10% penalty on the earnings.
The two kinds of 529 plans
Most accounts people open today are education savings plans: you contribute cash, invest it in the plan's mutual-fund-style portfolios (most offer an age-based track that gets more conservative as enrollment nears), and the account value rises and falls with the market. The older sibling is the prepaid tuition plan, which sells tuition units or credits at today's prices for tomorrow's attendance, usually at in-state public schools. Prepaid plans have largely fallen out of favor — fewer states offer them and the terms are narrower — but the tax treatment of both kinds is the same. This article is about the savings-plan version unless it says otherwise.
How the tax treatment actually works
The 529's federal deal has three parts, and only two of them are generous. Contributions are made with after-tax money — there is no federal deduction for putting money in, which surprises people who arrive expecting a smaller version of a traditional IRA. The generosity shows up later: the money grows with no annual tax on interest, dividends, or gains, and withdrawals for qualified expenses come out entirely tax-free, earnings included. A taxable brokerage account doing the same job pays tax along the way and again on gains; the 529 skips both.
The state layer is where contributions can pay off immediately. More than 30 states offer a state income-tax deduction or credit for contributions to a 529 — most often their own plan, though a handful of states give the break for contributions to any state's plan. The value depends entirely on your state's rules and tax rate, which is why the standard advice is to start with your own state's plan if it offers a break, and shop nationally only if it does not. States set the other big number too: there is no federal annual contribution limit, but each plan caps the total account balance per beneficiary, with maximums that commonly run from about $235,000 to well over $500,000. Contributions also count as gifts for gift-tax purposes, and 529s carry a special election that lets a donor front-load five years of annual-exclusion gifts at once — at the 2026 exclusion of $19,000, that is $95,000 per donor, per beneficiary, in a single year.
What counts as a qualified expense
The list is broader than the "college tuition" shorthand suggests. At an eligible college, university, or vocational school, qualified expenses include tuition and fees, room and board (for students enrolled at least half-time, capped at the school's published allowance), books and supplies, computers and internet access used by the student, and equipment required for special-needs services. Beyond the campus, three additions matter to many families:
- K-12 tuition: up to $10,000 per beneficiary per year counts as qualified at the federal level. Some states did not conform to this change, so a withdrawal that is tax-free federally can still be taxed — or trigger recapture of earlier deductions — at the state level.
- Apprenticeships: fees, books, and equipment for programs registered with the U.S. Department of Labor are qualified.
- Student loans: up to $10,000 in a beneficiary's lifetime can repay the beneficiary's student-loan principal and interest, with another $10,000 available for each sibling.
One caution belongs with the qualified-expense list: the federal definition and your state's definition are not always the same list. The K-12 expansion is the common example — federally qualified since 2018, but a number of states never conformed, so the same withdrawal can be tax-free on your federal return and taxable, with recapture of earlier deductions, on your state return. Before spending 529 money on anything other than college costs, check your own state's treatment of that specific expense category; the plan's website maintains the list for its home state, and your state's plan is the authority even if your account lives elsewhere.
Run the growth before you pick a contribution
Contributing $200 a month from a child's birth to age 18, at a 6% average return, builds about $77,500 — of which $43,200 is your contributions and roughly $34,300 is growth. Spent on qualified expenses, that $34,300 is never taxed. Try your own monthly amount and timeline in the Compound Interest Calculator, then decide what the 529 gets after your retirement accounts are on track.
What happens when the money is not spent on education
A non-qualified withdrawal splits in two. The contribution portion always comes back free — it was after-tax money going in, and it is not taxed or penalized coming out. The earnings portion is taxed as ordinary income and hit with a 10% additional tax. The penalty (though not the income tax) is waived in specific cases, including scholarships the beneficiary receives, attendance at a U.S. military academy, and the beneficiary's death or disability. Two flexibility valves reduce the odds of ever paying it: the account owner can change the beneficiary to another member of the family — a sibling, a cousin, a future grandchild, even yourself — with no tax consequence, and since 2024, money that has been in the account long enough can roll into a Roth IRA for the beneficiary, which is covered in The 529-to-Roth IRA Rollover, Explained.
Where a 529 belongs in the order of operations
A 529 is a good account that should usually not be the first one funded. The employer match in a workplace plan pays an instant 100% return no education account can match, and retirement has no financial aid office and no loan program — the reasoning is laid out in 529 or Your Own Retirement First? Once retirement saving is on a sustainable trajectory, the 529 becomes the natural next home for education money, ahead of a taxable account, because the tax-free exit is worth more the longer the money compounds. Open the account earlier than you fund it seriously, though: two of the plan's best features — the Roth rollover and plain tax-free compounding — reward accounts that have simply existed for a long time.
Investing inside the account, and who controls it
A 529 is a container, not an investment. Inside it, plans typically offer three shapes of portfolio: an age-based (enrollment-date) track that starts growth-heavy and automatically shifts toward bonds and cash as the beneficiary nears college age; static portfolios that hold a fixed stock/bond mix until you change it; and individual fund options for people who want to assemble their own. Fees vary more than the brochures suggest — age-based tracks in low-cost state plans can run under 0.20% a year in total expenses, while advisor-sold plans and plans in high-cost states can exceed 0.80%. On money invested for 18 years, that spread is worth several thousand dollars, and it is the main reason to compare plans nationally when your state offers no tax break worth keeping. Federal law allows investment changes twice per calendar year, plus once whenever the beneficiary changes.
Control sits with the account owner — usually a parent or grandparent — not the beneficiary. The owner chooses investments, directs withdrawals, and can change the beneficiary; the beneficiary has no legal claim on the account and cannot spend it. That control is the structural difference from a custodial account, and it is also why a parent-owned 529 is treated gently on the FAFSA: it is reported as a parental asset, assessed at a maximum rate of 5.64% in the aid formula, and qualified distributions from a parent-owned account are not counted as student income. A grandparent-owned 529 is not reported as an asset at all under the current FAFSA, though families should confirm the treatment in the year they file, since aid rules are revised periodically.
Official documentation and references
- IRS — Publication 970: 529 plans (qualified tuition programs), benefits and qualified expenses
- IRS — 529 plans: questions and answers
Keep going
- 529 or Your Own Retirement First? (And the 529-to-Roth Escape Hatch)
- 529-to-Roth IRA Rollover: The $35,000, 15-Year, and 5-Year Rules
- Roth IRA, Explained: How It Works, Who Can Contribute, 2027 Limits
- Custodial Roth IRA for Kids: The Earned-Income Rule, Explained
- New Baby, New Money Rules: The First 6 Moves
- Superfunding a 529: The Five-Year Election, Explained
Educational disclaimer: This article is general education, not personalized financial, tax, legal, or benefits advice. Primary sources, plan documents, and — for insurance and estate topics — your state's law and licensed professionals govern your situation. All numbers in examples are illustrative.