How a 529 plan actually works
By Luigi PooleUpdated
A 529 is a state-sponsored account that grows untaxed and pays out tax-free for qualified education costs. Contributions earn no federal deduction, though many states offer one. A non-qualified withdrawal is taxed and penalized only on its earnings portion, never on the money you put in.
A 529 is an ordinary investment account with an education-shaped tax rule bolted on. You fund it with money you have already paid federal income tax on, the balance grows without being taxed along the way, and withdrawals come out entirely tax-free provided they pay for qualified education costs. That is the whole federal bargain: nothing deducted going in, nothing owed coming out.
Almost everything else about a 529 varies. Each state sponsors its own plan with its own fee schedule and fund menu, and the tax break for contributing is a state matter rather than a federal one, so the account your neighbor recommends may be worth nothing to you. Two questions decide whether a 529 belongs in a household's plan, and neither is the one people usually ask. What happens if the money goes unused? And should the money be going into a 529 at all, rather than into your own retirement?
The tax break, and the part your state decides
The federal layer is uniform and simple. No deduction for contributing, no tax on dividends, interest, or realized gains inside the account, and no tax on a qualified withdrawal. There is no income limit on who may contribute and no cap on the account balance beyond a plan-level ceiling set high enough that most families never approach it.
The state layer is where plans stop resembling each other. Many states allow a deduction or a credit against state income tax for contributing, usually only to that state's own plan. A handful of tax-parity states honor contributions to any state's plan. Several states offer nothing, some because they levy no income tax to deduct against. A few add a matching grant for lower-income savers, which is the most valuable and least-known benefit in the whole category.
The rule that follows is short. If your state gives a break and its plan is inexpensive, use the home plan and take the break. If your state gives nothing, you are a free agent: choose on expense ratios and fund quality, exactly the way you would evaluate the menu inside a workplace plan — the reasoning in how a 401(k) works applies unchanged. Favor direct-sold plans over advisor-sold ones, which carry sales charges that quietly outweigh most state deductions.
What the shelter is worth depends entirely on how long it runs. Compare a 529 with a taxable brokerage account holding identical investments, funded at $250 a month from birth to college:
| Line | 529 plan | Taxable account |
|---|---|---|
| Contributed over 18 years | $54,000 | $54,000 |
| Balance at 6% a year | $96,840 | $96,840 |
| Tax on $42,840 of earnings at withdrawal | $0 | $6,426 |
| Available for tuition | $96,840 | $90,414 |
The gap is $6,426, and that figure flatters the taxable account: it assumes long-term capital gains at 15% and ignores the tax owed every year on dividends and on any rebalancing along the way. Start later and the advantage shrinks fast, because the shelter is on growth and a short runway produces little of it. A 529 opened when a child is fifteen is a savings account with paperwork.
What actually counts as qualified
Qualified higher-education expenses are narrower than the phrase suggests, and the boundaries matter because a withdrawal that misses them is taxed:
- Tuition and mandatory fees at any eligible institution, including community colleges, most trade schools, and many foreign universities.
- Books, supplies, and required equipment — required by the course, not merely useful for it.
- A computer, software, and internet access, provided the student uses them primarily while enrolled.
- Room and board, but only if the student is enrolled at least half-time, and only up to the school's published cost-of-attendance allowance. Off-campus rent counts against that same allowance, not against what you actually pay.
- Registered apprenticeship costs — fees, books, supplies, and required equipment.
- Tuition below college level, up to an annual per-student cap, and student loan repayment, up to a lifetime cap per beneficiary that also extends separately to the beneficiary's siblings.
Transportation, health insurance, sports and club fees, and the flight home at Thanksgiving are not qualified, however unavoidable they feel.
One coordination rule catches attentive families rather than careless ones. The same tuition dollar cannot support both a tax-free 529 withdrawal and an education tax credit. Where a credit is available, it is usually worth paying that slice of tuition from outside the 529 to claim it, and reserving 529 money for everything above it.
The penalty applies to earnings, not to your money
The most common reason people avoid 529s is a misreading of the penalty. A non-qualified withdrawal is not penalized in full. Every withdrawal comes out pro-rata, part return of contributions and part earnings, in the same ratio as the account itself. Contributions are always returned untaxed and unpenalized; only the earnings portion is taxed as ordinary income to whoever receives the money, with an additional 10% on that same earnings portion.
Take a $30,000 balance built from $18,000 of contributions, so 40% of the account is earnings, and withdraw $10,000 for something that does not qualify:
| Line | Amount |
|---|---|
| Withdrawal | $10,000 |
| Return of contributions (60%) | $6,000 |
| Earnings portion (40%) | $4,000 |
| Income tax on earnings at 22% | $880 |
| Additional 10% tax on earnings | $400 |
| Total tax cost | $1,280 |
That is 12.8% of the withdrawal, not 10% of the account — a real cost, and a smaller one than the reputation. The additional 10% is also waived outright, though income tax on earnings still applies, when the beneficiary receives a scholarship (up to the scholarship amount), attends a U.S. service academy, becomes disabled, or dies.
Changing the beneficiary is the first escape valve
Before any of that arithmetic matters, there is a simpler answer to unused money: change who the account is for. The owner can name a new beneficiary from a broad family circle — a sibling, a stepsibling, a parent, a niece or nephew, a first cousin, a spouse, or the owner personally — with no tax and no penalty. The balance does not expire, there is no age by which it must be spent, and nothing forces the money out.
That makes one account a sequential resource rather than a per-child commitment. A family with three children can run a single account, spend it on the eldest, and redirect the remainder. The main trap is generational: naming a beneficiary one generation below the current one, a grandchild in place of a child, can be a taxable gift.
Run your numbers529 plan calculatorThe retirement rollover, and what it does not do
A newer provision lets leftover 529 money move into a Roth IRA in the beneficiary's name, and it is genuinely useful — mostly as an answer to an objection rather than as a plan. The conditions are tight. The account must have been open for a substantial minimum number of years. The beneficiary needs earned income at least equal to the amount rolled. Each year's rollover is capped by that year's Roth contribution limit and consumes it, so a rollover crowds out the beneficiary's own contributions. Recent contributions and their earnings are excluded, and a lifetime cap per beneficiary limits the total.
The practical shape is a slow drip over several years, not an exit. Its real value is removing the "what if they don't go" objection from the decision entirely, which is what was stopping otherwise sensible families from starting at all. Note also that state conformity here is uneven, so a rollover that is clean federally can still be a taxable event where you live.
Superfunding: buying compounding time
Contributions to a 529 are gifts, and gifts above the annual exclusion eat into a lifetime exemption. A 529 has a feature no other account does: a five-year election, made on a gift tax return, that treats one large contribution as if it were spread evenly across five years of annual exclusions. You may then make no further exclusion-free gifts to that beneficiary during the period, and dying inside it pulls a pro-rated share back into your estate.
The reason to do it has nothing to do with the gift rules and everything to do with time in the market, which is the entire subject of how compound interest works. The same total contributed as a lump at birth compounds for eighteen years; contributed in equal annual installments, the average dollar compounds for about nine.
| $50,000 into a 529 — all at once versus spread over eighteen years | |
|---|---|
| Lump sum at birth | about $142,700 |
| Equal annual installments | about $85,800 |
6% annual return, no fees, balance at age 18. Installments contributed at the end of each year.
The difference is roughly $56,900 on identical contributions, which is why front-loading is the standard advice for grandparents with capacity and irrelevant for parents without it. Grandparent-owned accounts became meaningfully better after the federal aid form stopped counting distributions from them as student income — a change that turned the worst-treated 529 into one of the best.
Your retirement comes first, and it is not close
The ordering question deserves more attention than the account mechanics. There are federal loans, grants, scholarships, work-study programs, and payment plans for college. There is nothing analogous for retirement — nobody lends you thirty years of living costs at a subsidized rate. A parent who underfunds retirement to fully fund tuition has not helped the child; they have deferred the cost and added themselves to it.
A defensible order: an emergency fund first, then the full employer retirement match, then any debt costing more than a portfolio plausibly returns, then retirement contributions at a rate that actually reaches a target, then a health savings account if you have one — its tax treatment beats a 529's on every axis — and only then a 529. Aid formulas reinforce the same order, since retirement accounts are excluded from them entirely while a 529 is not.
Once education savings are genuinely next in line, the sizing question is ordinary: pick a share of projected costs you intend to cover rather than the whole number, and work backward. The 529 calculator turns a monthly contribution and a time horizon into a balance, and the compound growth calculator shows what changing the start date does to the same contributions — which, for this account more than most, is the variable that decides the outcome.
Common follow-ups
Should I use my own state's plan?
+
Only if your state gives a deduction or credit for it and the plan's costs are reasonable. Several states offer no income-tax break at all, some because they levy no income tax, and a handful honor contributions to any state's plan. Without a home-state break you are a free agent — shop nationally on fees.
What happens if my child gets a full scholarship?
+
You can withdraw up to the scholarship amount without the 10% additional tax, though ordinary income tax still applies to the earnings portion of that withdrawal. Most families do something cheaper instead: change the beneficiary, or leave the money for graduate school, which costs nothing at all.
Does a 529 hurt financial aid?
+
Much less than people assume. An account owned by a parent is treated as a parental asset on the federal aid form and only a small share of its value reduces aid. The same money held in the student's own name is assessed several times more heavily.
Can I use a 529 for private school or student loans?
+
Federally, yes — tuition below college level up to an annual per-student cap, and student loan repayment up to a lifetime cap per beneficiary. States do not all conform, so a withdrawal that is perfectly qualified federally can still be taxed by your state and claw back past deductions.
Who controls the money — me or my child?
+
You, as the account owner. Unlike a custodial account, a 529 never transfers to the beneficiary at the age of majority. The owner picks the investments, decides when to withdraw, and can change the beneficiary at will; the beneficiary holds no legal claim to the balance.
Can I open a 529 for myself?
+
Yes. You can be both owner and beneficiary, which makes a 529 a reasonable container for a career change, a graduate degree, or a professional certificate at a qualifying school. Naming yourself also gives you somewhere to park a balance a child never needed rather than withdrawing it.