A 529 plan is a tax-advantaged account for education costs. You put in money you've already paid tax on, the investments grow without yearly federal tax, and withdrawals are tax-free when they pay for qualified education expenses. The rules have expanded several times, most recently in July 2025, and 2026 is the first tax year with a $20,000 annual cap on tax-free withdrawals for K-12 expenses.
This guide covers how 529 plans work, what counts as a qualified expense in 2026, what happens if you withdraw for something else, the gift tax rules for large contributions, and the newer options to move leftover money to an ABLE account or a Roth IRA. It's based on the federal statute (26 U.S.C. 529), IRS Publication 970, and IRS guidance on 529 plans, gift taxes and IRA limits, all read on Nov. 29, 2026.
The short version
| Feature | Federal rule |
|---|---|
| Who can open or contribute | Anyone; there are no income limits on contributors |
| Federal deduction for contributions | None (some states offer their own) |
| Growth | Not taxed while it stays in the account |
| Withdrawals for qualified expenses | Tax-free up to the beneficiary's adjusted qualified expenses |
| K-12 tuition and related costs | Up to $20,000 per year per beneficiary, starting in 2026 |
| Student loan repayment | Up to $10,000 lifetime per individual |
| Non-qualified withdrawals | Earnings taxed as income plus a 10% additional tax, with exceptions |
| Gift tax | Each contribution counts as a gift; $19,000 annual exclusion per beneficiary in 2026, with a 5-year election |
| Rollover to Roth IRA | Up to $35,000 lifetime, if the account is at least 15 years old |
Sources: 26 U.S.C. 529; IRS Publication 970 (2025); IRS gift tax FAQs; IRS IRA contribution limits page.
How a 529 plan works
The tax code calls these accounts "qualified tuition programs." The IRS says states, state agencies and eligible educational institutions can set them up. There are two kinds:
- Prepaid tuition plans let you buy tuition credits or units at today's prices for future use, generally at participating colleges and universities. Both states and colleges can offer these.
- Education savings plans work like an investment account. You choose from the plan's investment options, and the account's value goes up or down with the markets. Only states offer these.
You don't have to use your own state's plan. The IRS notes that you aren't limited to the plan in your state. Your state may offer a tax deduction or credit only for its own plan, so compare before you choose.
Each account has an owner, usually a parent or grandparent, and a designated beneficiary, the future student. The owner controls the account and can change the beneficiary later.
Contributions
Contributions are made with after-tax money. Publication 970 says you can't deduct contributions on your federal return. There are no income restrictions on who can contribute, and you can contribute to a 529 and a Coverdell education savings account in the same year for the same beneficiary.
There's no federal annual contribution limit. Instead, the law says contributions can't be more than the amount needed to pay the beneficiary's qualified education expenses. In practice, each plan sets its own maximum account balance. Check your plan's documents for its limit.
What counts as a qualified expense in 2026
This is where most of the recent changes are. Tax-free treatment depends on what the money pays for.
College and other postsecondary schools
Qualified expenses at an eligible postsecondary school include:
- tuition and fees;
- books, supplies and equipment required for enrollment or attendance;
- computers, software and internet access used mainly by the beneficiary while enrolled;
- expenses for special-needs services; and
- room and board, if the student is enrolled at least half-time.
Room and board has a cap. Publication 970 says it qualifies only up to the greater of the school's room-and-board allowance in its cost of attendance for federal financial aid, or the actual amount charged if the student lives in school-owned housing. An eligible postsecondary school is generally any accredited college, university or vocational school that can take part in federal student aid programs, including some schools outside the U.S.
K-12 schools
Since 2018, 529 money could pay up to $10,000 a year of tuition at a public, private or religious elementary or secondary school. The 2025 tax law (Public Law 119-21) made two changes:
- A higher cap. The annual limit rises to $20,000 per beneficiary for tax years beginning after Dec. 31, 2025. That means 2026 is the first year with the higher cap.
- More expenses. For distributions made after July 4, 2025, qualified K-12 expenses include more than tuition: curriculum and curricular materials; books and other instructional materials; online educational materials; tutoring or classes outside the home with a qualified, unrelated instructor; fees for standardized achievement tests, Advanced Placement exams and college admission exams; dual-enrollment fees; and educational therapies for students with disabilities provided by a licensed or accredited provider.
The $20,000 cap is per beneficiary per year, across all 529 accounts for that student. It applies only to K-12 costs, not to college.
Apprenticeships and job credentials
Fees, books, supplies and equipment for a registered apprenticeship program certified by the Department of Labor count as qualified expenses.
The 2025 law also added "qualified postsecondary credentialing expenses" for distributions after July 4, 2025. These cover tuition, fees, books, supplies and equipment for a recognized postsecondary credential program, plus testing fees required to get or keep a recognized credential and continuing education required to keep one. The statute defines recognized programs by listing sources, including state workforce program lists under the Workforce Innovation and Opportunity Act and the VA's WEAMS directory. Before you pay for a certificate program with 529 money, confirm that it meets one of the statute's tests, such as appearing on one of those lists.
Student loans
You can use up to $10,000 over the beneficiary's lifetime to pay principal or interest on qualified student loans. A separate $10,000 limit applies to each of the beneficiary's siblings, so a single account can help with more than one person's loans. You can't also deduct student loan interest that was paid with tax-free 529 earnings. Our comparison of subsidized vs. unsubsidized loans explains how federal student loans charge interest.
What doesn't qualify
Publication 970's 529 chapter defines qualified expenses by listing what counts; anything outside those lists doesn't qualify. Room and board above the cap described above also isn't covered.
How withdrawals are taxed
A 529 withdrawal has two parts: your original contributions, which come back tax-free, and earnings. Publication 970 says no tax is due unless the amount withdrawn is more than the beneficiary's adjusted qualified education expenses for the year.
"Adjusted" matters. First, subtract tax-free help such as scholarships, Pell Grants and veterans' benefits from the year's qualified expenses. Then subtract any expenses you used to claim the American opportunity or lifetime learning credit. You can take a tax-free 529 distribution and claim one of those credits in the same year, but not for the same dollars. Our explainer on tax deductions vs. credits shows why credits are usually worth more.
If you withdraw more than the adjusted expenses, the earnings part of the excess is taxable as income. Generally, you also owe a 10% additional tax on that taxable amount.
Exceptions to the 10% additional tax
Publication 970 lists cases in which the 10% doesn't apply, though income tax on the earnings may still be due:
- the beneficiary has died or is disabled;
- the beneficiary received a tax-free scholarship or fellowship, veterans' educational assistance, employer-provided educational assistance or other tax-free educational assistance, up to that amount;
- the beneficiary attends a U.S. military academy, up to the cost of the education; or
- the amount is taxable only because the expenses were used for an education credit.
If a school refunds an expense that was paid with a 529 withdrawal, the beneficiary can put the refunded amount back into a 529 within 60 days to avoid tax on it.
Changing the beneficiary and rolling money over
Plans change, and the 529 rules allow for that.
Changing the beneficiary. There's no income tax if you change the beneficiary to a member of the current beneficiary's family. Publication 970's list is broad. It includes the beneficiary's spouse, children and their descendants, siblings and step-siblings, parents and grandparents, aunts and uncles, nieces and nephews, in-laws, the spouses of those relatives, and first cousins.
Moving to another 529. A rollover to another 529 for the same beneficiary or a family member is tax-free if it's done within 60 days. For the same beneficiary, Publication 970 says generally only one rollover is allowed within 12 months of a previous transfer.
Moving to an ABLE account. You can roll 529 money into an ABLE account for the beneficiary or a family member, within the ABLE account's annual contribution limit. The 2025 law removed this option's Jan. 1, 2026 end date, so it's now permanent.
Rolling leftover money into a Roth IRA
Since 2024, leftover 529 money can move into a Roth IRA for the beneficiary without income tax or the 10% additional tax, if all of these conditions are met:
- The 529 account has been open for the beneficiary for at least 15 years.
- The amount moved doesn't include contributions made in the last five years, or the earnings on them.
- The money goes directly from the 529 plan to the Roth IRA (a trustee-to-trustee transfer).
- Each year's rollover counts against the beneficiary's IRA contribution limit, reduced by any other IRA contributions that year. For 2026, the IRS limit is $7,500 ($8,600 at age 50 or older), or the person's taxable compensation if that's less.
- The lifetime total can't exceed $35,000 per beneficiary.
At the 2026 limit, reaching the $35,000 cap would take at least five years of rollovers: four years at $7,500 and a fifth at $5,000. Our guide to Roth IRAs for beginners explains how the account works once the money is there, and our page on 2026 401(k) and IRA limits has the rest of this year's numbers.
Gift tax rules for big contributions
Each 529 contribution is treated as a completed gift to the beneficiary. For 2026, the IRS annual gift tax exclusion is $19,000 per recipient, and each spouse in a married couple gets their own exclusion, for $38,000 combined. Gifts within the exclusion generally don't require a gift tax return.
The 529 rules add a special option. If you contribute more than the exclusion in one year, you can elect to treat the gift as if it were spread evenly over five years. At the 2026 exclusion, that lets one person contribute up to $95,000 for a beneficiary in a single year, or $190,000 for a couple, without using any of their lifetime gift tax exemption, as long as they make no other gifts to that beneficiary during the five years. The election is made on Form 709, the gift tax return. If the exclusion amount changes during those five years, or if you make other gifts to the same person, the math changes, so consider getting help from a tax professional.
Choosing a plan
Federal law sets the tax rules. Each state's plan sets the rest, including investment choices, fees, contribution limits and any state tax benefits. A few questions to compare:
- State tax benefit. Does your state give a deduction or credit, and only for its own plan?
- Fees. What are the plan's program management fees and the expense ratios of its funds? Small differences add up over 18 years. Our guide to index fund fees shows how.
- Investment options. What funds does the plan offer, and does it have portfolios that shift to more conservative investments as the beneficiary gets closer to school? Check what's inside them.
- Withdrawal timing. Match each withdrawal to expenses paid in the same tax year, and keep receipts, so the distribution lines up with qualified expenses.
If you're saving for a newborn, our article on Trump accounts for newborns covers a separate federal program with different rules; it isn't an education account, and it doesn't replace a 529.
Sources and methodology
- 26 U.S.C. 529, Qualified tuition programs, including the statutory notes on amendments by Public Law 119-21 (July 4, 2025), via the Legal Information Institute at Cornell Law School.
- Internal Revenue Service, Publication 970 (2025), Tax Benefits for Education, chapter on qualified tuition programs.
- IRS, "529 plans: Questions and answers."
- IRS, "Frequently asked questions on gift taxes" (updated December 2025).
- IRS, "Retirement topics: IRA contribution limits."
Sources were read on Nov. 29, 2026. Publication 970 (2025) still describes the $10,000 K-12 limit that applied through 2025; the $20,000 cap for 2026 comes from the statute as amended. State tax benefits, plan fees and contribution limits vary by plan and aren't covered here; check your plan's disclosure documents.
By Thiago Costa. Updated Nov. 29, 2026.
This content is for general education and is not financial advice.





