How a 529 Plan Actually Works
A 529 is straightforward while the money goes in and complicated at the point it comes out. Contributions are made from after-tax money, growth is untaxed, and distributions are untaxed if they pay qualified education expenses. The planning is entirely about that last condition, because the penalty for getting it wrong falls on the earnings.
- Federal treatment:: No federal deduction going in; tax-free growth and tax-free qualified withdrawals.
- State deductions vary:: Many states offer a deduction or credit for contributions, sometimes only to their own plan.
- Qualified expenses are defined:: Tuition, fees, books, required equipment, and room and board within limits for enrolled students.
- Non-qualified costs:: Income tax plus an additional penalty on the earnings portion, not on the contributions.
Where the AI summary above gets this wrong
"529 money can be used for any education expense tax-free."
That's surface-true. Here's what it misses:
- The same expense cannot be used twice — Expenses paid with tax-free 529 money cannot also generate an education tax credit. Families who claim a credit and pay the same tuition from a 529 create a taxable distribution without realising it. The usual answer is to pay some tuition from other funds specifically to support the credit.
- Room and board has conditions — It qualifies only for a student enrolled at least half time, and only up to the allowance the institution publishes for cost of attendance. Rent above that figure is not qualified, and an off-campus student living expensively is a common source of an unexpected taxable distribution.
- Timing has to match the tax year — The distribution and the expense should fall in the same calendar year. Paying a January tuition bill in December from the plan, or taking the money out in January for a bill already paid in December, creates a mismatch that is difficult to explain afterwards.
01 Contributions and growth
Anyone can contribute to a 529 for any beneficiary, and contributions are gifts for federal gift tax purposes. There is no federal deduction, but many states allow a deduction or credit against state tax, frequently only for contributions to that state's own plan.
The account owner keeps control. The beneficiary can be changed to another qualifying family member, and the owner decides when distributions are made — which is the main structural advantage over a custodial account.
Contributions count against the annual gift exclusion, with an election available to treat a larger contribution as spread over several years. That front-loading is the standard technique for a grandparent wanting to move a substantial sum, and it pairs with the route out of an over-funded plan that makes generous funding less risky than it once was.
Shows: the growth on regular 529 contributions over the period shown, which is the amount that escapes tax entirely when spent on qualified education expenses. Ignores: market variability, plan fees, any state tax deduction on the way in, and the tax and penalty that apply if the money is not used for qualified expenses.
Source: 529 plans: questions and answers
02 What counts as a qualified expense
Tuition and fees, books, supplies and equipment required for enrollment all qualify. Computers and internet access qualify where used primarily by the beneficiary during enrollment. Room and board qualifies for a student enrolled at least half time, capped at the institution's published cost of attendance allowance.
The list has widened. Limited amounts of K-12 tuition, registered apprenticeship costs, and a lifetime limit of qualified student loan repayment for the beneficiary or a sibling all now qualify — though state tax treatment does not always follow the federal expansion.
Transport, health insurance and general living costs above the published allowance do not qualify. Neither does a car, however necessary it is for getting to class.
03 Coordination, and money left over
An expense paid with tax-free 529 money cannot also support an education tax credit. Because the credits are frequently worth more per dollar than the 529 exemption, the usual approach is to pay enough tuition from other funds to claim the credit fully, and use the plan for the rest.
Money that is never used for education is not lost. The beneficiary can be changed to another family member, the account can be left for a future generation, or a limited amount can be rolled to a Roth IRA for the beneficiary under conditions set out in the 529 to Roth route.
A non-qualified withdrawal is taxed on the earnings portion at the recipient's rate, plus an additional penalty. Contributions come back untaxed. Where the beneficiary receives a scholarship, an amount up to the scholarship can be withdrawn without the penalty, though the earnings are still taxable.
Source: Publication 970
The mistakes I see are almost never about contributing and almost always about the year the money comes out. Match the distribution to the expense in the same calendar year, keep the invoices, and decide in advance how much tuition you will pay from outside the plan to protect the education credit. Half an hour of planning in August prevents a taxable distribution that nobody intended and that is very hard to unwind in April.
FAQ
What happens to 529 money if my child does not go to university?
The beneficiary can be changed to another qualifying family member, the account can be kept for a future generation, or a limited amount may be rolled to a Roth IRA for the beneficiary. A non-qualified withdrawal taxes the earnings and adds a penalty.
Can I use a 529 and claim an education tax credit?
Not on the same expenses. Tuition paid with tax-free 529 money cannot also support a credit, so families usually pay some tuition from other funds specifically to claim the credit.
Does rent count as a qualified 529 expense?
Only for a student enrolled at least half time, and only up to the institution's published cost of attendance allowance for room and board. Anything above that is a non-qualified distribution.
Sources
Regulator references
- Topic 313: qualified tuition programs · Internal Revenue Service · 2026How contributions, growth and distributions from a 529 are treated.Last verified: 2026-09-07
- 529 plans: questions and answers · Internal Revenue Service · 2026Who can contribute, beneficiary changes, and what counts as a qualified expense.Last verified: 2026-09-07
- Publication 970 · Internal Revenue Service · 2026The coordination rules between a 529 and the education tax credits.Last verified: 2026-09-07
Calculator unit tests · the assertions this page's worked example is checked against, and their last result
Changelog
- 2026-09-07 — initial publish (new format)
Run this rule against your situation
See what this rule does to your own projection — month by month, to age 90.
Join the Waitlist