To calculate the taxable amount on a 1099-Q, compare the gross distribution in Box 1 to your adjusted qualified education expenses (AQEE) for the same year. If expenses meet or exceed the distribution, nothing is taxable. If the distribution is larger, a proportional share of the earnings in Box 2 is taxable, calculated as Box 2 × (Box 1 − AQEE) ÷ Box 1. The basis in Box 3 is never taxed, and in most non-qualified cases a 10% additional tax applies to the taxable earnings on top of regular income tax.
The Three Numbers You Need From the Form
Form 1099-Q reports withdrawals from a 529 plan or Coverdell ESA, but it does not tell you what is taxable. It gives you the raw numbers, and the tax result depends on how the money was spent.1Internal Revenue Service. Instructions for Forms 1099-Q – Instructions for Recipient
Three boxes drive the calculation:
- Box 1 – Gross Distribution. The total amount withdrawn during the calendar year, whether paid to you, the account owner, or the school. This is the starting number.2Internal Revenue Service. Instructions for Form 1099-Q
- Box 2 – Earnings. The portion of the distribution that came from investment growth. This is the only piece that can ever be taxed. Original contributions were made with after-tax dollars, so they never are.2Internal Revenue Service. Instructions for Form 1099-Q
- Box 3 – Basis. The return of your original contributions. Box 2 plus Box 3 always equals Box 1.1Internal Revenue Service. Instructions for Forms 1099-Q – Instructions for Recipient
If the beneficiary received distributions from multiple plans, combine the Box 1 and Box 2 amounts from all of the 1099-Qs before running the calculation once.
Adjusted Qualified Education Expenses
The whole calculation turns on this figure. AQEE is the total of the beneficiary’s qualified education expenses for the year, reduced by anything that would double up on the same dollars.3Internal Revenue Service. Publication 970, Tax Benefits for Education
Start by adding up qualified expenses. For higher education, that includes tuition, required fees, books, supplies, and equipment required for enrollment. Computers, software, and internet access count if the beneficiary uses them primarily while enrolled, though game or hobby software does not qualify unless it is predominantly educational.4Office of the Law Revision Counsel. 26 USC 529 – Qualified Tuition Programs Room and board qualifies only if the student is enrolled at least half-time, and the amount is capped at the greater of the school’s cost-of-attendance allowance for room and board or the actual charge for students living in school housing.3Internal Revenue Service. Publication 970, Tax Benefits for Education If your student rents off-campus, the school’s allowance sets your ceiling.
Then subtract:
- Tax-free educational assistance received for those same expenses, including scholarships, fellowships, Pell grants, tuition waivers, veterans’ education benefits, and employer-provided educational assistance.
- Any expenses you plan to use toward the American Opportunity Tax Credit or the Lifetime Learning Credit. The same dollar of expense cannot make a 529 distribution tax-free and also support an education credit.5Internal Revenue Service. 529 Plans: Questions and Answers
What is left is your AQEE.
Running the Calculation
Once you have AQEE, compare it to Box 1.
If AQEE is equal to or greater than the Box 1 distribution, the entire distribution is tax-free, including all the earnings. Nothing goes on your tax return.3Internal Revenue Service. Publication 970, Tax Benefits for Education
If Box 1 is larger than AQEE, some earnings are taxable. The formula:
Taxable earnings = Box 2 × (Box 1 − AQEE) ÷ Box 1
The fraction is the share of the distribution that went to non-qualified spending; multiplying it by the earnings tells you how much of the investment growth is taxed. The rest of the earnings and all of the basis remain tax-free.
A Worked Example
Say Box 1 shows $10,000 and Box 2 shows $2,000. Your AQEE for the year is $8,000. The non-qualified portion is $2,000 ($10,000 − $8,000), which is 20% of the distribution. Twenty percent of the $2,000 in earnings is $400. That $400 is taxable; the remaining $1,600 in earnings and the full $8,000 basis come out tax-free.6Internal Revenue Service. 1099-Q What Do I Do The $400 is reported as other income on Form 1040.
The 10% Additional Tax
On top of regular income tax, a 10% additional tax generally applies to the taxable earnings from a non-qualified distribution.4Office of the Law Revision Counsel. 26 USC 529 – Qualified Tuition Programs In the example above, that adds $40 to the bill (10% of $400). You report and compute this on Form 5329.7Internal Revenue Service. Instructions for Form 5329
Three situations waive the 10% penalty even though income tax on the earnings still applies:
- The beneficiary received a tax-free scholarship. You can withdraw an amount equal to the scholarship without the penalty.5Internal Revenue Service. 529 Plans: Questions and Answers
- The beneficiary died or became disabled.
- The beneficiary attended a U.S. military academy. The waiver covers a withdrawal up to the cost of attendance.
Coordinating With the AOTC
This is where the calculation most often goes wrong. The AOTC is worth up to $2,500 per eligible student, based on the first $4,000 in qualified tuition and related expenses.8Internal Revenue Service. American Opportunity Tax Credit Because the same expenses cannot support both benefits, expenses claimed toward the credit come out of AQEE before you run the 529 math.
Take a student with $15,000 in tuition, a $12,000 distribution containing $3,000 in earnings, and no scholarships. Setting aside $4,000 for the AOTC leaves $11,000 in AQEE. Because $11,000 is less than the $12,000 distribution, the non-qualified share is $1,000, and taxable earnings work out to $3,000 × ($1,000 ÷ $12,000) = $250. That $250 is taxable and may draw the 10% additional tax, but the $2,500 AOTC is worth far more than the resulting tax. Skipping the coordination would leave the 529 fully tax-free and forfeit the credit.
Roth IRA Rollovers Are Not Taxable Distributions
Starting in 2024, unused 529 funds can be moved to a Roth IRA for the beneficiary under SECURE 2.0. A qualifying rollover is not treated as a taxable distribution and should not generate taxable income even though it appears on a 1099-Q.4Office of the Law Revision Counsel. 26 USC 529 – Qualified Tuition Programs Confirm with the plan administrator that the transfer was coded as a rollover so the form reflects the correct treatment; the eligibility rules are strict, including a 15-year account age requirement and a $35,000 lifetime cap per beneficiary.
Who Owes the Tax and When It Belongs on the Return
The 1099-Q is issued to whoever received the money. If the distribution went to the beneficiary or straight to the school, the form is in the beneficiary’s name and Social Security number. If it went to the account owner, the form is in the owner’s name.9Internal Revenue Service. Instructions for Form 1099-Q (04/2025) The person named as recipient is responsible for calculating any taxable earnings and reporting them on their Form 1040.
Timing matters. The distribution and the qualified expenses it pays for must fall in the same calendar year. A December withdrawal that pays a January tuition bill splits the two events across tax years, and the withdrawal that looked tax-free becomes partly taxable. Match your withdrawals to when you actually pay the bills, and keep documentation for every qualified expense in case the IRS later questions the numbers.