529 withdrawals are taxable only on the earnings portion, and only if you use the money for something other than may have access to education expenses

When you withdraw money from a 529 plan, the tax treatment depends on what you spend it on. Money you contributed to the plan comes out tax-free — that is your own money. The earnings (the investment growth) come out tax-free only if you use them for may have access to education expenses. If you withdraw earnings for any other reason, you owe federal income tax on those earnings plus a 10 percent penalty.

The IRS defines may have access to expenses narrowly. They include tuition, fees, books, supplies, equipment, and room and board (if the student is at least half-time). They also include up to $35,000 per student lifetime for student loan repayment, and up to $35,000 per year for K-12 tuition at any school, public or private. Apprenticeship programs also count. Everything else — a laptop for work, a car, living expenses off-campus, or money left over after graduation — triggers tax and penalty on the earnings portion.

Key Takeaways

  • Your own contributions to a 529 plan always come out tax-free, no matter what you spend the money on.
  • Earnings are tax-free only when used for may have access to education expenses: tuition, fees, books, room and board, student loan repayment up to $35,000 lifetime, or K-12 tuition up to $35,000 per year.
  • Non-may have access to withdrawals of earnings trigger federal income tax plus a 10 percent penalty, calculated on the earnings portion only.
  • Some states also tax non-may have access to withdrawals and may recapture state tax deductions you took when you contributed.

How the IRS separates contributions from earnings on your withdrawal

When you take money out, the IRS assumes you are withdrawing a proportional mix of contributions and earnings. If your account is 60 percent contributions and 40 percent earnings, then a $10,000 withdrawal is treated as $6,000 contribution (tax-free) and $4,000 earnings (taxable if non-may have access to).

You do not choose which portion comes out first. The plan custodian (the financial institution holding the account) calculates the ratio and reports it to you on Form 1099-Q, which you receive after any withdrawal. You use this form to report the withdrawal on your tax return. If the withdrawal is may have access to, you do not report the earnings portion as income. If it is non-may have access to, you report the earnings portion as ordinary income and add the 10 percent penalty.

The calculation applies across your entire 529 account, not to individual investments within it. If you have $50,000 in contributions and $20,000 in earnings, your ratio is 71 percent contributions and 29 percent earnings. Every dollar you withdraw uses that same ratio until the account balance changes.

What counts as a may have access to education expense

Tuition and mandatory fees at any accredited college, university, trade school, or graduate program count. Room and board counts if the student is enrolled at least half-time. Books, supplies, and equipment required for the course of study count. A computer or internet access counts if required by the school.

K-12 tuition at any public, private, or religious school counts, up to $35,000 per student over the student's lifetime. Apprenticeship program fees count. Student loan repayment counts, up to $35,000 per student lifetime (this can be your own loans, your student's loans, or loans of the student's siblings). Certain costs for students with disabilities also count.

Room and board has a limit: it cannot exceed the school's published cost of attendance for that year. If the school says room and board costs $15,000 but you actually spend $20,000, only $15,000 qualifies. Off-campus housing does not count unless the student lives in campus housing and you are paying the school directly.

Non-may have access to withdrawals and the 10 percent penalty

If you withdraw earnings for a non-may have access to reason, you owe federal income tax on those earnings at your ordinary tax rate, plus a 10 percent penalty. The penalty applies only to the earnings portion, not to your contributions. You also report the withdrawal on your tax return using Form 1099-Q.

A few situations avoid the penalty even though the withdrawal is non-may have access to. If the student receives a scholarship, you can withdraw earnings equal to the scholarship amount without penalty (though you still owe income tax). If the student attends a U.S. military academy, you can withdraw earnings without penalty. If the student dies or becomes disabled, you can withdraw earnings without penalty. In all other non-may have access to cases, the penalty applies.

The penalty is 10 percent of the earnings portion only. If you withdraw $10,000 and $4,000 is earnings, the penalty is $400. You also owe income tax on that $4,000 at your tax bracket. If you are in the 22 percent bracket, you owe $880 total ($400 penalty plus $480 tax).

State tax treatment of 529 withdrawals

Most states do not tax 529 withdrawals at the state level, but some do. A few states tax the earnings portion of non-may have access to withdrawals. More importantly, some states that offer a state income tax deduction for 529 contributions will recapture that deduction if you withdraw the money for a non-may have access to reason.

For example, if you contributed $10,000 to a 529 and deducted it on your state return, saving $500 in state tax, and later withdraw that $10,000 for a non-may have access to reason, some states will add that $500 back to your tax bill. This recapture happens in addition to federal tax and penalty. Check your state's 529 rules or ask your tax preparer whether your state recaptures deductions.

Changing beneficiaries to avoid non-may have access to withdrawals

If you have leftover money in a 529 after one child finishes school, you can change the beneficiary to another family member without triggering tax or penalty. Family members include the original beneficiary's spouse, children, grandchildren, parents, siblings, cousins, aunts, uncles, nieces, nephews, and in-laws. You can also change the beneficiary to the original beneficiary's spouse's family members.

This is useful if one child does not use all the money. You can move the balance to a younger sibling, a grandchild, or even yourself if you are pursuing education. The change does not count as a withdrawal, so no tax or penalty applies. The money stays in the 529 and continues to grow tax-free.

If you cannot find a family member to use the money, you can roll the account into a Coverdell Education Savings Account (if the beneficiary is under 18) or into an ABLE account (if the beneficiary is may be able to access). These moves also avoid tax and penalty. If none of these options work, a non-may have access to withdrawal is your only choice.

Reporting 529 withdrawals on your tax return

The plan custodian sends you Form 1099-Q after any withdrawal. This form shows the total amount withdrawn and the earnings portion. You use this form to report the withdrawal on your federal tax return. If the withdrawal is may have access to, you do not report it as income — you straightforward keep the form for your records. If the withdrawal is non-may have access to, you report the earnings portion on your return and calculate the penalty.

The exact line on your return depends on your situation. If you are the student and the withdrawal is for your own education, you may be able to claim an education credit (American Opportunity, Lifetime Learning, or Saver's Credit) on the same expenses. You cannot claim both a credit and a deduction for the same expense, so you choose whichever saves you more tax. A tax preparer can help you decide.

Keep the Form 1099-Q with your tax records. If you are audited, the IRS will ask for proof that the withdrawal was may have access to — receipts for tuition, a school enrollment letter, or a loan repayment statement. Gather these documents before you file.

Frequently Asked Questions

Can I withdraw money from a 529 without paying tax if I do not use it for school?

You can withdraw your own contributions tax-free anytime. The earnings portion is taxable plus a 10 percent penalty if you do not use the money for may have access to education expenses. The only exceptions are if the student receives a scholarship, dies, becomes disabled, or attends a military academy.

What happens if I withdraw more than the student's education costs?

You can withdraw up to the amount of may have access to expenses without tax or penalty. If you withdraw more, the excess is treated as a non-may have access to withdrawal. The earnings portion of the excess is taxable plus penalty. Your contributions always come out tax-free.

Do I have to withdraw all the money at once?

No. You can withdraw money as you pay education bills throughout the year or across multiple years. Each withdrawal is calculated using the same contribution-to-earnings ratio for that account. You report each withdrawal on the Form 1099-Q you receive that year.

Can I use 529 money for a student's first home down payment?

No. A first home down payment is not a may have access to education expense. Any withdrawal for this reason triggers tax and a 10 percent penalty on the earnings portion. You would need to change the beneficiary to a family member pursuing education, or take a non-may have access to withdrawal.

What if the school refunds tuition after I withdraw from the 529?

If you withdraw money for tuition and the school later refunds part of it, you have a non-may have access to withdrawal for the refunded amount. You should redeposit the refund into the 529 within 60 days to avoid tax and penalty. Some plans allow this; check with your custodian about their recontribution rules.