Internal Revenue Code Section 529: Withdrawals, Gift Tax, and Roth Rollovers

A 529 plan is a state-sponsored, tax-advantaged savings account authorized by Section 529 of the Internal Revenue Code, and the core 529 plan rules are straightforward: money grows free of federal income tax, withdrawals for qualified education expenses come out tax-free, and withdrawals for anything else expose the earnings to income tax plus a 10% additional federal tax. Every state and the District of Columbia sponsors at least one program, and anyone can open an account for any beneficiary regardless of age or relationship.1Internal Revenue Service. 529 Plans: Questions and Answers The details around what qualifies, how much you can put in, and how the account interacts with other tax breaks are where families most often go wrong.

What You Can Spend the Money On

At the postsecondary level, qualified expenses include tuition, fees, books, supplies, and equipment required for enrollment at an eligible institution. Computer hardware, software, and internet access qualify as long as the beneficiary uses them primarily while enrolled.2Legal Information Institute. 26 U.S.C. 529(e)(3) – Qualified Higher Education Expenses

Room and board count for students enrolled at least half-time, but the amount cannot exceed the institution’s official cost-of-attendance figure for room and board.2Legal Information Institute. 26 U.S.C. 529(e)(3) – Qualified Higher Education Expenses The rule applies whether the student lives on campus or off. Rent and groceries for an off-campus apartment qualify up to whatever the school’s published housing and meal allowance is for financial aid purposes. Anything above that ceiling is a non-qualified withdrawal.

Beyond college, three other uses now qualify: up to $20,000 per beneficiary per year for tuition at an elementary or secondary school, expenses for registered apprenticeship programs, and student loan repayment subject to a $10,000 lifetime cap per beneficiary.3Office of the Law Revision Counsel. 26 U.S. Code 529 – Qualified Tuition Programs

Contribution and Account Rules

Anyone can open an account and name any person as the designated beneficiary, including themselves. There are no federal age limits on the account owner or the beneficiary, which makes these plans viable for adult learners and career changers. The account owner keeps full control over the assets, decides when and how distributions happen, and can change the beneficiary to another member of the original beneficiary’s family at any time without tax consequences.1Internal Revenue Service. 529 Plans: Questions and Answers

There is no federal cap on annual contributions, but every state sets an aggregate balance limit per beneficiary. These limits range from roughly $235,000 to over $620,000, depending on the program. Once an account reaches that ceiling, the plan stops accepting new contributions until the balance drops. Grandparents and other relatives adding money to the same beneficiary’s accounts should coordinate to avoid rejected deposits.

Federal law also restricts how often you can change investment allocations within a 529 account to twice per calendar year.4Office of the Law Revision Counsel. 26 U.S.C. 529 – Qualified Tuition Programs The limit is per beneficiary, not per account.

Gift Tax and the Five-Year Election

Contributions to a 529 plan are treated as completed gifts for federal gift tax purposes. Under the standard annual gift tax exclusion, you can give up to $19,000 per recipient in 2026 without filing a gift tax return.5Internal Revenue Service. Gifts and Inheritances Section 529 also allows an accelerated option unique to these accounts: you can contribute up to $95,000 in a single year ($190,000 for a married couple splitting gifts) and elect to spread the gift evenly over five tax years for exclusion purposes.4Office of the Law Revision Counsel. 26 U.S.C. 529 – Qualified Tuition Programs

The election gets a large sum invested early, which maximizes years of tax-free compounding. You must report it on IRS Form 709 for the year of the contribution, checking the box on Line B of Schedule A and attaching a statement with the contribution amount, the beneficiary’s name, and the amount subject to the election.6Internal Revenue Service. Instructions for Form 709 If the donor dies during the five-year spread period, a prorated portion of the contribution is pulled back into the donor’s estate for the years that had not yet elapsed.

How Withdrawals Are Taxed

Earnings in a 529 account grow free of federal income tax, and withdrawals used for qualified education expenses are also tax-free.1Internal Revenue Service. 529 Plans: Questions and Answers That includes all interest, dividends, and capital gains generated inside the account over the life of the plan. Your original contributions, made with after-tax dollars, come out tax-free regardless of what you spend them on. Only the earnings portion of a withdrawal faces potential tax consequences.

If you withdraw money for anything other than a qualified education expense, the earnings portion is taxed as ordinary income plus a 10% additional federal tax.7Internal Revenue Service. Publication 970, Tax Benefits for Education The math matters: if your account holds $40,000 in contributions and $10,000 in earnings, a full $50,000 non-qualified withdrawal would impose income tax and the 10% penalty only on the $10,000 earnings portion. State tax treatment varies. Many states offer additional deductions or credits for contributions, but the rules and dollar limits differ widely.

Exceptions to the 10% Penalty

Several situations eliminate the 10% penalty on non-qualified withdrawals, though regular income tax on the earnings still applies. The IRS waives the additional tax when:7Internal Revenue Service. Publication 970, Tax Benefits for Education

  • The beneficiary dies or becomes permanently disabled.
  • The beneficiary receives a tax-free scholarship, fellowship, or employer-provided educational assistance, up to the amount of the award.
  • The beneficiary attends a U.S. military academy, up to the cost of that education.
  • You included part of the distribution in income because the same expenses were used to claim the American Opportunity or Lifetime Learning credit.

The scholarship exception trips people up most often. If your child earns a $5,000 scholarship, you can withdraw $5,000 penalty-free from the 529 for any purpose. You still owe income tax on the earnings portion, but the 10% goes away. The exception only covers the exact scholarship amount.

Coordinating With Education Tax Credits

You cannot use the same tuition dollars for both a tax-free 529 withdrawal and the American Opportunity Tax Credit. The IRS calls this the “no double benefit” rule.8Internal Revenue Service. American Opportunity Tax Credit You can split expenses instead: pay the first $4,000 of tuition and required course materials out of pocket or from a non-529 source to claim the full AOTC, worth up to $2,500, and then cover remaining expenses with 529 funds.

The AOTC is calculated as 100% of the first $2,000 in qualified expenses plus 25% of the next $2,000.8Internal Revenue Service. American Opportunity Tax Credit Preserving $4,000 of expenses for the credit before dipping into the 529 protects one of the most valuable education tax breaks available. Families who run all tuition through their 529 without planning around the AOTC leave money on the table every year the student is eligible.

Scholarships add another layer. If the beneficiary receives a tax-free scholarship, you must reduce total qualified education expenses by the scholarship amount when calculating how much of a 529 distribution is tax-free.7Internal Revenue Service. Publication 970, Tax Benefits for Education In some cases, it is actually better to include a scholarship in the student’s taxable income so the corresponding expenses can be allocated to the AOTC instead. Publication 970 walks through the calculation, and it is worth running the numbers both ways.

Rolling Unused Funds to a Roth IRA

Starting in 2024, the SECURE 2.0 Act added a provision allowing unused 529 funds to be rolled directly into a Roth IRA in the beneficiary’s name. It gives families a backup plan when the beneficiary does not use all the money for education. Several requirements apply:4Office of the Law Revision Counsel. 26 U.S.C. 529 – Qualified Tuition Programs

  • The 529 plan must have been maintained for the beneficiary for at least 15 years before the rollover.
  • Only contributions and their associated earnings made at least five years before the rollover date are eligible.
  • The amount rolled over in a given year counts toward the beneficiary’s annual Roth IRA contribution limit, which is $7,500 for 2026 for individuals under age 50. Any other IRA contributions the beneficiary makes that year reduce the available rollover room.9Internal Revenue Service. Retirement Topics – IRA Contribution Limits
  • The total amount that can ever be rolled from 529 plans to Roth IRAs for a single beneficiary is $35,000.

At $7,500 per year, reaching the full $35,000 lifetime cap takes at least five years of rollovers. The 15-year holding period rewards early planning: an account opened at birth becomes eligible for rollovers around the time the beneficiary turns 15. The transfer must go directly from the 529 plan trustee to the Roth IRA trustee.

Effect on Financial Aid

A 529 plan owned by a parent or a dependent student is reported as a parent asset on the FAFSA. Parent assets are assessed at a maximum rate of 5.64% in the federal need analysis formula, so a $50,000 balance reduces financial aid eligibility by at most about $2,800. That is a relatively mild hit compared to the tax-free growth the account provides.

Grandparent-owned 529 plans used to be far more problematic. Distributions were treated as untaxed income to the student and could reduce aid eligibility by as much as 50% of the withdrawal. Starting with the 2024–2025 FAFSA cycle, the simplified form no longer requires students to report cash support or distributions from grandparent-owned plans. Grandparents can now contribute to and distribute from their own 529 accounts without affecting the student’s federal aid package. Some private colleges that use the CSS Profile for institutional aid still ask about 529 plans owned by non-parent relatives, so check with the specific school before assuming this benefit carries over.

The Two Types of 529 Plans

The statute authorizes two structures. Education savings plans work like investment accounts where you pick from a menu of options, often mutual funds or age-based portfolios that shift toward conservative investments as the beneficiary approaches college age. The account value rises and falls with the market, and the range of investment choices varies by state.

Prepaid tuition plans let you purchase credits or units at today’s tuition rates for use at participating colleges and universities later.10FINRA. 529 Plans That model locks in pricing and protects against tuition inflation, but it is less flexible. Prepaid plans typically cover only tuition and mandatory fees at specific schools, while savings plans can be used at virtually any accredited institution nationwide. Most families choose savings plans for that reason.

Direct-Sold Versus Advisor-Sold

Within the savings plan category, there are two distribution channels. Direct-sold plans are purchased straight from the state or its contracted investment manager, and you handle your own portfolio decisions. Advisor-sold plans are purchased through a financial advisor who helps select and manage investments but charges additional fees for that service.11Consumer Financial Protection Bureau. What Are the Differences Between 529 Plans? The fee difference can be substantial over a long savings horizon.

In-State Versus Out-of-State

You are not limited to your own state’s program. You can open a 529 account in any state regardless of where you live, and the beneficiary can attend school anywhere. The main reason to favor your home state’s plan is the potential state income tax deduction or credit for contributions. If your state offers no tax benefit, or if another state’s plan has noticeably lower fees and better investment options, going out-of-state can make sense.