A QTP distribution is any withdrawal from a Qualified Tuition Program, better known as a 529 plan. When the money pays for qualifying education expenses, the earnings come out free of federal income tax. When it doesn’t, the earnings portion is taxed as ordinary income and usually hit with an additional 10% federal penalty. Your original contributions always come back to you tax-free and penalty-free, because that money was already taxed on the way in.1Internal Revenue Service. 529 Plans: Questions and Answers
Every distribution has two parts: basis (what you contributed) and earnings (what the account grew). Only the earnings portion is ever at risk of tax or penalty. Everything below is really about how to keep those earnings on the tax-free side of the line.
What Counts as a Qualified Expense
For college and other postsecondary education, qualified expenses include tuition and required fees, books, supplies, and equipment required for courses, and computers, peripherals, software, and internet access used primarily by the student while enrolled. Software for sports, games, or hobbies is excluded unless it’s predominantly educational. Room and board qualifies only if the beneficiary is enrolled at least half-time in a degree or certificate program, and the eligible amount is capped at the greater of the school’s official cost-of-attendance allowance or the actual charge for students living in school-owned housing.2Office of the Law Revision Counsel. 26 USC 529 – Qualified Tuition Programs Special needs services connected to enrollment also qualify.
The room and board cap trips up families with off-campus renters. You can use 529 funds for a rented apartment, but only up to the school’s published cost-of-attendance figure for housing. Get that number from the financial aid office before you withdraw.
Recent legislation stretched the definition beyond college:
- K-12 tuition at public, private, or religious elementary or secondary schools qualifies up to $10,000 per beneficiary per year, rising to $20,000 starting in 2026. The cap applies across all 529 accounts for the same beneficiary, and only tuition qualifies — not books, supplies, or room and board.3Internal Revenue Service. Topic No. 313, Qualified Tuition Programs (QTPs)
- Fees, books, supplies, and equipment for a registered apprenticeship program certified by the Department of Labor.3Internal Revenue Service. Topic No. 313, Qualified Tuition Programs (QTPs)
- Up to $10,000 lifetime toward qualified student loan repayment. The $10,000 cap is per person, so the beneficiary and each sibling get their own limit.2Office of the Law Revision Counsel. 26 USC 529 – Qualified Tuition Programs
The school itself has to be an eligible institution, meaning one that participates in federal student aid programs run by the U.S. Department of Education. That covers most accredited public universities, private nonprofits, for-profit trade schools, and some foreign institutions.4Internal Revenue Service. Eligible Educational Institution
How the Tax Math Works on the Earnings
If your total distributions for the year don’t exceed your qualified expenses, the whole withdrawal comes out federal income tax-free, earnings included. If distributions exceed qualified expenses, only part of the earnings stays tax-free. The IRS uses a pro-rata formula: take the total earnings from Form 1099-Q Box 2, multiply by (adjusted qualified education expenses ÷ total distribution), and that result is the tax-free portion of the earnings. Whatever’s left is taxable as ordinary income on Schedule 1 of Form 1040.5Internal Revenue Service. Publication 970 – Tax Benefits for Education
The practical lesson: match withdrawals closely to actual expenses each year. Over-withdrawing generates taxable income you didn’t need to create.
The 10% Penalty and When It’s Waived
When a distribution isn’t used for qualified expenses, the earnings portion is taxed at ordinary rates plus an additional 10% federal tax. The penalty applies only to earnings, never to your original contributions.
Three situations waive the 10% penalty, though the earnings remain subject to ordinary income tax:
- The beneficiary receives a tax-free scholarship. You can withdraw up to the scholarship amount penalty-free.
- The beneficiary dies or becomes permanently disabled.
- The beneficiary attends a U.S. service academy. Withdrawals up to the value of the education received are penalty-free.
Families who receive a mid-year scholarship sometimes don’t realize the account no longer has to sit idle: you can pull the scholarship amount out penalty-free, pay the income tax on the earnings portion, and redeploy the money.
Timing Withdrawals to Match Expenses
The distribution and the expense it covers must fall in the same tax year. A January tuition bill needs a January withdrawal, not a December one. You can also reimburse yourself for expenses you already paid out of pocket, as long as both the payment and the 529 withdrawal happen in the same calendar year.
December is the danger zone. A tuition bill for a spring semester that arrives in December gives you a choice: pay and withdraw in December, or wait and do both in January. Withdrawing in December but paying in January creates a mismatch that can turn what should have been a qualified distribution into a taxable one with a 10% penalty on the earnings.
Avoiding Overlap With Education Credits
You can’t use the same dollar of expense to claim both a tax-free 529 distribution and a federal education tax credit like the American Opportunity Tax Credit or Lifetime Learning Credit. The IRS calls this double-dipping and disallows it.6Internal Revenue Service. No Double Education Benefits Allowed
The workaround is to carve expenses into buckets. The American Opportunity Tax Credit reaches its maximum $2,500 at $4,000 of qualifying expenses. Many families pay $4,000 of tuition from outside funds to lock in the full credit, then use 529 distributions for room and board, books, and remaining tuition. When you calculate “adjusted qualified education expenses” for the 529 side, you subtract whatever expenses you used to claim the credit.6Internal Revenue Service. No Double Education Benefits Allowed
Computers, software, and internet access are worth flagging: they qualify for 529 distributions but generally don’t qualify for the AOTC or Lifetime Learning Credit.1Internal Revenue Service. 529 Plans: Questions and Answers Cover technology purchases with 529 money and save tuition dollars for the credit.
Options for Leftover Funds
If the beneficiary doesn’t need the money, taking a non-qualified withdrawal isn’t your only option. You can change the designated beneficiary to another family member with no tax consequences. Siblings, parents, children, first cousins, and several other relatives qualify under the IRS definition.1Internal Revenue Service. 529 Plans: Questions and Answers
Starting in 2024, the SECURE 2.0 Act allows unused 529 funds to roll directly into a Roth IRA in the beneficiary’s name, subject to strict conditions:
- The 529 account must have been maintained for the same beneficiary for at least 15 years.
- The rolled-over amount must come from contributions made at least five years before the rollover.
- The rollover counts against the beneficiary’s annual Roth IRA contribution limit ($7,500 for 2026) and is reduced by other IRA contributions that year.7Internal Revenue Service. 401(k) Limit Increases to $24,500 for 2026, IRA Limit Increases to $7,500
- Lifetime rollovers per beneficiary are capped at $35,000.
- The transfer must move trustee-to-trustee.
- The beneficiary needs earned income at least equal to the rollover amount, since the transfer is treated as a Roth contribution.
At the current annual limit, moving the full $35,000 takes at least five years. This is a long game, not a quick exit for an overfunded account.
State Tax Recapture
Federal rules aren’t the whole story. Many states offer an income tax deduction or credit for 529 contributions, and when distributions later go to non-qualified purposes, those states typically recapture the earlier tax benefit by adding the deducted amount back to state taxable income. Some states also impose their own penalty on top of the federal 10%. If you claimed a state tax break when contributing, check your state’s recapture rules before taking a non-qualified withdrawal.
Reporting on Form 1099-Q
The plan administrator reports each year’s distribution activity on IRS Form 1099-Q, which arrives by the end of January following the distribution year.8Internal Revenue Service. About Form 1099-Q, Payments From Qualified Education Programs (Under Sections 529 and 530) Box 1 shows the gross distribution, Box 2 the earnings, and Box 3 the basis.9Internal Revenue Service. Instructions for Form 1099-Q The recipient of the form depends on who got the money: if the check went to the school or student, the student receives the 1099-Q; if it went to the account owner, the owner does.
Compare Box 1 against your total qualified expenses for the year. If expenses equal or exceed the gross distribution, none of the earnings is reportable as income. If distributions exceeded expenses, apply the pro-rata formula from Publication 970 and report the taxable portion on Schedule 1 of Form 1040.5Internal Revenue Service. Publication 970 – Tax Benefits for Education
Keep receipts, tuition bills, and invoices for at least three years after filing. In an audit, the IRS wants itemized proof that the timing and amounts of your expenses line up with what you withdrew.