A family pays $12,800 in tuition, fees and books. A 529 plan covers most of it, and the parent also wants the American Opportunity Tax Credit (AOTC). That is the classic case of 529 and education tax credit same expenses, and the tax code answers it directly. Each dollar of expense gets one job. It can support the credit, or it can support the tax-free 529 withdrawal, but not both.
This guide shows how the allocation works, where the IRS wants the numbers, and how to run a worksheet before you request a withdrawal. It is general information, not tax advice. The dollar examples are illustrative, and your own filing status, income and state rules can change the result.
What matters most when a credit and a 529 overlap
- One expense, one job. Under 26 U.S.C. 529(c)(3)(B)(v), expenses used to claim the AOTC or Lifetime Learning Credit are excluded when you test a 529 distribution.
- The credit has a ceiling, so the overlap is small. The AOTC uses at most $4,000 of expenses per student. The Lifetime Learning Credit uses at most $10,000 per return.
- You do not have to choose one benefit. Pay the credit-eligible slice from other money, such as cash, income or a loan, and use the 529 for everything else.
- A mismatch is usually a small tax bill, not a disaster. The taxable part is the earnings share of the overlapping dollars. The IRS also waives the 10% additional tax when the only reason for taxable income is a credit claim.
- Scholarships come off first. Tax-free scholarships and grants reduce the expenses available to both the credit and the 529 test.
- Who files matters. A parent can claim the credit for a dependent student while the 1099-Q goes to the student. The same expenses still cannot do both jobs.

The three benefits that compete for the same expense dollars
Three tax benefits draw from the same pool of college costs. Each has its own definition of a qualifying expense, its own claimant and its own form. The overlap is where mistakes happen, so it helps to see them side by side before touching the math.
| Benefit | What it gives you | Expenses it uses | Who claims it | Where it shows up |
|---|---|---|---|---|
| American Opportunity Tax Credit (AOTC) | Up to $2,500 per student; up to 40% of the credit can be refundable | First $4,000 of qualified expenses (100% of the first $2,000, 25% of the next $2,000) | The taxpayer who claims the student, or the student if no one else does | Form 8863; 1098-T from the school |
| Lifetime Learning Credit (LLC) | Up to $2,000 per return; nonrefundable | First $10,000 of qualified expenses at 20% | Same rule on who can claim | Form 8863; 1098-T from the school |
| Tax-free 529 earnings | Earnings withdrawn are not taxed to the extent of adjusted qualified expenses | All qualified higher-education expenses minus tax-free aid minus credit expenses | The recipient named on Form 1099-Q | Form 1099-Q; Schedule 1 if any part is taxable |
| Tax-free scholarships and grants | Excludable from income if used for qualified expenses | Tuition, required fees and required course materials | The student | Form 1098-T box 5; possibly your return |
Sources: IRS Publication 970 (tax year 2025 edition), 26 U.S.C. 25A and 529. Figures are the 2025-edition amounts; confirm the year you file.
Two numbers drive everything. The AOTC pulls in only $4,000 of expenses per student, so even a large 529 balance collides with it only modestly. The Lifetime Learning Credit can reach $10,000, which makes its overlap with a 529 bigger, but its maximum credit is $2,000. Knowing the size of the overlap is half the work.
You cannot take the AOTC and the Lifetime Learning Credit for the same student in the same year. For each student you elect one. Publication 970 notes that when a student qualifies for the AOTC, it will always be larger than the Lifetime Learning Credit for the same expenses, which is why graduate students and part-time students are the usual Lifetime Learning Credit claimants.
Who sets which rule
Reading a forum thread about this topic, you will see federal law, the 529 plan’s rules and the school’s paperwork mixed together. They are different layers, and only some of them can be negotiated.
| Rule or step | Set by | What it means for you |
|---|---|---|
| Expenses used for a credit cannot also support a tax-free 529 withdrawal | Federal law (26 U.S.C. 529(c)(3)(B)(v)) and IRS guidance | Applies in every state and to every 529 plan |
| AOTC and Lifetime Learning Credit amounts, income limits, four-year AOTC limit | Federal law (26 U.S.C. 25A) and IRS instructions | Check the amounts for the tax year you file; the IRS publishes them each year |
| What counts as a qualified 529 expense | Federal law, with some added detail from IRS guidance | Room and board, computers and some loan payments qualify for a 529 but not for the credits |
| State income tax treatment of 529 contributions and withdrawals | Your state | Some states give a deduction or credit for contributions and may recapture it on non-qualified withdrawals; state rules vary |
| How and when the plan pays out, and what the plan reports | The 529 plan program manager | The plan prepares Form 1099-Q; it does not know about your credit |
| What the school reports on Form 1098-T | The school | Box 1 shows payments received, which can differ from what you actually paid |
| Final allocation of expenses between credit and 529 | You (or your tax preparer) | Nobody else checks it before you file |
Sources: IRS Publication 970, Form 8863 instructions, Form 1099-Q instructions, 26 U.S.C. 25A and 529.
The last row is the one that surprises people. The plan reports gross distributions and earnings, and the school reports payments received, but neither one reports your allocation. If you do not do the subtraction, no one does it for you, and a notice can arrive a year or two later.
Which expenses count for which benefit
Part of the conflict is false alarm. Several 529-eligible costs never count toward the credits, so they cannot be double counted at all. Room and board is the biggest example. A student with $10,000 of dorm and meal-plan costs can fund that entire amount from a 529 without touching the credit calculation.
| Expense type | AOTC | Lifetime Learning Credit | 529 qualified expense |
|---|---|---|---|
| Tuition and required enrollment fees | Yes | Yes | Yes |
| Required course materials, books and supplies | Yes (required materials) | Depends on how the school bills them; check Pub. 970 | Yes |
| Room and board | No | No | Yes, for students enrolled at least half time, within the school’s cost-of-attendance allowance |
| Computer, peripherals, software and internet access used mainly by the student | No | No | Yes |
| Student health insurance, transportation, personal expenses | No | No | No |
| Up to $10,000 lifetime of student loan principal or interest (beneficiary or a sibling) | No | No | Yes |
| Apprenticeship program costs | No | No | Yes, for registered programs |
| K-12 tuition and certain K-12 costs | No | No | Yes, with an annual dollar limit that changed in 2026 |
Sources: IRS Publication 970 (2025 edition) and 26 U.S.C. 529(c)(7), (c)(9) and (e)(3). The K-12 cap was $10,000 per beneficiary in the 2025 edition and the current statute text shows $20,000; verify the figure for the year of withdrawal.
The credits are narrower than 529 spending, and that gives you room to maneuver. For a student whose tuition and fees are $12,000, $4,000 of that tuition can go to the AOTC while the remaining $8,000 of tuition plus room and board, books and a laptop all go to the 529. The overlap is a design choice, not a trap.
How the two credits are calculated
The AOTC math is easy to remember. You get 100% of the first $2,000 of qualified expenses and 25% of the next $2,000. That makes $2,500 at $4,000 of expenses, and no more. Up to 40% of the credit ($1,000) is refundable, meaning it can produce a refund even if you owe no tax, except for a child subject to the kiddie tax rule.
The Lifetime Learning Credit is 20% of the first $10,000 of expenses, so the cap is $2,000. It is nonrefundable. Both credits phase out as modified adjusted gross income (MAGI) rises. For the 2025 edition of the instructions, the AOTC and the Lifetime Learning Credit are unavailable at $90,000 MAGI for single filers and $180,000 for married filing jointly, with the reduction starting at $80,000 and $160,000.
| Credit | Formula | Maximum | Expense base | Refundable? |
|---|---|---|---|---|
| AOTC | 100% of first $2,000 + 25% of next $2,000 | $2,500 per student | $4,000 per student | 40% of the credit |
| Lifetime Learning Credit | 20% of first $10,000 | $2,000 per return | $10,000 per return | No |
| Both, same student, same year | Not allowed | Elect one | — | — |
Source: 26 U.S.C. 25A and IRS Publication 970 (2025 edition). Amounts and phaseouts can change; check the instructions for the year you file.
What the phaseout does to the credit
Between the lower and upper MAGI limits, you multiply the credit by a fraction. For a married couple filing jointly in the 2025 edition ranges, the fraction is ($180,000 minus MAGI) divided by $20,000. Publication 970 shows this exact method in its Lifetime Learning Credit example. The table applies it to a full $2,500 AOTC. The figures below apply that published formula and are illustrative.
| MAGI (married filing jointly) | Fraction of credit left | AOTC | Refundable part (40%) |
|---|---|---|---|
| $160,000 or less | 100% | $2,500 | $1,000 |
| $165,000 | 75% | $1,875 | $750 |
| $170,000 | 50% | $1,250 | $500 |
| $175,000 | 25% | $625 | $250 |
| $180,000 or more | 0% | $0 | $0 |
Illustrative arithmetic using the published phaseout formula; confirm the tax-year limits before relying on it.

The phaseout changes the value of the overlap. At $170,000 of MAGI, the $4,000 of expenses buys a $1,250 credit rather than $2,500. That is still positive, but the case for protecting those dollars from the 529 test gets weaker. Run the numbers in both directions before you decide.
How the 529 tax-free test works
A 529 withdrawal has three pieces: your contributions (basis), the investment earnings and the total. Only the earnings are ever taxable. Form 1099-Q reports the gross distribution in box 1, the earnings in box 2 and the basis in box 3, and box 3 equals box 1 minus box 2. Your contributions come out tax-free regardless of how you use the money.
The earnings are tax-free in proportion to your adjusted qualified education expenses (AQEE) compared with total distributions in the year. Publication 970 gives the formula: multiply the box 2 earnings by AQEE divided by total distributions, and the result is the tax-free earnings. The rest of the earnings are taxable.
| Step | What you do | Where the number comes from |
|---|---|---|
| 1 | Add up qualified 529 expenses for the beneficiary for the year | Invoices, bursar account, housing contract, receipts |
| 2 | Subtract tax-free scholarships, grants, Pell grants, employer or veterans’ education assistance | Award letters, 1098-T box 5, benefit statements |
| 3 | Subtract the expenses used to claim the AOTC or Lifetime Learning Credit (by anyone) | Form 8863 worksheet |
| 4 | The result is AQEE | Your allocation worksheet |
| 5 | Compare AQEE with total 529 distributions for the year (all plans, all payees) | Form(s) 1099-Q, box 1 |
| 6 | Tax-free earnings = box 2 earnings x AQEE / total distributions; the rest is taxable | Form(s) 1099-Q, box 2 |
Source: IRS Publication 970, qualified tuition programs chapter, and 26 U.S.C. 529(c)(3)(B).
If AQEE is at least as large as the total distribution, none of the earnings are taxable. If AQEE falls short, the fraction shrinks. The consequence is that overshooting by $1 of distribution costs you only the earnings share of that $1, not the dollar itself.
Why the 1099-Q recipient matters
Form 1099-Q instructions say the designated beneficiary is the recipient only if the money goes directly to the beneficiary, to the school for the beneficiary’s benefit, or by direct transfer to a Roth IRA for the beneficiary. Otherwise, the account owner is the recipient. That affects whose return carries any taxable earnings. It does not change who may claim the credit.
| 1099-Q box | What it reports | Why it matters for coordination |
|---|---|---|
| Box 1 — gross distribution | Total paid out for the year, including cash and in-kind amounts | This is the denominator in the tax-free test |
| Box 2 — earnings | The earnings portion of the distribution, computed by the plan | This is the amount that can become taxable |
| Box 3 — basis | Your contributions returned | Always tax-free; equals box 1 minus box 2 |
| Box 4a / 4b | Trustee-to-trustee transfers; Roth IRA transfers | These are reported too, so a rollover can appear on a 1099-Q |
| Box 6 | Checked if the recipient is not the designated beneficiary | Tells you whose return should show any taxable earnings |
Source: IRS Instructions for Forms 1099-Q (revised April 2025).
Building the allocation worksheet, step by step
The worksheet is the deliverable that makes this topic manageable. Do it before you request a withdrawal, not after the 1099-Q arrives in January. The order matters: aid first, credit second, 529 last.
- List the year’s bills for each student. Separate tuition, required fees, required materials, room and board, equipment and any other qualified items.
- Subtract tax-free aid. Subtract any tax-free aid that was applied to the yearScholarships and grants first reduce tuition, then show up against other costs depending on how the aid is designated.#8217;s bills.
- Pick the credit and its expense base. For the AOTC, assign up to $4,000 of tuition, fees and materials after aid. For the Lifetime Learning Credit, assign up to $10,000.
- Mark those dollars “used by credit.” They are off-limits for the 529 test.
- Total the remaining qualified expenses. That is AQEE, and it is the ceiling for a fully tax-free 529 withdrawal.
- Size the withdrawal to AQEE. Pay the credit-assigned dollars from another source.
A note on timing for the credit side. For the 2025 edition of the Form 8863 instructions, qualified expenses must be paid in the tax year for academic periods beginning that year or in the first three months of the next year. Use the amount you actually paid, not just box 1 of the Form 1098-T, which shows payments the school received and can differ.
A worked example with real arithmetic
Here is an illustrative family. The student is a full-time undergraduate, claimed as a dependent, and the AOTC is available. All figures are made up for the example, and the 30% earnings share assumes a 529 account that has grown over several years.
| Item | Amount | Notes |
|---|---|---|
| Tuition and required fees | $12,000 | Paid to the school during the year |
| Required books and course materials | $800 | Counts for both AOTC and 529 |
| Room and board | $10,000 | Counts for 529 only |
| Total qualified expenses for the 529 | $22,800 | Before any adjustments |
| Tax-free scholarship applied to tuition | $3,000 | Reduces both pools |
| Tuition, fees and books after scholarship | $9,800 | Pool available to the AOTC |
| Expenses assigned to the AOTC | $4,000 | Yields a $2,500 credit if income is under the phaseout |
| AQEE for the 529 test | $15,800 | $22,800 − $3,000 − $4,000 |
Illustrative example prepared for this article. The arithmetic is checked: 22,800 – 3,000 – 4,000 = 15,800.
Now compare three ways to fund the year. In each case, the 529 account has 30% earnings and 70% basis in every dollar withdrawn, and the account owner’s marginal tax rate on earnings is an assumed 22%.
| Strategy | 529 withdrawal | AOTC claimed | Taxable 529 earnings | Tax at 22% (illustrative) | What stays in the account |
|---|---|---|---|---|---|
| A. Pay $4,000 from cash; withdraw $15,800 | $15,800 | $2,500 | $0 | $0 | $4,000 more than strategy B |
| B. Withdraw $19,800 (cover the credit slice too) | $19,800 | $2,500 | $1,200 | $264 | Less cash used, more 529 spent |
| C. Skip the credit; withdraw $19,800 | $19,800 | $0 | $0 | $0 | Same as B, but no credit |
Illustrative. Earnings share of 30% assumed. Taxable earnings in B: $5,940 earnings x (1 – 15,800 / 19,800) = $1,200.
The result is the lesson. Strategy B triggers $1,200 of taxable earnings, but the credit is worth $2,500, so B still beats C by about $2,236 after the $264 of tax. Strategy A is cleaner because it leaves $4,000 in the 529 to keep growing tax-free, and it avoids the tax, but it requires $4,000 of other money. The taxable amount in B always equals the overlap multiplied by the earnings share: $4,000 x 30% = $1,200.

Publication 970 gives paired examples with the same facts. With a $3,100 scholarship and a $5,300 distribution including $950 of earnings, only $18 of earnings is taxable. When a $2,500 American opportunity credit based on $4,000 of expenses is added, AQEE drops from $5,200 to $1,200 and $735 becomes taxable. The credit expense moved the taxable amount from $18 to $735.
The 10% additional tax usually does not apply to this mismatch
Taxable 529 earnings are normally hit with an additional 10% tax on top of income tax. Publication 970 lists exceptions, including one for distributions that are included in income only because the expenses were used for the AOTC or Lifetime Learning Credit. You report the exception on Form 5329. Many families avoid the 10% tax on a credit overlap for this reason.
| Exception to the 10% additional tax | Applies when | Limit |
|---|---|---|
| Death of the beneficiary | Distribution made on or after the beneficiary’s death | None stated for the exception |
| Disability of the beneficiary | Distribution due to disability | None stated for the exception |
| Tax-free scholarships, veterans’ or employer education assistance | Distribution is included in income because of those benefits | Limited to the amount of the benefit |
| Attendance at a U.S. military academy | Distribution for attendance at a service academy | Limited to the advanced education costs |
| Credit expenses | Included in income only because the expenses were used for the AOTC or LLC | No separate cap |
Source: IRS Publication 970, additional 10% tax on taxable distributions. Report on Form 5329, Part II. Confirm current-year instructions.
Who can claim the credit when someone else pays
The coordination rule follows the expense, not the person. Under 26 U.S.C. 25A(g)(3), if another taxpayer can claim the student as a dependent, the student cannot claim the credit, and expenses the student paid are treated as paid by that other taxpayer. The Form 8863 instructions add that expenses a third party pays for the student are treated as paid by the student, and by the parent if the student is a dependent.
Put that together with the 529 side. Suppose Grandma owns the 529, the plan pays the school directly, and the parents claim the AOTC. The expense dollars are paid with 529 money, but the parents are claiming them for a credit. The statute removes any expense counted toward a credit claimed by the taxpayer or anyone else. The 1099-Q may go to a different person than the one who claims the credit, so the family has to talk before filing.
| Situation | Who claims the credit | Who gets the 1099-Q | Coordination point |
|---|---|---|---|
| Parent claims student as a dependent; 529 owned by parent, paid to school | Parent | Student if paid to school for the student’s benefit (beneficiary is the recipient) | Parent’s credit expenses reduce AQEE shown on the student’s return |
| Grandparent owns the 529; parents claim student | Parents | Usually the beneficiary or the owner, depending on payee | Grandparent and parents need the same expense list |
| Student is independent and files alone | Student | Student | All adjustments are on one return |
| Parent pays tuition from cash; 529 pays room and board | Parent (if dependent) | Student or owner | Easiest layout, with no overlap |
| Student has two plans (e.g., a 529 and a Coverdell ESA) | Whoever claims the student | Each plan sends its own form | AQEE is split across plans; Pub. 970 shows examples |
Sources: 26 U.S.C. 25A(g)(3), IRS Instructions for Form 8863, Form 1099-Q instructions, Publication 970. Your own facts decide the answer.
Special situations that change the answer
Two students, one pool of 529 money
Each student has a separate AOTC and a separate set of expenses. A family with two eligible undergraduates can assign up to $4,000 of expenses for each student, so the credit pool is up to $8,000 and the maximum credit is $5,000. The 529 accounts, if separate, are tested student by student.
Graduate school and part-time study
A graduate student is typically a Lifetime Learning Credit case because the AOTC covers only the first four years of postsecondary education. With $7,500 of tuition, the LLC is 20% of $7,500, or $1,500. If the student also takes a 529 withdrawal, the $7,500 comes out of AQEE just as the $4,000 does for an undergraduate. That is a bigger overlap for a smaller credit, so check whether the credit is worth it.
Refunds and dropped classes
If the school refunds tuition after you claimed a credit, the instructions say a refund received after filing may require recapture, which means repaying part of the credit as additional tax in the year of the refund. The refund also reduces the expenses available for the 529. Refunds that land before you file reduce that year’s expenses. A late withdrawal from a class is therefore a coordination problem, not just a bill.
Leftover 529 money
If the family overfunded the 529, there are options. The beneficiary can be changed to a family member without it counting as a distribution. Some rollovers to another 529 or to an ABLE account are allowed within 60 days. Up to $10,000 of student loan principal or interest can count as a qualified expense. Roth IRA rollovers are available only under strict rules, including a 15-year account history and a $35,000 lifetime cap.
| Option for leftover funds | Key condition | Counts as a distribution? | Watch for |
|---|---|---|---|
| Change the beneficiary | New beneficiary is a family member of the old one | No | Gift tax rules may apply if the new beneficiary is a younger generation |
| Roll to another 529 for the same beneficiary | Completed within 60 days; limited to one per 12 months | No | A second rollover within 12 months loses the treatment |
| Roll to an ABLE account | Within 60 days; subject to the ABLE annual limit | No | Limits on the amount |
| Roll to a Roth IRA for the beneficiary | 529 open 15+ years; direct trustee-to-trustee transfer; contributions older than 5 years; annual Roth limit; $35,000 lifetime cap | No, but reported on a 1099-Q | The rules are strict; confirm with the plan and a tax professional |
| Pay up to $10,000 of the beneficiary’s or a sibling’s student loans | Lifetime limit per individual | Treated as a qualified expense | The loan interest deduction may be affected; check Pub. 970 |
Sources: 26 U.S.C. 529(c)(3)(C), (c)(3)(E), (c)(9) and IRS Form 1099-Q instructions. Rules and amounts change; verify before acting.
A decision framework for the overlapping dollars
Run three tests in order. The tests turn a fuzzy “should I claim the credit?” question into a numeric comparison.
- Is the credit available and worth claiming? Check MAGI against the phaseout, the four-year AOTC limit, the 1098-T and the student’s dependency status. If the credit is zero, nothing overlaps.
- Can you pay the credit slice from other money? If yes, that is the cleanest path (Strategy A). The 529 keeps the extra dollars.
- If not, is the credit larger than the tax on the overlap? Multiply the overlap by the earnings share and your marginal rate. If the result is below the credit, claim the credit and accept the taxable earnings.

| Your situation | Better lean | Main upside | Main downside | What to verify |
|---|---|---|---|---|
| Cash available; MAGI well below phaseout | Pay the $4,000 slice from cash, 529 for the rest | No taxable earnings; credit in full | Cash is used now | 1098-T, MAGI, 4-year limit |
| Little cash; MAGI below phaseout | Claim the AOTC and let 529 cover everything | Credit usually beats the small tax | Taxable earnings on the overlap | Earnings share in box 2; marginal rate |
| MAGI in the phaseout range | Compare credit left to overlap tax | May be a close call | Credit shrinks fast with income | Phaseout fraction for the year |
| MAGI above the limit | Skip the credit; use the 529 only | No overlap to track | Lose the credit | Dependent status and income |
| Graduate student | LLC and 529, or one of the two | Simple if expenses are all post-aid | Bigger overlap for a smaller credit | Whether 529 is needed for tuition |
| 529 has mostly basis and little earnings | Claim the credit freely | Overlap taxable amount is tiny | Few | Box 2 vs box 3 on prior 1099-Qs |
Illustrative decision matrix; it is not a recommendation for any specific household.
Mistakes that cost money
| Mistake or red flag | Why it matters | What to do instead |
|---|---|---|
| Withdrawing the full bill from the 529 and claiming the AOTC on the same tuition | The credit expenses reduce AQEE, so part of the earnings becomes taxable | Reduce the withdrawal by the credit base or accept the taxable amount knowingly |
| Relying only on Form 1098-T box 1 | It shows payments the school received, not what you paid or how it was funded | Compare it with your bank records and the bursar ledger |
| Taking a 529 withdrawal in one year and paying the bill in another | The tax-free test compares expenses and distributions for the year | Time the withdrawal in the same calendar year as the expense |
| Forgetting that tax-free scholarships reduce both pools | A $3,000 scholarship removes $3,000 from the credit base and from AQEE | Subtract aid first on the worksheet |
| Letting the 1099-Q recipient and the credit claimant ignore each other | Different returns can double count expenses | Share one expense worksheet |
| Ignoring a late refund from the school | May trigger credit recapture | Track refunds into the next tax year |
| Assuming room and board counts for the credit | It does not | Fund it from the 529 and keep it out of the credit base |
| Skipping Form 8863 or leaving out the EIN | The AOTC claim can be denied or delayed | Use the EIN from Form 1098-T |
Sources: IRS Publication 970, Form 8863 instructions.
A timeline for the tax year
| When | What happens | Who controls it | Reader action |
|---|---|---|---|
| Before the term bills arrive | Bills are posted; scholarships are applied | School | Save the bursar statement and award letter |
| Before you request a withdrawal | You can still choose the allocation | You | Complete the worksheet; size the withdrawal |
| Same calendar year as the bill | Plan pays you or the school | 529 plan and you | Keep the payee and date; electronic transfers can take several days to land |
| January | School issues 1098-T; plan issues 1099-Q (the IRS instruction cites a February deadline for the prior year) | School and plan | Reconcile the forms to your records |
| Filing season | You file Form 8863 and, if needed, Schedule 1 and Form 5329 | You | Match credit expenses to the 529 worksheet |
| After filing | A refund from the school or an IRS notice may arrive | School or IRS | Keep records and respond promptly |
Timelines are typical rather than guaranteed; your plan and school set their own dates.
Documents that prove the allocation
The IRS does not ask you to attach an allocation worksheet, but you should be able to produce one. A paper trail also helps if the school or the plan corrects a form later. Pay tuition from an account where each payment is labeled, and keep the statements. Our checking account guide explains how to find transaction detail and fees on a statement. If a plan sends the withdrawal by electronic transfer, delays and returned payments are common enough that our ACH transfer problems article is worth a look before you rely on a deadline.
| Document | Why it matters | Where to get it | How long to keep it |
|---|---|---|---|
| Form 1098-T | Shows payments received and scholarships; required for the credits in most cases | School portal or mail | With your tax records (the IRS general limit is usually at least 3 years) |
| Form 1099-Q | Reports gross distribution, earnings and basis | 529 plan | Same |
| Bursar statement or ledger | Shows what was billed, paid and refunded, and when | School | Same |
| Award or scholarship letter | Shows tax-free aid and how it was applied | School | Same |
| Room and board contract or invoice | Proves a 529 qualified expense | School or landlord | Same |
| Receipts for books, computers, supplies | Proves required materials and equipment | Retailer | Same |
| Your allocation worksheet | Shows how you split each dollar | You | Same |
| Prior-year 1099-Q forms | Shows the earnings share over time | 529 plan | Same |
The retention period is a rule of thumb. Ask your tax preparer how long to keep records for your situation.
If the credit produces a refund, the money usually arrives by direct deposit. Errors in routing or account numbers are one of the more common causes of delays, and our guide to tax refund direct deposit mistakes covers the recovery steps.
Questions to ask before you request the withdrawal
- What is the earnings share of my account? (Look at box 2 divided by box 1 on a prior 1099-Q or ask the plan.)
- Which student will I claim for the AOTC, and is this the student’s fourth year of the credit?
- Is my modified adjusted gross income close to the phaseout range?
- What scholarships or grants are tax-free for this term, and are any being included in income on purpose?
- Will the plan send the money to the school, to me or to the student? Who will receive the 1099-Q?
- Is any part of the bill being paid by a grandparent, an employer or a sibling’s account?
- Does my state recapture deductions or credits on withdrawals that are not fully qualified?
- If the school refunds a course after I file, who will track the recapture?
Glossary of terms people mix up
| Term | Plain-English meaning | Why it matters |
|---|---|---|
| Qualified education expenses | The costs that count for a particular benefit | The list differs for credits, 529s and scholarships |
| Adjusted qualified education expenses (AQEE) | Qualified 529 expenses minus tax-free aid minus credit expenses | The ceiling for a fully tax-free 529 withdrawal |
| Designated beneficiary | The student the 529 is for | Often the 1099-Q recipient |
| Account owner | The person who controls the 529 | Receives the 1099-Q when money is not paid to the student or school |
| Basis | Your contributions | Never taxed on withdrawal |
| Earnings | Investment growth | The only part that can be taxable |
| MAGI | Modified adjusted gross income | Controls the credit phaseout |
| Recapture | Repaying a credit when expenses are later refunded | Can surprise you after filing |
| Refundable credit | A credit that can generate a refund beyond tax owed | 40% of the AOTC, with limits |
Terms are paraphrased from IRS publications and instructions.
Frequently asked questions
Can I use a 529 and claim the American Opportunity Tax Credit in the same year?
Yes. The IRS allows the credit and a tax-free 529 withdrawal in the same year as long as the same expenses do not support both. The credit uses up to $4,000 of qualified expenses per student. Subtract that amount, along with tax-free scholarships, from the expenses you use to justify the 529 withdrawal. If the leftover expenses cover the whole withdrawal, none of the earnings are taxable. If they do not, the excess is taxed in proportion. Many families pay the credit slice from other money so the 529 withdrawal is smaller.
What happens if I double count the same expenses?
Part of the 529 earnings becomes taxable income. The taxable amount is the earnings share multiplied by the overlap. For example, if the account is 30% earnings and you counted $4,000 twice, about $1,200 of earnings is taxable. The additional 10% tax usually does not apply when the only reason is the credit claim, because Publication 970 lists that exception. You may also owe state tax. If the IRS finds a mismatch, you can receive a notice, so fixing it by amending the return is cleaner than waiting. Run the worksheet again if a scholarship changes or the school refunds a charge, because either one moves the numbers.
Does room and board count for the education credits?
No. Room and board counts as a qualified 529 expense for students enrolled at least half time, up to the school’s cost-of-attendance allowance, but it does not count for the AOTC or the Lifetime Learning Credit. That is useful because it lets you use the 529 for housing and meals without touching the credit. Tuition, required fees and course materials are the expenses that can be claimed on both sides. Ask the school for its published housing and meal allowance, because the allowance caps the 529 amount. Keep the school’s award letter and the 1098-T so you can show how the aid was applied.
Do tax-free scholarships reduce my credit and my 529 withdrawal?
Yes, both. Tax-free scholarships, grants, Pell grants, employer assistance and veterans’ benefits reduce the expenses used to calculate the credit and the AQEE for the 529 test. In the IRS example, a $3,100 scholarship lowers AQEE from $8,300 to $5,200 before any credit is applied. Publication 970 also explains that in some cases a student can choose to include a scholarship in income to increase the credit. That choice has conditions, so ask a preparer before you rely on it. Ask the financial aid office whether any aid was treated as taxable before you finalize the allocation, since that affects the expenses available.
Which credit is better, the AOTC or the Lifetime Learning Credit?
Per student, the AOTC is larger: up to $2,500 versus $2,000 per return. Publication 970 says that if you can claim the AOTC for a student, it will always be greater than the Lifetime Learning Credit. The AOTC is limited to four tax years per student, requires the student to be pursuing a degree or credential at least half time, and excludes students with certain felony drug convictions. The Lifetime Learning Credit works for graduate study, part-time study and later years. You can elect only one per student per year. Run both credits on a worksheet for the specific student before you file, because income and the year of study can swing the answer.
Who gets the Form 1099-Q if the 529 pays the school directly?
If the plan pays the school for the beneficiary’s benefit, the designated beneficiary is the recipient and receives the form. If the money goes to the account owner, the owner is the recipient and box 6 is checked. That matters because any taxable earnings belong on the recipient’s return, while the credit belongs to whoever claims the student. The two returns can be different. Share one allocation worksheet so you do not count the same expense twice. If the 1099-Q was issued to the wrong person, ask the plan to review it before the filing deadline instead of ignoring the mismatch.
Does a 529 withdrawal count as income for financial aid?
This guide covers the tax side. Whether a withdrawal affects financial aid depends on who owns the account, which form of aid you apply for and what the school asks. The FAFSA and the CSS Profile treat accounts differently. Check the current rules with the financial aid office or the official studentaid.gov guidance for the year you apply. Do not assume the same answer applies to a parent-owned account, a grandparent-owned account and a student-owned account. Your tax preparer can also tell you whether any other deduction or credit you claim could overlap with the same expenses.
Can I withdraw from the 529 in December and pay the bill in January?
That usually creates a mismatch. The tax-free test compares AQEE with total distributions in the same year, and the credit uses expenses paid in the tax year. A December withdrawal for a January bill produces a distribution with no qualifying expense that year, so some earnings may be taxable. IRS instructions allow expenses paid in one year for academic periods starting in the first three months of the next year to count for the credit. Ask your plan and a preparer how to line up the dates. Keep the plan’s withdrawal confirmation and the bursar receipt together, because they show the dates and the payee.
What if the school refunds tuition after I claimed the credit?
The refund can trigger credit recapture. The Form 8863 instructions say a refund received after filing may require you to repay part of the credit as additional tax in the year you receive the refund. Refunds received before you file reduce the year’s expenses. The refund also affects the 529 side, because AQEE gets smaller. Keep the bursar ledger and the withdrawal records, and tell your preparer about any refund even if it arrives months later. Keep copies of the bursar ledger before and after the refund so that the recapture amount can be calculated correctly.
Can I roll leftover 529 money into a Roth IRA?
Sometimes. Under 26 U.S.C. 529(c)(3)(E), the account must have been open for the beneficiary for 15 years, only contributions (and their earnings) older than five years qualify, the transfer must be trustee-to-trustee into a Roth IRA for the beneficiary, and the annual Roth contribution limit applies. The lifetime cap is $35,000. The rollover is reported on Form 1099-Q. Because the rules are strict and the beneficiary needs earned income to be eligible for a Roth, check with the plan and a tax professional. Early withdrawals, rollovers and conversions can have different tax treatment, so ask for a written summary from the plan before you move money.
Do state taxes follow the federal rules for this?
Not always. Many states offer a deduction or credit for 529 contributions and some recapture it on a non-qualified withdrawal. State rules vary on what counts, on how a credit overlap is handled and on whether the state follows the federal definitions. Look at your state tax agency’s instructions and the plan’s disclosure documents. If you claimed a state deduction on contributions to the same account, a mismatch on the federal side may also have a state effect. Keep the state form and instructions you used with your records, because a later amendment may need them.
Bottom Line
You can use a 529 and an education credit in the same year, but the same expense dollars cannot do both jobs. Start with the bills, subtract tax-free aid, assign up to $4,000 per student to the American Opportunity Tax Credit if you qualify, and use what is left as the ceiling for a tax-free 529 withdrawal. When cash allows, pay the credit slice from another source and let the 529 cover the rest, especially housing, equipment and other costs the credits ignore.
If the overlap is unavoidable, the cost is usually the earnings share of the overlapping dollars, not the whole amount, and the credit often outweighs it. The details turn on income, who claims the student, the plan and your state, so keep records and get tax help before you file. Check the IRS figures for the year you file.
Sources
- https://www.irs.gov/publications/p970 — IRS Publication 970 (tax year 2025 edition): education credits, scholarships, qualified tuition programs, Form 1099-Q reporting and the 10% additional tax
- https://www.irs.gov/instructions/i8863 — IRS Instructions for Form 8863 (2025): who can claim, adjusted qualified education expenses, recapture, coordination with 529 plans
- https://www.irs.gov/instructions/i1099q — IRS Instructions for Forms 1099-Q (revised April 2025): recipient rules, boxes and trustee-to-trustee transfers
- https://www.law.cornell.edu/uscode/text/26/529 — 26 U.S.C. 529: qualified tuition programs, distributions, coordination with credits, Roth rollovers
- https://www.law.cornell.edu/uscode/text/26/25A — 26 U.S.C. 25A: American Opportunity and Lifetime Learning credits, expenses paid by others, refundable portion
Facts checked November 12, 2026
By the Banktimer Editorial Team · Published
Banktimer is an independent U.S. consumer-finance publication. Our editors draw on primary and official sources first, such as the CFPB, FDIC, Federal Reserve, and FTC, along with statutes, regulations, and providers’ own agreements and fee schedules. Then we add worked examples and decision tools. Our goal is the most useful, best-supported explanation the sources available to us at the time of writing allow.
This article is general information, not legal, tax, investment, insurance, or financial advice, and reading it does not create a professional relationship with Banktimer. Rates, fees, limits, and rules change, and they vary by state, provider, and contract, so confirm current terms with your bank, lender, insurer, or the agency named in the article before you act. Examples are illustrative unless labeled otherwise. Banktimer is not a bank, lender, insurer, or financial advisor, and we are not responsible for decisions or losses that result from relying on this content. For advice about your own situation, talk to a licensed professional.
Related: Grandparent Owned 529 Account: Ownership, Successor, and Gift Questions.
Related: ABLE Account Qualified Expense Receipts: How to Document Withdrawals.
Related: CSS Profile vs FAFSA Assets: Why Colleges Ask for Different Financial Details.
Related: Withdraw College Tuition Refund Financial Aid: 7 Costly Traps to Avoid Midsemester.
Related: 529-to-Roth IRA Rollover Requirements: Eligibility and Timing Checklist
