Collapse to view only § 877. Expatriation to avoid tax

§ 871. Tax on nonresident alien individuals
(a) Income not connected with United States business—30 percent tax
(1) Income other than capital gainsExcept as provided in subsection (h), there is hereby imposed for each taxable year a tax of 30 percent of the amount received from sources within the United States by a nonresident alien individual as—
(A) interest (other than original issue discount as defined in section 1273), dividends, rents, salaries, wages, premiums, annuities, compensations, remunerations, emoluments, and other fixed or determinable annual or periodical gains, profits, and income,
(B) gains described in subsection (b) or (c) of section 631,
(C) in the case of—
(i) a sale or exchange of an original issue discount obligation, the amount of the original issue discount accruing while such obligation was held by the nonresident alien individual (to the extent such discount was not theretofore taken into account under clause (ii)), and
(ii) a payment on an original issue discount obligation, an amount equal to the original issue discount accruing while such obligation was held by the nonresident alien individual (except that such original issue discount shall be taken into account under this clause only to the extent such discount was not theretofore taken into account under this clause and only to the extent that the tax thereon does not exceed the payment less the tax imposed by subparagraph (A) thereon), and
(D) gains from the sale or exchange after October 4, 1966, of patents, copyrights, secret processes and formulas, good will, trademarks, trade brands, franchises, and other like property, or of any interest in any such property, to the extent such gains are from payments which are contingent on the productivity, use, or disposition of the property or interest sold or exchanged,
but only to the extent the amount so received is not effectively connected with the conduct of a trade or business within the United States.
(2) Capital gains of aliens present in the United States 183 days or more
(3) Taxation of social security benefitsFor purposes of this section and section 1441—
(A) 85 percent of any social security benefit (as defined in section 86(d)) shall be included in gross income (notwithstanding section 207 of the Social Security Act), and
(B) section 86 shall not apply.
(b) Income connected with United States business—graduated rate of tax
(1) Imposition of tax
(2) Determination of taxable income
(c) Participants in certain exchange or training programs
(d) Election to treat real property income as income connected with United States business
(1) In generalA nonresident alien individual who during the taxable year derives any income—
(A) from real property held for the production of income and located in the United States, or from any interest in such real property, including (i) gains from the sale or exchange of such real property or an interest therein, (ii) rents or royalties from mines, wells, or other natural deposits, and (iii) gains described in section 631(b) or (c), and
(B) which, but for this subsection, would not be treated as income which is effectively connected with the conduct of a trade or business within the United States,
may elect for such taxable year to treat all such income as income which is effectively connected with the conduct of a trade or business within the United States. In such case, such income shall be taxable as provided in subsection (b)(1) whether or not such individual is engaged in trade or business within the United States during the taxable year. An election under this paragraph for any taxable year shall remain in effect for all subsequent taxable years, except that it may be revoked with the consent of the Secretary with respect to any taxable year.
(2) Election after revocation
(3) Form and time of election and revocation
[(e) Repealed. Pub. L. 99–514, title XII, § 1211(b)(5), Oct. 22, 1986, 100 Stat. 2536]
(f) Certain annuities received under qualified plans
(1) In generalFor purposes of this section, gross income does not include any amount received as an annuity under a qualified annuity plan described in section 403(a)(1), or from a qualified trust described in section 401(a) which is exempt from tax under section 501(a), if—
(A) all of the personal services by reason of which the annuity is payable were either—
(i) personal services performed outside the United States by an individual who, at the time of performance of such personal services, was a nonresident alien, or
(ii) personal services described in section 864(b)(1) performed within the United States by such individual, and
(B) at the time the first amount is paid as an annuity under the annuity plan or by the trust, 90 percent or more of the employees for whom contributions or benefits are provided under such annuity plan, or under the plan or plans of which the trust is a part, are citizens or residents of the United States.
(2) ExclusionIncome received during the taxable year which would be excluded from gross income under this subsection but for the requirement of paragraph (1)(B) shall not be included in gross income if—
(A) the recipient’s country of residence grants a substantially equivalent exclusion to residents and citizens of the United States; or
(B) the recipient’s country of residence is a beneficiary developing country under title V of the Trade Act of 1974 (19 U.S.C. 2461 et seq.).
(g) Special rules for original issue discountFor purposes of this section and section 881—
(1) Original issue discount obligation
(A) In general
(B) ExceptionsThe term “original issue discount obligation” shall not include—
(i) Certain short-term obligations
(ii) Tax-exempt obligations
(2) Determination of portion of original issue discount accruing during any period
(3) Source of original issue discount
(4) Stripped bonds
(h) Repeal of tax on interest of nonresident alien individuals received from certain portfolio debt investments
(1) In general
(2) Portfolio interestFor purposes of this subsection, the term “portfolio interest” means any interest (including original issue discount) which—
(A) would be subject to tax under subsection (a) but for this subsection, and
(B) is paid on an obligation—
(i) which is in registered form, and
(ii) with respect to which—(I) the United States person who would otherwise be required to deduct and withhold tax from such interest under section 1441(a) receives a statement (which meets the requirements of paragraph (5)) that the beneficial owner of the obligation is not a United States person, or(II) the Secretary has determined that such a statement is not required in order to carry out the purposes of this subsection.
(3) Portfolio interest not to include interest received by 10-percent shareholdersFor purposes of this subsection—
(A) In general
(B) 10-Percent shareholderThe term “10-percent shareholder” means—
(i) in the case of an obligation issued by a corporation, any person who owns 10 percent or more of the total combined voting power of all classes of stock of such corporation entitled to vote, or
(ii) in the case of an obligation issued by a partnership, any person who owns 10 percent or more of the capital or profits interest in such partnership.
(C) Attribution rulesFor purposes of determining ownership of stock under subparagraph (B)(i) the rules of section 318(a) shall apply, except that—
(i) section 318(a)(2)(C) shall be applied without regard to the 50-percent limitation therein,
(ii) section 318(a)(3)(C) shall be applied—(I) without regard to the 50-percent limitation therein; and(II) in any case where such section would not apply but for subclause (I), by considering a corporation as owning the stock (other than stock in such corporation) which is owned by or for any shareholder of such corporation in that proportion which the value of the stock which such shareholder owns in such corporation bears to the value of all stock in such corporation, and
(iii) any stock which a person is treated as owning after application of section 318(a)(4) shall not, for purposes of applying paragraphs (2) and (3) of section 318(a), be treated as actually owned by such person.
Under regulations prescribed by the Secretary, rules similar to the rules of the preceding sentence shall be applied in determining the ownership of the capital or profits interest in a partnership for purposes of subparagraph (B)(ii).
(4) Portfolio interest not to include certain contingent interestFor purposes of this subsection—
(A) In generalExcept as otherwise provided in this paragraph, the term “portfolio interest” shall not include—
(i) any interest if the amount of such interest is determined by reference to—(I) any receipts, sales or other cash flow of the debtor or a related person,(II) any income or profits of the debtor or a related person,(III) any change in value of any property of the debtor or a related person, or(IV) any dividend, partnership distributions, or similar payments made by the debtor or a related person, or
(ii) any other type of contingent interest that is identified by the Secretary by regulation, where a denial of the portfolio interest exemption is necessary or appropriate to prevent avoidance of Federal income tax.
(B) Related person
(C) ExceptionsSubparagraph (A)(i) shall not apply to—
(i) any amount of interest solely by reason of the fact that the timing of any interest or principal payment is subject to a contingency,
(ii) any amount of interest solely by reason of the fact that the interest is paid with respect to nonrecourse or limited recourse indebtedness,
(iii) any amount of interest all or substantially all of which is determined by reference to any other amount of interest not described in subparagraph (A) (or by reference to the principal amount of indebtedness on which such other interest is paid),
(iv) any amount of interest solely by reason of the fact that the debtor or a related person enters into a hedging transaction to manage the risk of interest rate or currency fluctuations with respect to such interest,
(v) any amount of interest determined by reference to—(I) changes in the value of property (including stock) that is actively traded (within the meaning of section 1092(d)) other than property described in section 897(c)(1) or (g),(II) the yield on property described in subclause (I), other than a debt instrument that pays interest described in subparagraph (A), or stock or other property that represents a beneficial interest in the debtor or a related person, or(III) changes in any index of the value of property described in subclause (I) or of the yield on property described in subclause (II), and
(vi) any other type of interest identified by the Secretary by regulation.
(D) Exception for certain existing indebtednessSubparagraph (A) shall not apply to any interest paid or accrued with respect to any indebtedness with a fixed term—
(i) which was issued on or before April 7, 1993, or
(ii) which was issued after such date pursuant to a written binding contract in effect on such date and at all times thereafter before such indebtedness was issued.
(5) Certain statementsA statement with respect to any obligation meets the requirements of this paragraph if such statement is made by—
(A) the beneficial owner of such obligation, or
(B) a securities clearing organization, a bank, or other financial institution that holds customers’ securities in the ordinary course of its trade or business.
The preceding sentence shall not apply to any statement with respect to payment of interest on any obligation by any person if, at least one month before such payment, the Secretary has published a determination that any statement from such person (or any class including such person) does not meet the requirements of this paragraph.
(6) Secretary may provide subsection not to apply in cases of inadequate information exchange
(A) In generalIf the Secretary determines that the exchange of information between the United States and a foreign country is inadequate to prevent evasion of the United States income tax by United States persons, the Secretary may provide in writing (and publish a statement) that the provisions of this subsection shall not apply to payments of interest to any person within such foreign country (or payments addressed to, or for the account of, persons within such foreign country) during the period—
(i) beginning on the date specified by the Secretary, and
(ii) ending on the date that the Secretary determines that the exchange of information between the United States and the foreign country is adequate to prevent the evasion of United States income tax by United States persons.
(B) Exception for certain obligations
(7) Registered form
(i) Tax not to apply to certain interest and dividends
(1) In general
(2) Amounts to which paragraph (1) appliesThe amounts described in this paragraph are as follows:
(A) Interest on deposits, if such interest is not effectively connected with the conduct of a trade or business within the United States.
(B) The active foreign business percentage of—
(i) any dividend paid by an existing 80/20 company, and
(ii) any interest paid by an existing 80/20 company.
(C) Income derived by a foreign central bank of issue from bankers’ acceptances.
(D) Dividends paid by a foreign corporation which are treated under section 861(a)(2)(B) as income from sources within the United States.
(3) DepositsFor purposes of paragraph (2), the term “deposits” means amounts which are—
(A) deposits with persons carrying on the banking business,
(B) deposits or withdrawable accounts with savings institutions chartered and supervised as savings and loan or similar associations under Federal or State law, but only to the extent that amounts paid or credited on such deposits or accounts are deductible under section 591 (determined without regard to sections 265 and 291) in computing the taxable income of such institutions, and
(C) amounts held by an insurance company under an agreement to pay interest thereon.
(j) Exemption for certain gambling winnings
(k) Exemption for certain dividends of regulated investment companies
(1) Interest-related dividends
(A) In general
(B) ExceptionsSubparagraph (A) shall not apply—
(i) to any interest-related dividend received from a regulated investment company by a person to the extent such dividend is attributable to interest (other than interest described in subparagraph (E)(i) or (iii)) received by such company on indebtedness issued by such person or by any corporation or partnership with respect to which such person is a 10-percent shareholder,
(ii) to any interest-related dividend with respect to stock of a regulated investment company unless the person who would otherwise be required to deduct and withhold tax from such dividend under chapter 3 receives a statement (which meets requirements similar to the requirements of subsection (h)(5)) that the beneficial owner of such stock is not a United States person, and
(iii) to any interest-related dividend paid to any person within a foreign country (or any interest-related dividend payment addressed to, or for the account of, persons within such foreign country) during any period described in subsection (h)(6) with respect to such country.
Clause (iii) shall not apply to any dividend with respect to any stock which was acquired on or before the date of the publication of the Secretary’s determination under subsection (h)(6).
(C) Interest-related dividendFor purposes of this paragraph—
(i) In general
(ii) Excess reported amountsIf the aggregate reported amount with respect to the company for any taxable year exceeds the qualified net interest income of the company for such taxable year, an interest related dividend is the excess of—(I) the reported interest related dividend amount, over(II) the excess reported amount which is allocable to such reported interest related dividend amount.
(iii) Allocation of excess reported amount(I) In general(II) Special rule for noncalendar year taxpayers
(iv) DefinitionsFor purposes of this subparagraph—(I) Reported interest related dividend amount(II) Excess reported amount(III) Aggregate reported amount(IV) Post-December reported amount
(D) Qualified net interest income
(E) Qualified interest incomeFor purposes of subparagraph (D), the term “qualified interest income” means the sum of the following amounts derived by the regulated investment company from sources within the United States:
(i) Any amount includible in gross income as original issue discount (within the meaning of section 1273) on an obligation payable 183 days or less from the date of original issue (without regard to the period held by the company).
(ii) Any interest includible in gross income (including amounts recognized as ordinary income in respect of original issue discount or market discount or acquisition discount under part V of subchapter P and such other amounts as regulations may provide) on an obligation which is in registered form; except that this clause shall not apply to—(I) any interest on an obligation issued by a corporation or partnership if the regulated investment company is a 10-percent shareholder in such corporation or partnership, and(II) any interest which is treated as not being portfolio interest under the rules of subsection (h)(4).
(iii) Any interest referred to in subsection (i)(2)(A) (without regard to the trade or business of the regulated investment company).
(iv) Any interest-related dividend includable in gross income with respect to stock of another regulated investment company.
(F) 10-percent shareholder
(2) Short-term capital gain dividends
(A) In general
(B) Exception for aliens taxable under subsection (a)(2)
(C) Short-term capital gain dividendFor purposes of this paragraph—
(i) In general
(ii) Excess reported amountsIf the aggregate reported amount with respect to the company for any taxable year exceeds the qualified short-term gain of the company for such taxable year, the term “short-term capital gain dividend” means the excess of—(I) the reported short-term capital gain dividend amount, over(II) the excess reported amount which is allocable to such reported short-term capital gain dividend amount.
(iii) Allocation of excess reported amount(I) In general(II) Special rule for noncalendar year taxpayers
(iv) DefinitionsFor purposes of this subparagraph—(I) Reported short-term capital gain dividend amount(II) Excess reported amount(III) Aggregate reported amount(IV) Post-December reported amount
(D) Qualified short-term gain
(E) Certain distributionsIn the case of a distribution to which section 897 does not apply by reason of the second sentence of section 897(h)(1), the amount which would be treated as a short-term capital gain dividend to the shareholder (without regard to this subparagraph)—
(i) shall not be treated as a short-term capital gain dividend, and
(ii) shall be included in such shareholder’s gross income as a dividend from the regulated investment company.
(l) Rules relating to existing 80/20 companiesFor purposes of this subsection and subsection (i)(2)(B)—
(1) Existing 80/20 company
(A) In generalThe term “existing 80/20 company” means any corporation if—
(i) such corporation met the 80-percent foreign business requirements of section 861(c)(1) (as in effect before the date of the enactment of this subsection) for such corporation’s last taxable year beginning before January 1, 2011,
(ii) such corporation meets the 80-percent foreign business requirements of subparagraph (B) with respect to each taxable year after the taxable year referred to in clause (i), and
(iii) there has not been an addition of a substantial line of business with respect to such corporation after the date of the enactment of this subsection.
(B) Foreign business requirements
(i) In general
(ii) Active foreign business incomeFor purposes of clause (i), the term “active foreign business income” means gross income which—(I) is derived from sources outside the United States (as determined under this subchapter), and(II) is attributable to the active conduct of a trade or business in a foreign country or possession of the United States.
(iii) Testing period
(iv) Transition ruleIn the case of a taxable year for which the testing period includes 1 or more taxable years beginning before January 1, 2011(I) a corporation meets the 80-percent foreign business requirements of this subparagraph if and only if the weighted average of—(aa) the percentage of the corporation’s gross income from all sources that is active foreign business income (as defined in subparagraph (B) of section 861(c)(1) (as in effect before the date of the enactment of this subsection)) for the portion of the testing period that includes taxable years beginning before January 1, 2011, and(bb) the percentage of the corporation’s gross income from all sources that is active foreign business income (as defined in clause (ii) of this subparagraph) for the portion of the testing period, if any, that includes taxable years beginning on or after January 1, 2011,(II) the active foreign business percentage for such taxable year shall equal the weighted average percentage determined under subclause (I).
  is at least 80 percent, and
(2) Active foreign business percentageExcept as provided in paragraph (1)(B)(iv), the term “active foreign business percentage” means, with respect to any existing 80/20 company, the percentage which—
(A) the active foreign business income of such company for the testing period, is of
(B) the gross income of such company for the testing period from all sources.
(3) Aggregation rulesFor purposes of applying paragraph (1) (other than subparagraphs (A)(i) and (B)(iv) thereof) and paragraph (2)—
(A) In general
(B) Subsidiaries
(4) Regulations
(m) Treatment of dividend equivalent payments
(1) In general
(2) Dividend equivalentFor purposes of this subsection, the term “dividend equivalent” means—
(A) any substitute dividend made pursuant to a securities lending or a sale-repurchase transaction that (directly or indirectly) is contingent upon, or determined by reference to, the payment of a dividend from sources within the United States,
(B) any payment made pursuant to a specified notional principal contract that (directly or indirectly) is contingent upon, or determined by reference to, the payment of a dividend from sources within the United States, and
(C) any other payment determined by the Secretary to be substantially similar to a payment described in subparagraph (A) or (B).
(3) Specified notional principal contractFor purposes of this subsection, the term “specified notional principal contract” means—
(A) any notional principal contract if—
(i) in connection with entering into such contract, any long party to the contract transfers the underlying security to any short party to the contract,
(ii) in connection with the termination of such contract, any short party to the contract transfers the underlying security to any long party to the contract,
(iii) the underlying security is not readily tradable on an established securities market,
(iv) in connection with entering into such contract, the underlying security is posted as collateral by any short party to the contract with any long party to the contract, or
(v) such contract is identified by the Secretary as a specified notional principal contract,
(B) in the case of payments made after the date which is 2 years after the date of the enactment of this subsection, any notional principal contract unless the Secretary determines that such contract is of a type which does not have the potential for tax avoidance.
(4) DefinitionsFor purposes of paragraph (3)(A)—
(A) Long party
(B) Short party
(C) Underlying security
(5) Payments determined on gross basis
(6) Prevention of over-withholding
(7) Coordination with chapters 3 and 4
(n) Cross references
(1) For tax treatment of certain amounts distributed by the United States to nonresident alien individuals, see section 402(e)(2).
(2) For taxation of nonresident alien individuals who are expatriate United States citizens, see section 877.
(3) For doubling of tax on citizens of certain foreign countries, see section 891.
(4) For adjustment of tax in case of nationals or residents of certain foreign countries, see section 896.
(5) For withholding of tax at source on nonresident alien individuals, see section 1441.
(6) For election to treat married nonresident alien individual as resident of United States in certain cases, see subsections (g) and (h) of section 6013.
(7) For special tax treatment of gain or loss from the disposition by a nonresident alien individual of a United States real property interest, see section 897.
(Aug. 16, 1954, ch. 736, 68A Stat. 278; Pub. L. 85–866, title I, §§ 40(a), 41(a), Sept. 2, 1958, 72 Stat. 1638, 1639; Pub. L. 86–437, § 2(b), Apr. 22, 1960, 74 Stat. 79; Pub. L. 87–256, § 110(b), Sept. 21, 1961, 75 Stat. 535; Pub. L. 88–272, title I, § 113(b), title II, § 201(d)(12), Feb. 26, 1964, 78 Stat. 24, 32; Pub. L. 89–809, title I, § 103(a)(1), Nov. 13, 1966, 80 Stat. 1547; Pub. L. 92–178, title III, § 313(a), (b), Dec. 10, 1971, 85 Stat. 526, 527; Pub. L. 93–406, title II, § 2005(c)(8), Sept. 2, 1974, 88 Stat. 992; Pub. L. 94–455, title X, § 1012(a)(2), title XIX, §§ 1901(b)(3)(I), 1906(b)(13)(A), Oct. 4, 1976, 90 Stat. 1613, 1793, 1834; Pub. L. 95–600, title IV, §§ 401(b)(3), 421(e)(4), Nov. 6, 1978, 92 Stat. 2867, 2876; Pub. L. 96–222, title I, § 104(a)(4)(H)(v), Apr. 1, 1980, 94 Stat. 217; Pub. L. 96–499, title XI, § 1122(c)(1), Dec. 5, 1980, 94 Stat. 2687; Pub. L. 96–605, title II, § 227(a), Dec. 28, 1980, 94 Stat. 3530; Pub. L. 97–34, title VII, § 725(c)(1), Aug. 13, 1981, 95 Stat. 346; Pub. L. 98–21, title I, § 121(c)(1), title III, § 335(b)(2)(B), Apr. 20, 1983, 97 Stat. 82, 130; Pub. L. 98–369, div. A, title I, §§ 42(a)(9), 127(a), 128(a), title IV, § 412(b)(1), July 18, 1984, 98 Stat. 557, 648, 653, 792; Pub. L. 99–272, title XII, § 12103(b), Apr. 7, 1986, 100 Stat. 285; Pub. L. 99–514, title III, § 301(b)(9), title XII, §§ 1211(b)(4), (5), 1214(c)(1), title XVIII, § 1810(d)(1)(A), (2), (3)(A), (B), (e)(2)(A), Oct. 22, 1986, 100 Stat. 2217, 2536, 2542, 2825, 2826; Pub. L. 100–647, title I, § 1001(d)(2)(B), title VI, § 6134(a)(1), Nov. 10, 1988, 102 Stat. 3350, 3721; Pub. L. 102–318, title V, § 521(b)(28)–(30), July 3, 1992, 106 Stat. 312; Pub. L. 103–66, title XIII, §§ 13113(d)(5), 13237(a)(1), (c)(1), Aug. 10, 1993, 107 Stat. 430, 506, 508; Pub. L. 103–296, title III, § 320(a)(1)(A), Aug. 15, 1994, 108 Stat. 1535; Pub. L. 103–465, title VII, § 733(a), Dec. 8, 1994, 108 Stat. 5006; Pub. L. 104–188, title I, §§ 1401(b)(10), 1954(b)(1), Aug. 20, 1996, 110 Stat. 1789, 1928; Pub. L. 105–206, title VI, § 6023(10), July 22, 1998, 112 Stat. 825; Pub. L. 106–170, title V, § 532(b)(2), Dec. 17, 1999, 113 Stat. 1930; Pub. L. 106–554, § 1(a)(7) [title III, § 319(11)], Dec. 21, 2000, 114 Stat. 2763, 2763A–646; Pub. L. 108–357, title IV, §§ 409(a), 411(a)(1), Oct. 22, 2004, 118 Stat. 1500; Pub. L. 109–222, title V, § 505(c)(2), May 17, 2006, 120 Stat. 356; Pub. L. 110–343, div. C, title II, § 206(a), (b), Oct. 3, 2008, 122 Stat. 3865; Pub. L. 111–147, title V, §§ 502(b)(1), (2)(A), 541(a), Mar. 18, 2010, 124 Stat. 107, 115; Pub. L. 111–226, title II, § 217(b), Aug. 10, 2010, 124 Stat. 2400; Pub. L. 111–312, title VII, § 748(a), Dec. 17, 2010, 124 Stat. 3320; Pub. L. 111–325, title III, §§ 301(f), 302(b)(2), 308(b)(3), Dec. 22, 2010, 124 Stat. 3544, 3548, 3551; Pub. L. 112–240, title III, § 320(a), Jan. 2, 2013, 126 Stat. 2332; Pub. L. 113–295, div. A, title I, § 132(a), title II, § 221(a)(71), Dec. 19, 2014, 128 Stat. 4018, 4048; Pub. L. 114–113, div. Q, title I, § 125(a), Dec. 18, 2015, 129 Stat. 3054; Pub. L. 115–141, div. U, title IV, § 401(b)(29), Mar. 23, 2018, 132 Stat. 1203.)
§ 872. Gross income
(a) General rule
In the case of a nonresident alien individual, except where the context clearly indicates otherwise, gross income includes only—
(1) gross income which is derived from sources within the United States and which is not effectively connected with the conduct of a trade or business within the United States, and
(2) gross income which is effectively connected with the conduct of a trade or business within the United States.
(b) Exclusions
The following items shall not be included in gross income of a nonresident alien individual, and shall be exempt from taxation under this subtitle:
(1) Ships operated by certain nonresidents
(2) Aircraft operated by certain nonresidents
(3) Compensation of participants in certain exchange or training programs
Compensation paid by a foreign employer to a nonresident alien individual for the period he is temporarily present in the United States as a nonimmigrant under subparagraph (F), (J), or (Q) of section 101(a)(15) of the Immigration and Nationality Act, as amended. For purposes of this paragraph, the term “foreign employer” means—
(A) a nonresident alien individual, foreign partnership, or foreign corporation, or
(B) an office or place of business maintained in a foreign country or in a possession of the United States by a domestic corporation, a domestic partnership, or an individual who is a citizen or resident of the United States.
(4) Certain bond income of residents of the Ryukyu Islands or the Trust Territory of the Pacific Islands
(5) Income derived from wagering transactions in certain parimutuel pools
(6) Certain rental income
(7) Application to different types of transportation
(8) Treatment of possessions
(Aug. 16, 1954, ch. 736, 68A Stat. 280; Pub. L. 87–256, § 110(c), Sept. 21, 1961, 75 Stat. 536; Pub. L. 89–809, title I, § 103(b), Nov. 13, 1966, 80 Stat. 1550; Pub. L. 99–514, title XII, § 1212(c)(1), (2), Oct. 22, 1986, 100 Stat. 2538; Pub. L. 100–647, title I, § 1012(e)(2)(B), (5), (s)(2)(A), Nov. 10, 1988, 102 Stat. 3500, 3527; Pub. L. 101–239, title VII, § 7811(i)(8)(C), Dec. 19, 1989, 103 Stat. 2411; Pub. L. 103–296, title III, § 320(a)(2), Aug. 15, 1994, 108 Stat. 1535; Pub. L. 108–357, title IV, § 419(a), Oct. 22, 2004, 118 Stat. 1513.)
§ 873. Deductions
(a) General rule
(b) Exceptions
The following deductions shall be allowed whether or not they are connected with income which is effectively connected with the conduct of a trade or business within the United States:
(1) Losses
(2) Charitable contributions
(3) Personal exemption
(c) Cross reference
(Aug. 16, 1954, ch. 736, 68A Stat. 280; Pub. L. 89–809, title I, § 103(c)(1), Nov. 13, 1966, 80 Stat. 1550; Pub. L. 92–580, § 1(b), Oct. 27, 1972, 86 Stat. 1276; Pub. L. 94–455, title XIX, § 1906(b)(13)(A), Oct. 4, 1976, 90 Stat. 1834; Pub. L. 95–30, title I, § 101(d)(11), May 23, 1977, 91 Stat. 134; Pub. L. 98–369, div. A, title VII, § 711(c)(2)(A)(iv), July 18, 1984, 98 Stat. 945; Pub. L. 105–277, div. J, title IV, § 4004(b)(3), Oct. 21, 1998, 112 Stat. 2681–911.)
§ 874. Allowance of deductions and credits
(a) Return prerequisite to allowance
(b) Tax withheld at source
(c) Foreign tax credit
(Aug. 16, 1954, ch. 736, 68A Stat. 281; Pub. L. 89–44, title VIII, § 809(d)(3), June 21, 1965, 79 Stat. 167; Pub. L. 89–809, title I, §§ 103(d), 106(a)(3), Nov. 13, 1966, 80 Stat. 1551, 1569; Pub. L. 91–258, title II, § 207(d)(1), May 21, 1970, 84 Stat. 248; Pub. L. 94–455, title XIX, § 1906(b)(13)(A), Oct. 4, 1976, 90 Stat. 1834; Pub. L. 97–424, title V, § 515(b)(6)(E), Jan. 6, 1983, 96 Stat. 2182; Pub. L. 98–369, div. A, title IV, § 474(r)(19), July 18, 1984, 98 Stat. 843.)
§ 875. Partnerships; beneficiaries of estates and trusts
For purposes of this subtitle—
(1) a nonresident alien individual or foreign corporation shall be considered as being engaged in a trade or business within the United States if the partnership of which such individual or corporation is a member is so engaged, and
(2) a nonresident alien individual or foreign corporation which is a beneficiary of an estate or trust which is engaged in any trade or business within the United States shall be treated as being engaged in such trade or business within the United States.
(Aug. 16, 1954, ch. 736, 68A Stat. 281; Pub. L. 89–809, title I, § 103(e)(1), Nov. 13, 1966, 80 Stat. 1551.)
§ 876. Alien residents of Puerto Rico, Guam, American Samoa, or the Northern Mariana Islands
(a) General rule
(b) Cross references
For exclusion from gross income of income derived from sources within—
(1) Guam, American Samoa, and the Northern Mariana Islands, see section 931, and
(2) Puerto Rico, see section 933.
(Aug. 16, 1954, ch. 736, 68A Stat. 281; Pub. L. 99–514, title XII, § 1272(b), Oct. 22, 1986, 100 Stat. 2593.)
§ 877. Expatriation to avoid tax
(a) Treatment of expatriates
(1) In general
(2) Individuals subject to this sectionThis section shall apply to any individual if—
(A) the average annual net income tax (as defined in section 38(c)(1)) of such individual for the period of 5 taxable years ending before the date of the loss of United States citizenship is greater than $124,000,
(B) the net worth of the individual as of such date is $2,000,000 or more, or
(C) such individual fails to certify under penalty of perjury that he has met the requirements of this title for the 5 preceding taxable years or fails to submit such evidence of such compliance as the Secretary may require.
In the case of the loss of United States citizenship in any calendar year after 2004, such $124,000 amount shall be increased by an amount equal to such dollar amount multiplied by the cost-of-living adjustment determined under section 1(f)(3) for such calendar year by substituting “2003” for “1992” in subparagraph (B) thereof. Any increase under the preceding sentence shall be rounded to the nearest multiple of $1,000.
(b) Alternative taxA nonresident alien individual described in subsection (a) shall be taxable for the taxable year as provided in section 1 or 55, except that—
(1) the gross income shall include only the gross income described in section 872(a) (as modified by subsection (d) of this section), and
(2) the deductions shall be allowed if and to the extent that they are connected with the gross income included under this section, except that the capital loss carryover provided by section 1212(b) shall not be allowed; and the proper allocation and apportionment of the deductions for this purpose shall be determined as provided under regulations prescribed by the Secretary.
For purposes of paragraph (2), the deductions allowed by section 873(b) shall be allowed; and the deduction (for losses not connected with the trade or business if incurred in transactions entered into for profit) allowed by section 165(c)(2) shall be allowed, but only if the profit, if such transaction had resulted in a profit, would be included in gross income under this section. The tax imposed solely by reason of this section shall be reduced (but not below zero) by the amount of any income, war profits, and excess profits taxes (within the meaning of section 903) paid to any foreign country or possession of the United States on any income of the taxpayer on which tax is imposed solely by reason of this section.
(c) Exceptions
(1) In general
(2) Dual citizens
(A) In generalAn individual is described in this paragraph if—
(i) the individual became at birth a citizen of the United States and a citizen of another country and continues to be a citizen of such other country, and
(ii) the individual has had no substantial contacts with the United States.
(B) Substantial contactsAn individual shall be treated as having no substantial contacts with the United States only if the individual—
(i) was never a resident of the United States (as defined in section 7701(b)),
(ii) has never held a United States passport, and
(iii) was not present in the United States for more than 30 days during any calendar year which is 1 of the 10 calendar years preceding the individual’s loss of United States citizenship.
(3) Certain minorsAn individual is described in this paragraph if—
(A) the individual became at birth a citizen of the United States,
(B) neither parent of such individual was a citizen of the United States at the time of such birth,
(C) the individual’s loss of United States citizenship occurs before such individual attains age 18½, and
(D) the individual was not present in the United States for more than 30 days during any calendar year which is 1 of the 10 calendar years preceding the individual’s loss of United States citizenship.
(d) Special rules for source, etc.For purposes of subsection (b)—
(1) Source rulesThe following items of gross income shall be treated as income from sources within the United States:
(A) Sale of property
(B) Stock or debt obligations
(C) Income or gain derived from controlled foreign corporationAny income or gain derived from stock in a foreign corporation but only—
(i) if the individual losing United States citizenship owned (within the meaning of section 958(a)), or is considered as owning (by applying the ownership rules of section 958(b)), at any time during the 2-year period ending on the date of the loss of United States citizenship, more than 50 percent of—(I) the total combined voting power of all classes of stock entitled to vote of such corporation, or(II) the total value of the stock of such corporation, and
(ii) to the extent such income or gain does not exceed the earnings and profits attributable to such stock which were earned or accumulated before the loss of citizenship and during periods that the ownership requirements of clause (i) are met.
(2) Gain recognition on certain exchanges
(A) In general
(B) Exchanges to which paragraph appliesThis paragraph shall apply to any exchange during the 10-year period beginning on the date the individual loses United States citizenship if—
(i) gain would not (but for this paragraph) be recognized on such exchange in whole or in part for purposes of this subtitle,
(ii) income derived from such property was from sources within the United States (or, if no income was so derived, would have been from such sources), and
(iii) income derived from the property acquired in the exchange would be from sources outside the United States.
(C) Exception
(D) Secretary may extend period
(E) Secretary may require recognition of gain in certain casesTo the extent provided in regulations prescribed by the Secretary—
(i) the removal of appreciated tangible personal property from the United States, and
(ii) any other occurrence which (without recognition of gain) results in a change in the source of the income or gain from property from sources within the United States to sources outside the United States,
shall be treated as an exchange to which this paragraph applies.
(3) Substantial diminishing of risks of ownershipFor purposes of determining whether this section applies to any gain on the sale or exchange of any property, the running of the 10-year period described in subsection (a) and the period applicable under paragraph (2) shall be suspended for any period during which the individual’s risk of loss with respect to the property is substantially diminished by—
(A) the holding of a put with respect to such property (or similar property),
(B) the holding by another person of a right to acquire the property, or
(C) a short sale or any other transaction.
(4) Treatment of property contributed to controlled foreign corporations
(A) In generalIf—
(i) an individual losing United States citizenship contributes property during the 10-year period beginning on the date the individual loses United States citizenship to any corporation which, at the time of the contribution, is described in subparagraph (B), and
(ii) income derived from such property immediately before such contribution was from sources within the United States (or, if no income was so derived, would have been from such sources),
any income or gain on such property (or any other property which has a basis determined in whole or part by reference to such property) received or accrued by the corporation shall be treated as received or accrued directly by such individual and not by such corporation. The preceding sentence shall not apply to the extent the property has been treated under subparagraph (C) as having been sold by such corporation.
(B) Corporation describedA corporation is described in this subparagraph with respect to an individual if, were such individual a United States citizen—
(i) such corporation would be a controlled foreign corporation (as defined in section 957), and
(ii) such individual would be a United States shareholder (as defined in section 951(b)) with respect to such corporation.
(C) Disposition of stock in corporation
(D) Anti-abuse rulesThe Secretary shall prescribe such regulations as may be necessary to prevent the avoidance of the purposes of this paragraph, including where—
(i) the property is sold to the corporation, and
(ii) the property taken into account under subparagraph (A) is sold by the corporation.
(E) Information reporting
(e) Comparable treatment of lawful permanent residents who cease to be taxed as residents
(1) In general
(2) Long-term resident
(3) Special rules
(A) Exceptions not to apply
(B) Step-up in basis
(4) Authority to exempt individuals
(5) Regulations
(f) Burden of proof
(g) Physical presence
(1) In general
(2) Exception
(A) In generalIn the case of an individual described in any of the following subparagraphs of this paragraph, a day of physical presence in the United States shall be disregarded if the individual is performing services in the United States on such day for an employer. The preceding sentence shall not apply if—
(i) such employer is related (within the meaning of section 267 and 707) to such individual, or
(ii) such employer fails to meet such requirements as the Secretary may prescribe by regulations to prevent the avoidance of the purposes of this paragraph.
Not more than 30 days during any calendar year may be disregarded under this subparagraph.
(B) Individuals with ties to other countriesAn individual is described in this subparagraph if—
(i) the individual becomes (not later than the close of a reasonable period after loss of United States citizenship or termination of residency) a citizen or resident of the country in which—(I) such individual was born,(II) if such individual is married, such individual’s spouse was born, or(III) either of such individual’s parents were born, and
(ii) the individual becomes fully liable for income tax in such country.
(C) Minimal prior physical presence in the United States
(h) Termination
(Added Pub. L. 89–809, title I, § 103(f)(1), Nov. 13, 1966, 80 Stat. 1551; amended Pub. L. 93–406, title II, § 2005(c)(8), Sept. 2, 1974, 88 Stat. 992; Pub. L. 94–455, title XIX, § 1906(b)(13)(A), Oct. 4, 1976, 90 Stat. 1834; Pub. L. 95–600, title IV, § 421(e)(5), Nov. 6, 1978, 92 Stat. 2876; Pub. L. 96–222, title I, § 104(a)(1), (4)(H)(v), Apr. 1, 1980, 94 Stat. 214, 217; Pub. L. 99–514, title XII, § 1243(a), Oct. 22, 1986, 100 Stat. 2580; Pub. L. 102–318, title V, § 521(b)(31), July 3, 1992, 106 Stat. 312; Pub. L. 104–188, title I, § 1401(b)(11), Aug. 20, 1996, 110 Stat. 1789; Pub. L. 104–191, title V, § 511(a)–(d), (f)(1), Aug. 21, 1996, 110 Stat. 2093–2098; Pub. L. 105–34, title XVI, § 1602(g)(1)–(4), (h)(3), Aug. 5, 1997, 111 Stat. 1095, 1096; Pub. L. 108–357, title VIII, § 804(a)(1), (2), (c), Oct. 22, 2004, 118 Stat. 1569, 1570; Pub. L. 109–135, title IV, § 403(v)(1), Dec. 21, 2005, 119 Stat. 2628; Pub. L. 110–245, title III, § 301(c)(2)(A), (d), June 17, 2008, 122 Stat. 1646; Pub. L. 113–295, div. A, title II, § 213(c)(2), Dec. 19, 2014, 128 Stat. 4034; Pub. L. 115–141, div. U, title IV, § 401(a)(153), Mar. 23, 2018, 132 Stat. 1191.)
§ 877A. Tax responsibilities of expatriation
(a) General rulesFor purposes of this subtitle—
(1) Mark to market
(2) Recognition of gain or lossIn the case of any sale under paragraph (1)—
(A) notwithstanding any other provision of this title, any gain arising from such sale shall be taken into account for the taxable year of the sale, and
(B) any loss arising from such sale shall be taken into account for the taxable year of the sale to the extent otherwise provided by this title, except that section 1091 shall not apply to any such loss.
Proper adjustment shall be made in the amount of any gain or loss subsequently realized for gain or loss taken into account under the preceding sentence, determined without regard to paragraph (3).
(3) Exclusion for certain gain
(A) In general
(B) Adjustment for inflation
(i) In generalIn the case of any taxable year beginning in a calendar year after 2008, the dollar amount in subparagraph (A) shall be increased by an amount equal to—(I) such dollar amount, multiplied by(II) the cost-of-living adjustment determined under section 1(f)(3) for the calendar year in which the taxable year begins, by substituting “calendar year 2007” for “calendar year 2016” in subparagraph (A)(ii) thereof.
(ii) Rounding
(b) Election to defer tax
(1) In general
(2) Determination of tax with respect to property
(3) Termination of extension
(4) Security
(A) In general
(B) Adequate securityFor purposes of subparagraph (A), security with respect to any property shall be treated as adequate security if—
(i) it is a bond which is furnished to, and accepted by, the Secretary, which is conditioned on the payment of tax (and interest thereon), and which meets the requirements of section 6325, or
(ii) it is another form of security for such payment (including letters of credit) that meets such requirements as the Secretary may prescribe.
(5) Waiver of certain rights
(6) Elections
(7) Interest
(c) Exception for certain propertySubsection (a) shall not apply to—
(1) any deferred compensation item (as defined in subsection (d)(4)),
(2) any specified tax deferred account (as defined in subsection (e)(2)), and
(3) any interest in a nongrantor trust (as defined in subsection (f)(3)).
(d) Treatment of deferred compensation items
(1) Withholding on eligible deferred compensation items
(A) In general
(B) Taxable payment
(2) Other deferred compensation itemsIn the case of any deferred compensation item which is not an eligible deferred compensation item—
(A)
(i) with respect to any deferred compensation item to which clause (ii) does not apply, an amount equal to the present value of the covered expatriate’s accrued benefit shall be treated as having been received by such individual on the day before the expatriation date as a distribution under the plan, and
(ii) with respect to any deferred compensation item referred to in paragraph (4)(D), the rights of the covered expatriate to such item shall be treated as becoming transferable and not subject to a substantial risk of forfeiture on the day before the expatriation date,
(B) no early distribution tax shall apply by reason of such treatment, and
(C) appropriate adjustments shall be made to subsequent distributions from the plan to reflect such treatment.
(3) Eligible deferred compensation itemsFor purposes of this subsection, the term “eligible deferred compensation item” means any deferred compensation item with respect to which—
(A) the payor of such item is—
(i) a United States person, or
(ii) a person who is not a United States person but who elects to be treated as a United States person for purposes of paragraph (1) and meets such requirements as the Secretary may provide to ensure that the payor will meet the requirements of paragraph (1), and
(B) the covered expatriate—
(i) notifies the payor of his status as a covered expatriate, and
(ii) makes an irrevocable waiver of any right to claim any reduction under any treaty with the United States in withholding on such item.
(4) Deferred compensation itemFor purposes of this subsection, the term “deferred compensation item” means—
(A) any interest in a plan or arrangement described in section 219(g)(5),
(B) any interest in a foreign pension plan or similar retirement arrangement or program,
(C) any item of deferred compensation, and
(D) any property, or right to property, which the individual is entitled to receive in connection with the performance of services to the extent not previously taken into account under section 83 or in accordance with section 83.
(5) Exception
(6) Special rules
(A) Application of withholding rules
(B) Application of tax
(C) Coordination with other withholding requirements
(e) Treatment of specified tax deferred accounts
(1) Account treated as distributedIn the case of any interest in a specified tax deferred account held by a covered expatriate on the day before the expatriation date—
(A) the covered expatriate shall be treated as receiving a distribution of his entire interest in such account on the day before the expatriation date,
(B) no early distribution tax shall apply by reason of such treatment, and
(C) appropriate adjustments shall be made to subsequent distributions from the account to reflect such treatment.
(2) Specified tax deferred account
(f) Special rules for nongrantor trusts
(1) In generalIn the case of a distribution (directly or indirectly) of any property from a nongrantor trust to a covered expatriate—
(A) the trustee shall deduct and withhold from such distribution an amount equal to 30 percent of the taxable portion of the distribution, and
(B) if the fair market value of such property exceeds its adjusted basis in the hands of the trust, gain shall be recognized to the trust as if such property were sold to the expatriate at its fair market value.
(2) Taxable portion
(3) Nongrantor trust
(4) Special rules relating to withholdingFor purposes of this subsection—
(A) rules similar to the rules of subsection (d)(6) shall apply, and
(B) the covered expatriate shall be treated as having waived any right to claim any reduction under any treaty with the United States in withholding on any distribution to which paragraph (1)(A) applies unless the covered expatriate agrees to such other treatment as the Secretary determines appropriate.
(5) Application
(g) Definitions and special rules relating to expatriationFor purposes of this section—
(1) Covered expatriate
(A) In general
(B) ExceptionsAn individual shall not be treated as meeting the requirements of subparagraph (A) or (B) of section 877(a)(2) if—
(i) the individual—(I) became at birth a citizen of the United States and a citizen of another country and, as of the expatriation date, continues to be a citizen of, and is taxed as a resident of, such other country, and(II) has been a resident of the United States (as defined in section 7701(b)(1)(A)(ii)) for not more than 10 taxable years during the 15-taxable year period ending with the taxable year during which the expatriation date occurs, or
(ii)(I) the individual’s relinquishment of United States citizenship occurs before such individual attains age 18½, and(II) the individual has been a resident of the United States (as so defined) for not more than 10 taxable years before the date of relinquishment.
(C) Covered expatriates also subject to tax as citizens or residents
(2) ExpatriateThe term “expatriate” means—
(A) any United States citizen who relinquishes his citizenship, and
(B) any long-term resident of the United States who ceases to be a lawful permanent resident of the United States (within the meaning of section 7701(b)(6)).
(3) Expatriation dateThe term “expatriation date” means—
(A) the date an individual relinquishes United States citizenship, or
(B) in the case of a long-term resident of the United States, the date on which the individual ceases to be a lawful permanent resident of the United States (within the meaning of section 7701(b)(6)).
(4) Relinquishment of citizenshipA citizen shall be treated as relinquishing his United States citizenship on the earliest of—
(A) the date the individual renounces his United States nationality before a diplomatic or consular officer of the United States pursuant to paragraph (5) of section 349(a) of the Immigration and Nationality Act (8 U.S.C. 1481(a)(5)),
(B) the date the individual furnishes to the United States Department of State a signed statement of voluntary relinquishment of United States nationality confirming the performance of an act of expatriation specified in paragraph (1), (2), (3), or (4) of section 349(a) of the Immigration and Nationality Act (8 U.S.C. 1481(a)(1)–(4)),
(C) the date the United States Department of State issues to the individual a certificate of loss of nationality, or
(D) the date a court of the United States cancels a naturalized citizen’s certificate of naturalization.
Subparagraph (A) or (B) shall not apply to any individual unless the renunciation or voluntary relinquishment is subsequently approved by the issuance to the individual of a certificate of loss of nationality by the United States Department of State.
(5) Long-term resident
(6) Early distribution tax
(h) Other rules
(1) Termination of deferrals, etc.In the case of any covered expatriate, notwithstanding any other provision of this title—
(A) any time period for acquiring property which would result in the reduction in the amount of gain recognized with respect to property disposed of by the taxpayer shall terminate on the day before the expatriation date, and
(B) any extension of time for payment of tax shall cease to apply on the day before the expatriation date and the unpaid portion of such tax shall be due and payable at the time and in the manner prescribed by the Secretary.
(2) Step-up in basis
(3) Coordination with section 684
(i) Regulations
(Added Pub. L. 110–245, title III, § 301(a), June 17, 2008, 122 Stat. 1638; amended Pub. L. 113–295, div. B, title I, § 102(e)(2), Dec. 19, 2014, 128 Stat. 4062; Pub. L. 115–97, title I, § 11002(d)(1)(BB), Dec. 22, 2017, 131 Stat. 2060; Pub. L. 115–141, div. U, title IV, § 401(a)(154), Mar. 23, 2018, 132 Stat. 1191.)
§ 878. Foreign educational, charitable, and certain other exempt organizations

For special provisions relating to foreign educational, charitable, and other exempt organizations, see sections 512(a) and 4948.

(Aug. 16, 1954, ch. 736, 68A Stat. 282, § 877; renumbered § 878, Pub. L. 89–809, title I, § 103(f)(1), Nov. 13, 1966, 80 Stat. 1551; amended Pub. L. 91–172, title I, § 101(j)(20), Dec. 30, 1969, 83 Stat. 528.)
§ 879. Tax treatment of certain community income in the case of nonresident alien individuals
(a) General rule
In the case of a married couple 1 or both of whom are nonresident alien individuals and who have community income for the taxable year, such community income shall be treated as follows:
(1) Earned income (within the meaning of section 911(d)(2)), other than trade or business income and a partner’s distributive share of partnership income, shall be treated as the income of the spouse who rendered the personal services,
(2) Trade or business income, and a partner’s distributive share of partnership income, shall be treated as provided in section 1402(a)(5),
(3) Community income not described in paragraph (1) or (2) which is derived from the separate property (as determined under the applicable community property law) of one spouse shall be treated as the income of such spouse, and
(4) All other such community income shall be treated as provided in the applicable community property law.
(b) Exception where election under section 6013(g) is in effect
(c) Definitions and special rules
For purposes of this section—
(1) Community income
(2) Community property laws
(3) Determination of marital status
(Added Pub. L. 94–455, title X, § 1012(b)(1), Oct. 4, 1976, 90 Stat. 1613; amended Pub. L. 97–34, title I, § 111(b)(4), Aug. 13, 1981, 95 Stat. 194; Pub. L. 98–369, div. A, title I, § 139(a), (b)(1), July 18, 1984, 98 Stat. 677; Pub. L. 99–514, title XIII, § 1301(j)(9), Oct. 22, 1986, 100 Stat. 2658.)