Treasury Regulations · 26 CFR
§ 1.1254-4. Special rules for S corporations and their shareholders.
Regulation text, no changes From the eCFR, current as of October 15, 2026. The eCFR is an authoritative but unofficial editorial compilation of the Code of Federal Regulations; the official text is the annual CFR on govinfo. Compare it with this section on ecfr.gov (external site) or the official annual CFR on govinfo (external site).
Regulation under 26 U.S.C. § 1254
Cite as 26 CFR § 1.1254-4
At a glance
Read from the text and its source citation. Not part of the regulation.
- Status
- In the current eCFR
- Issued
- October 10, 1996 by T.D. 8684
- Last amended
- January 19, 2017 by T.D. 9811
- Issued under
- 26 U.S.C. § 1254
- Length
- 4,263 words · about 19 min to read
- Cross-references
- cites 15 Code sections and 4 regulations; cited by 1
A and B are equal shareholders in X, an S corporation. On January 1, 1997, X acquires for $90,000 an undeveloped mineral property, its sole property. During 1997, X expends and deducts $100,000 in developing the property. On January 15, 1998, X sells the property for $250,000 when X's basis in the property is $90,000. Thus, X recognizes gain of $160,000 on the sale. A and B's share of the $160,000 gain recognized is $80,000 each. Each shareholder has $50,000 of section 1254 costs with respect to the property. Under these circumstances, A and B each are required to recognize $50,000 of the $80,000 of gain on the sale of the property as ordinary income under section 1254.
C and D are equal shareholders in Y, an S corporation. On January 1, 1997, Y acquires for $150,000 an undeveloped oil and gas property, its sole property. During 1997, Y expends in developing the property $40,000 in intangible drilling costs which it elects to expense under section 263(c). On January 15, 1998, Y sells the property for $200,000. C and D's share of the $200,000 amount realized on the sale is $100,000 each. C and D each have a basis of $75,000 in the property and $20,000 of section 1254 costs with respect to the property. Under these circumstances, C and D each are required to recognize $20,000 of the $25,000 gain on the sale of the property as ordinary income under section 1254.
This reduced amount realized is used in determining any gain or loss on the sale or exchange.
C and D are equal shareholders in Y, an S corporation. As of January 1, 1997, Y holds two mining properties: Blackacre, with an adjusted basis of $5,000 and a fair market value of $35,000, and Whiteacre, with an adjusted basis of $20,000 and a fair market value of $15,000. Y also holds securities with a basis of $5,000 and a fair market value of $10,000. On January 1, 1997, D sells 50 percent of D's Y stock to E for $15,000. As of the date of the sale, D's adjusted basis in the Y stock sold is $7,500, and D has $18,000 of section 1254 costs with respect to Blackacre and $12,000 of section 1254 costs with respect to Whiteacre. Under this paragraph (c), the gain recognized by D upon the sale of Y stock is treated as ordinary income to the extent of D's section 1254 costs with respect to the stock sold, unless D establishes that a portion of such excess is not attributable to D's section 1254 costs. However, because D would recognize $7,500 in ordinary income under section 1254 with respect to the stock sold if Y sold Blackacre (the only asset the disposition of which would result in ordinary income to D under section 1254), the $7,500 of gain recognized by D upon the sale of D's Y stock is attributable to D's section 1254 costs. Therefore, upon the sale of stock to E, D recognizes $7,500 of ordinary income under this paragraph (c).
Assume the same facts as in Example 1, except that Blackacre has a fair market value of $25,000, and the securities have a fair market value of $20,000. Immediately prior to the sale of stock to E, if Y had sold Blackacre (its only asset the disposition of which would result in the recognition of ordinary income to D under section 1254), D would recognize $5,000 in ordinary income with respect to the stock sold under section 1254. D attaches a statement to D's tax return for 1997 detailing D's share of the fair market values and bases, and D's section 1254 costs with respect to Blackacre and Whiteacre. Therefore, upon the sale of stock to E, of the $7,500 gain recognized by D, $5,000 is ordinary income under this paragraph (c).
H owns all of the stock of Z, an S corporation. As of January 1, 1997, H has $3,000 of section 1254 costs with respect to property P, which is natural resource recapture property and Z's only asset. Property P has an adjusted basis of $5,000 and a fair market value of $8,000. H has a basis of $5,000 in Z stock, which has a fair market value of $8,000. On January 1, 1997, H contributes securities to Z which have a basis of $7,000 and a fair market value of $4,000. On April 15, 1997, H sells all of the Z stock to J for $12,000. On that date, H's adjusted basis in the Z stock is also $12,000. Based on all the facts and circumstances, the sale of stock is part of a plan (along with the contribution by H of the securities to Z) that has a principal purpose to avoid recognition of ordinary income under section 1254. Consequently, under paragraph (c)(2)(ii) of this section, H must recognize $3,000 as ordinary income under section 1254, the amount of ordinary income that H would recognize as ordinary income under section 1254 if property P were sold at fair market value. In addition, H reduces the amount realized on the sale of the stock ($12,000) by $3,000. As a result, H also recognizes a $3,000 capital loss on the sale of the stock ($9,000 amount realized less $12,000 adjusted basis).
(i) Y is a C corporation that elects to be an S corporation effective January 1, 1997. On that date, Y owns Oil Well, which is natural resource recapture property and a capital asset. Y has section 1254 costs of $20,000 as of the close of the last taxable year that it was a C corporation. On January 1, 1997, Oil Well has a value of $200,000 and a basis of $100,000. Thus, under section 1374, Y's net unrealized built-in gain is $100,000. Also on that date, Y's basis in Oil Well is allocated to A, Y's sole shareholder, under section 613A(c)(11) and the section 1254 costs are allocated to A under paragraph (f)(1) of this section. In addition, A has a basis in A's Y stock of $100,000.
(ii) On November 1, 1997, Y sells Oil Well for $250,000. During 1997, Y has taxable income greater than $100,000, and no other transactions or items treated as recognized built-in gain or loss. Under section 1374, Y has net recognized built-in gain of $100,000. Assuming a tax rate of 35 percent on capital gain, Y has a tax of $35,000 under section 1374. The tax of $35,000 is treated as a capital loss under section 1366(f)(2). A has a realized gain on the sale of $150,000 ($250,000 minus $100,000) of which $20,000 is recognized as ordinary income under section 1254, and $130,000 is recognized as capital gain. Consequently, A recognizes ordinary income of $20,000 and net capital gain of $95,000 ($130,000 minus $35,000) on the sale.
(i) Assume the same facts as in Example 1(i). On November 1, 1997, A sells all of A's Y stock to P for $250,000. A has a realized gain on the sale of $150,000 ($250,000 minus $100,000) of which $20,000 is recognized as ordinary income under section 1254, and $130,000 is recognized as capital gain.
(ii) On November 2, 1997, Y sells Oil Well for $250,000. During 1997, Y has taxable income greater than $100,000, and no other transactions or items treated as recognized built-in gain or loss. Under section 1374, Y has net recognized built-in gain of $100,000. Assuming a tax rate of 35 percent on capital gain, Y has a tax of $35,000 under section 1374. The tax of $35,000 is treated as a capital loss under section 1366(f)(2). P has a realized gain on the sale of $150,000 ($250,000 minus $100,000), which is recognized as capital gain. Consequently, P recognizes net capital gain of $115,000 ($150,000 minus $35,000) on the sale.
As of January 1, 1997, A owns all the stock (20 shares) in X, an S corporation. X holds property that is not natural resource recapture property that has a fair market value of $2,000 and an adjusted basis of $2,000. On January 1, 1997, B transfers natural resource recapture property, Property P, to X in exchange for 80 shares of X stock in a transaction that qualifies under section 351. Property P has a fair market value of $8,000 and an adjusted basis of $5,000. Pursuant to section 351, B does not recognize gain on the transaction. Immediately prior to the transaction, B's section 1254 costs with respect to Property P equaled $6,000. Under § 1.1254-2(c)(1), B does not recognize any gain under section 1254 on the section 351 transaction and, under § 1.1254-3(b)(1), X's section 1254 costs with respect to Property P immediately after the contribution equal $6,000. Under paragraph (g)(2) of this section, each shareholder is allocated a pro rata share of X's section 1254 costs. The pro rata share of X's section 1254 costs that is allocated to A equals $1,200 (20 percent interest in X multiplied by X's $6,000 of section 1254 costs). The pro rata share of X's section 1254 costs that is allocated to B equals $4,800 (80 percent interest in X multiplied by X's $6,000 of section 1254 costs).
As of January 1, 1997, A and B each own 50 percent of the stock (50 shares each) in X, an S corporation. X holds natural resource recapture property, Property P, which has a fair market value of $20,000 and an adjusted basis of $14,000. A's and B's section 1254 costs with respect to Property P are $4,000 and $1,500, respectively. On January 1, 1997, C contributes $20,000 to X in exchange for 100 shares of X's stock. Under paragraph (g)(1)(i) of this section, X must allocate to C a pro rata share of its shareholders' section 1254 costs. Using the assumptions set forth in paragraph (g)(5)(iii) of this section, X determines that A's section 1254 costs with respect to natural resource recapture property held by X equal $4,500. Using written data provided by B, X determines that B's section 1254 costs with respect to Property P equal $1,500. Thus, the aggregate of X's shareholders' section 1254 costs equals $6,000. C's pro rata share of the $6,000 of section 1254 costs equals $3,000 (C's 50 percent interest in X multiplied by $6,000). Under paragraph (g)(1)(ii) of this section, A's section 1254 costs are reduced by $2,000 (A's actual section 1254 costs ($4,000) multiplied by 50 percent). B's section 1254 costs are reduced by $750 (B's actual section 1254 costs ($1,500) multiplied by 50 percent).
X, an S corporation with one shareholder, A, holds as its sole asset natural resource recapture property that has a fair market value of $120,000 and an adjusted basis of $40,000. A has section 1254 costs with respect to the property of $60,000. For valid business reasons, X merges into Y, an S corporation with one shareholder, B, in a reorganization described in section 368(a)(1)(A). Y holds property that is not natural resource recapture property that has a fair market value of $120,000 and basis of $120,000. Under paragraph (c) of this section, A does not recognize ordinary income under section 1254 upon the exchange of stock in the merger because A did not otherwise recognize gain on the merger. Under paragraph (g)(2) of this section, Y must allocate to A and B a pro rata share of its $60,000 of section 1254 costs. Thus, A and B are each allocated $30,000 of section 1254 costs (50 percent interest in X, each, multiplied by $60,000).
[T.D. 8684, 61 FR 53063, Oct. 10, 1996, as amended by T.D. 9811, 82 FR 6242, Jan. 19, 2017]
Cross-references
Computed from the citations in the text of 26 CFR.
Code sections it cites
- § 1254 Gain from disposition of interest in oil, gas, geothermal, or other mineral properties
- § 613A Limitations on percentage depletion in case of oil and gas wells
- § 263 Capital expenditures
- § 1012 Basis of property—cost
- § 1014 Basis of property acquired from a decedent
- § 2032 Alternate valuation
- § 1041 Transfers of property between spouses or incident to divorce
- § 1022 Repealed
- § 1374 Tax imposed on certain built-in gains
- § 1366 Pass-thru of items to shareholders
- § 1362 Election; revocation; termination
- § 368 Definitions relating to corporate reorganizations
- § 351 Transfer to corporation controlled by transferor
- § 611 Allowance of deduction for depletion
- § 613 Percentage depletion
Regulations it cites
- § 1.1254-1 Treatment of gain from disposition of natural resource recapture property.
- § 1.1254-3 Section 1254 costs immediately after certain acquisitions.
- § 1.83-3 Meaning and use of certain terms.
- § 1.1254-2 Exceptions and limitations.
Cited by 1 other regulation
Amendment history
From the source citation at the end of the section, newest first. T.D. is a Treasury decision; FR is the Federal Register.
- Amended by T.D. 9811 (82 FR 6242)
- Issued by T.D. 8684 (61 FR 53063)
Where it sits in 26 CFR
- Subchapter A Income tax
- Part 1 Income taxes
- Special Rules for Determining Capital Gains and Losses
Nearby sections
- § 1.1254-0 Table of contents for section 1254 recapture rules.
- § 1.1254-1 Treatment of gain from disposition of natural resource recapture property.
- § 1.1254-2 Exceptions and limitations.
- § 1.1254-3 Section 1254 costs immediately after certain acquisitions.
- § 1.1254-4 Special rules for S corporations and their shareholders.
- § 1.1254-5 Special rules for partnerships and their partners.
- § 1.1254-6 Effective/applicability date.
- § 1.1256(e)-1 Identification of hedging transactions.
- § 1.1256(e)-2 Special rules for syndicates.