If for the taxable year an S corporation has—
(1) accumulated earnings and profits at the close of such taxable year, and
(2) gross receipts more than 25 percent of which are passive investment income,
For purposes of this section—
Except as provided in subparagraph (B), the term “excess net passive income” means an amount which bears the same ratio to the net passive income for the taxable year as—
(A) In generalExcept as provided in subparagraph (B), the term “excess net passive income” means an amount which bears the same ratio to the net passive income for the taxable year as— (i) the amount by which the passive investment income for the taxable year exceeds 25 percent of the gross receipts for the taxable year, bears to (ii) the passive investment income for the taxable year.
(B) LimitationThe amount of the excess net passive income for any taxable year shall not exceed the amount of the corporation’s taxable income for such taxable year as determined under section 63(a)— (i) without regard to the deductions allowed by part VIII of subchapter B (other than the deduction allowed by section 248, relating to organization expenditures), and (ii) without regard to the deduction under section 172.
The term “net passive income” means—
(A) passive investment income, reduced by
(B) the deductions allowable under this chapter which are directly connected with the production of such income (other than deductions allowable under section 172 and part VIII of subchapter B).
(3) Passive investment income, etc. The terms “passive investment income” and “gross receipts” have the same respective meanings as when used in paragraph (3) of section 1362(d).
(4) Coordination with section 1374 Notwithstanding paragraph (3), the amount of passive investment income shall be determined by not taking into account any recognized built-in gain or loss of the S corporation for any taxable year in the recognition period. Terms used in the preceding sentence shall have the same respective meanings as when used in section 1374.
No credit shall be allowed under part IV of subchapter A of this chapter (other than section 34) against the tax imposed by subsection (a).
If the S corporation establishes to the satisfaction of the Secretary that—
(1) it determined in good faith that it had no accumulated earnings and profits at the close of a taxable year, and
(2) during a reasonable period of time after it was determined that it did have accumulated earnings and profits at the close of such taxable year such earnings and profits were distributed,
(Added Pub. L. 97–354, § 2, Oct. 19, 1982, 96 Stat. 1684; amended Pub. L. 98–369, div. A, title IV, § 474(r)(28), title VII, § 721(v), July 18, 1984, 98 Stat. 844, 971; Pub. L. 99–514, title VI, § 632(c)(3), Oct. 22, 1986, 100 Stat. 2277; Pub. L. 100–647, title I, § 1006(f)(5)(B)–(D), Nov. 10, 1988, 102 Stat. 3406; Pub. L. 104–188, title I, § 1311(b)(2)(A)–(C), Aug. 20, 1996, 110 Stat. 1784; Pub. L. 109–135, title IV, § 412(qq), Dec. 21, 2005, 119 Stat. 2640.)