Why the Same Expenses Can’t Count Twice
The IRS calls this the “no double benefits” rule, and it’s spelled out in IRS Publication 970. Qualified education expenses are the school costs that tax benefits can cover, such as tuition and required fees. Each dollar of those costs can be used to claim only one benefit.
You can still use several benefits in the same year. Publication 970 lets you claim a credit and take a tax-free 529 withdrawal in the same year, as long as each uses different expense dollars.
The Order to Follow for Tuition Expenses
Start with your total qualified expenses. Then subtract tax-free educational assistance, such as tax-free scholarships, Pell grants, employer-provided assistance, and veterans’ assistance. What remains is your adjusted qualified education expenses (AQEE), meaning the costs you actually paid out of pocket or from loan proceeds after aid.
Next, subtract the expenses you use for the American Opportunity Tax Credit (AOTC) or the Lifetime Learning Credit (LLC). Whatever AQEE is left can be covered by a tax-free 529 withdrawal. Here’s how the IRS example in Publication 970 works out:
| Step | What You Do | IRS Example |
|---|---|---|
| 1 | Start with total qualified expenses | $8,300 |
| 2 | Subtract tax-free educational assistance | -$3,100 |
| 3 | The result is your AQEE | $5,200 |
| 4 | Subtract expenses used for the credit | -$4,000 (for a $2,500 AOTC) |
| 5 | What’s left can be covered by a tax-free 529 withdrawal | $1,200 |
How to Allocate Expenses Between Benefits
Allocate Expenses to Credits First
A credit reduces your tax bill dollar for dollar, so give it the expenses it needs to maximize the credit’s benefit. The AOTC is 100% of the first $2,000 of expenses plus 25% of the next $2,000. That means $4,000 of expenses gets you the maximum $2,500 per student, and up to $1,000 of it is refundable.
The LLC is 20% of up to $10,000 of expenses, for a maximum of $2,000 per return, and it isn’t refundable. You can’t claim both education tax credits for the same student in the same year.
Both phase out when your modified adjusted gross income (MAGI) is between $80,000 and $90,000, or $160,000 and $180,000 if married filing jointly. MAGI is your adjusted gross income with certain amounts added back.
What Happens if Your 529 Withdrawal Is Too Big
If your 529 withdrawal exceeds the AQEE left after the credit, the earnings portion of the excess is taxable. The 10% additional tax doesn’t apply when that income is taxable only because you used the expenses for the AOTC or LLC.
When Counting a Scholarship as Income Can Help
A student can choose to treat part of an otherwise tax-free scholarship as income. That frees up expenses for the credit, which can lower your total tax. Scholarship money used for room and board is already taxable, so check which scholarship income is taxable before you decide.
Match Your Forms to Your Records
Your school sends Form 1098-T, which shows tuition and scholarships, but its amounts may not match what you actually paid. Your 529 plan sends Form 1099-Q to report withdrawals. Use your own receipts to fill out the steps above, then claim the credit on Form 8863, Education Credits.
Starting in 2026, you must have a valid Social Security number to claim the AOTC or LLC for yourself, your spouse, and your student (if claimed as a dependent).