General rule
Gains exceed losses
Gains do not exceed losses
Section 1231 gains and losses
Section 1231 gain
Section 1231 loss
The term “section 1231 loss” means any recognized loss from a sale or exchange or conversion described in subparagraph (A).
Special rules
Definition of property used in the trade or business
General rule
Timber, coal, or domestic iron ore
Such term includes timber, coal, and iron ore with respect to which section 631 applies.
Livestock
Unharvested crop
In the case of an unharvested crop on land used in the trade or business and held for more than 1 year, if the crop and the land are sold or exchanged (or compulsorily or involuntarily converted) at the same time and to the same person, the crop shall be considered as “property used in the trade or business.”
Recapture of net ordinary losses
In general
The net section 1231 gain for any taxable year shall be treated as ordinary income to the extent such gain does not exceed the non-recaptured net section 1231 losses.
Non-recaptured net section 1231 losses
Net section 1231 gain
Net section 1231 loss
Special rules
For purposes of determining the amount of the net section 1231 gain or loss for any taxable year, the rules of paragraph (4) of subsection (a) shall apply.
Aug. 16, 1954, ch. 73668A Stat. 325Pub. L. 85–866, title I, § 49(a)72 Stat. 1642Pub. L. 88–272, title II, § 227(a)(2)78 Stat. 97Pub. L. 91–172, title II, § 212(b)(1)83 Stat. 571Pub. L. 94–455, title XIV, § 1402(b)(1)(R)90 Stat. 1732Pub. L. 95–600, title VII, § 701(ee)(1)92 Stat. 2924Pub. L. 97–34, title V, § 505(c)(1)95 Stat. 332Pub. L. 98–369, div. A, title I, § 176(a)98 Stat. 709Pub. L. 106–170, title V, § 532(c)(1)(G)113 Stat. 1930Pub. L. 113–295, div. A, title II, § 221(a)(81)128 Stat. 4049Pub. L. 115–97, title I, § 13314(b)131 Stat. 2133(, ; , , ; , , ; , title V, §§ 514(b)(2), 516(b), , , 643, 646; , (2), , ; , , ; , , ; , title VII, § 711(c)(2)(A)(iii), title X, § 1001(b)(15), (e), , , 944, 1012; , , ; , , ; , , .)
Editorial Notes
Amendments
Pub. L. 115–972017—Subsec. (b)(1)(C). inserted “a patent, invention, model or design (whether or not patented), a secret formula or process,” before “a copyright”.
Pub. L. 113–2952014—Subsec. (c)(2)(A). struck out “beginning after ” after “years”.
Pub. L. 106–1701999—Subsec. (b)(1)(C), (D). substituted “section 1221(a)” for “section 1221”.
Pub. L. 98–369, § 1001(b)(15)1984—Subsec. (a). , (e), substituted “6 months” for “1 year” wherever appearing, applicable to property acquired after , and before . See Effective Date of 1984 Amendment note below.
Pub. L. 98–369, § 711(c)(2)(A)(iii), amended subsec. (a) generally, substituting pars. (1) to (4), for “If, during the taxable year, the recognized gains on sales or exchanges of property used in the trade or business, plus the recognized gains from the compulsory or involuntary conversion (as a result of destruction in whole or in part, theft or seizure, or an exercise of the power of requisition or condemnation or the threat or imminence thereof) of property used in the trade or business and capital assets held for more than 1 year into other property or money, exceed the recognized losses from such sales, exchanges, and conversions, such gains and losses shall be considered as gains and losses from sales or exchanges of capital assets held for more than 1 year. If such gains do not exceed such losses, such gains and losses shall not be considered as gains and losses from sales or exchanges of capital assets. For purposes of this subsection—
“(1) in determining under this subsection whether gains exceed losses, the gains described therein shall be included only if and to the extent taken into account in computing gross income and the losses described therein shall be included only if and to the extent taken into account in computing taxable income, except that section 1211 shall not apply; and
“(2) losses (including losses not compensated for by insurance or otherwise) upon the destruction, in whole or in part, theft or seizure, or requisition or condemnation of (A) property used in the trade or business or (B) capital assets held for more than 1 year shall be considered losses from a compulsory or involuntary conversion.
In the case of any involuntary conversion (subject to the provisions of this subsection but for this sentence) arising from fire, storm, shipwreck, or other casualty, or from theft, of any property used in the trade or business or of any capital asset held for more than 1 year, this subsection shall not apply to such conversion (whether resulting in gain or loss) if during the taxable year the recognized losses from such conversions exceed the recognized gains from such conversions.”
Pub. L. 98–369, § 1001(b)(15)Subsec. (b)(1), (4). , (e), substituted “6 months” for “1 year”, applicable to property acquired after , and before . See Effective Date of 1984 Amendment note below.
Pub. L. 98–369, § 176(a)Subsec. (c). , added subsec. (c).
Pub. L. 97–341981—Subsec. (b)(1)(D). substituted “paragraph (5)” for “paragraph (6)”.
Pub. L. 95–6001978—Subsec. (b)(1)(D). added subpar. (D).
Pub. L. 94–455, § 1402(b)(2)1976—Subsecs. (a), (b)(1), (4). , provided that “9 months” would be changed to “1 year” wherever appearing.
Pub. L. 94–455, § 1402(b)(1)(R), provided that in subsecs. (a), first and last sentences, (a)(2), and (b)(1), (4), “6 months” would be changed to “9 months” for taxable years beginning in 1977.
Pub. L. 91–172, § 516(b)1969—Subsec. (a). , provided that casualty (or theft) losses with respect to depreciable property and real estate used in trade or business and capital assets held for the production of income as well as personal assets are to be consolidated with casualty (or theft) gains with respect to this type of property and if the casualty losses exceed the casualty gains, the net loss is treated as an ordinary loss without regard to whether there may be noncasualty gains under this section, but, if the casualty gains exceed the casualty losses, the net gain is treated as a gain under this section and must be consolidated with other gains and losses under this section.
Pub. L. 91–172, § 514(b)(2)Subsec. (b)(1)(C). , inserted reference to a letter or memorandum.
Pub. L. 91–172, § 212(b)(1)Subsec. (b)(3). , redesignated existing provisions as subpar. (B) and added subpar. (A).
Pub. L. 88–2721964—Subsec. (b)(2). inserted reference to iron ore in text, and to domestic iron ore in heading.
Pub. L. 85–8661958—Subsec. (a). inserted provision respecting casualty losses sustained upon certain uninsured property.
Statutory Notes and Related Subsidiaries
Effective Date of 2017 Amendment
Pub. L. 115–97section 13314(c) of Pub. L. 115–97section 1221 of this titleAmendment by applicable to dispositions after , see , set out as a note under .
Effective Date of 2014 Amendment
Pub. L. 113–295section 221(b) of Pub. L. 113–295section 1 of this titleAmendment by effective , subject to a savings provision, see , set out as a note under .
Effective Date of 1999 Amendment
Pub. L. 106–170section 532(d) of Pub. L. 106–170section 170 of this titleAmendment by applicable to any instrument held, acquired, or entered into, any transaction entered into, and supplies held or acquired on or after , see , set out as a note under .
Effective Date of 1984 Amendment
Pub. L. 98–369, div. A, title I, § 176(b)98 Stat. 709
section 711(c)(2)(A)(iii) of Pub. L. 98–369section 711(c)(2)(A)(v) of Pub. L. 98–369section 165 of this titleAmendment by applicable to taxable years beginning after , see , set out as a note under .
section 1001(b)(15) of Pub. L. 98–369section 1001(e) of Pub. L. 98–369section 166 of this titleAmendment by applicable to property acquired after , and before , see , set out as a note under .
Effective Date of 1981 Amendment
Pub. L. 97–34section 508 of Pub. L. 97–34section 1092 of this titleAmendment by applicable to property acquired and positions established by the taxpayer after , in taxable years ending after such date, and applicable when so elected with respect to property held on , see , set out as an Effective Date note under .
Effective Date of 1978 Amendment
Pub. L. 95–600, title VII, § 701(ee)(2)92 Stat. 2924
Effective Date of 1976 Amendment
Pub. L. 94–455, title XIV, § 1402(b)(1)90 Stat. 1731, , , provided that the amendment made by that section is effective with respect to taxable years beginning in 1977.
Pub. L. 94–455, title XIV, § 1402(b)(2)90 Stat. 1732, , , provided that the amendment made by that section is effective with respect to taxable years beginning after .
Effective Date of 1969 Amendment
Pub. L. 91–172, title II, § 212(b)(2)83 Stat. 571
section 514(b)(2) of Pub. L. 91–172section 514(c) of Pub. L. 91–172section 1221 of this titleAmendment by applicable to sales and other dispositions occurring after , see , set out as a note under .
section 516(b) of Pub. L. 91–172section 516(d)(2) of Pub. L. 91–172section 1001 of this titleAmendment by applicable to taxable years beginning after , see , set out as a note under .
Effective Date of 1964 Amendment
Pub. L. 88–272section 227(c) of Pub. L. 88–272section 272 of this titleAmendment by applicable with respect to amounts received or accrued in taxable years beginning after , attributable to iron ore mined in such years, see , set out as a note under .
Effective Date of 1958 Amendment
Pub. L. 85–866, title I, § 49(b)72 Stat. 1642