529 and the American opportunity credit in 2026: which dollars pay which bill
The same tuition dollar cannot be both a tax-free 529 withdrawal and a credit expense. Splitting the bill the right way is worth up to a few thousand dollars a year.
American opportunity credit
$2,500
Pay $4,000 from outside the 529 to claim it; $10,000 can come from the 529.
| Pay from other money | $4,000 |
| Pay from the 529 | $10,000 |
| Credit kept | 100 % of the full $2,500 |
The same dollar cannot be both a tax-free 529 withdrawal and a credit expense (IRS Pub. 970).
Worked out by Radif Partners · How we calculate · federal rules from Public Law 119-21 and IRS Publication 970, state rules from each state · not tax advice
The American opportunity credit gives up to $2,500 a year per student for the first four years of college: all of the first $2,000 of tuition, required fees and course materials, plus 25 % of the next $2,000. The catch for 529 families is that the same expense cannot be counted twice. If the 529 pays every dollar of tuition, there is nothing left for the credit. The usual answer is to pay $4,000 of tuition from wages or savings and the rest from the 529. A couple with $130,000 of modified adjusted gross income (MAGI) and $14,000 of tuition keeps the full $2,500 credit and still takes $10,000 tax-free from the account. The credit fades between $160,000 and $180,000 of MAGI on a joint return, $80,000 and $90,000 single; above that, the 529 can pay everything.
Why the credit usually beats the 529 on the first $4,000
A 529 withdrawal saves tax only on its earnings share, often a third of the money or less after a decade of saving. The credit returns cash dollar for dollar on the first $2,000. Paying $4,000 of tuition from other money and claiming $2,500 is a 62.5 % return on those dollars in one year, which no investment matches. The 529 balance stays invested for later semesters or for other qualified costs that the credit does not cover, such as housing.
The split does not require separate bank accounts. It requires that the qualified costs of the year be large enough to cover both: the 529 withdrawal on one side, the credit expenses on the other. A student whose tuition is $14,000 and whose housing is also qualified can easily have room for both. A student at a low-tuition community college with a large scholarship may not, and then the choice is real.
Your tuition and income
American opportunity credit
$2,500
| Pay from other money | $4,000 |
| Pay from the 529 | $10,000 |
| Credit kept | 100 % of the full $2,500 |
The credit, line by line
IRS Publication 970 sets the conditions. The student must be in one of the first four years of postsecondary education, enrolled at least half-time for at least one academic period of the year in a program leading to a degree or another recognized credential, and the credit can be claimed for no more than four tax years per student. Qualified costs are tuition, required enrollment fees and course materials, whether or not bought from the school. Room and board, insurance and transportation do not count for the credit, even though room and board can count for a 529. Up to 40 % of the credit is refundable, up to $1,000 per student, so a family with little tax still receives part of it.
From 2026, the person claiming the credit needs a Social Security number valid for work, issued before the due date of the return, and so does the student when the claimant is someone else.
The credit phases out on MAGI, which for most families is the adjusted gross income on Form 1040. A couple at $172,000 keeps 40 % of it: $1,000 on $14,000 of tuition. A single parent at $86,000 with $9,000 of tuition keeps $1,000, and should still pay $4,000 from outside the account to claim that much.
In the phase-out range
American opportunity credit
$1,000
| Pay from other money | $4,000 |
| Pay from the 529 | $10,000 |
| Credit kept | 40 % of the full $2,500 |
The lifetime learning credit
Students past the first four years, in graduate school or taking courses to improve job skills, may qualify for the lifetime learning credit instead: 20 % of the first $10,000 of qualified costs, up to $2,000 per return rather than per student, with the same income range in Publication 970 for 2025 as the American opportunity credit. It is not refundable. The same rule against double counting applies: dollars used for the lifetime learning credit cannot also be tax-free 529 money. Only one of the two credits can be claimed for a student in the same year.
When the split goes wrong
A family that takes the whole bill from the 529 and claims the credit anyway has a withdrawal larger than its adjusted qualified costs. Part of the earnings becomes taxable. Publication 970 waives the 10 % additional tax in that case, but income tax remains. A couple at $130,000 who double counted $4,000 from an account with 30 % growth would owe about $264, small next to the $2,500 credit, which is why claiming the credit is still right. The cleaner fix is to take less from the 529 in the same calendar year, or to use the excess on other qualified costs like housing or a computer before December 31. The non-qualified withdrawals page shows the proportional rule.
Timing and paperwork
The credit follows the year the tuition is paid, and Form 1098-T from the school may not match what you paid in the calendar year. Keep your own record of payments, their dates and their source. Credits are claimed on Form 8863 with the return of the person who claims the student as a dependent, or the student's own return otherwise. The 529 side appears on Form 1099-Q, sent to the recipient of the withdrawal. Both forms should tell the same story when read together: tuition paid, part from wages, part from the account.