Short answer: you can claim an education tax credit and take a tax-free 529 withdrawal in the same year, but you cannot count the same expense dollars for both. The IRS has you subtract the expenses behind the credit from the expenses that justify the 529 withdrawal. If the withdrawal is larger than what is left, part of its earnings becomes taxable income. Scholarships and other tax-free aid come out first.

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.
529 and education tax credit same expenses: One expense dollar, one job: stacked bar splitting $22,800 of costs into
Illustrative: each dollar of expense supports one benefit.

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.

BenefitWhat it gives youExpenses it usesWho claims itWhere it shows up
American Opportunity Tax Credit (AOTC)Up to $2,500 per student; up to 40% of the credit can be refundableFirst $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 doesForm 8863; 1098-T from the school
Lifetime Learning Credit (LLC)Up to $2,000 per return; nonrefundableFirst $10,000 of qualified expenses at 20%Same rule on who can claimForm 8863; 1098-T from the school
Tax-free 529 earningsEarnings withdrawn are not taxed to the extent of adjusted qualified expensesAll qualified higher-education expenses minus tax-free aid minus credit expensesThe recipient named on Form 1099-QForm 1099-Q; Schedule 1 if any part is taxable
Tax-free scholarships and grantsExcludable from income if used for qualified expensesTuition, required fees and required course materialsThe studentForm 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 stepSet byWhat it means for you
Expenses used for a credit cannot also support a tax-free 529 withdrawalFederal law (26 U.S.C. 529(c)(3)(B)(v)) and IRS guidanceApplies in every state and to every 529 plan
AOTC and Lifetime Learning Credit amounts, income limits, four-year AOTC limitFederal law (26 U.S.C. 25A) and IRS instructionsCheck the amounts for the tax year you file; the IRS publishes them each year
What counts as a qualified 529 expenseFederal law, with some added detail from IRS guidanceRoom and board, computers and some loan payments qualify for a 529 but not for the credits
State income tax treatment of 529 contributions and withdrawalsYour stateSome 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 reportsThe 529 plan program managerThe plan prepares Form 1099-Q; it does not know about your credit
What the school reports on Form 1098-TThe schoolBox 1 shows payments received, which can differ from what you actually paid
Final allocation of expenses between credit and 529You (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 typeAOTCLifetime Learning Credit529 qualified expense
Tuition and required enrollment feesYesYesYes
Required course materials, books and suppliesYes (required materials)Depends on how the school bills them; check Pub. 970Yes
Room and boardNoNoYes, 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 studentNoNoYes
Student health insurance, transportation, personal expensesNoNoNo
Up to $10,000 lifetime of student loan principal or interest (beneficiary or a sibling)NoNoYes
Apprenticeship program costsNoNoYes, for registered programs
K-12 tuition and certain K-12 costsNoNoYes, 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.

CreditFormulaMaximumExpense baseRefundable?
AOTC100% of first $2,000 + 25% of next $2,000$2,500 per student$4,000 per student40% of the credit
Lifetime Learning Credit20% of first $10,000$2,000 per return$10,000 per returnNo
Both, same student, same yearNot allowedElect 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 leftAOTCRefundable part (40%)
$160,000 or less100%$2,500$1,000
$165,00075%$1,875$750
$170,00050%$1,250$500
$175,00025%$625$250
$180,000 or more0%$0$0

Illustrative arithmetic using the published phaseout formula; confirm the tax-year limits before relying on it.

Bar chart showing the AOTC shrinking from $2,500 to zero as married filing jointly income rises from $160,000 to $180,000
Illustrative arithmetic on the published phaseout formula.

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.

StepWhat you doWhere the number comes from
1Add up qualified 529 expenses for the beneficiary for the yearInvoices, bursar account, housing contract, receipts
2Subtract tax-free scholarships, grants, Pell grants, employer or veterans’ education assistanceAward letters, 1098-T box 5, benefit statements
3Subtract the expenses used to claim the AOTC or Lifetime Learning Credit (by anyone)Form 8863 worksheet
4The result is AQEEYour allocation worksheet
5Compare AQEE with total 529 distributions for the year (all plans, all payees)Form(s) 1099-Q, box 1
6Tax-free earnings = box 2 earnings x AQEE / total distributions; the rest is taxableForm(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 boxWhat it reportsWhy it matters for coordination
Box 1 — gross distributionTotal paid out for the year, including cash and in-kind amountsThis is the denominator in the tax-free test
Box 2 — earningsThe earnings portion of the distribution, computed by the planThis is the amount that can become taxable
Box 3 — basisYour contributions returnedAlways tax-free; equals box 1 minus box 2
Box 4a / 4bTrustee-to-trustee transfers; Roth IRA transfersThese are reported too, so a rollover can appear on a 1099-Q
Box 6Checked if the recipient is not the designated beneficiaryTells 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.

  1. List the year’s bills for each student. Separate tuition, required fees, required materials, room and board, equipment and any other qualified items.
  2. 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.
  3. 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.
  4. Mark those dollars “used by credit.” They are off-limits for the 529 test.
  5. Total the remaining qualified expenses. That is AQEE, and it is the ceiling for a fully tax-free 529 withdrawal.
  6. 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.

ItemAmountNotes
Tuition and required fees$12,000Paid to the school during the year
Required books and course materials$800Counts for both AOTC and 529
Room and board$10,000Counts for 529 only
Total qualified expenses for the 529$22,800Before any adjustments
Tax-free scholarship applied to tuition$3,000Reduces both pools
Tuition, fees and books after scholarship$9,800Pool available to the AOTC
Expenses assigned to the AOTC$4,000Yields 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%.

Strategy529 withdrawalAOTC claimedTaxable 529 earningsTax 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$264Less cash used, more 529 spent
C. Skip the credit; withdraw $19,800$19,800$0$0$0Same 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.

Three funding strategies compared by credit, taxable earnings and tax, based on a $2,500 credit and $1,200 taxable
Illustrative: the credit still outweighs the tax on the overlap.
Interesting fact

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 taxApplies whenLimit
Death of the beneficiaryDistribution made on or after the beneficiary’s deathNone stated for the exception
Disability of the beneficiaryDistribution due to disabilityNone stated for the exception
Tax-free scholarships, veterans’ or employer education assistanceDistribution is included in income because of those benefitsLimited to the amount of the benefit
Attendance at a U.S. military academyDistribution for attendance at a service academyLimited to the advanced education costs
Credit expensesIncluded in income only because the expenses were used for the AOTC or LLCNo 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.

SituationWho claims the creditWho gets the 1099-QCoordination point
Parent claims student as a dependent; 529 owned by parent, paid to schoolParentStudent 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 studentParentsUsually the beneficiary or the owner, depending on payeeGrandparent and parents need the same expense list
Student is independent and files aloneStudentStudentAll adjustments are on one return
Parent pays tuition from cash; 529 pays room and boardParent (if dependent)Student or ownerEasiest layout, with no overlap
Student has two plans (e.g., a 529 and a Coverdell ESA)Whoever claims the studentEach plan sends its own formAQEE 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 fundsKey conditionCounts as a distribution?Watch for
Change the beneficiaryNew beneficiary is a family member of the old oneNoGift tax rules may apply if the new beneficiary is a younger generation
Roll to another 529 for the same beneficiaryCompleted within 60 days; limited to one per 12 monthsNoA second rollover within 12 months loses the treatment
Roll to an ABLE accountWithin 60 days; subject to the ABLE annual limitNoLimits on the amount
Roll to a Roth IRA for the beneficiary529 open 15+ years; direct trustee-to-trustee transfer; contributions older than 5 years; annual Roth limit; $35,000 lifetime capNo, but reported on a 1099-QThe 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 loansLifetime limit per individualTreated as a qualified expenseThe 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.

  1. 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.
  2. Can you pay the credit slice from other money? If yes, that is the cleanest path (Strategy A). The 529 keeps the extra dollars.
  3. 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.
Decision tree for splitting expenses between an education credit and a tax-free 529 withdrawal
Work through four questions before requesting a withdrawal.
Your situationBetter leanMain upsideMain downsideWhat to verify
Cash available; MAGI well below phaseoutPay the $4,000 slice from cash, 529 for the restNo taxable earnings; credit in fullCash is used now1098-T, MAGI, 4-year limit
Little cash; MAGI below phaseoutClaim the AOTC and let 529 cover everythingCredit usually beats the small taxTaxable earnings on the overlapEarnings share in box 2; marginal rate
MAGI in the phaseout rangeCompare credit left to overlap taxMay be a close callCredit shrinks fast with incomePhaseout fraction for the year
MAGI above the limitSkip the credit; use the 529 onlyNo overlap to trackLose the creditDependent status and income
Graduate studentLLC and 529, or one of the twoSimple if expenses are all post-aidBigger overlap for a smaller creditWhether 529 is needed for tuition
529 has mostly basis and little earningsClaim the credit freelyOverlap taxable amount is tinyFewBox 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 flagWhy it mattersWhat to do instead
Withdrawing the full bill from the 529 and claiming the AOTC on the same tuitionThe credit expenses reduce AQEE, so part of the earnings becomes taxableReduce the withdrawal by the credit base or accept the taxable amount knowingly
Relying only on Form 1098-T box 1It shows payments the school received, not what you paid or how it was fundedCompare it with your bank records and the bursar ledger
Taking a 529 withdrawal in one year and paying the bill in anotherThe tax-free test compares expenses and distributions for the yearTime the withdrawal in the same calendar year as the expense
Forgetting that tax-free scholarships reduce both poolsA $3,000 scholarship removes $3,000 from the credit base and from AQEESubtract aid first on the worksheet
Letting the 1099-Q recipient and the credit claimant ignore each otherDifferent returns can double count expensesShare one expense worksheet
Ignoring a late refund from the schoolMay trigger credit recaptureTrack refunds into the next tax year
Assuming room and board counts for the creditIt does notFund it from the 529 and keep it out of the credit base
Skipping Form 8863 or leaving out the EINThe AOTC claim can be denied or delayedUse the EIN from Form 1098-T

Sources: IRS Publication 970, Form 8863 instructions.

A timeline for the tax year

WhenWhat happensWho controls itReader action
Before the term bills arriveBills are posted; scholarships are appliedSchoolSave the bursar statement and award letter
Before you request a withdrawalYou can still choose the allocationYouComplete the worksheet; size the withdrawal
Same calendar year as the billPlan pays you or the school529 plan and youKeep the payee and date; electronic transfers can take several days to land
JanuarySchool issues 1098-T; plan issues 1099-Q (the IRS instruction cites a February deadline for the prior year)School and planReconcile the forms to your records
Filing seasonYou file Form 8863 and, if needed, Schedule 1 and Form 5329YouMatch credit expenses to the 529 worksheet
After filingA refund from the school or an IRS notice may arriveSchool or IRSKeep 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.

DocumentWhy it mattersWhere to get itHow long to keep it
Form 1098-TShows payments received and scholarships; required for the credits in most casesSchool portal or mailWith your tax records (the IRS general limit is usually at least 3 years)
Form 1099-QReports gross distribution, earnings and basis529 planSame
Bursar statement or ledgerShows what was billed, paid and refunded, and whenSchoolSame
Award or scholarship letterShows tax-free aid and how it was appliedSchoolSame
Room and board contract or invoiceProves a 529 qualified expenseSchool or landlordSame
Receipts for books, computers, suppliesProves required materials and equipmentRetailerSame
Your allocation worksheetShows how you split each dollarYouSame
Prior-year 1099-Q formsShows the earnings share over time529 planSame

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

TermPlain-English meaningWhy it matters
Qualified education expensesThe costs that count for a particular benefitThe list differs for credits, 529s and scholarships
Adjusted qualified education expenses (AQEE)Qualified 529 expenses minus tax-free aid minus credit expensesThe ceiling for a fully tax-free 529 withdrawal
Designated beneficiaryThe student the 529 is forOften the 1099-Q recipient
Account ownerThe person who controls the 529Receives the 1099-Q when money is not paid to the student or school
BasisYour contributionsNever taxed on withdrawal
EarningsInvestment growthThe only part that can be taxable
MAGIModified adjusted gross incomeControls the credit phaseout
RecaptureRepaying a credit when expenses are later refundedCan surprise you after filing
Refundable creditA credit that can generate a refund beyond tax owed40% 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.

Your next step: before any withdrawal this year, list the term bills, subtract tax-free aid, assign up to $4,000 per student to the AOTC if you qualify, and size the 529 request to the remaining qualified expenses. Pay the credit slice from other money if you can, and keep the bursar ledger, 1098-T and 1099-Q together for your preparer.

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

Facts checked November 12, 2026

About this article

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