The rules for 529 withdrawals come down to a single test: the money has to pay for qualified education expenses of the beneficiary, in the same calendar year you take the distribution, at a school eligible for federal student aid. Stay inside that box and the withdrawal is federally tax-free. Step outside it and the earnings portion gets taxed as ordinary income and hit with an additional 10% penalty.1Internal Revenue Service. 1099-Q What Do I Do? Your original contributions always come back tax-free and penalty-free, because you funded the account with after-tax dollars.
What Qualifies as an Education Expense
At an eligible postsecondary institution, qualified expenses include tuition, mandatory fees, books, supplies, and equipment required for enrollment or coursework.2Office of the Law Revision Counsel. 26 USC 529 – Qualified Tuition Programs Computers, peripherals, software, and internet access also qualify, provided the beneficiary uses them primarily for school while enrolled.3Internal Revenue Service. 529 Plans: Questions and Answers Special needs services required by the school for a student with a disability count too.
Eligible institutions are the colleges, universities, vocational schools, and other postsecondary schools that participate in federal student aid programs run by the U.S. Department of Education. Most accredited U.S. schools qualify, along with many abroad.3Internal Revenue Service. 529 Plans: Questions and Answers
Room and Board
Room and board is qualified only if the student is enrolled at least half-time, measured against the full-time workload the school defines.4Internal Revenue Service. Publication 970 (2025), Tax Benefits for Education For a student in campus housing, the qualified amount is what the school actually charges. For a student living off campus, the cap is the room and board allowance in the school’s published cost of attendance for financial aid.2Office of the Law Revision Counsel. 26 USC 529 – Qualified Tuition Programs Anything above that number is a non-qualified distribution. Get the cost of attendance figure from the financial aid office before signing a lease so you know what you can safely withdraw.
K-12 Tuition
Up to $10,000 per year can be withdrawn tax-free to pay tuition at a public, private, or religious elementary or secondary school. That cap is an aggregate across all 529 accounts for the same beneficiary, not a per-account amount.3Internal Revenue Service. 529 Plans: Questions and Answers Only tuition qualifies at the K-12 level. Books, supplies, and room and board for younger students are not qualified expenses under federal rules.
Student Loan Repayment
You can use up to $10,000 lifetime per borrower to repay the beneficiary’s own qualified education loans. A separate $10,000 lifetime limit applies to each of the beneficiary’s siblings.3Internal Revenue Service. 529 Plans: Questions and Answers These are lifetime caps, not annual ones. Once you hit $10,000 for a given borrower, the loan-repayment door closes for that person.
The Same-Calendar-Year Rule
The IRS matches distributions to expenses by tax year, not academic year. A 529 withdrawal must happen in the same calendar year the qualified expense is paid. Pull the money in December for a bill you don’t pay until January and the distribution can be treated as non-qualified, with tax and penalty on the earnings.
The reverse trap is just as common. If tuition gets paid in December but you don’t request the distribution until January, the expense and the withdrawal sit in different tax years. Keep the payment and the withdrawal on the same side of December 31.
Coordinating With Education Tax Credits
You can claim the American Opportunity Tax Credit or the Lifetime Learning Credit in the same year you take a 529 distribution, but the same dollar of expense cannot be used to support both. The IRS calls this the no-double-dipping rule.4Internal Revenue Service. Publication 970 (2025), Tax Benefits for Education
The AOTC is worth up to $2,500 per eligible student, calculated as 100% of the first $2,000 in qualified expenses plus 25% of the next $2,000.5Internal Revenue Service. American Opportunity Tax Credit To get both benefits at once, set aside $4,000 of qualified expenses to support the credit and pay the rest from the 529. The math for sizing your tax-free 529 withdrawal:
- Add up total qualified education expenses for the year.
- Subtract tax-free scholarships, grants, and employer tuition reimbursement.
- Subtract the expenses you’re using to claim the education credit (up to $4,000 for the AOTC).
- What remains is the ceiling on a tax-free 529 distribution.
Skipping this calculation is one of the more expensive mistakes families make. If total qualified expenses are $5,000 and you withdraw the full $5,000 from the 529, you can’t also use $4,000 of those same dollars to claim the AOTC. Either shrink the 529 withdrawal or give up part of the credit.
What Happens on a Non-Qualified Withdrawal
When a distribution doesn’t match qualified expenses, the earnings portion is taxed as ordinary income at the recipient’s rate, and a 10% additional tax is applied to those same earnings.1Internal Revenue Service. 1099-Q What Do I Do? The contribution portion is not taxed and not penalized.
States pile on separately. Many that offered a deduction or credit for your contributions will recapture that benefit on a non-qualified withdrawal, and some impose their own additional tax on the earnings. State treatment varies enough that you should check your specific plan and state rules before pulling money out for a non-qualified purpose.
Exceptions That Waive the 10% Penalty
The 10% additional tax is waived in a few situations, though ordinary income tax on earnings still applies:
- The beneficiary receives a tax-free scholarship, fellowship, or similar grant. The penalty-free withdrawal is capped at the scholarship amount.1Internal Revenue Service. 1099-Q What Do I Do?
- The beneficiary dies or becomes disabled.
- The beneficiary attends a U.S. military academy. The penalty-free amount matches the academy’s annual tuition cost.6FINRED – U.S. Department of Defense Financial Readiness. 529 Education Savings Plans: The Basics for Service Members
The scholarship exception is worth knowing about in advance. A family that saved aggressively and then sees the student earn a large merit award can pull an amount equal to the scholarship with only income tax due on the earnings.
Options for Leftover 529 Money
You don’t have to take a non-qualified withdrawal just because plans changed. Three tax-friendly moves usually beat cashing out.
Change the beneficiary. You can name another qualifying family member as the designated beneficiary of the same account without triggering a distribution. Family member is defined broadly under the tax code and includes siblings, parents, children, first cousins, and their spouses.
Roll the funds to another 529. A transfer to another 529 plan is tax-free if completed within 60 days, whether the new account is for the same beneficiary or a qualifying family member.7Internal Revenue Service. Guidance on Recontributions, Rollovers and Qualified Higher Education Expenses Under Section 529, Notice 2018-58 Watch for state deduction recapture if you’re moving from an in-state plan to an out-of-state one.
Roll unused funds into a Roth IRA. Starting in 2024, a 529 beneficiary can move leftover funds into a Roth IRA in their own name, up to a $35,000 lifetime cap.8Internal Revenue Service. Publication 590-A (2025), Contributions to Individual Retirement Arrangements (IRAs) The conditions are strict:
- The 529 account must have been open for the current beneficiary for at least 15 years.
- Contributions made within the last five years, and earnings on those contributions, are not eligible.
- Each year’s rollover is capped at the Roth IRA annual contribution limit, which is $7,500 for 2026. Reaching the $35,000 cap takes at least five years at that pace.9Internal Revenue Service. 401(k) Limit Increases to $24,500 for 2026; IRA Limit Increases to $7,500
- The beneficiary must have earned income at least equal to the rollover amount that year.
- Roth IRA income eligibility limits do not apply to this rollover.
- The transfer must go trustee-to-trustee; you can’t take a distribution and redeposit it.8Internal Revenue Service. Publication 590-A (2025), Contributions to Individual Retirement Arrangements (IRAs)
The 15-year clock is the practical hurdle. If there’s any chance the beneficiary won’t use all the funds, open the account early even if early contributions are small. Changing the beneficiary does not reset the clock.
Form 1099-Q and Recordkeeping
Every 529 distribution generates a Form 1099-Q. If the money is paid to the beneficiary or straight to the school on the beneficiary’s behalf, the 1099-Q goes to the beneficiary. If it’s paid to the account owner, the owner gets the 1099-Q.10Internal Revenue Service. Instructions for Form 1099-Q (04/2025) Whoever receives the form carries the burden of proving the distribution paid qualified expenses.
You don’t attach receipts to your return, but you need to be able to produce them if the IRS asks. Keep tuition bills, housing invoices, receipts for books and equipment, and the school’s Form 1098-T. The records need to show the expenses were paid in the same calendar year as the distribution. Estimates aren’t acceptable proof.4Internal Revenue Service. Publication 970 (2025), Tax Benefits for Education
A workable habit: open a folder for each tax year, drop in every education-related receipt and bill as it arrives, and hold the folder for at least three years after filing the return that covers those distributions. If you’re also claiming an education credit, keep that documentation in the same place so you can confirm no expense was counted twice.