IRS Section 529 Rules: Qualified Expenses and Roth Rollovers

A 529 plan is a state-sponsored, tax-advantaged education savings account authorized under Section 529 of the Internal Revenue Code, and the core 529 plan rules are straightforward: money grows without annual federal tax, comes out federal-tax-free when spent on qualifying education costs, and gets hit with income tax plus a 10% penalty on earnings if you use it for anything else. What counts as qualifying has expanded significantly, with legislation signed in July 2025 doubling the K–12 withdrawal cap and broadening eligible expenses starting January 1, 2026.

How the Account Is Structured

Every 529 has two roles. The account owner controls investments and withdrawals. The beneficiary is the future student whose education the money will fund. The beneficiary does not have to be your child, or even a relative.

Each state sponsors at least one 529 program, and you can enroll in any state’s plan regardless of where you live. The money then works at eligible schools nationwide and at many institutions abroad. Plans typically offer a menu of investment portfolios, including age-based options that shift toward more conservative holdings as the beneficiary nears college age. Fees and investment quality vary by state, so comparing plans is worth the effort even if your home state offers a tax deduction for in-state contributions.

Federal and State Tax Benefits

Earnings inside a 529 are not reduced by federal income tax each year.1Office of the Law Revision Counsel. 26 USC 529 – Qualified Tuition Programs When you withdraw for qualified education expenses, those earnings come out federal-tax-free as well. No annual drag on dividends, interest, or capital gains, and no tax at the exit as long as the money pays qualifying costs.

Your balance always splits into two buckets: original contributions, which were already taxed when you earned the money, and accumulated earnings. Only the earnings piece is what the tax shelter protects, because contributions come back tax-free in any withdrawal regardless of purpose. Keep records that let you distinguish the two at withdrawal time.

State treatment is not uniform. Roughly 30 states and Washington, D.C. offer residents a state income tax deduction or credit for 529 contributions, with annual caps that generally fall between $2,000 and $20,000 depending on the state and filing status. A handful of states offer no state benefit at all, and some grant the deduction only for contributions to their own plan.

Watch for a rollover trap: roughly 20 states will recapture any state tax deduction you previously claimed if you roll your 529 into another state’s plan. The recaptured amount gets added back to your state taxable income for the year of the rollover.

Contribution Limits and Gift Tax Rules

The IRS does not set an annual contribution cap for 529 plans. Instead, each state sets its own aggregate lifetime limit, which generally ranges from about $235,000 to over $620,000. Once contributions plus growth reach that cap, no new contributions are allowed, though existing funds continue to grow.

Contributions are treated as gifts for federal tax purposes. In 2026, a single person can contribute up to $19,000 per beneficiary without triggering any gift tax obligation or needing to file a gift tax return.2Internal Revenue Service. Gifts and Inheritances A married couple can combine their exclusions and contribute $38,000 per beneficiary.

Section 529 also includes an accelerated gifting option that no other account offers. You can front-load up to five years of annual exclusions into a single contribution. That means one person can contribute $95,000 at once, or a married couple can contribute $190,000, without owing gift tax.1Office of the Law Revision Counsel. 26 USC 529 – Qualified Tuition Programs The trade-off: you must file IRS Form 709 for the year of the contribution and make no additional gifts to that beneficiary for the next four years. If the contributor dies before the five-year period ends, the portion allocated to remaining years gets pulled back into their taxable estate.

What Counts as a Qualified Expense

At colleges, universities, and vocational schools, qualified expenses include tuition, mandatory enrollment fees, books, supplies, and equipment required for courses.3Internal Revenue Service. Topic No. 313, Qualified Tuition Programs (QTPs) Computer equipment, software, and internet access count if the beneficiary primarily uses them for school. The school must be eligible, meaning it participates in the federal student aid program, which covers almost all accredited public and private nonprofit postsecondary institutions.4Internal Revenue Service. Eligible Educational Institution

Room and board qualifies only if the student is enrolled at least half-time. For on-campus housing, the qualified amount is whatever the school actually charges. For off-campus housing, it is capped at the room-and-board allowance the school uses for federal financial aid calculations. Spending above that allowance on a nicer apartment is not a qualified expense.

K-12 Expenses (Expanded for 2026)

Starting January 1, 2026, the annual cap on tax-free 529 withdrawals for K–12 expenses doubled from $10,000 to $20,000 per beneficiary. That limit is an aggregate federal cap across all 529 accounts a student may have, regardless of how many family members own accounts on their behalf.

The 2026 legislation also broadened what counts beyond just tuition:

  • Curriculum and instructional materials: books, online educational resources, and structured homeschool curricula
  • Academic tutoring from a licensed teacher, a current or former teacher at an eligible institution, or a subject matter expert (the tutor cannot be related to the student)
  • Testing fees, including standardized tests, AP exams, and college entrance exams like the SAT and ACT
  • Dual enrollment tuition for college courses taken while still in K–12
  • Educational therapies for students with disabilities (occupational, behavioral, physical, and speech-language therapy) provided by a licensed or accredited practitioner

Apprenticeships, Credentialing, and Student Loans

Fees, books, supplies, and equipment for any apprenticeship program registered with the U.S. Department of Labor can be paid with 529 funds.3Internal Revenue Service. Topic No. 313, Qualified Tuition Programs (QTPs)

Postsecondary credentialing programs are another recent addition. Tuition, fees, books, supplies, equipment, and required testing or continuing education fees now qualify for programs authorized under the Workforce Innovation and Opportunity Act, military credentials, and other government-approved credential programs.3Internal Revenue Service. Topic No. 313, Qualified Tuition Programs (QTPs)

You can also withdraw up to $10,000 over the beneficiary’s lifetime to pay down the principal or interest on their qualified education loans.1Office of the Law Revision Counsel. 26 USC 529 – Qualified Tuition Programs The $10,000 cap applies separately to each of the beneficiary’s siblings, so a family with three children could potentially use $30,000 in 529 funds for loan repayment across all three.

What Still Does Not Qualify

Transportation, health insurance premiums billed separately from tuition, and non-mandatory student activity fees are not qualified expenses. Pay them with 529 money and the earnings portion of that withdrawal becomes taxable.

Coordinating With Education Tax Credits

This is where families routinely leave money on the table. You cannot use 529 funds and claim an education tax credit like the American Opportunity Tax Credit (AOTC) for the same dollar of expenses. Qualified expenses eligible for tax-free 529 withdrawal must be reduced by any amount used to generate a tax credit.1Office of the Law Revision Counsel. 26 USC 529 – Qualified Tuition Programs

The AOTC is worth up to $2,500 per student per year for the first four years of college, and 40% of it is refundable. In many cases, the better move is to pay enough tuition out of pocket, or from non-529 savings, to claim the full credit, then use 529 funds for remaining qualified expenses like room and board or books. Ignore the overlap and you either forfeit the credit or accidentally create a taxable non-qualified 529 withdrawal.

Non-Qualified Withdrawals and Penalty Waivers

Withdraw for anything outside the qualified list and the earnings portion is taxed as ordinary income at the recipient’s marginal rate, plus a 10% additional federal penalty.5Internal Revenue Service. Form 1099-Q Instructions Your original contributions still come back tax-free.

The plan administrator issues Form 1099-Q after any distribution, reporting the gross amount in Box 1 and the earnings portion in Box 2. You calculate any penalty on Form 5329 when you file your return.

Several situations waive the 10% penalty, though the earnings are still taxed as ordinary income:

  • Death or permanent disability of the beneficiary
  • Tax-free scholarships, veterans’ educational assistance, or employer-provided educational assistance received by the beneficiary (waiver applies up to the amount of the award)
  • Attendance at a U.S. military service academy (waiver applies up to the cost of attendance)

The waiver in each case is capped at the specific amount of the award, benefit, or academy cost. Any withdrawal beyond that amount remains subject to the full 10% penalty on earnings.

Changing Beneficiaries and Rolling Over Accounts

You can change the beneficiary at any time without tax consequences, as long as the new beneficiary is a family member of the previous one. The IRS defines “family member” broadly to include spouses, children, siblings, parents, nieces, nephews, first cousins, and in-laws.1Office of the Law Revision Counsel. 26 USC 529 – Qualified Tuition Programs If your oldest finishes school with money left over, redirecting the account to a younger sibling or a cousin is straightforward.

You can also roll funds from one state’s 529 into another without federal tax, but only once per beneficiary in any 12-month period, and the transfer must be completed within 60 days of the distribution. Just watch for the state recapture rule if your home state claws back previously claimed deductions on outbound rollovers.

Rollovers into an ABLE account for the beneficiary or a family member with a qualifying disability are also permitted. That option, previously set to expire at the end of 2025, is now permanent. The rollover must happen within 60 days, and the amount counts toward the ABLE account’s annual contribution limit.

Rolling Unused Funds Into a Roth IRA

If the beneficiary finishes school with money left over, you can roll unused funds into a Roth IRA in the beneficiary’s name. The lifetime cap is $35,000 per beneficiary, and several conditions apply:1Office of the Law Revision Counsel. 26 USC 529 – Qualified Tuition Programs

  • The 529 account must have been open for at least 15 years
  • Contributions made within the last five years, along with their earnings, are ineligible
  • Each year’s rollover cannot exceed the Roth IRA contribution limit ($7,500 in 2026 for someone under 50), and this limit is shared with any other Roth contributions the beneficiary makes that year
  • The beneficiary must have earned income at least equal to the rollover amount for the year

At the annual pace, reaching the full $35,000 takes about five years of rollovers. This is a long-term safety valve, not a quick exit strategy for an overfunded account.

How a 529 Affects Financial Aid

A parent-owned 529 is reported as a parent asset on the FAFSA, where it can reduce need-based aid eligibility by up to 5.64% of the account’s value. A $50,000 balance might reduce aid by roughly $2,800. Far less impactful than the same money in a student-owned bank account, which would be assessed at 20%.

Under FAFSA rules effective with the 2024–2025 cycle, distributions from a grandparent-owned 529 are no longer reported as student income. Before that change, grandparent distributions could reduce aid by as much as 50 cents per dollar. That barrier is gone.

Estate Planning and Account Succession

529 contributions are treated as completed gifts for federal transfer tax purposes, which removes the contributed amount from the donor’s taxable estate. The five-year accelerated gift election is particularly useful here: a grandparent can move $95,000, or $190,000 as a married couple, out of their estate in a single year while retaining flexibility to change beneficiaries later.2Internal Revenue Service. Gifts and Inheritances If the contributor dies before the five-year period ends, the portion allocated to remaining years gets included in their gross estate.

Most plans let you name a successor owner who takes control of the account if you die. If your plan offers that option, use it. Without a named successor, default rules vary by plan and may transfer ownership to the beneficiary or their parent, which might not match your intentions.