Skip to main content

AOTC vs Lifetime Learning Credit

What you paid, who you paid it for, and your income

$
$
$

Your result will appear here

Fill in the fields on the left and this updates as you type.

Calculation transparency

Know what this estimate is based on

Jurisdiction
General mathematical model
Scope and limitations
Educational estimate only. Confirm the assumptions, current rules, fees, and rounding that apply to your situation before making a decision.
Source links checked
Jul 30, 2026

Built and regression-tested by Smart Tools Lab. It has not been individually reviewed by a licensed financial, tax, or legal professional.

How to use

  1. 01

    Enter the qualified tuition and required fees you paid this year, added together for every student on the return.

  2. 02

    Enter your modified adjusted gross income and filing status. Both credits phase out over the same band, and neither range is adjusted for inflation, so it catches more people each year.

  3. 03

    Enter the student's year of postsecondary study. The American opportunity credit is available for only four tax years per student, so year five or later leaves only the lifetime learning credit.

  4. 04

    Enter any 529 withdrawal used for these same expenses. The page removes it first, because the same dollar cannot support both a tax-free withdrawal and a credit.

  5. 05

    Set the number of eligible students, then read which credit wins and by how much. The schedule reruns both across six levels of expense so you can see where the answer changes.

Formula

Expenses covered by a tax-free 529 withdrawal are removed before anything else, because the same dollar cannot do both jobs: Expenses available = tuition and required fees − 529 withdrawal used for them The American opportunity credit is then computed per student: Per student = 100% of the first $2,000 + 25% of the next $2,000, capped at $2,500 AOTC = Per student × number of eligible students It is available only for four tax years per student, so it is zero from year five. The lifetime learning credit is computed once for the whole return: LLC = 20% of the first $10,000 of expenses for all students, capped at $2,000 Both are then reduced by the same phase-out, on MAGI of $80,000 to $90,000 for a single filer and $160,000 to $180,000 on a joint return, neither of which is indexed for inflation: Share allowed = 1 − (MAGI − start) ÷ (end − start) Finally the refundable part of the AOTC is taken from the credit AFTER the phase-out, not from the headline amount: Refundable = the smaller of (AOTC after phase-out × 40%, $1,000 per student)

Example

Pay $9,000 of qualified tuition and required fees for one student in their second year, with $68,000 of modified adjusted gross income filing single, and $3,000 of it paid from a 529 withdrawal. The withdrawal comes off first, leaving $6,000 of expenses available for a credit. The American opportunity credit takes 100% of the first $2,000 and 25% of the next $2,000, reaching its $2,500 maximum well inside that $6,000. The lifetime learning credit takes 20% of the $6,000, which is $1,200. So the AOTC wins by $1,300. Because MAGI is below the $80,000 start of the phase-out, nothing is withdrawn — the full $2,500 stands, of which $1,000 is refundable and $1,500 can only offset tax owed. The schedule shows how the gap moves with spending: at $2,000 of expenses the AOTC is $2,000 against the LLC's $400, at $4,000 it reaches its $2,500 ceiling against $800, and by $10,000 the LLC has caught up to its own $2,000 ceiling so the gap narrows to $500. Three alternates were run. In year five of study the AOTC is unavailable entirely and the LLC's $1,200 is the whole answer. With two students and $18,000 of tuition the AOTC scales to $5,000 while the LLC stays pinned at $2,000, a gap of $3,000, with $2,000 refundable. And removing the 529 withdrawal lifts the LLC to $1,800 while the AOTC stays at $2,500, because $6,000 of expenses already exceeded the $4,000 the AOTC can use — which is exactly why leaving $4,000 of tuition unpaid by the 529 costs nothing.

Definitions

American opportunity credit (AOTC)
Up to $2,500 per student, being 100% of the first $2,000 of qualified expenses and 25% of the next $2,000. Limited to four tax years per student, needs at least half-time enrolment in a degree or credential programme, and 40% of it may be refundable.
Lifetime learning credit (LLC)
Up to $2,000 per return, being 20% of the first $10,000 of qualified expenses for all eligible students together. Nonrefundable, with no year limit and no enrolment requirement — a single course qualifies.
Refundable credit
A credit paid to you even if it exceeds the tax you owe. Only the AOTC has a refundable part, capped at 40% of the credit or $1,000 per student, whichever is lower.
No double benefit
The rule preventing the same expenses from supporting both an education credit and the tax-free part of a 529 distribution, a tax-free scholarship, or employer educational assistance.
Qualified education expenses
Tuition and required enrolment fees, plus course materials for the AOTC. Room and board never qualifies for either credit, though it is a qualified expense for a 529 withdrawal.

Good to know

Two credits that look similar and behave differently

The American opportunity credit and the lifetime learning credit are both worth real money, both are claimed on the same Form 8863, and both phase out over exactly the same income range — which is precisely why people assume they are variations on a theme and pick whichever they hear about first. They are built quite differently, and the differences decide the answer in almost every case. The American opportunity credit pays 100% of the first $2,000 of qualified expenses and 25% of the next $2,000, reaching its maximum of $2,500 at just $4,000 of spending. It is a per-student credit, so a family with two students in college can claim it twice. The lifetime learning credit pays a flat 20% from the first dollar and needs $10,000 of expenses to reach its $2,000 maximum — and that maximum is per return, not per student, however many students are on it. Put those two facts together and the shape of the comparison becomes clear. At low levels of spending the AOTC is dramatically better, because the first $2,000 is matched dollar for dollar: the page's schedule shows $2,000 of expenses producing a $2,000 AOTC against a $400 LLC. At high levels of spending the gap narrows as the LLC reaches its own ceiling, falling to $500 by $10,000 of expenses. And once more than one student is involved the AOTC pulls away again, because only it scales. On the page's example of $9,000 of tuition with $3,000 paid from a 529, the AOTC is worth $2,500 against the LLC's $1,200. Rerun that with two students and $18,000 of tuition and the AOTC reaches $5,000 while the LLC stays pinned at $2,000. You cannot claim both credits for the same student in the same year, though with several students you may claim one credit for one and the other credit for another.

Why the lifetime learning credit exists at all

Given how comprehensively the American opportunity credit wins on the arithmetic, the obvious question is why anyone claims the other one. The answer is that the AOTC is hedged with eligibility conditions that the lifetime learning credit does not have, and a great many students fail them. The AOTC is available for only four tax years per eligible student, and only while the student has not completed the first four years of postsecondary education as determined by the institution. It requires the student to be enrolled at least half-time for at least one academic period beginning in the year, in a programme leading to a degree or other recognised educational credential. It is denied to a student who, as of the end of the year, has been convicted of a felony for possessing or distributing a controlled substance. And it requires that the filer and the student have taxpayer identification numbers issued by the due date of the return. The lifetime learning credit has none of these restrictions. There is no limit on the number of years it can be claimed, no requirement that the student be pursuing a degree, and no minimum enrolment — Publication 970 defines an eligible student for this purpose simply as one enrolled in one or more courses at an eligible institution. That makes it the credit for graduate and professional study, for a fifth or sixth undergraduate year, for someone returning to education decades later, and for a single course taken to acquire or improve job skills. Rerunning the page's example at year five of study shows the switch happening: the AOTC becomes unavailable and the LLC's $1,200 is the entire answer. The one thing the LLC never does is refund. It is strictly nonrefundable, so it can reduce a tax bill to zero and no further, which matters a great deal to students and families with little tax liability to offset.

The refundable part, and the trap for young students

The most valuable feature of the American opportunity credit is one the lifetime learning credit has no equivalent for. Publication 970 states that forty percent of the American opportunity credit may be refundable, which means that if the refundable portion of the credit is more than your tax, the excess is paid to you. Since 40% of the $2,500 maximum is $1,000, that is the cap per student. On the page's example, $1,000 of the $2,500 credit is refundable and the other $1,500 can only reduce tax actually owed. For a family with modest tax liability this is the difference between a credit that mostly evaporates and one that produces a cheque. One detail in how the page computes it is worth understanding, because it is easy to get wrong: the 40% is taken from the credit after the income phase-out has been applied, not from the headline $2,500. A family partway through the phase-out therefore has a smaller refundable amount as well as a smaller credit. There is a significant trap attached to the refundable portion, and it lands on exactly the students who look like they need it most. Publication 970 sets out that if you were under age 24 at the end of the year, you cannot claim any part of the credit as refundable where a combination of conditions applies: broadly, that you were under 18, or were 18 with earned income below half your support, or were over 18 and under 24, a full-time student, and had earned income below half your support; that at least one of your parents was alive at the end of the year; and that you are not filing a joint return. A full-time student under 24 supported largely by their parents therefore gets the credit only as a nonrefundable one, reducing tax to zero and stopping there. It is a rule aimed at preventing a student with no real income from collecting a refundable credit independently of the parents supporting them, and it surprises people every year.

Keeping a 529 withdrawal clear of the credit

The coordination question is where families lose money without ever noticing, and the rule behind it is short. IRS Publication 970 forbids using the same expenses to figure the tax-free part of a distribution from a qualified tuition programme and an education credit — it appears under the heading No Double Benefit Allowed in both credit chapters. The same principle applies to a tax-free scholarship and to employer educational assistance: any expense already covered by a tax-free benefit is spent, and cannot support a credit as well. The page applies this by removing the 529 withdrawal from the expense total before either credit is computed, which on the example reduces $9,000 of tuition to $6,000 of expenses available for a credit. The practical management of this is easier than it sounds, and it turns on knowing how little the credits actually need. The American opportunity credit reaches its maximum at $4,000 of expenses per student and can use nothing above that. So the standard approach is to leave $4,000 of tuition per student unpaid by the 529 and to spend the 529 money on room and board instead — which is a qualified expense for a 529 withdrawal but never a qualified expense for either credit, so nothing is wasted in either direction. Done that way a family collects the full credit and the full tax-free withdrawal on the same year's costs. The page's alternate run with no 529 withdrawal illustrates the headroom: removing it lifts the lifetime learning credit from $1,200 to $1,800, but leaves the AOTC unchanged at $2,500, because $6,000 of expenses already exceeded the $4,000 the AOTC could use. In other words, on those figures the first $3,000 of 529 spending cost the family nothing at all in credit — but a larger withdrawal would have. Two last cautions: the phase-out ranges for both credits, $80,000 to $90,000 single and $160,000 to $180,000 joint, are not indexed for inflation and so catch more families every year; and the Form 1098-T from the institution often does not match what was actually paid, so work from your own records and let a preparer settle the return.

Frequently asked questions

Which education credit is better?

Usually the American opportunity credit, and the reason is the shape of the formula rather than the headline amounts. It pays 100% of the first $2,000 of expenses and 25% of the next $2,000, reaching $2,500 per student at just $4,000 of expenses. The lifetime learning credit pays 20% from the first dollar and needs $10,000 of expenses to reach its $2,000 maximum. On the page's example the AOTC is worth $2,500 against the LLC's $1,200, a gap of $1,300.

Is the lifetime learning credit per student or per return?

Per return, and this is the detail that decides most family comparisons. The AOTC is $2,500 for each eligible student, while the LLC is 20% of the first $10,000 of expenses for all eligible students together — $2,000 is the most any single return can claim however many students are on it. Rerunning the page with two students and $18,000 of tuition makes the point: the AOTC comes to $5,000 while the LLC stays at $2,000, a gap of $3,000.

Can I claim a credit for expenses my 529 paid?

No. IRS Publication 970 forbids using the same expenses to figure the tax-free part of a 529 distribution and an education credit, under the heading No Double Benefit Allowed in both credit chapters. On the example a $3,000 withdrawal against $9,000 of tuition leaves only $6,000 available for a credit. The practical move is to leave enough tuition unpaid by the 529 to cover the credit — $4,000 per student is all the AOTC can use — and spend the 529 on room and board instead, which is a qualified 529 expense and never qualifies for either credit anyway. Removing the withdrawal entirely in an alternate run lifts the LLC from $1,200 to $1,800, though the AOTC stays at $2,500 because $6,000 already exceeds the $4,000 it can use.

How much of the American opportunity credit is refundable?

Forty per cent of it, up to $1,000 per student. Publication 970 says 40% of the credit may be refundable, meaning that if the refundable portion exceeds your tax the excess is paid to you. Since 40% of the $2,500 maximum is $1,000, that is the cap. On the example $1,000 of the $2,500 is refundable and $1,500 can only reduce tax you actually owe. The lifetime learning credit has no refundable part at all. Watch one trap: a student under 24 at the end of the year who is a full-time student with earned income below half their support, and with a living parent, cannot claim any part of the AOTC as refundable.

When does the lifetime learning credit win?

Whenever the AOTC is unavailable, which is more often than people expect. It is limited to four tax years per student and to students who have not completed the first four years of postsecondary education, so graduate study, a fifth undergraduate year and professional courses all fall to the LLC. Rerunning the example at year five of study confirms it: the AOTC is unavailable and the LLC's $1,200 is the whole answer. The LLC also has no half-time or degree-programme requirement, so a single course taken to improve job skills qualifies.

Can I claim both credits?

Not for the same student in the same year. With several students you may claim one credit for one student and the other credit for another, which is worth checking when one child is an undergraduate and another is in graduate school. You also cannot claim a credit for expenses paid with a tax-free scholarship or tax-free employer educational assistance — the same no-double-benefit principle applies to all of them.

What counts as a qualified expense?

Tuition, required enrolment fees, and for the AOTC course materials the student needs for the course of study, whether or not they are bought from the institution. Room and board never qualifies for either credit. The amount on the Form 1098-T from the college often differs from what you actually paid, so work from your own records, and note that both credits also require the institution's employer identification number on Form 8863.