A 529 withdrawal is only ever taxed on the earnings portion, never on the contributions you originally put in, and that distinction is the key to understanding every rule that follows. Spend the money on a qualified expense and the earnings come out tax-free too. Spend it on something else, and only the earnings face income tax plus a 10% penalty — the money you contributed is always yours to withdraw without cost. The rest is a matter of knowing exactly what counts and when.
How it works: what counts as qualified
Federal law defines qualified higher-education expenses fairly broadly, and 2026 adds a few extras beyond the traditional list:
- Tuition and mandatory fees at any accredited college, university, or vocational school, and up to $10,000 per year for K-12 tuition (check whether your state conforms — some do not extend the tax benefit to K-12 withdrawals even though federal law allows it).
- Books, supplies, and equipment required for enrollment, including a computer, software, and internet access if the student uses it primarily while enrolled.
- Room and board, capped at the school's published cost-of-attendance figure, and only if the student is enrolled at least half-time.
- Registered apprenticeship program expenses, for programs registered with the Department of Labor.
- Student loan repayment, up to $10,000 lifetime per beneficiary, and another $10,000 lifetime per sibling if you change the beneficiary to use it.
- A 529-to-Roth IRA rollover, up to $35,000 lifetime, once the account has been open at least 15 years — not a withdrawal in the traditional sense, but a qualified move that avoids tax and penalty.
The penalty math on non-qualified withdrawals
Say a family withdraws $10,000 from a 529 for an expense that turns out not to qualify, and $4,000 of that withdrawal represents investment earnings while $6,000 is original contributions.
|
Qualified withdrawal |
Non-qualified withdrawal |
| Contributions ($6,000) |
Tax-free, always |
Tax-free, always |
| Earnings ($4,000) |
Tax-free |
Taxed as ordinary income |
| 10% penalty on earnings |
None |
Applies to the $4,000 |
| Hypothetical cost (22% bracket) |
$0 |
~$880 income tax + ~$400 penalty = ~$1,280 |
Notice the penalty applies to $4,000, not the full $10,000 — a detail that surprises people who assume the entire withdrawal is at risk. Several situations waive the 10% penalty (though the earnings are still taxed as income): the beneficiary receives a tax-free scholarship (up to that amount), attends a U.S. military academy, or becomes disabled or dies.
Timing and record-keeping rules
- Match the distribution year to the expense year. A 529 distribution taken in December for a spring semester bill due in January can create a mismatch between the 1099-Q and the expenses reported on your tax return — pay attention to your school's billing calendar, not just the semester dates.
- Reduce qualified expenses by any amount covered by tax credits. If you claim the American Opportunity Tax Credit or Lifetime Learning Credit on $4,000 of tuition, that same $4,000 cannot also be treated as a qualified 529 expense.
- Decide who receives the distribution. Funds can go to the account owner, the beneficiary, or directly to the school — the 1099-Q is issued to whoever receives the money, which affects whose tax return needs to reflect it.
- Keep receipts for at least three years, longer if you want a comfortable buffer, since the burden of proving an expense was qualified falls on the account owner if ever questioned.
Common mistakes
Withdrawing more than the adjusted qualified expense total. Once tax credits reduce your qualified expense figure, withdrawing the original full tuition bill amount can push part of the distribution into non-qualified territory.
Assuming room and board has no cap. It is capped at the school's official cost-of-attendance allowance for room and board, not whatever you actually spent on housing.
Missing the half-time enrollment requirement for room and board. A student below half-time enrollment cannot use 529 funds for room and board tax-free, even if they are technically still taking classes.
Letting the distribution and expense fall in different tax years. Pull funds in the same calendar year the expense is paid, especially around the December-January semester boundary.
FAQ
Can I withdraw 529 funds for a laptop?
Yes, if the beneficiary is enrolled and uses the computer primarily during enrollment — this has been a qualified expense since 2015.
What happens to unused 529 funds?
You can change the beneficiary to a family member penalty-free, use up to $35,000 for a Roth IRA rollover if the account is old enough, or take a non-qualified withdrawal and pay tax and penalty only on the earnings.
Does a scholarship let me avoid the penalty?
Yes. You can withdraw up to the scholarship amount without the 10% penalty, though the earnings portion is still taxed as income.
Can grandparents withdraw from a 529 they own for a grandchild?
Yes, and under current FAFSA rules, grandparent-owned 529 distributions no longer count against financial aid eligibility the way they once did.
Where to go next
If you are still deciding how to structure education savings in the first place, compare accounts in custodial account vs 529 plan for 2026. Families balancing a 529 alongside a new baby's other expenses may also want how to financially prepare for a baby in 2026, and retirement savers weighing their own tax-advantaged accounts can see how to open a solo 401k in 2026.