26 U.S.C. § 1017
(a) General rule If—
then such portion shall be applied in reduction of the basis of any property held by the taxpayer at the beginning of the taxable year following the taxable year in which the discharge occurs.
(b) Amount and properties determined under regulations
(2) Limitation in title 11 case or insolvency In the case of a discharge to which subparagraph (A) or (B) of section 108(a)(1) applies, the reduction in basis under subsection (a) of this section shall not exceed the excess of—
The preceding sentence shall not apply to any reduction in basis by reason of an election under section 108(b)(5).
(3) Certain reductions may only be made in the basis of depreciable property
(D) Special rule in case of affiliated group For purposes of this section, if—
then such stock shall be treated as depreciable property to the extent that such subsidiary consents to a corresponding reduction in the basis of its depreciable property.
(E) Election to treat certain inventory as depreciable property
(F) Special rules for qualified real property business indebtedness In the case of any amount which under section 108(c)(1) is to be applied to reduce basis—
(4) Special rules for qualified farm indebtedness
(A) In general Any amount which under subsection (b)(2)(E) of section 108 is to be applied to reduce basis and which is attributable to an amount excluded under subsection (a)(1)(C) of section 108—
(ii) shall be applied to reduce the basis of qualified property in the following order:
(c) Special rules
(d) Recapture of reductions
(1) In general For purposes of sections 1245 and 1250—
(Aug. 16, 1954, ch. 736, 68A Stat. 301; Pub. L. 94–455, title XIX, §§ 1906(b)(13)(A), 1951(c)(1), , 90 Stat. 1834, 1840; Pub. L. 96–589, § 2(b), , 94 Stat. 3394; Pub. L. 99–514, title IV, § 405(b), title VIII, § 822(b)(4), (5), , 100 Stat. 2224, 2373; Pub. L. 100–647, title I, § 1004(a)(5), , 102 Stat. 3386; Pub. L. 101–508, title XI, § 11704(a)(12), , 104 Stat. 1388–518; Pub. L. 103–66, title XIII, § 13150(c)(6)–(8), , 107 Stat. 448; Pub. L. 104–188, title I, § 1703(n)(5), , 110 Stat. 1877; Pub. L. 105–206, title VI, § 6023(11), , 112 Stat. 825; Pub. L. 106–170, title V, § 532(c)(2)(S), , 113 Stat. 1931.)
1999—Subsec. (b)(3)(E)(i). Pub. L. 106–170 substituted “1221(a)(1)” for “1221(1)”.
1998—Subsec. (a)(2). Pub. L. 105–206 substituted “(b)(2)(E)” for “(b)(2)(D)”.
1996—Subsec. (b)(4)(A). Pub. L. 104–188 substituted “subsection (b)(2)(E)” for “subsection (b)(2)(D)”.
1993—Subsec. (a)(2). Pub. L. 103–66, § 13150(c)(6), substituted “, (b)(5), or (c)(1)” for “or (b)(5)”.
Subsec. (b)(3)(A). Pub. L. 103–66, § 13150(c)(7), inserted “or (c)(1)” after “subsection (b)(5)”.
Subsec. (b)(3)(F). Pub. L. 103–66, § 13150(c)(8), added subpar. (F).
1990—Subsec. (b)(4)(C). Pub. L. 101–508 substituted “subparagraphs” for “subparagraph”.
1988—Subsec. (b)(4). Pub. L. 100–647 substituted “Special rules for” for “Ordering rule in the case of” in heading, and amended text generally. Prior to amendment, text read as follows: “Any amount which is excluded from gross income under section 108(a) by reason of the discharge of qualified farm indebtedness (within the meaning of section 108(g)(2)) and which under subsection (b) of section 108 is to be applied to reduce basis shall be applied—
“(A) first to reduce the tax attributes described in section 108(b)(2) (other than subparagraph (D) thereof),
“(B) then to reduce basis of property other than property described in subparagraph (C), and
“(C) then to reduce the basis of land used or held for use in the trade or business of farming.”
1986—Subsec. (a)(2). Pub. L. 99–514, § 822(b)(4), substituted “or (b)(5)” for “, (b)(5), or (c)(1)(A)”.
Subsec. (b)(3)(A). Pub. L. 99–514, § 822(b)(5), struck out “or (c)(1)(A)” after “subsection (b)(5)”.
Subsec. (b)(4). Pub. L. 99–514, § 405(b), added par. (4).
1980—Pub. L. 96–589 generally revised and expanded the section to specify the amount of reduction of basis of property under different subsections of section 108 of this title and the property to which such reduction is applicable, and provided for recapture of reductions for purposes of gains from depreciable property.
1976—Pub. L. 94–455, §§ 1906(b)(13)(A), 1951(c)(1), substituted “section 108” for “section 108(a)” in three places and struck out “or his delegate” after “Secretary”.
Amendment by Pub. L. 106–170 applicable to any instrument held, acquired, or entered into, any transaction entered into, and supplies held or acquired on or after , see section 532(d) of Pub. L. 106–170, set out as a note under section 170 of this title.
Amendment by Pub. L. 104–188 effective as if included in the provision of the Revenue Reconciliation Act of 1993, Pub. L. 103–66, §§ 13001–13444, to which such amendment relates, see section 1703(o) of Pub. L. 104–188, set out as a note under section 39 of this title.
Amendment by Pub. L. 103–66 applicable to discharges after , in taxable years ending after such date, see section 13150(d) of Pub. L. 103–66, set out as a note under section 108 of this title.
Amendment by Pub. L. 100–647 effective, except as otherwise provided, as if included in the provision of the Tax Reform Act of 1986, Pub. L. 99–514, to which such amendment relates, see section 1019(a) of Pub. L. 100–647, set out as a note under section 1 of this title.
Amendment by section 405(b) of Pub. L. 99–514 applicable to discharges of indebtedness occurring after , in taxable years ending after such date, see section 405(c) of Pub. L. 99–514, set out as a note under section 108 of this title.
Amendment by section 822(b)(4), (5) of Pub. L. 99–514 applicable to discharges after , see section 822(c) of Pub. L. 99–514, set out as a note under section 108 of this title.
Amendment by Pub. L. 96–589 applicable to transactions which occur after , other than transactions which occur in a proceeding in a bankruptcy case or similar judicial proceeding or in a proceeding under Title 11 commencing on or after , with an exception permitting the debtor to make the amendment applicable to transactions occurring after in a specified manner, see section 7(a) and (f) of Pub. L. 96–589, set out as a note under section 108 of this title.