Student loan forgiveness is tax-free under Internal Revenue Code Section 108(f)(1) when your loan came from a government or government-affiliated lender, the loan agreement itself said the balance would be canceled if you worked a set period in a qualifying profession, and that work could be done for any of a broad class of employers. If those three pieces line up, the forgiven amount stays out of your gross income entirely, even though canceled debt is normally taxable under Section 61(a)(11).1Office of the Law Revision Counsel. 26 USC 61 – Gross Income Defined
The exclusion is narrower than borrowers often assume. It rewards public-service employment written into the loan from day one. It does not rescue every discharge that happens to involve a student loan.
The Three Conditions That Trigger the Exclusion
Section 108(f)(1) requires that the discharge happen “pursuant to a provision” already in the loan, and that the provision condition forgiveness on the borrower working “for a certain period of time in certain professions for any of a broad class of employers.”2Office of the Law Revision Counsel. 26 USC 108 – Income From Discharge of Indebtedness Three things have to be true.
First, the forgiveness path must be baked into the loan terms from the start. A lender writing off your balance as a goodwill gesture, or forgiving debt through a negotiated settlement, does not qualify. The service-for-discharge clause has to be part of the original agreement.
Second, the work must be in a qualifying profession. The statute does not list occupations by name. Each loan program defines its own eligible fields. Teaching, nursing, medicine, and legal aid appear frequently because those fields have persistent workforce shortages.
Third, you must be able to satisfy the service requirement by working for any of a broad class of employers rather than one specific one. Congress added this language to prevent the exclusion from working as disguised compensation from a single employer. Legislative history is explicit on the point: forgiveness cannot be conditioned on working for one employer or a small group of employers.3Internal Revenue Service. IRS Private Letter Ruling 201604003 Working for any qualifying government agency or nonprofit in the designated field is fine. Being locked into one particular hospital or school district generally is not.
The Lending-Institution Exception
Section 108(f)(3) blocks a specific scenario: if an educational institution made the loan and then forgives it because you worked for that same institution, the exclusion does not apply.2Office of the Law Revision Counsel. 26 USC 108 – Income From Discharge of Indebtedness A university lending you money and then wiping it out because you accepted a faculty post there looks more like a hiring bonus than a public-service incentive, and it is taxed accordingly.
Which Loans Qualify
Even with the right service, the loan itself has to fit the definition in Section 108(f)(2). The funds must have been used to attend a qualifying educational organization, meaning one that maintains a regular faculty, curriculum, and enrolled student body at a physical location.2Office of the Law Revision Counsel. 26 USC 108 – Income From Discharge of Indebtedness And the loan must have come from one of these:
- The United States government or any of its instrumentalities, including the Department of Education, which issues Direct Loans.
- A state, territory, the District of Columbia, or a political subdivision such as a county or municipal authority.
- Certain public benefit corporations: 501(c)(3) organizations that have taken over control of a state, county, or municipal hospital and whose employees are treated as public employees under state law.
- An educational institution described in Section 170(b)(1)(A)(ii), but only if the loan was made using funds provided by one of the government entities above, or through a program designed to place graduates in occupations or areas with unmet needs where service is directed by a government unit or a tax-exempt organization.4Office of the Law Revision Counsel. 26 USC 170 – Charitable, Etc., Contributions and Gifts
Private commercial lenders are conspicuously absent. A loan from a bank, credit union, or online refinancing company does not qualify for the Section 108(f)(1) exclusion, even if you used it to attend a qualifying school and later entered a public-service career.
The Refinancing Trap
Refinancing does not automatically kill the exclusion, but the path is narrow. A refinanced loan keeps its status as a “student loan” under Section 108(f)(2) only if the refinancing organization is either an educational institution or a tax-exempt organization under Section 501(a), and the refinancing happens through a program designed to encourage graduates to serve in shortage occupations or underserved areas.2Office of the Law Revision Counsel. 26 USC 108 – Income From Discharge of Indebtedness Refinancing through a commercial lender for a lower interest rate will almost certainly end the exclusion, because the new loan no longer meets the statutory definition. This is one of the most common ways borrowers accidentally lose the tax benefit.
Programs That Fit Under 108(f)(1)
The statute sets the frame; individual programs supply the service periods and eligible occupations.
Public Service Loan Forgiveness requires 120 qualifying monthly payments, or 10 years, while working full-time for a government employer or qualifying nonprofit. PSLF fits squarely within Section 108(f)(1): the loan terms condition discharge on extended public-service employment across a broad class of employers.
Teacher Loan Forgiveness requires five consecutive years of full-time teaching at a qualifying low-income school. Forgiveness caps at $17,500 for math, science, and special education teachers, and $5,000 for other qualifying teachers.5Federal Student Aid. Teacher Loan Forgiveness
The National Health Service Corps Loan Repayment Program looks similar but reaches a tax-free result through its own statutory authority rather than Section 108(f).6NHSC. NHSC Loan Repayment Program The outcome is the same for borrowers; the legal basis is different.
What 108(f)(1) Does Not Cover
From 2021 through 2025, the American Rescue Plan Act made virtually all student loan forgiveness tax-free at the federal level, regardless of the reason for discharge. That broad exclusion expired on January 1, 2026.7Internal Revenue Service. Instructions for Forms 1099-A and 1099-C Section 108(f)(1) was not affected because it was already permanent law. What disappeared is the safety net that covered everything else.
The most important thing 108(f)(1) does not cover is income-driven repayment forgiveness. Under IDR, monthly payments are set by income and family size, and the remaining balance is forgiven after 20 or 25 years of qualifying payments. That forgiveness is not tied to working in a qualifying profession, so it falls outside Section 108(f)(1). With ARPA expired, the discharged balance now counts as taxable income for the year it occurs.
Discharges for death or total and permanent disability are handled separately, under Section 108(f)(5), which excludes those balances from income and reaches both federal and private education loans.2Office of the Law Revision Counsel. 26 USC 108 – Income From Discharge of Indebtedness The Taxpayer Advocate Service confirms that total and permanent disability discharges do not create a tax liability.8Taxpayer Advocate Service. What to Know About Student Loan Forgiveness and Your Taxes To claim it, you must include your Social Security number on your return for the year the discharge occurs; that requirement sits in the statute itself.
Reporting the Exclusion
When your forgiveness qualifies under Section 108(f)(1), you do not include the forgiven amount in income on Form 1040. There is no line item for excluded student loan forgiveness, and you do not file Form 982 for this exclusion. Form 982 covers different discharges, such as insolvency or bankruptcy under Section 108(a).9Internal Revenue Service. About Form 982, Reduction of Tax Attributes Due to Discharge of Indebtedness
The complication is Form 1099-C. Lenders are again required to file a 1099-C for student loan discharges of $600 or more that do not fall under a current exclusion, and some will file one even when the borrower’s discharge qualifies under 108(f)(1), because the lender’s reporting duty and your tax treatment are two separate questions.7Internal Revenue Service. Instructions for Forms 1099-A and 1099-C If a 1099-C shows up but you leave the amount off your return, the IRS matching system may generate a notice. Attaching a brief statement identifying the loan program, the service requirement, and your period of qualifying employment can head off that letter. It is not required, but it saves time.
Documentation Worth Keeping
If the IRS questions the exclusion, you will need to show two things: that the loan qualified under Section 108(f)(2), and that the discharge happened because you completed the required service. Keep:
- The original promissory note or loan agreement, which proves the service-based forgiveness provision existed from the beginning.
- Employment verification letters confirming your job title, dates of employment, and full-time status during the required service period.
- Program certification correspondence from the loan servicer or program administrator confirming you met the requirements and that the discharge was granted on that basis.
- The 1099-C itself, with the reported figure checked against your records. If the amount is wrong, request a corrected form from the lender before filing rather than ignoring the discrepancy.
State Taxes Can Still Bite
Federal exclusion does not automatically carry over. A handful of states do not follow the federal exclusion under Section 108(f), and others declined to conform to the ARPA-era broad exclusion while it was in effect. Check your state’s rules before assuming the federal treatment applies. A state-level tax bill is a common surprise for borrowers who planned only around the federal side.