§ 172. Net operating loss deduction
16,582 words·~75 min read·
/usc/title-26/section-172A research copy — for the controlling text, always check the official state or federal source. Not legal advice.
(a)Deduction allowed There shall be allowed as a deduction for the taxable year an amount equal to—
(1)in the case of a taxable year beginning before January 1, 2021, the aggregate of the net operating loss carryovers to such year, plus the net operating loss carrybacks to such year, and
(2)in the case of a taxable year beginning after December 31, 2020, the sum of—
(A)the aggregate amount of net operating losses arising in taxable years beginning before January 1, 2018, carried to such taxable year, plus
(B)the lesser of—
(i)the aggregate amount of net operating losses arising in taxable years beginning after December 31, 2017, carried to such taxable year, or
(ii)80 percent of the excess (if any) of—
(I)taxable income computed without regard to the deductions under this section and sections 199A and 250, over
(II)the amount determined under subparagraph (A).
For purposes of this subtitle, the term “net operating loss deduction” means the deduction allowed by this subsection.
(b)Net operating loss carrybacks and carryovers
(1)Years to which loss may be carried
(A)General rule A net operating loss for any taxable year—
(i)shall be a net operating loss carryback to the extent provided in subparagraphs (B), (C)(i), and (D), and
(ii)except as provided in subparagraph (C)(ii), shall be a net operating loss carryover—
(I)in the case of a net operating loss arising in a taxable year beginning before January 1, 2018, to each of the 20 taxable years following the taxable year of the loss, and
(II)in the case of a net operating loss arising in a taxable year beginning after December 31, 2017, to each taxable year following the taxable year of the loss.
(B)Farming losses
(i)In general In the case of any portion of a net operating loss for the taxable year which is a farming loss with respect to the taxpayer, such loss shall be a net operating loss carryback to each of the 2 taxable years preceding the taxable year of such loss.
(ii)Farming loss For purposes of this section, the term “farming loss” means the lesser of—
(I)the amount which would be the net operating loss for the taxable year if only income and deductions attributable to farming businesses (as defined in section 263A(e)(4)) are taken into account, or
(II)the amount of the net operating loss for such taxable year.
(iii)Coordination with paragraph
(2)For purposes of applying paragraph (2), a farming loss for any taxable year shall be treated as a separate net operating loss for such taxable year to be taken into account after the remaining portion of the net operating loss for such taxable year.
(iv)Election Any taxpayer entitled to a 2-year carryback under clause
(i)from any loss year may elect not to have such clause apply to such loss year. Such election shall be made in such manner as prescribed by the Secretary and shall be made by the due date (including extensions of time) for filing the taxpayer’s return for the taxable year of the net operating loss. Such election, once made for any taxable year, shall be irrevocable for such taxable year.
(C)Insurance companies In the case of an insurance company (as defined in section 816(a)) other than a life insurance company, the net operating loss for any taxable year—
(i)shall be a net operating loss carryback to each of the 2 taxable years preceding the taxable year of such loss, and
(ii)shall be a net operating loss carryover to each of the 20 taxable years following the taxable year of the loss.
(D)Special rule for losses arising in 2018, 2019, and 2020
(i)In general In the case of any net operating loss arising in a taxable year beginning after December 31, 2017, and before January 1, 2021—
(I)such loss shall be a net operating loss carryback to each of the 5 taxable years preceding the taxable year of such loss, and
(II)subparagraphs
(B)and (C)(i) shall not apply.
(ii)Special rules for REITs For purposes of this subparagraph—
(I)In general A net operating loss for a REIT year shall not be a net operating loss carryback to any taxable year preceding the taxable year of such loss.
(II)Special rule In the case of any net operating loss for a taxable year which is not a REIT year, such loss shall not be carried to any preceding taxable year which is a REIT year.
(III)REIT year For purposes of this subparagraph, the term “REIT year” means any taxable year for which the provisions of part II of subchapter M (relating to real estate investment trusts) apply to the taxpayer.
(iii)Special rule for life insurance companies In the case of a life insurance company, if a net operating loss is carried pursuant to clause (i)(I) to a life insurance company taxable year beginning before January 1, 2018, such net operating loss carryback shall be treated in the same manner as an operations loss carryback (within the meaning of section 810 as in effect before its repeal) of such company to such taxable year.
(iv)Rule relating to carrybacks to years to which section 965 applies If a net operating loss of a taxpayer is carried pursuant to clause (i)(I) to any taxable year in which an amount is includible in gross income by reason of section 965(a), the taxpayer shall be treated as having made the election under section 965(n) with respect to each such taxable year.
(v)Special rules for elections under paragraph
(I)Special election to exclude section 965 years If the 5-year carryback period under clause (i)(I) with respect to any net operating loss of a taxpayer includes 1 or more taxable years in which an amount is includible in gross income by reason of section 965(a), the taxpayer may, in lieu of the election otherwise available under paragraph (3), elect under such paragraph to exclude all such taxable years from such carryback period.
(II)Time of elections An election under paragraph
(3)(including an election described in subclause (I)) with respect to a net operating loss arising in a taxable year beginning in 2018 or 2019 shall be made by the due date (including extensions of time) for filing the taxpayer’s return for the first taxable year ending after the date of the enactment of this subparagraph.
(2)Amount of carrybacks and carryovers The entire amount of the net operating loss for any taxable year (hereinafter in this section referred to as the “loss year”) shall be carried to the earliest of the taxable years to which (by reason of paragraph (1)) such loss may be carried. The portion of such loss which shall be carried to each of the other taxable years shall be the excess, if any, of the amount of such loss over the sum of the taxable income for each of the prior taxable years to which such loss may be carried. For purposes of the preceding sentence, the taxable income for any such prior taxable year shall—
(A)be computed with the modifications specified in subsection
(d)other than paragraphs (1), (4), and
(5)thereof, and by determining the amount of the net operating loss deduction without regard to the net operating loss for the loss year or for any taxable year thereafter,
(B)not be considered to be less than zero, and
(C)for taxable years beginning after December 31, 2020, be reduced by 20 percent of the excess (if any) described in subsection (a)(2)(B)(ii) for such taxable year.
(3)Election to waive carryback Any taxpayer entitled to a carryback period under paragraph
(1)may elect to relinquish the entire carryback period with respect to a net operating loss for any taxable year. Such election shall be made in such manner as may be prescribed by the Secretary, and shall be made by the due date (including extensions of time) for filing the taxpayer’s return for the taxable year of the net operating loss for which the election is to be in effect. Such election, once made for any taxable year, shall be irrevocable for such taxable year.
(c)Net operating loss defined For purposes of this section, the term “net operating loss” means the excess of the deductions allowed by this chapter over the gross income. Such excess shall be computed with the modifications specified in subsection (d).
(d)Modifications The modifications referred to in this section are as follows:
(1)Net operating loss deduction No net operating loss deduction shall be allowed.
(2)Capital gains and losses of taxpayers other than corporations In the case of a taxpayer other than a corporation—
(A)the amount deductible on account of losses from sales or exchanges of capital assets shall not exceed the amount includable on account of gains from sales or exchanges of capital assets; and
(B)the exclusion provided by section 1202 shall not be allowed.
(3)Deduction for personal exemptions No deduction shall be allowed under section 151 (relating to personal exemptions). No deduction in lieu of any such deduction shall be allowed.
(4)Nonbusiness deductions of taxpayers other than corporations In the case of a taxpayer other than a corporation, the deductions allowable by this chapter which are not attributable to a taxpayer’s trade or business shall be allowed only to the extent of the amount of the gross income not derived from such trade or business. For purposes of the preceding sentence—
(A)any gain or loss from the sale or other disposition of—
(i)property, used in the trade or business, of a character which is subject to the allowance for depreciation provided in section 167, or
(ii)real property used in the trade or business,
shall be treated as attributable to the trade or business;
(B)the modifications specified in paragraphs (1), (2)(B), and
(3)shall be taken into account;
(C)any deduction for casualty or theft losses allowable under paragraph
(2)or
(3)of section 165(c) shall be treated as attributable to the trade or business; and
(D)any deduction allowed under section 404 to the extent attributable to contributions which are made on behalf of an individual who is an employee within the meaning of section 401(c)(1) shall not be treated as attributable to the trade or business of such individual.
(5)Computation of deduction for dividends received The deductions allowed by sections 243 (relating to dividends received by corporations) and 245 (relating to dividends received from certain foreign corporations) shall be computed without regard to section 246(b) (relating to limitation on aggregate amount of deductions).
(6)Modifications related to real estate investment trusts In the case of any taxable year for which part II of subchapter M (relating to real estate investment trusts) applies to the taxpayer—
(A)the net operating loss for such taxable year shall be computed by taking into account the adjustments described in section 857(b)(2) (other than the deduction for dividends paid described in section 857(b)(2)(B));
(B)where such taxable year is a “prior taxable year” referred to in paragraph
(2)of subsection (b), the term “taxable income” in such paragraph shall mean “real estate investment trust taxable income” (as defined in section 857(b)(2)); and
(C)subsection (a)(2)(B)(ii)(I) shall be applied by substituting “real estate investment trust taxable income (as defined in section 857(b)(2) but without regard to the deduction for dividends paid (as defined in section 561))” for “taxable income”.
[(7) Repealed. Pub. L. 115–97, title I, § 13305(b)(3), Dec. 22, 2017, 131 Stat. 2126]
(8)Qualified business income deduction Any deduction under section 199A shall not be allowed.
(9)Deduction for foreign-derived deduction eligible income The deduction under section 250 shall not be allowed.
(e)Law applicable to computations In determining the amount of any net operating loss carryback or carryover to any taxable year, the necessary computations involving any other taxable year shall be made under the law applicable to such other taxable year.
(f)Special rule for insurance companies In the case of an insurance company (as defined in section 816(a)) other than a life insurance company—
(1)the amount of the deduction allowed under subsection
(a)shall be the aggregate of the net operating loss carryovers to such year, plus the net operating loss carrybacks to such year, and
(2)subparagraph
(C)of subsection (b)(2) shall not apply.
(g)Cross references
(1)For treatment of net operating loss carryovers in certain corporate acquisitions, see section 381.
(2)For special limitation on net operating loss carryovers in case of a corporate change of ownership, see section 382.
(Aug. 16, 1954, ch. 736, 68A Stat. 63; Pub. L. 85–866, title I, §§ 14(a), (b), 64(b), title II, § 203(a), (b), Sept. 2, 1958, 72 Stat. 1611, 1656, 1678; Pub. L. 87–710, § 1, Sept. 27, 1962, 76 Stat. 648; Pub. L. 87–792, § 7(f), Oct. 10, 1962, 76 Stat. 829; Pub. L. 87–794, title III, § 317(b), Oct. 11, 1962, 76 Stat. 889; Pub. L. 88–272, title II, §§ 210(a), (b), 234(b)(5), Feb. 26, 1964, 78 Stat. 47, 48, 115; Pub. L. 90–225, § 3(a), Dec. 27, 1967, 81 Stat. 732; Pub. L. 91–172, title IV, § 431(b), Dec. 30, 1969, 83 Stat. 619;
Pub. L. 91–677, § 2(a)–(c), Jan. 12, 1971, 84 Stat. 2061; Pub. L. 94–455, title VIII, § 806(a)–(c), title X, § 1052(c)(3), title XVI, § 1606(b), (c), title XIX, §§ 1901(a)(29), 1906(b)(13)(A), title XXI, § 2126, Oct. 4, 1976, 90 Stat. 1598, 1648, 1755, 1756, 1769, 1834, 1920; Pub. L. 95–30, title I, § 102(b)(2), May 23, 1977, 91 Stat. 137; Pub. L. 95–600, title III, § 371(a), (b), title VI, § 601(b)(1), title VII, §§ 701(d)(1), 703(p)(1), Nov. 6, 1978, 92 Stat. 2859, 2896, 2900, 2943;
Pub. L. 96–222, title I, §§ 103(a)(15), 106(a)(1), (6), (7), Apr. 1, 1980, 94 Stat. 214, 221; Pub. L. 96–595, § 1(a), Dec. 24, 1980, 94 Stat. 3464; Pub. L. 97–34, title II, § 207(a), Aug. 13, 1981, 95 Stat. 225; Pub. L. 97–354, § 5(a)(22), Oct. 19, 1982, 96 Stat. 1694; Pub. L. 97–362, title I, § 102(a)–(c), Oct. 25, 1982, 96 Stat. 1727, 1728; Pub. L. 98–369, div. A, title I, §§ 91(d), 177(c), title IV, § 491(d)(5), title VII, § 722(a)(4), July 18, 1984, 98 Stat. 606, 710, 849, 973;
Pub. L. 99–514, title I, § 104(b)(4), title III, § 301(b)(3), title IX, §§ 901(d)(4)(B), 903(a), (b), title XIII, § 1303(b)(1), (2), title XVIII, § 1899A(6), Oct. 22, 1986, 100 Stat. 2105, 2217, 2380, 2383, 2658, 2958; Pub. L. 100–647, title I, §§ 1003(a)(1), 1009(c), Nov. 10, 1988, 102 Stat. 3382, 3449; Pub. L. 101–239, title VII, § 7211(a), (b), Dec. 19, 1989, 103 Stat. 2342, 2343; Pub. L. 101–508, title XI, §§ 11324(a), 11701(d), 11704(a)(2), 11811(a)–(b)(2)(A), (3), (4), Nov. 5, 1990, 104 Stat. 1388–465, 1388–507, 1388–518, 1388–530, 1388–532 to 1388–534;
Pub. L. 103–66, title XIII, § 13113(d)(1), Aug. 10, 1993, 107 Stat. 429; Pub. L. 104–188, title I, §§ 1702(h)(2), (16), 1704(t)(5), (30), Aug. 20, 1996, 110 Stat. 1873, 1874, 1887, 1889; Pub. L. 105–34, title X, § 1082(a), (b), Aug. 5, 1997, 111 Stat. 950; Pub. L. 105–277, div. J, title II, § 2013(a)–(c), title III, § 3004(a), title IV, §§ 4003(h), 4004(a), Oct. 21, 1998, 112 Stat. 2681–902, 2681–905, 2681–910; Pub. L. 107–147, title I, § 102(a), (b), title IV, § 417(8), Mar. 9, 2002, 116 Stat. 25, 56;
Pub. L. 108–311, title IV, § 403(b)(1), Oct. 4, 2004, 118 Stat. 1187; Pub. L. 109–58, title XIII, § 1311, Aug. 8, 2005, 119 Stat. 1009; Pub. L. 109–135, title IV, §§ 402(f), 403(a)(17), Dec. 21, 2005, 119 Stat. 2611, 2619; Pub. L. 110–343, div. C, title VII, §§ 706(a)(2)(D)(v), (vi), 708(a), (b), (d), Oct. 3, 2008, 122 Stat. 3922, 3924, 3925; Pub. L. 111–5, div. B, title I, § 1211(a), (b), Feb. 17, 2009, 123 Stat. 335, 336; Pub. L. 111–92, § 13(a), Nov. 6, 2009, 123 Stat. 2992;
Pub. L. 113–295, div. A, title II, §§ 211(c)(1)(B), 221(a)(30)(A), (B), (41)(B), Dec. 19, 2014, 128 Stat. 4033, 4041, 4044; Pub. L. 115–97, title I, §§ 11011(d)(1), 13302(a)–(c)(2)(A), (d), 13305(b)(3), 14202(b)(1), Dec. 22, 2017, 131 Stat. 2071, 2121–2123, 2126, 2216; Pub. L. 115–141, div. T, § 101(a)(2)(B), div. U, title IV, § 401(a)(53), Mar. 23, 2018, 132 Stat. 1155, 1186; Pub. L. 116–136, div. A, title II, § 2303(a)(1)–(2)(B), (b), (c)(2), Mar. 27, 2020, 134 Stat. 352, 353, 355;
Pub. L. 119–21, title VII, § 70323(b)(2)(C)(ii), July 4, 2025, 139 Stat. 206.)
Connections196 cite this · traces to 41
Cited by 196 sections · top 60
public-private-law
- Public Law 116-260Consolidated Appropriations Act, 2021
- Public Law 116-136Coronavirus Aid, Relief, and Economic Security Act
- Public Law 115-97To provide for reconciliation pursuant to titles II and V of the concurrent resolution on the budget for fiscal year 2018.Dec
- Public Law 119-21To provide for reconciliation pursuant to title II of H
- Public Law 113-295Tax Increase Prevention Act of 2014
U.S. Code
- § 1Tax imposed
- § 24101Findings, mission, and goals
- § 168Accelerated cost recovery system
- § 56Adjustments in computing alternative minimum taxable income
- § 162Trade or business expenses
- § 20101Purpose
- § 6501Limitations on assessment and collection
- § 3402Income tax collected at source
- § 381Carryovers in certain corporate acquisitions
- § 6511Limitations on credit or refund
- § 461General rule for taxable year of deduction
- § 6601Interest on underpayment, nonpayment, or extensions of time for payment, of tax
- § 1016Adjustments to basis
- § 512Unrelated business taxable income
- § 1452Federal Home Loan Mortgage Corporation
- § 243Dividends received by corporations
- § 1504Definitions
- § 1801Statement of purposes
- § 301Distributions of property
- § 263Capital expenditures
- § 246Rules applying to deductions for dividends received
- § 832Insurance company taxable income
- § 1256Section 1256 contracts marked to market
- § 812Definition of company’s share and policyholder’s share
- § 250Foreign-derived deduction eligible income and net CFC tested income
- § 469Passive activity losses and credits limited
- § 960Deemed paid credit for subpart F inclusions
- § 805General deductions
- § 5684Penalties relating to the payment and collection of liquor taxes
- § 1059Corporate shareholder’s basis in stock reduced by nontaxed portion of extraordinary dividends
- § 833Treatment of Blue Cross and Blue Shield organizations, etc.
- § 6037Return of S corporation
- § 277Deductions incurred by certain membership organizations in transactions with members
- § 537Reasonable needs of the business
- § 53511Tax treatment of nonqualified withdrawals
- § 1244Losses on small business stock
- § 873Deductions
- § 244Repealed. Pub. L. 113–295, div. A, title II, § 221(a)(41)(A), Dec. 19, 2014, 128 Stat. 4043]
- § 860ETreatment of income in excess of daily accruals on residual interests
- § 951ANet CFC tested income included in gross income of United States shareholders
statutes-at-large
- Public Law 87–794
- Public Law 87–788
- Public Law 86–69
- Public Law 87–834
- Public Law 88–348
- Public Law 86–779
- Public Law 91–169to promote the safety of employees and travelers upon railroads by limiting the hours of service of employees thereon,” approved March 4, 1907
- Public Law 85–866
- Public Law 88–272
- Public Law 87–863
- Public Law 427
- Public Law 287
- Public Law 93–621
- Public Law 97–448To make technical corrections in the Economic Recovery Tax Act of 1981 and certain other recent tax legislation
- Public Law 96–222To make technical corrections related to the Revenue Act of 1978
Traces to 41 documents
public-private-law
- Tax Increase Prevention Act of 2014Public Law 113-295
- To provide for reconciliation pursuant to titles II and V of the concurrent resolution on the budget for fiscal year 2018.DecPublic Law 115-97
- Consolidated Appropriations Act, 2018Public Law 115-141
- Coronavirus Aid, Relief, and Economic Security ActPublic Law 116-136
- To provide for reconciliation pursuant to title II of HPublic Law 119-21
- Consolidated Appropriations Act, 2021Public Law 116-260
U.S. Code
- Treatment of income in excess of daily accruals on residual interests§ 860E
- Adjusted gross income defined§ 62
- Reasonable needs of the business§ 537
- Prizes and awards§ 74
- Foreign-derived deduction eligible income and net CFC tested income§ 250
- Mortgage revenue bonds: qualified mortgage bond and qualified veterans’ mortgage bond§ 143
- Tax imposed§ 1
- Adjustments in computing alternative minimum taxable income§ 56
- Adoption expenses§ 23
- Limitation based on tax liability; definition of tax liability§ 26
- Social security and tier 1 railroad retirement benefits§ 86
- Deductions§ 873
- General business credit§ 38
- Credit for prior year minimum tax liability§ 53
- Low-income housing credit§ 42
- Bad debts§ 166
- Private activity bond; qualified bond§ 141
- General rule for taxable year of deduction§ 461
- Rules applying to deductions for dividends received§ 246
- Federal Home Loan Mortgage Corporation§ 1452
- Certain stock purchases treated as asset acquisitions§ 338
- S corporation defined§ 1361
- Accelerated cost recovery system§ 168
- Earned income§ 32
- Charitable, etc., contributions and gifts§ 170
- Taxation of real estate investment trusts and their beneficiaries§ 857
- Definitions and special rules§ 2
- Computation and payment of tax§ 1503
- Credit for the elderly and the permanently and totally disabled§ 22
- Losses§ 165
- Credit for producing fuel from a nonconventional source§ 45K
- Purpose§ 20101
- Trade or business expenses§ 162
- Qualified pension, profit-sharing, and stock bonus plans§ 401
- Interest on underpayment, nonpayment, or extensions of time for payment, of tax§ 6601
328 references not yet in our index
- Aug. 16, 1954, ch. 736
- 68A Stat. 63
- Pub. L. 85–866, title I
- 72 Stat. 1611
- Pub. L. 87–710, § 1
- 76 Stat. 648
- Pub. L. 87–792, § 7(f)
- 76 Stat. 829
- Pub. L. 87–794, title III, § 317(b)
- 76 Stat. 889
- Pub. L. 88–272, title II
- 78 Stat. 47
- Pub. L. 90–225, § 3(a)
- 81 Stat. 732
- Pub. L. 91–172, title IV, § 431(b)
- 83 Stat. 619
- Pub. L. 91–677, § 2(a)
- 84 Stat. 2061
- Pub. L. 94–455, title VIII, § 806(a)
- 90 Stat. 1598
- Pub. L. 95–30, title I, § 102(b)(2)
- 91 Stat. 137
- Pub. L. 95–600, title III, § 371(a)
- 92 Stat. 2859
- Pub. L. 96–222, title I
- 94 Stat. 214
- Pub. L. 96–595, § 1(a)
- 94 Stat. 3464
- Pub. L. 97–34, title II, § 207(a)
- 95 Stat. 225
- Pub. L. 97–354, § 5(a)(22)
- 96 Stat. 1694
- Pub. L. 97–362, title I, § 102(a)
- 96 Stat. 1727
- Pub. L. 98–369, div. A, title I
- 98 Stat. 606
- Pub. L. 99–514, title I, § 104(b)(4)
- 100 Stat. 2105
- Pub. L. 100–647, title I
- 102 Stat. 3382
+ 288 more
Citation graph
cites case law
§ 172
Net operating loss deduction
Stat.×119
U.S.C.×54
Pub. L.×15
Stat. Comp.×7
Fed. Reg.×1
ActAug. 16, 1954, ch. 736
Stat.68A Stat. 63
Pub. L.Pub. L. 85–866, title I
Cites 369 · showing 12Cited by 196 across 5 sources