Skip to content

General education, not advice for your situation.

Carry Forward Learning Search the site

Education Credits and Student Loan Tax Rules 2026

Education credits and loans: law, regulations, guidance and cases

Same facts. Pro adds the full authority stack under each answer.

Every source this hub relies on, strongest first. Cases are labelled by court and whether they bind.

Code

  • Code I.R.C. § 108 Income from discharge of indebtednessCancelled debt is income unless a rule keeps it out. Student loans have three: a discharge that depends on working in certain professions for a broad class of employers (108(f)(1)); certain state and health-service loan repayment (108(f)(4)); and, for discharges after December 31, 2025, only a discharge on account of the student's death or total and permanent disability, and only with a Social Security number on the return (108(f)(5), as rewritten by Pub. L. 119-21 sec. 70119). The broad 2021 to 2025 exclusion (Pub. L. 117-2 sec. 9675) no longer applies to new discharges. Insolvency (108(a)(1)(B), (a)(3)) can still exclude part of a taxable discharge.
    8 paragraphs
    • 108(a)(1) Gross income does not include discharge-of-debt income in a title 11 case, when the taxpayer is insolvent, and in the other listed cases.
    • 108(a)(3) The insolvency exclusion cannot exceed the amount by which the taxpayer is insolvent.
    • 108(f)(1) A student loan discharge is excluded if the loan provides that all or part of it is discharged when the individual works a certain period in certain professions for any of a broad class of employers.
    • 108(f)(2) A student loan is a loan to attend a qualifying educational organization made by a government unit, certain public benefit corporations, or an educational organization acting under a government agreement or a service-encouraging program.
    • 108(f)(3) The work-based exclusion does not apply to a discharge for services performed for the lender organization.
    • 108(f)(4) Amounts received under the National Health Service Corps loan repayment program and certain state programs for health care in underserved areas are not income.
    • 108(f)(5)(A) A discharge of a student loan or private education loan is excluded if it is pursuant to Higher Education Act death or disability provisions or otherwise on account of the student's death or total and permanent disability.
    • 108(f)(5)(C) The death-or-disability exclusion for a taxable year applies only if the taxpayer includes the taxpayer's Social Security number on the return.
  • Code I.R.C. § 117 Qualified scholarshipsA degree candidate can exclude a scholarship or fellowship to the extent it is used for tuition and fees required for enrollment and for fees, books, supplies and equipment required for courses. Amounts that pay for teaching, research or other services required as a condition of the award are not excluded, and the rule does not reach room and board.
    4 paragraphs
    • 117(a) Gross income does not include a qualified scholarship received by a degree candidate at a qualifying educational organization.
    • 117(b)(1) A qualified scholarship is the part of a scholarship or fellowship that the student establishes was used, under the grant's conditions, for qualified tuition and related expenses.
    • 117(b)(2) Qualified tuition and related expenses are tuition and fees required for enrollment or attendance, and fees, books, supplies and equipment required for courses of instruction.
    • 117(c)(1) The exclusion does not apply to the part of an amount that pays for teaching, research or other services the student must perform as a condition of the award.
  • Code I.R.C. § 127 Educational assistance programsAn employee's gross income does not include up to $5,250 a year of employer-provided educational assistance under a separate written plan. Since Pub. L. 119-21 (sec. 70412), the employer's payment of principal or interest on the employee's own qualified education loan counts as educational assistance without an end date, and the cap is indexed for taxable years beginning after 2026. An excluded amount cannot also be deducted or used for a credit.
    6 paragraphs
    • 127(a)(2) The exclusion is limited to $5,250 of educational assistance furnished to an individual in a calendar year (2026).
    • 127(b)(1) The program must be a separate written plan of the employer for the exclusive benefit of employees.
    • 127(b)(4) The plan must not let eligible employees choose between educational assistance and other pay that would be taxable.
    • 127(c)(1)(B) Educational assistance includes an employer's payment, to the employee or to a lender, of principal or interest on a qualified education loan the employee incurred for the employee's own education.
    • 127(c)(7) No deduction or credit under any other section for an amount excluded under section 127.
    • 127(d)(1) For taxable years beginning after 2026 the dollar amount is increased by the cost-of-living adjustment, with the base year changed to 2025.
  • Code I.R.C. § 152 Dependent definedA dependent is a qualifying child or qualifying relative. A qualifying child must be younger than the taxpayer and under 19 (under 24 if a student) at the end of the year, among other tests; a divorced or separated parents' special rule can give the claim to the noncustodial parent by agreement.
    3 paragraphs
    • 152(c)(3) A qualifying child is younger than the taxpayer and has not reached 19 at year end, or is a student who has not reached 24 (the age test is waived for a permanently and totally disabled person).
    • 152(d)(1) A qualifying relative has a listed relationship, gross income under the exemption amount, receives over half of support from the taxpayer, and is not a qualifying child of anyone.
    • 152(e)(1) For divorced or separated parents who provide over half of a child's support, the noncustodial parent can be treated as the one entitled to the child if the custodial parent signs a release.
  • Code I.R.C. § 221 Interest on education loansAn above-the-line deduction for interest paid on a qualified education loan, up to $2,500 a year. The deduction phases out between $85,000 and $100,000 of modified adjusted gross income ($175,000 and $205,000 on a joint return) for 2026. A married person must file jointly, a person for whom another taxpayer is allowed a dependency deduction gets nothing, and interest cannot be deducted twice (employer payments under section 127 and nontaxable 529 distributions for loans reduce it).
    8 paragraphs
    • 221(a) An individual may deduct interest paid during the year on a qualified education loan.
    • 221(b)(1) The deduction cannot exceed $2,500.
    • 221(b)(2) The deduction is reduced by the share that the excess of modified adjusted gross income over the base amount is spread over the phase-out range ($85,000 to $100,000; $175,000 to $205,000 joint for 2026); the base amounts are indexed under 221(f).
    • 221(c) No deduction for a person for whom another taxpayer is allowed a dependency deduction.
    • 221(d)(1) A qualified education loan is debt incurred solely to pay qualified higher education expenses of the taxpayer, spouse or a dependent, within a reasonable time of the loan, for an eligible student; it can include a refinancing but not a loan from a related person or an employer plan.
    • 221(d)(2) Qualified higher education expenses are the cost of attendance at an eligible institution, reduced by amounts excluded under sections 127, 135, 529 or 530 and by nontaxable scholarships described in section 25A(g)(2).
    • 221(e)(1) No double benefit: no deduction for an amount deductible elsewhere or excluded under section 127 because the employer paid the loan; the deduction is also cut by 529 loan-repayment distributions that would otherwise be taxed.
    • 221(e)(2) A taxpayer married at year end can claim the deduction only on a joint return.
  • Code I.R.C. § 222 (repealed) Qualified tuition and related expenses deduction, repealedThe above-the-line deduction for tuition and fees was repealed for taxable years beginning after 2020 (Pub. L. 116-260, div. EE, sec. 104(b)(1), (c)). It no longer exists; the credits in section 25A are the route for tuition.
  • Code I.R.C. § 25A American Opportunity and Lifetime Learning creditsTwo credits for qualified tuition and related expenses. The American opportunity credit is 100% of the first $2,000 of expenses plus 25% of the next $2,000, for up to 4 years per student, and 40% of it is refundable. The lifetime learning credit is 20% of up to $10,000 of expenses per return. Both phase out together between $80,000 and $90,000 of modified adjusted gross income ($160,000 and $180,000 on a joint return). A married person can claim them only on a joint return. Expenses are cut by nontaxable aid, a student claimed as a dependent cannot claim the credit, and for tax years beginning after 2025 the taxpayer's and the student's Social Security numbers are required (Pub. L. 119-21 sec. 70606).
    17 paragraphs
    • 25A(b)(1) The American opportunity credit is 100% of the first $2,000 of qualified tuition and related expenses plus 25% of the next $2,000, per eligible student.
    • 25A(b)(2)(A) The credit cannot be elected for a student if an election was in effect for that student (by anyone) for any 4 prior taxable years.
    • 25A(b)(2)(D) No American opportunity credit for expenses of a student convicted of a federal or state felony for possessing or distributing a controlled substance by the end of the taxable year.
    • 25A(b)(3) An eligible student meets the Higher Education Act requirements and carries at least half the normal full-time workload for the course of study.
    • 25A(c)(1) The lifetime learning credit is 20% of up to $10,000 of qualified tuition and related expenses paid during the year, per taxpayer.
    • 25A(c)(2)(A) Expenses of a student for whom the American opportunity credit is allowed in the year are not taken into account for the lifetime learning credit.
    • 25A(d)(1) Each credit is reduced in proportion as modified adjusted gross income rises from the start amount ($80,000; $160,000 joint) to the upper limit ($90,000; $180,000 joint).
    • 25A(f)(1)(A) Qualified tuition and related expenses are tuition and fees required for enrollment or attendance of the taxpayer, the spouse, or a dependent for whom a section 151 deduction is allowed.
    • 25A(f)(1)(D) For the American opportunity credit, 'tuition and fees' reads 'tuition, fees, and course materials'.
    • 25A(g)(1) No credit unless the return shows the taxpayer's Social Security number and, for another person's expenses, that person's name and Social Security number; the American opportunity credit also needs the institution's employer identification number.
    • 25A(g)(2) Qualified expenses are reduced, before the credit is figured, by nontaxable scholarships under section 117, veterans' educational assistance and other payments excludable from income.
    • 25A(g)(3) If another taxpayer may claim a student as a dependent, the student gets no credit and expenses the student pays are treated as paid by the other taxpayer.
    • 25A(g)(4) Expenses paid in one year for an academic period that begins in the first 3 months of the next year are treated as for a period beginning in the year paid.
    • 25A(g)(5) No credit for an expense for which a deduction is allowed under any other provision.
    • 25A(g)(6) A married individual can claim the credits only on a joint return.
    • 25A(g)(8) Unless the Secretary provides otherwise, no credit unless the taxpayer receives the statement the institution must furnish under section 6050S(d).
    • 25A(i) 40% of the American opportunity credit is treated as refundable, except for a taxpayer who is a child to whom the kiddie tax rule in section 1(g) applies.
  • Code I.R.C. § 529(c)(9) 529 distributions for qualified education loan repaymentsA 529 distribution used to repay principal or interest on a qualified education loan of the designated beneficiary or a sibling is treated as a qualified higher education expense, up to $10,000 over the person's lifetime. Interest paid that way cannot also be deducted under section 221.
    1 paragraphs
    • 529(c)(9) Qualified higher education expense includes principal or interest on a qualified education loan of the beneficiary or a sibling, limited to $10,000 per individual over a lifetime.
  • Code I.R.C. § 6050S Returns relating to higher education tuition and related expensesEligible educational institutions report each enrolled student's payments received for qualified tuition and related expenses, grants, adjustments and insurance reimbursements (Form 1098-T), and lenders report student loan interest of $600 or more (Form 1098-E). Statements go to the student or borrower by January 31.
    3 paragraphs
    • 6050S(a)(3) A person in a trade or business that receives $600 or more of interest in a calendar year on qualified education loans must file a return.
    • 6050S(b)(2) The return shows the student's name, address and taxpayer identification number, payments received, grants administered, prior-year adjustments, reimbursements, interest and the institution's EIN.
    • 6050S(d) Each person required to file must furnish the individual a written statement on or before January 31 of the following year.
  • Code I.R.C. § 61(a)(11) Gross income includes income from discharge of indebtednessGross income means all income from whatever source derived, including income from the discharge of indebtedness. That is the starting point for forgiven loans: the cancelled amount counts unless another provision excludes it.
    1 paragraphs
    • 61(a)(11) Gross income includes income from discharge of indebtedness.

Session law

  • Final regulation Treas. Reg. § 1.127-2 Qualified educational assistance programA qualified program is a plan the employer establishes and maintains under which it provides educational assistance to employees. It must be written and meet the requirements in the regulation; it need not be funded and no IRS approval is required.
  • Final regulation Treas. Reg. § 1.221-1(f) Interest on education loans: what counts as interestAmounts paid on a qualified education loan are deductible if they are interest for federal tax purposes. Qualified stated interest and original issue discount (which generally includes capitalized interest) count.
  • Final regulation Treas. Reg. § 1.25A-2 Definitions: required fees, books and personal expensesA fee counts only if it must be paid to the school as a condition of enrollment or attendance. Books, supplies and equipment count (for the lifetime learning credit) only if they must be bought from the school as a condition of enrollment. Room and board, insurance, medical and student health fees, transportation and similar personal costs never count. A bundled fee is split by the school with a reasonable method. Sports, games, hobbies and noncredit courses are out unless part of the degree program or, for the lifetime learning credit, taken to acquire or improve job skills.
  • Final regulation Treas. Reg. § 1.25A-5(a), (b) Expenses paid by a claimed dependent or by a third partyExpenses a claimed dependent pays are treated as paid by the person who claims the dependent. Expenses a third party (a grandparent, say) pays directly to the school are treated as paid by the student, who is treated as paying the school. A student who is not claimed can therefore use a relative's direct payment.

Form or publication

  • Publication IRS Publication 4681 (2025) Canceled Debts, Foreclosures, Repossessions, and Abandonments IRS publication (not authority)The student loan section says a discharge pursuant to a work-based provision, certain repayment programs and (for discharges after 2025) a death or total and permanent disability discharge may be nontaxable, and that for discharges after 2025 the Social Security number must be valid for employment and issued before the due date of the return. It also explains Form 1099-C, the insolvency exclusion and Form 982.
  • Publication IRS Publication 970 (2025) Tax Benefits for Education IRS publication (not authority)The IRS guide to every education benefit. Chapter 1 covers scholarships and fellowships (taxable if they pay for services, room and board or other costs), chapters 2 and 3 the two credits, chapter 4 the student loan interest deduction, chapter 5 cancelled student loans and repayment assistance, chapter 6 Coverdell ESAs, chapter 7 529 plans and chapter 10 employer help. It says that starting in 2026 the credits need valid Social Security numbers, that the credits can be claimed without Form 1098-T only in listed cases, and that a student can sometimes raise the credit by including part of a scholarship in income.
  • IRS web page IRS Tax Topic 431 Canceled debt: is it taxable or not? IRS web page (not authority)Cancelled debt is generally income and the creditor may send Form 1099-C. The listed exceptions include discharge of certain student loans from 2021 through 2025, cancellation on account of the student's death or total and permanent disability, and debt cancelled while you are insolvent (reported on Form 982). You must report the right taxable amount even if the Form 1099-C is wrong.
  • IRS web page IRS Tax Topic 456 Student loan interest deduction IRS web page (not authority)The deduction is the smaller of $2,500 or the interest you paid, voluntary payments count, it is claimed as an adjustment to income so you need not itemize, you should receive Form 1098-E when you paid $600 or more, and married filing separately or being claimed as a dependent rules you out.
  • IRS web page IRS Taxpayer Advocate Service, What to know about student loan forgiveness and your taxes Student loan forgiveness and your taxes (March 2026) IRS web page (not authority)A tax tip from the Taxpayer Advocate Service: if a federal loan balance is forgiven under an income-driven repayment plan in 2026 or later, the forgiven amount is generally taxable; discharges for death or total and permanent disability, and Public Servant Loan Forgiveness, create no tax liability; insolvent borrowers may exclude some or all on Form 982.
  • IRS web page IRS, Education credits: AOTC and LLC Education credits (AOTC and LLC) IRS web page (not authority)Both credits end at $90,000 of modified adjusted gross income ($180,000 joint). Form 1098-T is generally needed, and the box 1 amount may differ from what you paid. Beginning in 2026 the taxpayer (and spouse on a joint return) and any dependent student need a Social Security number valid for work, issued by the return's due date.
  • Form instructions Instructions for Form 8863 (2025) Education Credits (American Opportunity and Lifetime Learning Credits) Form instructions (not authority)Part I figures the refundable part of the American opportunity credit, Part II the nonrefundable credits, and Part III is completed for each student (lines 20 to 31) with the student's name and Social Security number, the school's name and employer identification number, the Form 1098-T questions, the four-year and felony questions, and the adjusted qualified expenses. Table 1 sets out the differences between the two credits, and the Adjusted Qualified Education Expenses Worksheet takes nontaxable aid and refunds out of expenses.
  • Form instructions Instructions for Forms 1098-E and 1098-T (2026) Student Loan Interest Statement and Tuition Statement Form instructions (not authority)Form 1098-E (box 1) reports interest received on a student loan when it reaches $600 or more, including capitalized interest and some origination fees. Form 1098-T reports in box 1 the payments received for qualified tuition and related expenses (not reduced by scholarships), in box 4 prior-year adjustments, in box 5 scholarships and grants, in box 6 prior-year scholarship adjustments, in box 7 whether payments are for a period beginning in January through March of the next year, in box 8 half-time status, in box 9 graduate status, and in box 10 insurance reimbursements. Boxes 2 and 3 are reserved.

Where the numbers come from

Checked

Every figure above comes from the source listed here, with the date we checked it and the date it is due for a re-check.

  • Dependents: qualifying child age limit
    IRC 152(c)(3)(A)(i)-(ii) checked 2026-10-21, review by 2027-01-21
  • Education 529: student loan lifetime cap
    IRC 529(c)(9)(B) checked 2026-10-19, review by 2027-01-19
  • Education assistance 127: annual exclusion
    IRC 127(a)(2), (d) checked 2026-10-22, review by 2027-01-19
  • Education credits 25a: aotc expense tiers
    IRC 25A checked 2026-10-19, review by 2027-01-19
  • Education credits 25a: aotc maximum years
    IRC 25A checked 2026-10-19, review by 2027-01-19
  • Education credits 25a: aotc refundable
    IRC 25A checked 2026-10-19, review by 2027-01-19
  • Education credits 25a: llc rate and expense cap
    IRC 25A checked 2026-10-19, review by 2027-01-19
  • Education credits 25a: phaseout range MAGI
    IRC 25A checked 2026-10-19, review by 2027-01-19
  • Education credits 25a: prepaid academic period months
    IRC 25A(g)(4) checked 2026-10-21, review by 2027-01-21
  • Information reporting extra: form 1098e threshold
    IRC 6050S(a)(3) checked 2026-10-22, review by 2027-01-19
  • Student loan forgiveness: section 108f5 death disability rule discharges after
    IRC 108(f)(5); Pub. L. 119-21 sec. 70119(c) checked 2026-10-22, review by 2027-01-19
  • Student loan interest deduction: maximum deduction
    Rev. Proc. 2025-32 (sec. 221 item) checked 2026-09-24, review by 2027-01-22
  • Student loan interest deduction: phaseout end MAGI, all other
    Rev. Proc. 2025-32 (sec. 221 item) checked 2026-09-24, review by 2027-01-22
  • Student loan interest deduction: phaseout end MAGI, married filing jointly
    Rev. Proc. 2025-32 (sec. 221 item) checked 2026-09-24, review by 2027-01-22
  • Student loan interest deduction: phaseout start MAGI, all other
    Rev. Proc. 2025-32 (sec. 221 item) checked 2026-09-24, review by 2027-01-22
  • Student loan interest deduction: phaseout start MAGI, married filing jointly
    Rev. Proc. 2025-32 (sec. 221 item) checked 2026-09-24, review by 2027-01-22