How a 529 Plan Works: Qualified Expenses and Withdrawal Rules

A 529 plan works by letting you invest money in a tax-advantaged account earmarked for education: your contributions grow free of federal tax, and withdrawals are also tax-free as long as you spend them on qualifying expenses like tuition, books, and room and board.1Internal Revenue Service. 529 Plans: Questions and Answers Federal law classifies these accounts as “qualified tuition programs,” and every state sponsors at least one.2Office of the Law Revision Counsel. 26 USC 529 – Qualified Tuition Programs The mechanics behind that headline benefit, along with the rules that decide whether a withdrawal stays tax-free, are what make or break the plan in practice.

The Two Types of Plans

Federal law creates two flavors of 529, and they work in fundamentally different ways.2Office of the Law Revision Counsel. 26 USC 529 – Qualified Tuition Programs

A prepaid tuition plan lets you purchase credits at today’s tuition rates for use at participating schools later. These plans hedge against tuition inflation but are typically limited to in-state public colleges and don’t cover room and board.

An education savings plan is an investment account. You put money in, choose from a menu of portfolios, and the balance rises and falls with the market. These accounts can be used at nearly any accredited school nationwide and cover a broader set of expenses. They account for the vast majority of 529 accounts, and everything below applies to them.

Funding the Account

You can open a 529 through your own state’s program or any other state’s plan. Residency doesn’t restrict you, but your home state’s plan may offer an income tax deduction on contributions that you’d lose by going elsewhere, so start there.

Once the account is open, you can fund it with a lump sum, automatic transfers, or both. There’s no federal cap on annual contributions, but each state sets a lifetime balance limit per beneficiary, ranging from about $235,000 at the low end to over $620,000 at the high end.

The gift tax rule trips people up. Contributions to a 529 count as gifts for federal tax purposes. The annual gift tax exclusion is $19,000 per recipient for 2026, so anything above that for a single beneficiary in one year would normally require filing a gift tax return.3Internal Revenue Service. Frequently Asked Questions on Gift Taxes 529 plans have a special accelerated-gifting rule: you can contribute up to $95,000 at once (five times the annual exclusion) and elect to spread it over five years for gift tax purposes.4Internal Revenue Service. Instructions for Form 709 (2025) – Section: Schedule A. Computation of Taxable Gifts Married couples can each do this, meaning grandparents or parents could front-load up to $190,000 into one account and start years of tax-free growth immediately.

Investment Choices

Most plans offer two main investment tracks. An age-based portfolio automatically shifts your allocation from stocks toward bonds as the beneficiary approaches college age; you pick a risk level once and the plan handles the rest. A static portfolio holds a fixed mix (aggressive, moderate, or conservative) until you change it.

Fees vary meaningfully between plans. A difference of 0.5% in annual expenses might not sound like much, but compounded over 18 years it can cost thousands. Comparing expense ratios across a few state plans before committing is worth the hour it takes.

State Tax Deductions

Beyond the federal tax-free growth, more than 30 states offer an income tax deduction or credit for 529 contributions. A handful of states allow deductions for the full contribution amount; most cap the deduction somewhere between a few thousand dollars and $10,000 for single filers, with joint filers typically getting double. A few states offer tax credits instead of deductions.

Not every state with an income tax offers this benefit — roughly seven do not. Where a deduction exists, it usually requires contributing to your home state’s plan specifically. That means the best plan for you isn’t always the one with the lowest fees; the state tax break can more than offset a slightly higher expense ratio.

What Counts as a Qualified Expense

Tax-free treatment depends entirely on what the money is spent on. The list of qualified expenses is broader than most people realize.

College and Vocational Costs

Tuition and mandatory fees at any eligible college, university, or vocational school are the core qualifying expense. Books, supplies, and equipment required for coursework qualify. Computers, software, and internet service count too, as long as the beneficiary uses them primarily during enrolled years, though gaming software doesn’t qualify unless it’s genuinely educational.5Internal Revenue Service. Publication 970 (2025), Tax Benefits for Education

Room and board qualifies for students enrolled at least half-time, but there’s a cap most people miss. The eligible amount can’t exceed the greater of the school’s official cost-of-attendance allowance for housing or the actual amount charged for on-campus housing.5Internal Revenue Service. Publication 970 (2025), Tax Benefits for Education If your student lives off-campus and pays $1,500 a month in rent, but the school’s cost-of-attendance figure is only $1,000 a month for off-campus students, you can only count the school’s figure. Pull that number from the financial aid office before planning your withdrawal.

K-12 Tuition

You can use up to $10,000 per beneficiary per year for tuition at elementary or secondary schools, including private and religious schools.1Internal Revenue Service. 529 Plans: Questions and Answers At the K-12 level, this generally covers tuition only, not books, supplies, or transportation.

Apprenticeships and Student Loans

Registered apprenticeship programs certified by the U.S. Department of Labor qualify. Eligible costs include fees, textbooks, supplies, and required equipment like trade tools.5Internal Revenue Service. Publication 970 (2025), Tax Benefits for Education

You can also use up to $10,000 over a beneficiary’s lifetime to repay qualified education loans. That’s a lifetime total, not an annual limit. Any student loan interest paid with 529 funds can’t also be claimed as a student loan interest deduction on the borrower’s return.

Taking Money Out

Withdrawals start with a request through the plan’s online portal or a paper form. You specify the dollar amount, and the plan liquidates the corresponding portion of your investment holdings. Most plans give you three delivery options: direct payment to the school, a check or transfer to the account owner, or payment to the beneficiary’s bank account.

Timing matters. Match your withdrawals to the same calendar year in which you pay the expenses. If you withdraw in December but pay tuition in January, those fall in different tax years and the December withdrawal won’t have qualifying expenses to offset it.

After each distribution, the plan issues IRS Form 1099-Q, which breaks the total withdrawn into the earnings portion and the basis (your original contributions).6Internal Revenue Service. Form 1099-Q (Rev. April 2025) Only the earnings portion is ever taxable if something goes wrong. Keep every tuition bill, housing receipt, and bookstore invoice. The IRS won’t ask for proof unless it does, and by then it’s too late to reconstruct records from three years back.

The Penalty for Non-Qualified Withdrawals

If you withdraw money and don’t use it for qualified expenses, the earnings portion is hit twice: taxed as ordinary income at your marginal rate, plus an additional 10% federal penalty.2Office of the Law Revision Counsel. 26 USC 529 – Qualified Tuition Programs Your original contributions come back tax-free regardless, since you already paid tax on that money before contributing.

The 10% penalty is waived in several situations, though income tax on the earnings still applies:

  • Scholarships: if the beneficiary receives a tax-free scholarship, you can withdraw an amount equal to the scholarship without the 10% penalty.
  • Military academy attendance: beneficiaries attending a U.S. military academy can withdraw an amount equal to the cost of attendance penalty-free.
  • Death or disability of the beneficiary: the penalty is waived on any withdrawal.

The scholarship exception is the one that catches families off guard. You can pull the money out penalty-free, but you still owe income tax on the earnings. A better move, when possible, is to redirect the funds to another family member’s education instead of taking a taxable withdrawal.

Using a 529 Alongside Education Tax Credits

You can claim the American Opportunity Tax Credit (worth up to $2,500) in the same year you take a tax-free 529 distribution, but you can’t use the same expenses for both. The IRS calls this the “no double benefit” rule.5Internal Revenue Service. Publication 970 (2025), Tax Benefits for Education

The math works like this. Add up total qualified education expenses, subtract any tax-free scholarships, then subtract the expenses you’re using to claim the education credit (up to $4,000 for the American Opportunity Credit). Whatever remains is what you can cover with a tax-free 529 withdrawal. If your student has $12,000 in tuition, $3,000 in scholarships, and you claim the credit on $4,000, that leaves $5,000 in expenses eligible for a tax-free 529 distribution.

Because the American Opportunity Credit is partially refundable and worth up to $2,500, many families come out ahead by paying the first $4,000 of tuition out of pocket (or from non-529 savings) to capture the full credit, then covering the rest from the 529. Paying all tuition from the 529 forfeits a credit that puts real money back in your pocket.

How a 529 Affects Financial Aid

A 529’s impact on financial aid depends on who owns the account. The current FAFSA rules break down as follows:

  • Parent-owned 529 (most common): reported as a parental asset and assessed at a maximum rate of 5.64% of the account value. A $50,000 balance reduces aid eligibility by at most about $2,820. You only report the 529 designated for the student completing the FAFSA; sibling accounts you own are excluded.
  • Student-owned 529: assessed at 20% of the account value, a much heavier hit.
  • Grandparent-owned 529: under the simplified FAFSA that took effect for the 2024-25 cycle, these plans no longer count as an asset on the FAFSA and distributions are not reported as student income. Previously, grandparent-owned 529 distributions could devastate a student’s aid eligibility.

Regardless of who owns the account, 529 distributions themselves are not counted as income on the FAFSA. The aid impact is limited to the asset side.

What to Do with Leftover Money

Two features protect you if the beneficiary doesn’t need all the money.

Change the Beneficiary

You can change the designated beneficiary to another qualifying family member at any time with no tax consequences and no penalty.1Internal Revenue Service. 529 Plans: Questions and Answers You can also roll funds from one child’s plan into a sibling’s plan without triggering taxes. Qualifying family members include siblings, parents, children, first cousins, and certain in-laws of the original beneficiary. If one child earns a scholarship or decides not to pursue education, the money can go to another family member or wait for a future grandchild.

Roll Over to a Roth IRA

Starting in 2024, the SECURE 2.0 Act opened a path for moving leftover 529 money into a Roth IRA for the beneficiary. The lifetime cap is $35,000 per beneficiary.2Office of the Law Revision Counsel. 26 USC 529 – Qualified Tuition Programs The rules are strict:

  • The 529 must have been open for at least 15 years before any rollover. Contributions made within the last five years (and their earnings) are ineligible.
  • Each year’s transfer can’t exceed the Roth IRA contribution limit for that year, minus any regular IRA or Roth IRA contributions the beneficiary already made. For 2026, the base Roth IRA limit is $7,500.7Internal Revenue Service. 401(k) Limit Increases to $24,500 for 2026, IRA Limit Increases to $7,500
  • The beneficiary needs earned income at least equal to the transfer amount for that year.
  • The money must move trustee-to-trustee. You can’t cash it out and redeposit it.
  • The funds go to the 529 beneficiary’s Roth IRA, not the account owner’s.

One useful feature: this rollover is allowed even if the beneficiary’s income exceeds the normal Roth IRA contribution limits. For a high-earning young professional with leftover 529 money, that’s a route into a Roth that wouldn’t otherwise be available. Between the Roth rollover and the ability to change beneficiaries, the risk of overfunding a 529 is lower than it has ever been.