View all text of Part I [§ 861 - § 865]
§ 865. Source rules for personal property sales
(a) General ruleExcept as otherwise provided in this section, income from the sale of personal property—
(1) by a United States resident shall be sourced in the United States, or
(2) by a nonresident shall be sourced outside the United States.
(b) Exception for inventory propertyIn the case of income derived from the sale of inventory property—
(1) this section shall not apply, and
(2) such income shall be sourced under the rules of sections 861(a)(6), 862(a)(6), and 863.
Notwithstanding the preceding sentence, any income from the sale of any unprocessed timber which is a softwood and was cut from an area in the United States shall be sourced in the United States and the rules of sections 862(a)(6) and 863(b) shall not apply to any such income. For purposes of the preceding sentence, the term “unprocessed timber” means any log, cant, or similar form of timber.
(c) Exception for depreciable personal property
(1) In generalGain (not in excess of the depreciation adjustments) from the sale of depreciable personal property shall be allocated between sources in the United States and sources outside the United States—
(A) by treating the same proportion of such gain as sourced in the United States as the United States depreciation adjustments with respect to such property bear to the total depreciation adjustments, and
(B) by treating the remaining portion of such gain as sourced outside the United States.
(2) Gain in excess of depreciation
(3) United States depreciation adjustmentsFor purposes of this subsection—
(A) In general
(B) Special rule for certain propertyExcept in the case of property of a kind described in section 168(g)(4), if, for any taxable year—
(i) such property is used predominantly in the United States, or
(ii) such property is used predominantly outside the United States,
(4) Other definitionsFor purposes of this subsection—
(A) Depreciable personal property
(B) Depreciation adjustments
(C) Depreciation deductions
(d) Exception for intangibles
(1) In generalIn the case of any sale of an intangible—
(A) this section shall apply only to the extent the payments in consideration of such sale are not contingent on the productivity, use, or disposition of the intangible, and
(B) to the extent such payments are so contingent, the source of such payments shall be determined under this part in the same manner as if such payments were royalties.
(2) Intangible
(3) Special rule in the case of goodwill
(4) Coordination with subsection (c)
(A) Gain not in excess of depreciation adjustments sourced under subsection (c)
(B) Subsection (c)(2) not to apply to intangibles
(e) Special rules for sales through offices or fixed places of business
(1) Sales by residents
(A) In general
(B) Tax must be imposed
(2) Sales by nonresidents
(A) In general
(B) Exception
(3) Sales attributable to an office or other fixed place of business
(f) Stock of affiliatesIf—
(1) a United States resident sells stock in an affiliate which is a foreign corporation,
(2) such sale occurs in a foreign country in which such affiliate is engaged in the active conduct of a trade or business, and
(3) more than 50 percent of the gross income of such affiliate for the 3-year period ending with the close of such affiliate’s taxable year immediately preceding the year in which the sale occurred was derived from the active conduct of a trade or business in such foreign country,
any gain from such sale shall be sourced outside the United States. For purposes of paragraphs (2) and (3), the United States resident may elect to treat an affiliate and all other corporations which are wholly owned (directly or indirectly) by the affiliate as one corporation.
(g) United States resident; nonresidentFor purposes of this section—
(1) In generalExcept as otherwise provided in this subsection—
(A) United States residentThe term “United States resident” means—
(i) any individual who—(I) is a United States citizen or a resident alien and does not have a tax home (as defined in section 911(d)(3)) in a foreign country, or(II) is a nonresident alien and has a tax home (as so defined) in the United States, and
(ii) any corporation, trust, or estate which is a United States person (as defined in section 7701(a)(30)).
(B) Nonresident
(2) Special rules for United States citizens and resident aliens
(3) Special rule for certain stock sales by residents of Puerto RicoParagraph (2) shall not apply to the sale by an individual who was a bona fide resident of Puerto Rico during the entire taxable year of stock in a corporation if—
(A) such corporation is engaged in the active conduct of a trade or business in Puerto Rico, and
(B) more than 50 percent of its gross income for the 3-year period ending with the close of such corporation’s taxable year immediately preceding the year in which such sale occurred was derived from the active conduct of a trade or business in Puerto Rico.
For purposes of the preceding sentence, the taxpayer may elect to treat a corporation and all other corporations which are wholly owned (directly or indirectly) by such corporation as one corporation.
(h) Treatment of gains from sale of certain stock or intangibles and from certain liquidations
(1) In generalIn the case of gain to which this subsection applies—
(A) such gain shall be sourced outside the United States, but
(B) subsections (a), (b), and (c) of section 904 and sections 907 and 960 shall be applied separately with respect to such gain.
(2) Gain to which subsection appliesThis subsection shall apply to—
(A) Gain from sale of certain stock or intangiblesAny gain—
(i) which is from the sale of stock in a foreign corporation or an intangible (as defined in subsection (d)(2)) and which would otherwise be sourced in the United States under this section,
(ii) which, under a treaty obligation of the United States (applied without regard to this section), would be sourced outside the United States, and
(iii) with respect to which the taxpayer chooses the benefits of this subsection.
(B) Gain from liquidation in possessionAny gain which is derived from the receipt of any distribution in liquidation of a corporation—
(i) which is organized in a possession of the United States, and
(ii) more than 50 percent of the gross income of which during the 3-taxable year period ending with the close of the taxable year immediately preceding the taxable year in which the distribution is received is from the active conduct of a trade or business in such possession.
(i) Other definitionsFor purposes of this section—
(1) Inventory property
(2) Sale includes exchange
(3) Treatment of possessions
(4) Affiliate
(5) Treatment of partnerships
(j) RegulationsThe Secretary shall prescribe such regulations as may be necessary or appropriate to carry out the purpose of this section, including regulations—
(1) relating to the treatment of losses from sales of personal property,
(2) applying the rules of this section to income derived from trading in futures contracts, forward contracts, options contracts, and other instruments, and
(3) providing that, subject to such conditions (which may include provisions comparable to section 877) as may be provided in such regulations, subsections (e)(1)(B) and (g)(2) shall not apply for purposes of sections 931 and 933.
(k) Cross references
(1) For provisions relating to the characterization as dividends for source purposes of gains from the sale of stock in certain foreign corporations, see section 1248.
(2) For sourcing of income from certain foreign currency transactions, see section 988.
(Added Pub. L. 99–514, title XII, § 1211(a), Oct. 22, 1986, 100 Stat. 2533; amended Pub. L. 100–647, title I, § 1012(d)(1)–(6), (8), (9), (11), (12), Nov. 10, 1988, 102 Stat. 3497–3499; Pub. L. 101–508, title XI, § 11813(b)(18), Nov. 5, 1990, 104 Stat. 1388–555; Pub. L. 103–66, title XIII, § 13239(c), Aug. 10, 1993, 107 Stat. 509; Pub. L. 104–188, title I, § 1704(f)(4)(A), Aug. 20, 1996, 110 Stat. 1880; Pub. L. 106–170, title V, § 532(c)(1)(E), Dec. 17, 1999, 113 Stat. 1930; Pub. L. 115–97, title I, § 14301(c)(6), Dec. 22, 2017, 131 Stat. 2222; Pub. L. 115–141, div. U, title IV, § 401(d)(1)(D)(xi), Mar. 23, 2018, 132 Stat. 1208.)