A distribution of property made by an S corporation with respect to its stock to which (but for this subsection) section 301(c) would apply shall be treated in the manner provided in subsection (b) or (c), whichever applies.
In the case of a distribution described in subsection (a) by an S corporation which has no accumulated earnings and profits—
(1) Amount applied against basis The distribution shall not be included in gross income to the extent that it does not exceed the adjusted basis of the stock.
(2) Amount in excess of basis If the amount of the distribution exceeds the adjusted basis of the stock, such excess shall be treated as gain from the sale or exchange of property.
In the case of a distribution described in subsection (a) by an S corporation which has accumulated earnings and profits—
(1) Accumulated adjustments account That portion of the distribution which does not exceed the accumulated adjustments account shall be treated in the manner provided by subsection (b).
(2) Dividend That portion of the distribution which remains after the application of paragraph (1) shall be treated as a dividend to the extent it does not exceed the accumulated earnings and profits of the S corporation.
(3) Treatment of remainder Any portion of the distribution remaining after the application of paragraph (2) of this subsection shall be treated in the manner provided by subsection (b).
Subsections (b) and (c) shall be applied by taking into account (to the extent proper)—
(1) the adjustments to the basis of the shareholder’s stock described in section 1367, and
(2) the adjustments to the accumulated adjustments account which are required by subsection (e)(1).
For purposes of this section—
For purposes of clause (i), the term “net negative adjustment” means, with respect to any taxable year, the excess (if any) of—
(A) In general Except as otherwise provided in this paragraph, the term “accumulated adjustments account” means an account of the S corporation which is adjusted for the S period in a manner similar to the adjustments under section 1367 (except that no adjustment shall be made for income (and related expenses) which is exempt from tax under this title and the phrase “(but not below zero)” shall be disregarded in section 1367(a)(2)) and no adjustment shall be made for Federal taxes attributable to any taxable year in which the corporation was a C corporation.
(B) Amount of adjustment in the case of redemptions In the case of any redemption which is treated as an exchange under section 302(a) or 303(a), the adjustment in the accumulated adjustments account shall be an amount which bears the same ratio to the balance in such account as the number of shares redeemed in such redemption bears to the number of shares of stock in the corporation immediately before such redemption.
(C) Net loss for year disregarded (i) In general In applying this section to distributions made during any taxable year, the amount in the accumulated adjustments account as of the close of such taxable year shall be determined without regard to any net negative adjustment for such taxable year. (ii) Net negative adjustmentFor purposes of clause (i), the term “net negative adjustment” means, with respect to any taxable year, the excess (if any) of— (I) the reductions in the account for the taxable year (other than for distributions), over (II) the increases in such account for such taxable year.
(2) S period The term “S period” means the most recent continuous period during which the corporation has been an S corporation. Such period shall not include any taxable year beginning before January 1, 1983.
An S corporation may, with the consent of all of its affected shareholders, elect to have paragraph (1) of subsection (c) not apply to all distributions made during the taxable year for which the election is made.
(A) In general An S corporation may, with the consent of all of its affected shareholders, elect to have paragraph (1) of subsection (c) not apply to all distributions made during the taxable year for which the election is made.
(B) Affected shareholder For purposes of subparagraph (A), the term “affected shareholder” means any shareholder to whom a distribution is made by the S corporation during the taxable year.
If a director receives a distribution (not in part or full payment in exchange for stock) from an S corporation with respect to any restricted bank director stock (as defined in section 1361(f)), the amount of such distribution—
(1) shall be includible in gross income of the director, and
(2) shall be deductible by the corporation for the taxable year of such corporation in which or with which ends the taxable year in which such amount is included in the gross income of the director.
(Added Pub. L. 97–354, § 2, Oct. 19, 1982, 96 Stat. 1680; amended Pub. L. 97–448, title III, § 305(d)(2), Jan. 12, 1983, 96 Stat. 2399; Pub. L. 98–369, div. A, title VII, § 721(r), July 18, 1984, 98 Stat. 970; Pub. L. 99–514, title XVIII, § 1879(m)(1)(B), Oct. 22, 1986, 100 Stat. 2910; Pub. L. 104–188, title I, § 1309(a)(2)–(c), Aug. 20, 1996, 110 Stat. 1783; Pub. L. 110–28, title VIII, § 8232(b), May 25, 2007, 121 Stat. 197; Pub. L. 115–141, div. U, title IV, § 401(a)(193), Mar. 23, 2018, 132 Stat. 1193.)