§ 911.
(a)
Exclusion from gross income
At the election of a qualified individual (made separately with respect to paragraphs (1) and (2)), there shall be excluded from the gross income of such individual, and exempt from taxation under this subtitle, for any taxable year—
(1)
the foreign earned income of such individual, and
(2)
the housing cost amount of such individual.
(d)
Definitions and special rules
For purposes of this section—
(1)
Qualified individual
The term “qualified individual” means an individual whose tax home is in a foreign country and who is—
(A)
a citizen of the United States and establishes to the satisfaction of the Secretary that he has been a bona fide resident of a foreign country or countries for an uninterrupted period which includes an entire taxable year, or
(B)
a citizen or resident of the United States and who, during any period of 12 consecutive months, is present in a foreign country or countries during at least 330 full days in such period.
(2)
Earned income
(B)
Taxpayer engaged in trade or business
(4)
Waiver of period of stay in foreign country
Notwithstanding paragraph (1), an individual who—
(A)
is a bona fide resident of, or is present in, a foreign country for any period,
(B)
leaves such foreign country after August 31, 1978—
(i)
during any period during which the Secretary determines, after consultation with the Secretary of State or his delegate, that individuals were required to leave such foreign country because of war, civil unrest, or similar adverse conditions in such foreign country which precluded the normal conduct of business by such individuals, and
(ii)
before meeting the requirements of such paragraph (1), and
(C)
establishes to the satisfaction of the Secretary that such individual could reasonably have been expected to have met such requirements but for the conditions referred to in clause (i) of subparagraph (B),
shall be treated as a qualified individual with respect to the period described in subparagraph (A) during which he was a bona fide resident of, or was present in, the foreign country, and in applying subsections (b)(2)(A), (c)(1)(B)(ii), and (c)(2)(A)(ii) with respect to such individual, only the days within such period shall be taken into account.
(5)
Test of bona fide residence
If—
(A)
an individual who has earned income from sources within a foreign country submits a statement to the authorities of that country that he is not a resident of that country, and
(B)
such individual is held not subject as a resident of that country to the income tax of that country by its authorities with respect to such earnings,
then such individual shall not be considered a bona fide resident of that country for purposes of paragraph (1)(A).
(6)
Denial of double benefits
(7)
Aggregate benefit cannot exceed foreign earned income
(8)
Limitation on income earned in restricted country
(A)
In general
If travel (or any transaction in connection with such travel) with respect to any foreign country is subject to the regulations described in subparagraph (B) during any period—
(i)
the term “foreign earned income” shall not include any income from sources within such country attributable to services performed during such period,
(ii)
the term “housing expenses” shall not include any expenses allocable to such period for housing in such country or for housing of the spouse or dependents of the taxpayer in another country while the taxpayer is present in such country, and
(iii)
an individual shall not be treated as a bona fide resident of, or as present in, a foreign country for any day during which such individual was present in such country during such period.
(B)
Regulations
For purposes of this paragraph, regulations are described in this subparagraph if such regulations—
(i)
have been adopted pursuant to the Trading With the Enemy Act (
50 U.S.C. 4301 et seq.) or the International Emergency Economic Powers Act (
50 U.S.C. 1701 et seq.), and
(ii)
include provisions generally prohibiting citizens and residents of the United States from engaging in transactions related to travel to, from, or within a foreign country.
(9)
Regulations
The Secretary shall prescribe such regulations as may be necessary or appropriate to carry out the purposes of this section, including regulations providing rules—
(A)
for cases where a husband and wife each have earned income from sources outside the United States, and
(B)
for married individuals filing separate returns.
(f)
Determination of tax liability
(1)
In general
If, for any taxable year, any amount is excluded from gross income of a taxpayer under subsection (a), then, notwithstanding sections 1 and 55—
(A)
if such taxpayer has taxable income for such taxable year, the tax imposed by section 1 for such taxable year shall be equal to the excess (if any) of—
(i)
the tax which would be imposed by section 1 for such taxable year if the taxpayer’s taxable income were increased by the amount excluded under subsection (a) for such taxable year, over
(ii)
the tax which would be imposed by section 1 for such taxable year if the taxpayer’s taxable income were equal to the amount excluded under subsection (a) for such taxable year, and
(B)
if such taxpayer has a taxable excess (as defined in section 55(b)(1)(B)) for such taxable year, the amount determined under the first sentence of section 55(b)(1)(A) for such taxable year shall be equal to the excess (if any) of—
(i)
the amount which would be determined under such sentence for such taxable year (subject to the limitation of section 55(b)(3)) if the taxpayer’s taxable excess (as so defined) were increased by the amount excluded under subsection (a) for such taxable year, over
(ii)
the amount which would be determined under such sentence for such taxable year if the taxpayer’s taxable excess (as so defined) were equal to the amount excluded under subsection (a) for such taxable year.
For purposes of this paragraph, the amount excluded under subsection (a) shall be reduced by the aggregate amount of any deductions or exclusions disallowed under subsection (d)(6) with respect to such excluded amount.
(2)
Special rules
(A)
Regular tax
In applying section 1(h) for purposes of determining the tax under paragraph (1)(A)(i) for any taxable year in which, without regard to this subsection, the taxpayer’s net capital gain exceeds taxable income (hereafter in this subparagraph referred to as the capital gain excess)—
(i)
the taxpayer’s net capital gain (determined without regard to section 1(h)(11)) shall be reduced (but not below zero) by such capital gain excess,
(ii)
the taxpayer’s qualified dividend income shall be reduced by so much of such capital gain excess as exceeds the taxpayer’s net capital gain (determined without regard to section 1(h)(11) and the reduction under clause (i)), and
(iii)
adjusted net capital gain, unrecaptured section 1250 gain, and 28-percent rate gain shall each be determined after increasing the amount described in section 1(h)(4)(B) by such capital gain excess.
(B)
Alternative minimum tax
In applying section 55(b)(3) for purposes of determining the tax under paragraph (1)(B)(i) for any taxable year in which, without regard to this subsection, the taxpayer’s net capital gain exceeds the taxable excess (as defined in section 55(b)(1)(B))—
(i)
the rules of subparagraph (A) shall apply, except that such subparagraph shall be applied by substituting “the taxable excess (as defined in section 55(b)(1)(B))” for “taxable income”, and
(ii)
the reference in section 55(b)(3)(B) to the excess described in section 1(h)(1)(B), and the reference in section 55(b)(3)(C)(ii) to the excess described in section 1(h)(1)(C)(ii), shall each be treated as a reference to each such excess as determined under the rules of subparagraph (A) for purposes of determining the tax under paragraph (1)(A)(i).
([Aug. 16, 1954, ch. 736], [68A Stat. 289]; [Pub. L. 85–866, title I, § 72(b)], Sept. 2, 1958, [72 Stat. 1660]; [Pub. L. 87–834, § 11(a)], Oct. 16, 1962, [76 Stat. 1003]; [Pub. L. 88–272, title II, § 237(a)], Feb. 26, 1964, [78 Stat. 128]; [Pub. L. 89–809, title I, § 105(e)(3)], Nov. 13, 1966, [80 Stat. 1567]; [Pub. L. 94–455, title X, § 1011(a)], (b), title XIX, §§ 1901(a)(115), 1906(b)(13)(A), Oct. 4, 1976, [90 Stat. 1610], 1784, 1834; [Pub. L. 95–30, title I, § 102(b)(12)],