529 withdrawal for prior year expenses — does it go on this year's return?

Trying to figure out the timing on a 529 withdrawal for prior year expenses. My daughter started college in fall 2024. I didn't take the 529 distribution until January 2025 to pay the tuition bill that was due that month. The 1099-Q I just received is dated 2025, so it'll show up on my 2025 return. But the expense — the tuition — was for the fall 2024 semester. I've read conflicting things about whether the distribution has to match the year the expense was paid or the year the semester was in. The account is a standard 529 plan, not a Coverdell. I already paid the bill, so I can't undo the timing. What year do I report this on, and is any of it going to be treated as taxable?

34 comments

Form 1099-Q follows the calendar year the distribution was taken, so your 2025 1099-Q goes on your 2025 return. The IRS matches qualified expenses to the year the distribution occurred, not the semester. Since you paid a January 2025 tuition bill with a January 2025 distribution, that lines up correctly. The expense and the distribution are both 2025 events.

Chris N.

Author

That's a relief. I was worried the fall 2024 semester part would flag something since the academic year straddles two calendar years.

Worth adding — the IRS looks at when the expense was paid, not when the semester started. January payment, January distribution, same year. You're fine.

The 1099-Q shows gross distribution in box 1, earnings in box 2, and basis in box 3. If your qualified expenses for 2025 equal or exceed the gross distribution in box 1, none of the earnings in box 2 are taxable and you don't even need to report the 1099-Q on your return. The form just goes in your records.

Chris N.

Author

The tuition bill was larger than the distribution, so I think I'm fully covered. I'll keep the 1099-Q and the bursar's receipt together.

One thing to watch: if you're also claiming the American Opportunity Credit or Lifetime Learning Credit for 2025, you have to reduce your qualified expenses by whatever tuition you use for those credits. You can't double-count the same dollars for both the 529 exclusion and an education credit.

Chris N.

Author

I was planning to claim the AOTC. So I'd subtract the tuition I use for the credit from what counts as qualified 529 expenses?

Exactly. The coordination rule means expenses claimed for the AOTC can't also be used to show the 529 distribution was qualified. Run the numbers both ways — sometimes the credit wins, sometimes full 529 exclusion wins.

I uploaded my 1099-Q and the tuition statement to taxr.ai last year when I had almost this same situation. Taxr went through both documents, laid out which dollar amounts matched, and flagged the overlap between what I was counting for the AOTC and what I was counting to cover the 529 distribution. It drafted a worksheet showing the net qualified expenses after backing out the credit amount. Saved me from overcounting. Worth doing before you file if you're claiming both.

Chris N.

Author

That overlap issue is exactly what I'm nervous about. I'll try that before I finalize anything.

Publication 970 is the main IRS document covering 529 plans and the coordination rules with education credits. Chapter 8 covers qualified tuition programs specifically. It's dense but it has worked examples that show the math.

Room and board counts as a qualified expense too if your daughter was enrolled at least half-time. Keep receipts for housing costs that semester — if the distribution exceeds tuition alone, those can fill the gap.

Chris N.

Author

She was in a dorm, so yes, definitely half-time or more. I hadn't thought about room and board counting. That helps.

The room and board limit is generally the room and board allowance in the school's official cost of attendance figure, but if the student lives in housing the school owns or operates, the actual amount the school charges counts even if it's higher. For a dorm, the actual housing charge on the bill can be the ceiling for that category.

Form 8863 is where the AOTC calculation lives on the 1040. Line 27 is the adjusted qualified expenses after you subtract things like tax-free scholarships and — yes — 529 distributions you're using to cover expenses. The interaction between 8863 and the 1099-Q coordination can get messy if numbers are close.

If any earnings end up taxable (say you can't match all the distribution to qualified expenses), the taxable portion goes on Schedule 1 as other income, and there's also a 10% additional tax on Form 5329 unless an exception applies. Exceptions include things like scholarships or the beneficiary's death or disability.

The 10% additional tax is on the earnings portion only, not the whole distribution. Just clarifying since it can read like the whole thing gets penalized.

Correct, should have been clearer. The penalty and the income inclusion both apply only to the earnings in box 2, prorated to the nonqualified portion.

Computer science tuition at a school that's eligible under Title IV counts. What matters for 529 qualified status is that the institution is an eligible educational institution — most accredited colleges are. If you're unsure, the school's financial aid office can confirm.

What nobody mentions enough: the timing question you raised about fall 2024 expenses paid in January 2025 actually has a specific IRS answer. A distribution must be used for qualified expenses paid in the same tax year. Since the payment hit in January 2025 and the distribution was January 2025, the year matches. Had you paid December 2024 tuition with a January 2025 distribution, that would be a mismatch — the expense would be in 2024, the distribution in 2025.

Chris N.

Author

This is the clearest explanation of the timing rule I've seen. The bill was not paid until January — the university didn't take payment in December — so I'm good.

Right. When the payment clears matters, not when the semester started or when the invoice was generated.

I had a similar situation two years ago with a spring semester distribution. I gave Taxr the 1099-Q, the bursar's statement, and my draft Form 8863, and it compared the numbers across all three and listed every place where I was counting the same expense twice. It also flagged that I had forgotten to include a small scholarship in the offset calculation on 8863. I fixed both things before filing.

Chris N.

Author

Forgetting the scholarship offset is exactly the kind of thing I'd miss. Good to know it catches that.

Schedule 2 line 8 is where the additional tax from Form 5329 flows onto your 1040 if you do end up with a nonqualified portion. Just so you know where it lands on the main return.

Before my daughter's sophomore year I was completely lost on the AOTC and 529 coordination. I uploaded the return I had drafted plus both the 1099-Q and the bursar's invoice to Taxr, and it went through the return line by line against those documents. It spotted that my qualified expense total on 8863 hadn't been reduced by the 529 distribution at all — a straight error that would've overstated the credit. Caught it before it was filed.

Chris N.

Author

Overstating the AOTC is apparently a common audit trigger. Good catch.

The IRS does cross-reference 1099-Q amounts with 8863 amounts. If the numbers don't tell a consistent story, it draws attention.

Worth checking whether your state has a 529 recapture rule if you ever take a nonqualified distribution. Some states that gave you a deduction when you contributed will claw it back on nonqualified withdrawals at the state level, even if the federal treatment is favorable. This varies a lot by state.

Fees required for enrollment also count as qualified expenses — things like mandatory student activity fees or technology fees that the school requires everyone to pay. Lab fees too if they're required for a specific course.

Chris N.

Author

There were some mandatory fees on the bursar's bill I had mentally set aside. Good to know those count.

Computers and internet access are qualified expenses if they're required by the school or used primarily for school. If the school's enrollment materials specify it, you're on solid ground. If it's just assumed, it's grayer.

To summarize the core question: your 529 withdrawal for prior year expenses is a 2025 event because both the distribution and the qualifying payment occurred in 2025. The fall 2024 semester timing is irrelevant. Match the gross distribution against 2025 qualified expenses after backing out anything used for the AOTC, and if the expenses cover the full distribution, the earnings are not taxable and 1099-Q doesn't appear anywhere on your return.

Chris N.

Author

This wraps it up perfectly. I'll do the coordination math carefully with the AOTC numbers and keep all the receipts. Thanks everyone.