Collapse to view only § 513. Unrelated trade or business

§ 511. Imposition of tax on unrelated business income of charitable, etc., organizations
(a) Charitable, etc., organizations taxable at corporation rates
(1) Imposition of tax
(2) Organizations subject to tax
(A) Organizations described in sections 401(a) and 501(c)
(B) State colleges and universities
(b) Tax on charitable, etc., trusts
(1) Imposition of tax
(2) Charitable, etc., trusts subject to tax
(c) Special rule for section 501(c)(2) corporations
If a corporation described in section 501(c)(2)—
(1) pays any amount of its net income for a taxable year to an organization exempt from taxation under section 501(a) (or which would pay such an amount but for the fact that the expenses of collecting its income exceed its income), and
(2) such corporation and such organization file a consolidated return for the taxable year,
such corporation shall be treated, for purposes of the tax imposed by subsection (a), as being organized and operated for the same purposes as such organization, in addition to the purposes described in section 501(c)(2).
(Aug. 16, 1954, ch. 736, 68A Stat. 169; Pub. L. 86–667, § 3, July 14, 1960, 74 Stat. 535; Pub. L. 89–352, § 2, Feb. 2, 1966, 80 Stat. 4; Pub. L. 91–172, title I, § 121(a)(1)–(3), title III, § 301(b)(8), title VIII, § 803(d)(2), Dec. 30, 1969, 83 Stat. 536, 585, 684; Pub. L. 95–30, title I, § 101(d)(6), May 23, 1977, 91 Stat. 133; Pub. L. 95–600, title III, § 301(b)(5), title IV, § 421(e)(3), Nov. 6, 1978, 92 Stat. 2821, 2876; Pub. L. 97–248, title II, § 201(d)(5), formerly § 201(c)(5), Sept. 3, 1982, 96 Stat. 419, renumbered § 201(d)(5), Pub. L. 97–448, title III, § 306(a)(1)(A)(i), Jan. 12, 1983, 96 Stat. 2400; Pub. L. 100–647, title I, § 1007(g)(6), Nov. 10, 1988, 102 Stat. 3435.)
§ 512. Unrelated business taxable income
(a) DefinitionFor purposes of this title—
(1) General rule
(2) Special rule for foreign organizationsIn the case of an organization described in section 511 which is a foreign organization, the unrelated business taxable income shall be—
(A) its unrelated business taxable 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, plus
(B) its unrelated business taxable income which is effectively connected with the conduct of a trade or business within the United States.
(3) Special rules applicable to organizations described in paragraph (7), (9), or (17) of section 501(c)
(A) General rule
(B) Exempt function incomeFor purposes of subparagraph (A), the term “exempt function income” means the gross income from dues, fees, charges, or similar amounts paid by members of the organization as consideration for providing such members or their dependents or guests goods, facilities, or services in furtherance of the purposes constituting the basis for the exemption of the organization to which such income is paid. Such term also means all income (other than an amount equal to the gross income derived from any unrelated trade or business regularly carried on by such organization computed as if the organization were subject to paragraph (1)), which is set aside—
(i) for a purpose specified in section 170(c)(4), or
(ii) in the case of an organization described in paragraph (9) or (17) of section 501(c), to provide for the payment of life, sick, accident, or other benefits,
including reasonable costs of administration directly connected with a purpose described in clause (i) or (ii). If during the taxable year, an amount which is attributable to income so set aside is used for a purpose other than that described in clause (i) or (ii), such amount shall be included, under subparagraph (A), in unrelated business taxable income for the taxable year.
(C) Applicability to certain corporations described in section 501(c)(2)
(D) Nonrecognition of gain
(E) Limitation on amount of setaside in the case of organizations described in paragraph (9) or (17) of section 501(c)
(i) In general
(ii) Treatment of existing reserves for post-retirement medical or life insurance benefits(I) Clause (i) shall not apply to any income attributable to an existing reserve for post-retirement medical or life insurance benefits.(II) For purposes of subclause (I), the term “reserve for post-retirement medical or life insurance benefits” means the greater of the amount of assets set aside for purposes of post-retirement medical or life insurance benefits to be provided to covered employees as of the close of the last plan year ending before the date of the enactment of the Tax Reform Act of 1984 or on July 18, 1984.(III) All payments during plan years ending on or after the date of the enactment of the Tax Reform Act of 1984 of post-retirement medical benefits or life insurance benefits shall be charged against the reserve referred to in subclause (II). Except to the extent provided in regulations prescribed by the Secretary, all plans of an employer shall be treated as 1 plan for purposes of the preceding sentence.
(iii) Treatment of tax exempt organizations
(4) Special rule applicable to organizations described in section 501(c)(19)
(5) Definition of payments with respect to securities loans
(A) The term “payments with respect to securities loans” includes all amounts received in respect of a security (as defined in section 1236(c)) transferred by the owner to another person in a transaction to which section 1058 applies (whether or not title to the security remains in the name of the lender) including—
(i) amounts in respect of dividends, interest, or other distributions,
(ii) fees computed by reference to the period beginning with the transfer of securities by the owner and ending with the transfer of identical securities back to the transferor by the transferee and the fair market value of the security during such period,
(iii) income from collateral security for such loan, and
(iv) income from the investment of collateral security.
(B) Subparagraph (A) shall apply only with respect to securities transferred pursuant to an agreement between the transferor and the transferee which provides for—
(i) reasonable procedures to implement the obligation of the transferee to furnish to the transferor, for each business day during such period, collateral with a fair market value not less than the fair market value of the security at the close of business on the preceding business day,
(ii) termination of the loan by the transferor upon notice of not more than 5 business days, and
(iii) return to the transferor of securities identical to the transferred securities upon termination of the loan.
(6) Special rule for organization with more than 1 unrelated trade or businessIn the case of any organization with more than 1 unrelated trade or business—
(A) unrelated business taxable income, including for purposes of determining any net operating loss deduction, shall be computed separately with respect to each such trade or business and without regard to subsection (b)(12),
(B) the unrelated business taxable income of such organization shall be the sum of the unrelated business taxable income so computed with respect to each such trade or business, less a specific deduction under subsection (b)(12), and
(C) for purposes of subparagraph (B), unrelated business taxable income with respect to any such trade or business shall not be less than zero.
(b) ModificationsThe modifications referred to in subsection (a) are the following:
(1) There shall be excluded all dividends, interest, payments with respect to securities loans (as defined in subsection (a)(5)), amounts received or accrued as consideration for entering into agreements to make loans, and annuities, and all deductions directly connected with such income.
(2) There shall be excluded all royalties (including overriding royalties) whether measured by production or by gross or taxable income from the property, and all deductions directly connected with such income.
(3) In the case of rents—
(A) Except as provided in subparagraph (B), there shall be excluded—
(i) all rents from real property (including property described in section 1245(a)(3)(C)), and
(ii) all rents from personal property (including for purposes of this paragraph as personal property any property described in section 1245(a)(3)(B)) leased with such real property, if the rents attributable to such personal property are an incidental amount of the total rents received or accrued under the lease, determined at the time the personal property is placed in service.
(B) Subparagraph (A) shall not apply—
(i) if more than 50 percent of the total rent received or accrued under the lease is attributable to personal property described in subparagraph (A)(ii), or
(ii) if the determination of the amount of such rent depends in whole or in part on the income or profits derived by any person from the property leased (other than an amount based on a fixed percentage or percentages of receipts or sales).
(C) There shall be excluded all deductions directly connected with rents excluded under subparagraph (A).
(4) Notwithstanding paragraph (1), (2), (3), or (5), in the case of debt-financed property (as defined in section 514) there shall be included, as an item of gross income derived from an unrelated trade or business, the amount ascertained under section 514(a)(1), and there shall be allowed, as a deduction, the amount ascertained under section 514(a)(2).
(5) There shall be excluded all gains or losses from the sale, exchange, or other disposition of property other than—
(A) stock in trade or other property of a kind which would properly be includible in inventory if on hand at the close of the taxable year, or
(B) property held primarily for sale to customers in the ordinary course of the trade or business.
There shall also be excluded all gains or losses recognized, in connection with the organization’s investment activities, from the lapse or termination of options to buy or sell securities (as defined in section 1236(c)) or real property and all gains or losses from the forfeiture of good-faith deposits (that are consistent with established business practice) for the purchase, sale, or lease of real property in connection with the organization’s investment activities. This paragraph shall not apply with respect to the cutting of timber which is considered, on the application of section 631, as a sale or exchange of such timber.
(6) The net operating loss deduction provided in section 172 shall be allowed, except that—
(A) the net operating loss for any taxable year, the amount of the net operating loss carryback or carryover to any taxable year, and the net operating loss deduction for any taxable year shall be determined under section 172 without taking into account any amount of income or deduction which is excluded under this part in computing the unrelated business taxable income; and
(B) the terms “preceding taxable year” and “preceding taxable years” as used in section 172 shall not include any taxable year for which the organization was not subject to the provisions of this part.
(7) There shall be excluded all income derived from research for (A) the United States, or any of its agencies or instrumentalities, or (B) any State or political subdivision thereof; and there shall be excluded all deductions directly connected with such income.
(8) In the case of a college, university, or hospital, there shall be excluded all income derived from research performed for any person, and all deductions directly connected with such income.
(9) In the case of an organization operated primarily for purposes of carrying on fundamental research the results of which are freely available to the general public, there shall be excluded all income derived from research performed for any person, and all deductions directly connected with such income.
(10) In the case of any organization described in section 511(a), the deduction allowed by section 170 (relating to charitable etc. contributions and gifts) shall be allowed (whether or not directly connected with the carrying on of the trade or business), but shall not exceed 10 percent of the unrelated business taxable income computed without the benefit of this paragraph.
(11) In the case of any trust described in section 511(b), the deduction allowed by section 170 (relating to charitable etc. contributions and gifts) shall be allowed (whether or not directly connected with the carrying on of the trade or business), and for such purpose a distribution made by the trust to a beneficiary described in section 170 shall be considered as a gift or contribution. The deduction allowed by this paragraph shall be allowed with the limitations prescribed in section 170(b)(1)(A) and (B) determined with reference to the unrelated business taxable income computed without the benefit of this paragraph (in lieu of with reference to adjusted gross income).
(12) Except for purposes of computing the net operating loss under section 172 and paragraph (6), there shall be allowed a specific deduction of $1,000. In the case of a diocese, province of a religious order, or a convention or association of churches, there shall also be allowed, with respect to each parish, individual church, district, or other local unit, a specific deduction equal to the lower of—
(A) $1,000, or
(B) the gross income derived from any unrelated trade or business regularly carried on by such local unit.
(13)Special rules for certain amounts received from controlled entities.—
(A)In general.—If an organization (in this paragraph referred to as the “controlling organization”) receives or accrues (directly or indirectly) a specified payment from another entity which it controls (in this paragraph referred to as the “controlled entity”), notwithstanding paragraphs (1), (2), and (3), the controlling organization shall include such payment as an item of gross income derived from an unrelated trade or business to the extent such payment reduces the net unrelated income of the controlled entity (or increases any net unrelated loss of the controlled entity). There shall be allowed all deductions of the controlling organization directly connected with amounts treated as derived from an unrelated trade or business under the preceding sentence.
(B)Net unrelated income or loss.—For purposes of this paragraph—
(i)Net unrelated income.—The term “net unrelated income” means—(I) in the case of a controlled entity which is not exempt from tax under section 501(a), the portion of such entity’s taxable income which would be unrelated business taxable income if such entity were exempt from tax under section 501(a) and had the same exempt purposes as the controlling organization, or(II) in the case of a controlled entity which is exempt from tax under section 501(a), the amount of the unrelated business taxable income of the controlled entity.
(ii)Net unrelated loss.—The term “net unrelated loss” means the net operating loss adjusted under rules similar to the rules of clause (i).
(C)Specified payment.—For purposes of this paragraph, the term “specified payment” means any interest, annuity, royalty, or rent.
(D)Definition of control.—For purposes of this paragraph—
(i)Control.—The term “control” means—(I) in the case of a corporation, ownership (by vote or value) of more than 50 percent of the stock in such corporation,(II) in the case of a partnership, ownership of more than 50 percent of the profits interests or capital interests in such partnership, or(III) in any other case, ownership of more than 50 percent of the beneficial interests in the entity.
(ii)Constructive ownership.—Section 318 (relating to constructive ownership of stock) shall apply for purposes of determining ownership of stock in a corporation. Similar principles shall apply for purposes of determining ownership of interests in any other entity.
(E)Paragraph to apply only to certain excess payments.—
(i)In general.—Subparagraph (A) shall apply only to the portion of a qualifying specified payment received or accrued by the controlling organization that exceeds the amount which would have been paid or accrued if such payment met the requirements prescribed under section 482.
(ii)Addition to tax for valuation misstatements.—The tax imposed by this chapter on the controlling organization shall be increased by an amount equal to 20 percent of the larger of—(I) such excess determined without regard to any amendment or supplement to a return of tax, or(II) such excess determined with regard to all such amendments and supplements.
(iii)Qualifying specified payment.—The term “qualifying specified payment” means a specified payment which is made pursuant to—(I) a binding written contract in effect on the date of the enactment of this subparagraph, or(II) a contract which is a renewal, under substantially similar terms, of a contract described in subclause (I).
(F)Related persons.—The Secretary shall prescribe such rules as may be necessary or appropriate to prevent avoidance of the purposes of this paragraph through the use of related persons.
[(14) Repealed. Pub. L. 101–508, title XI, § 11801(a)(23), Nov. 5, 1990, 104 Stat. 1388–521.]
(15) Except as provided in paragraph (4), in the case of a trade or business—
(A) which consists of providing services under license issued by a Federal regulatory agency,
(B) which is carried on by a religious order or by an educational organization described in section 170(b)(1)(A)(ii) maintained by such religious order, and which was so carried on before May 27, 1959, and
(C) less than 10 percent of the net income of which for each taxable year is used for activities which are not related to the purpose constituting the basis for the religious order’s exemption,
there shall be excluded all gross income derived from such trade or business and all deductions directly connected with the carrying on of such trade or business, so long as it is established to the satisfaction of the Secretary that the rates or other charges for such services are competitive with rates or other charges charged for similar services by persons not exempt from taxation.
(16)
(A) Notwithstanding paragraph (5)(B), there shall be excluded all gains or losses from the sale, exchange, or other disposition of any real property described in subparagraph (B) if—
(i) such property was acquired by the organization from—(I) a financial institution described in section 581 or 591(a) which is in conservatorship or receivership, or(II) the conservator or receiver of such an institution (or any government agency or corporation succeeding to the rights or interests of the conservator or receiver),
(ii) such property is designated by the organization within the 9-month period beginning on the date of its acquisition as property held for sale, except that not more than one-half (by value determined as of such date) of property acquired in a single transaction may be so designated,
(iii) such sale, exchange, or disposition occurs before the later of—(I) the date which is 30 months after the date of the acquisition of such property, or(II) the date specified by the Secretary in order to assure an orderly disposition of property held by persons described in subparagraph (A), and
(iv) while such property was held by the organization, the aggregate expenditures on improvements and development activities included in the basis of the property are (or were) not in excess of 20 percent of the net selling price of such property.
(B) Property is described in this subparagraph if it is real property which—
(i) was held by the financial institution at the time it entered into conservatorship or receivership, or
(ii) was foreclosure property (as defined in section 514(c)(9)(H)(v)) which secured indebtedness held by the financial institution at such time.
For purposes of this subparagraph, real property includes an interest in a mortgage.
(17)Treatment of certain amounts derived from foreign corporations.—
(A)In general.—Notwithstanding paragraph (1), any amount included in gross income under section 951(a)(1)(A) shall be included as an item of gross income derived from an unrelated trade or business to the extent the amount so included is attributable to insurance income (as defined in section 953) which, if derived directly by the organization, would be treated as gross income from an unrelated trade or business. There shall be allowed all deductions directly connected with amounts included in gross income under the preceding sentence.
(B)Exception.—
(i)In general.—Subparagraph (A) shall not apply to income attributable to a policy of insurance or reinsurance with respect to which the person (directly or indirectly) insured is—(I) such organization,(II) an affiliate of such organization which is exempt from tax under section 501(a), or(III) a director or officer of, or an individual who (directly or indirectly) performs services for, such organization or affiliate but only if the insurance covers primarily risks associated with the performance of services in connection with such organization or affiliate.
(ii)Affiliate.—For purposes of this subparagraph—(I)In general.—The determination as to whether an entity is an affiliate of an organization shall be made under rules similar to the rules of section 168(h)(4)(B).(II)Special ruleTwo or more organizations (and any affiliates of such organizations) shall be treated as affiliates if such organizations are colleges or universities described in section 170(b)(1)(A)(ii) or organizations described in section 170(b)(1)(A)(iii) and participate in an insurance arrangement that provides for any profits from such arrangement to be returned to the policyholders in their capacity as such.
(C)Regulations.—The Secretary shall prescribe such regulations as may be necessary or appropriate to carry out the purposes of this paragraph, including regulations for the application of this paragraph in the case of income paid through 1 or more entities or between 2 or more chains of entities.
(18)Treatment of mutual or cooperative electric companies.—In the case of a mutual or cooperative electric company described in section 501(c)(12), there shall be excluded income which is treated as member income under subparagraph (H) thereof.
(19)Treatment of gain or loss on sale or exchange of certain brownfield sites.—
(A)In general.—Notwithstanding paragraph (5)(B), there shall be excluded any gain or loss from the qualified sale, exchange, or other disposition of any qualifying brownfield property by an eligible taxpayer.
(B)Eligible taxpayer.—For purposes of this paragraph—
(i)In general.—The term “eligible taxpayer” means, with respect to a property, any organization exempt from tax under section 501(a) which—(I) acquires from an unrelated person a qualifying brownfield property, and(II) pays or incurs eligible remediation expenditures with respect to such property in an amount which exceeds the greater of $550,000 or 12 percent of the fair market value of the property at the time such property was acquired by the eligible taxpayer, determined as if there was not a presence of a hazardous substance, pollutant, or contaminant on the property which is complicating the expansion, redevelopment, or reuse of the property.
(ii)Exception.—Such term shall not include any organization which is—(I) potentially liable under section 107 of the Comprehensive Environmental Response, Compensation, and Liability Act of 1980 with respect to the qualifying brownfield property,(II) affiliated with any other person which is so potentially liable through any direct or indirect familial relationship or any contractual, corporate, or financial relationship (other than a contractual, corporate, or financial relationship which is created by the instruments by which title to any qualifying brownfield property is conveyed or financed or by a contract of sale of goods or services), or(III) the result of a reorganization of a business entity which was so potentially liable.
(C)Qualifying brownfield property.—For purposes of this paragraph—
(i)In general.—The term “qualifying brownfield property” means any real property which is certified, before the taxpayer incurs any eligible remediation expenditures (other than to obtain a Phase I environmental site assessment), by an appropriate State agency (within the meaning of section 198(c)(4)) in the State in which such property is located as a brownfield site within the meaning of section 101(39) of the Comprehensive Environmental Response, Compensation, and Liability Act of 1980 (as in effect on the date of the enactment of this paragraph).
(ii)Request for certification.—Any request by an eligible taxpayer for a certification described in clause (i) shall include a sworn statement by the eligible taxpayer and supporting documentation of the presence of a hazardous substance, pollutant, or contaminant on the property which is complicating the expansion, redevelopment, or reuse of the property given the property’s reasonably anticipated future land uses or capacity for uses of the property (including a Phase I environmental site assessment and, if applicable, evidence of the property’s presence on a local, State, or Federal list of brownfields or contaminated property) and other environmental assessments prepared or obtained by the taxpayer.
(D)Qualified sale, exchange, or other disposition.—For purposes of this paragraph—
(i)In general.—A sale, exchange, or other disposition of property shall be considered as qualified if—(I) such property is transferred by the eligible taxpayer to an unrelated person, and(II) within 1 year of such transfer the eligible taxpayer has received a certification from the Environmental Protection Agency or an appropriate State agency (within the meaning of section 198(c)(4)) in the State in which such property is located that, as a result of the eligible taxpayer’s remediation actions, such property would not be treated as a qualifying brownfield property in the hands of the transferee.
 For purposes of subclause (II), before issuing such certification, the Environmental Protection Agency or appropriate State agency shall respond to comments received pursuant to clause (ii)(V) in the same form and manner as required under section 117(b) of the Comprehensive Environmental Response, Compensation, and Liability Act of 1980 (as in effect on the date of the enactment of this paragraph).
(ii)Request for certification.—Any request by an eligible taxpayer for a certification described in clause (i) shall be made not later than the date of the transfer and shall include a sworn statement by the eligible taxpayer certifying the following:(I) Remedial actions which comply with all applicable or relevant and appropriate requirements (consistent with section 121(d) of the Comprehensive Environmental Response, Compensation, and Liability Act of 1980) have been substantially completed, such that there are no hazardous substances, pollutants, or contaminants which complicate the expansion, redevelopment, or reuse of the property given the property’s reasonably anticipated future land uses or capacity for uses of the property.(II) The reasonably anticipated future land uses or capacity for uses of the property are more economically productive or environmentally beneficial than the uses of the property in existence on the date of the certification described in subparagraph (C)(i). For purposes of the preceding sentence, use of property as a landfill or other hazardous waste facility shall not be considered more economically productive or environmentally beneficial.(III) A remediation plan has been implemented to bring the property into compliance with all applicable local, State, and Federal environmental laws, regulations, and standards and to ensure that the remediation protects human health and the environment.(IV) The remediation plan described in subclause (III), including any physical improvements required to remediate the property, is either complete or substantially complete, and, if substantially complete, sufficient monitoring, funding, institutional controls, and financial assurances have been put in place to ensure the complete remediation of the property in accordance with the remediation plan as soon as is reasonably practicable after the sale, exchange, or other disposition of such property.(V) Public notice and the opportunity for comment on the request for certification was completed before the date of such request. Such notice and opportunity for comment shall be in the same form and manner as required for public participation required under section 117(a) of the Comprehensive Environmental Response, Compensation, and Liability Act of 1980 (as in effect on the date of the enactment of this paragraph). For purposes of this subclause, public notice shall include, at a minimum, publication in a major local newspaper of general circulation.
(iii)Attachment to tax returns.—A copy of each of the requests for certification described in clause (ii) of subparagraph (C) and this subparagraph shall be included in the tax return of the eligible taxpayer (and, where applicable, of the qualifying partnership) for the taxable year during which the transfer occurs.
(iv)Substantial completion.—For purposes of this subparagraph, a remedial action is substantially complete when any necessary physical construction is complete, all immediate threats have been eliminated, and all long-term threats are under control.
(E)Eligible remediation expenditures.—For purposes of this paragraph—
(i)In general.—The term “eligible remediation expenditures” means, with respect to any qualifying brownfield property, any amount paid or incurred by the eligible taxpayer to an unrelated third person to obtain a Phase I environmental site assessment of the property, and any amount so paid or incurred after the date of the certification described in subparagraph (C)(i) for goods and services necessary to obtain a certification described in subparagraph (D)(i) with respect to such property, including expenditures—(I) to manage, remove, control, contain, abate, or otherwise remediate a hazardous substance, pollutant, or contaminant on the property,(II) to obtain a Phase II environmental site assessment of the property, including any expenditure to monitor, sample, study, assess, or otherwise evaluate the release, threat of release, or presence of a hazardous substance, pollutant, or contaminant on the property,(III) to obtain environmental regulatory certifications and approvals required to manage the remediation and monitoring of the hazardous substance, pollutant, or contaminant on the property, and(IV) regardless of whether it is necessary to obtain a certification described in subparagraph (D)(i)(II), to obtain remediation cost-cap or stop-loss coverage, re-opener or regulatory action coverage, or similar coverage under environmental insurance policies, or financial guarantees required to manage such remediation and monitoring.
(ii)Exceptions.—Such term shall not include—(I) any portion of the purchase price paid or incurred by the eligible taxpayer to acquire the qualifying brownfield property,(II) environmental insurance costs paid or incurred to obtain legal defense coverage, owner/operator liability coverage, lender liability coverage, professional liability coverage, or similar types of coverage,(III) any amount paid or incurred to the extent such amount is reimbursed, funded, or otherwise subsidized by grants provided by the United States, a State, or a political subdivision of a State for use in connection with the property, proceeds of an issue of State or local government obligations used to provide financing for the property the interest of which is exempt from tax under section 103, or subsidized financing provided (directly or indirectly) under a Federal, State, or local program provided in connection with the property, or(IV) any expenditure paid or incurred before the date of the enactment of this paragraph.
 For purposes of subclause (III), the Secretary may issue guidance regarding the treatment of government-provided funds for purposes of determining eligible remediation expenditures.
(F)Determination of gain or loss.—For purposes of this paragraph, the determination of gain or loss shall not include an amount treated as gain which is ordinary income with respect to section 1245 or section 1250 property, including amounts deducted as section 198 expenses which are subject to the recapture rules of section 198(e), if the taxpayer had deducted such amounts in the computation of its unrelated business taxable income.
(G)Special rules for partnerships.—
(i)In general.—In the case of an eligible taxpayer which is a partner of a qualifying partnership which acquires, remediates, and sells, exchanges, or otherwise disposes of a qualifying brownfield property, this paragraph shall apply to the eligible taxpayer’s distributive share of the qualifying partnership’s gain or loss from the sale, exchange, or other disposition of such property.
(ii)Qualifying partnership.—The term “qualifying partnership” means a partnership which—(I) has a partnership agreement which satisfies the requirements of section 514(c)(9)(B)(vi) at all times beginning on the date of the first certification received by the partnership under subparagraph (C)(i),(II) satisfies the requirements of subparagraphs (B)(i), (C), (D), and (E), if “qualified partnership” is substituted for “eligible taxpayer” each place it appears therein (except subparagraph (D)(iii)), and(III) is not an organization which would be prevented from constituting an eligible taxpayer by reason of subparagraph (B)(ii).
(iii)Requirement that tax-exempt partner be a partner since first certification.—This paragraph shall apply with respect to any eligible taxpayer which is a partner of a partnership which acquires, remediates, and sells, exchanges, or otherwise disposes of a qualifying brownfield property only if such eligible taxpayer was a partner of the qualifying partnership at all times beginning on the date of the first certification received by the partnership under subparagraph (C)(i) and ending on the date of the sale, exchange, or other disposition of the property by the partnership.
(iv)Regulations.—The Secretary shall prescribe such regulations as are necessary to prevent abuse of the requirements of this subparagraph, including abuse through—(I) the use of special allocations of gains or losses, or(II) changes in ownership of partnership interests held by eligible taxpayers.
(H)Special rules for multiple properties.—
(i)In general.—An eligible taxpayer or a qualifying partnership of which the eligible taxpayer is a partner may make a 1-time election to apply this paragraph to more than 1 qualifying brownfield property by averaging the eligible remediation expenditures for all such properties acquired during the election period. If the eligible taxpayer or qualifying partnership makes such an election, the election shall apply to all qualified sales, exchanges, or other dispositions of qualifying brownfield properties the acquisition and transfer of which occur during the period for which the election remains in effect.
(ii)Election.—An election under clause (i) shall be made with the eligible taxpayer’s or qualifying partnership’s timely filed tax return (including extensions) for the first taxable year for which the taxpayer or qualifying partnership intends to have the election apply. An election under clause (i) is effective for the period—(I) beginning on the date which is the first day of the taxable year of the return in which the election is included or a later day in such taxable year selected by the eligible taxpayer or qualifying partnership, and(II) ending on the date which is the earliest of a date of revocation selected by the eligible taxpayer or qualifying partnership, the date which is 8 years after the date described in subclause (I), or, in the case of an election by a qualifying partnership of which the eligible taxpayer is a partner, the date of the termination of the qualifying partnership.
(iii)Revocation.—An eligible taxpayer or qualifying partnership may revoke an election under clause (i) by filing a statement of revocation with a timely filed tax return (including extensions). A revocation is effective as of the first day of the taxable year of the return in which the revocation is included or a later day in such taxable year selected by the eligible taxpayer or qualifying partnership. Once an eligible taxpayer or qualifying partnership revokes the election, the eligible taxpayer or qualifying partnership is ineligible to make another election under clause (i) with respect to any qualifying brownfield property subject to the revoked election.
(I)Recapture.—If an eligible taxpayer excludes gain or loss from a sale, exchange, or other disposition of property to which an election under subparagraph (H) applies, and such property fails to satisfy the requirements of this paragraph, the unrelated business taxable income of the eligible taxpayer for the taxable year in which such failure occurs shall be determined by including any previously excluded gain or loss from such sale, exchange, or other disposition allocable to such taxpayer, and interest shall be determined at the overpayment rate established under section 6621 on any resulting tax for the period beginning with the due date of the return for the taxable year during which such sale, exchange, or other disposition occurred, and ending on the date of payment of the tax.
(J)Related persons.—For purposes of this paragraph, a person shall be treated as related to another person if—
(i) such person bears a relationship to such other person described in section 267(b) (determined without regard to paragraph (9) thereof), or section 707(b)(1), determined by substituting “25 percent” for “50 percent” each place it appears therein, and
(ii) in the case such other person is a nonprofit organization, if such person controls directly or indirectly more than 25 percent of the governing body of such organization.
(K)Termination.—Except for purposes of determining the average eligible remediation expenditures for properties acquired during the election period under subparagraph (H), this paragraph shall not apply to any property acquired by the eligible taxpayer or qualifying partnership after December 31, 2009.
(c) Special rules for partnerships
(1) In general
(2) Special rule where partnership year is different from organization’s year
(d) Treatment of dues of agricultural or horticultural organizations
(1) In generalIf—
(A) an agricultural or horticultural organization described in section 501(c)(5) requires annual dues to be paid in order to be a member of such organization, and
(B) the amount of such required annual dues does not exceed $100,
in no event shall any portion of such dues be treated as derived by such organization from an unrelated trade or business by reason of any benefits or privileges to which members of such organization are entitled.
(2) Indexation of $100 amountIn the case of any taxable year beginning in a calendar year after 1995, the $100 amount in paragraph (1) shall be increased by an amount equal to—
(A) $100, multiplied by
(B) 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 1994” for “calendar year 2016” in subparagraph (A)(ii) thereof.
(3) Dues
(e) Special rules applicable to S corporations
(1) In generalIf an organization described in section 1361(c)(2)(A)(vi) or 1361(c)(6) holds stock in an S corporation—
(A) such interest shall be treated as an interest in an unrelated trade or business, and
(B) notwithstanding any other provision of this part—
(i) all items of income, loss, or deduction taken into account under section 1366(a), and
(ii) any gain or loss on the disposition of the stock in the S corporation,
shall be taken into account in computing the unrelated business taxable income of such organization.
(2) Basis reduction
(3) Exception for ESOPs
(Aug. 16, 1954, ch. 736, 68A Stat. 170; Pub. L. 85–367, § 1(a), Apr. 7, 1958, 72 Stat. 80; Pub. L. 88–380, § 1, July 17, 1964, 78 Stat. 333; Pub. L. 89–809, title I, § 104(g), Nov. 13, 1966, 80 Stat. 1559; Pub. L. 91–172, title I, § 121(b)(1), (2), Dec. 30, 1969, 83 Stat. 537, 538; Pub. L. 92–418, § 1(b), Aug. 29, 1972, 86 Stat. 656; Pub. L. 94–396, § 1(a), Sept. 3, 1976, 90 Stat. 1201; Pub. L. 94–455, title XIX, §§ 1901(b)(8)(F), 1906(b)(13)(A), 1951(b)(8)(A), Oct. 4, 1976, 90 Stat. 1794, 1834, 1839; Pub. L. 94–568, § 1(b), Oct. 20, 1976, 90 Stat. 2697; Pub. L. 95–345, § 2(a)(2), (b), Aug. 15, 1978, 92 Stat. 481; Pub. L. 97–448, title I, § 102(m)(3), Jan. 12, 1983, 96 Stat. 2374; Pub. L. 98–369, div. A, title V, § 511(b), July 18, 1984, 98 Stat. 860; Pub. L. 99–514, title XVIII, § 1851(a)(10), Oct. 22, 1986, 100 Stat. 2861; Pub. L. 100–203, title X, § 10213(a), Dec. 22, 1987, 101 Stat. 1330–406; Pub. L. 100–647, title I, § 1018(t)(2)(B), Nov. 10, 1988, 102 Stat. 3587; Pub. L. 101–508, title XI, § 11801(a)(23), Nov. 5, 1990, 104 Stat. 1388–521; Pub. L. 103–66, title XIII, §§ 13145(a), 13147(a), 13148(a), (b), Aug. 10, 1993, 107 Stat. 443, 444; Pub. L. 104–188, title I, §§ 1115(a), 1316(c), 1603(a), Aug. 20, 1996, 110 Stat. 1761, 1786, 1835; Pub. L. 105–34, title III, § 312(d)(5), title X, § 1041(a), title XV, § 1523(a), title XVI, § 1601(c)(4)(A), (D), Aug. 5, 1997, 111 Stat. 840, 938, 1070, 1087; Pub. L. 105–206, title VI, §§ 6010(j)(1), (2), 6023(8), July 22, 1998, 112 Stat. 815, 825; Pub. L. 108–357, title II, § 233(d), title III, § 319(c), title VII, § 702(a), Oct. 22, 2004, 118 Stat. 1434, 1472, 1540; Pub. L. 109–135, title IV, § 412(dd), (ee)(1), Dec. 21, 2005, 119 Stat. 2639; Pub. L. 109–280, title XII, § 1205(a), Aug. 17, 2006, 120 Stat. 1066; Pub. L. 110–343, div. C, title III, § 306(a), Oct. 3, 2008, 122 Stat. 3868; Pub. L. 111–312, title VII, § 747(a), Dec. 17, 2010, 124 Stat. 3320; Pub. L. 112–240, title III, § 319(a), Jan. 2, 2013, 126 Stat. 2331; Pub. L. 113–295, div. A, title I, § 131(a), title II, § 221(a)(41)(G), Dec. 19, 2014, 128 Stat. 4018, 4044; Pub. L. 114–113, div. Q, title I, § 114(a), Dec. 18, 2015, 129 Stat. 3049; Pub. L. 115–97, title I, §§ 11002(d)(1)(Y), 13702(a), 13703(a), Dec. 22, 2017, 131 Stat. 2060, 2168, 2169; Pub. L. 115–141, div. U, title IV, § 401(a)(126), (b)(21)(E)–(H), Mar. 23, 2018, 132 Stat. 1190, 1203; Pub. L. 116–94, div. Q, title III, § 302(a), Dec. 20, 2019, 133 Stat. 3248.)
§ 513. Unrelated trade or business
(a) General ruleThe term “unrelated trade or business” means, in the case of any organization subject to the tax imposed by section 511, any trade or business the conduct of which is not substantially related (aside from the need of such organization for income or funds or the use it makes of the profits derived) to the exercise or performance by such organization of its charitable, educational, or other purpose or function constituting the basis for its exemption under section 501 (or, in the case of an organization described in section 511(a)(2)(B), to the exercise or performance of any purpose or function described in section 501(c)(3)), except that such term does not include any trade or business—
(1) in which substantially all the work in carrying on such trade or business is performed for the organization without compensation; or
(2) which is carried on, in the case of an organization described in section 501(c)(3) or in the case of a college or university described in section 511(a)(2)(B), by the organization primarily for the convenience of its members, students, patients, officers, or employees, or, in the case of a local association of employees described in section 501(c)(4) organized before May 27, 1969, which is the selling by the organization of items of work-related clothes and equipment and items normally sold through vending machines, through food dispensing facilities, or by snack bars, for the convenience of its members at their usual places of employment; or
(3) which is the selling of merchandise, substantially all of which has been received by the organization as gifts or contributions.
(b) Special rule for trustsThe term “unrelated trade or business” means, in the case of—
(1) a trust computing its unrelated business taxable income under section 512 for purposes of section 681; or
(2) a trust described in section 401(a), or section 501(c)(17), which is exempt from tax under section 501(a);
any trade or business regularly carried on by such trust or by a partnership of which it is a member.
(c) Advertising, etc., activities
(d) Certain activities of trade shows, State fairs, etc.
(1) General rule
(2) Qualified public entertainment activitiesFor purposes of this subsection—
(A) Public entertainment activity
(B) Qualified public entertainment activityThe term “qualified public entertainment activity” means a public entertainment activity which is conducted by a qualifying organization described in subparagraph (C) in—
(i) conjunction with an international, national, State, regional, or local fair or exposition,
(ii) accordance with the provisions of State law which permit the activity to be operated or conducted solely by such an organization, or by an agency, instrumentality, or political subdivision of such State, or
(iii) accordance with the provisions of State law which permit such an organization to be granted a license to conduct not more than 20 days of such activity on payment to the State of a lower percentage of the revenue from such licensed activity than the State requires from organizations not described in section 501(c)(3), (4), or (5).
(C) Qualifying organization
(3) Qualified convention and trade show activities
(A) Convention and trade show activities
(B) Qualified convention and trade show activity
(C) Qualifying organization
(4) Such activities not to affect exempt status
(e) Certain hospital servicesIn the case of a hospital described in section 170(b)(1)(A)(iii), the term “unrelated trade or business” does not include the furnishing of one or more of the services described in section 501(e)(1)(A) to one or more hospitals described in section 170(b)(1)(A)(iii) if—
(1) such services are furnished solely to such hospitals which have facilities to serve not more than 100 inpatients;
(2) such services, if performed on its own behalf by the recipient hospital, would constitute activities in exercising or performing the purpose or function constituting the basis for its exemption; and
(3) such services are provided at a fee or cost which does not exceed the actual cost of providing such services, such cost including straight line depreciation and a reasonable amount for return on capital goods used to provide such services.
(f) Certain bingo games
(1) In general
(2) Bingo game definedFor purposes of paragraph (1), the term “bingo game” means any game of bingo—
(A) of a type in which usually—
(i) the wagers are placed,
(ii) the winners are determined, and
(iii) the distribution of prizes or other property is made,
in the presence of all persons placing wagers in such game,
(B) the conducting of which is not an activity ordinarily carried out on a commercial basis, and
(C) the conducting of which does not violate any State or local law.
(g) Certain pole rentals
(h) Certain distributions of low cost articles without obligation to purchase and exchanges and rentals of member lists
(1) In generalIn the case of an organization which is described in section 501 and contributions to which are deductible under paragraph (2) or (3) of section 170(c), the term “unrelated trade or business” does not include—
(A) activities relating to the distribution of low cost articles if the distribution of such articles is incidental to the solicitation of charitable contributions, or
(B) any trade or business which consists of—
(i) exchanging with another such organization names and addresses of donors to (or members of) such organization, or
(ii) renting such names and addresses to another such organization.
(2) Low cost article definedFor purposes of this subsection—
(A) In general
(B) Aggregation rule
(C) Indexation of $5 amountIn the case of any taxable year beginning in a calendar year after 1987, the $5 amount in subparagraph (A) shall be increased by an amount equal to—
(i) $5, 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 1987” for “calendar year 2016” in subparagraph (A)(ii) thereof.
(3) Distribution which is incidental to the solicitation of charitable contributions describedFor purposes of this subsection, any distribution of low cost articles by an organization shall be treated as a distribution incidental to the solicitation of charitable contributions only if—
(A) such distribution is not made at the request of the distributee,
(B) such distribution is made without the express consent of the distributee, and
(C) the articles so distributed are accompanied by—
(i) a request for a charitable contribution (as defined in section 170(c)) by the distributee to such organization, and
(ii) a statement that the distributee may retain the low cost article regardless of whether such distributee makes a charitable contribution to such organization.
(i) Treatment of certain sponsorship payments
(1) In general
(2) Qualified sponsorship paymentsFor purposes of this subsection—
(A) In general
(B) Limitations
(i) Contingent payments
(ii) Safe harbor does not apply to periodicals and qualified convention and trade show activitiesThe term “qualified sponsorship payment” does not include—(I) any payment which entitles the payor to the use or acknowledgement of the name or logo (or product lines) of the payor’s trade or business in regularly scheduled and printed material published by or on behalf of the payee organization that is not related to and primarily distributed in connection with a specific event conducted by the payee organization, or(II) any payment made in connection with any qualified convention or trade show activity (as defined in subsection (d)(3)(B)).
(3) Allocation of portions of single payment
(j) Debt management plan services
(Aug. 16, 1954, ch. 736, 68A Stat. 172; Pub. L. 86–667, § 4, July 14, 1960, 74 Stat. 536; Pub. L. 91–172, title I, § 121(b)(4), (c), Dec. 30, 1969, 83 Stat. 541, 542; Pub. L. 94–455, title XIII, §§ 1305(a), 1311(a), Oct. 4, 1976, 90 Stat. 1716, 1729; Pub. L. 95–502, title III, § 301(a), Oct. 21, 1978, 92 Stat. 1702; Pub. L. 96–605, title I, § 106(b), Dec. 28, 1980, 94 Stat. 3524; Pub. L. 99–514, title XVI, §§ 1601(a), 1602(a), (b), Oct. 22, 1986, 100 Stat. 2766, 2767; Pub. L. 101–508, title XI, § 11101(d)(1)(G), Nov. 5, 1990, 104 Stat. 1388–405; Pub. L. 103–66, title XIII, § 13201(b)(3)(H), Aug. 10, 1993, 107 Stat. 459; Pub. L. 105–34, title IX, § 965(a), Aug. 5, 1997, 111 Stat. 893; Pub. L. 109–280, title XII, § 1220(b), Aug. 17, 2006, 120 Stat. 1088; Pub. L. 115–97, title I, § 11002(d)(1)(Z), Dec. 22, 2017, 131 Stat. 2060.)
§ 514. Unrelated debt-financed income
(a) Unrelated debt-financed income and deductionsIn computing under section 512 the unrelated business taxable income for any taxable year—
(1) Percentage of income taken into account
(2) Percentage of deductions taken into account
(3) Deductions allowable
(b) Definition of debt-financed property
(1) In generalFor purposes of this section, the term “debt-financed property” means any property which is held to produce income and with respect to which there is an acquisition indebtedness (as defined in subsection (c)) at any time during the taxable year (or, if the property was disposed of during the taxable year, with respect to which there was an acquisition indebtedness at any time during the 12-month period ending with the date of such disposition), except that such term does not include—
(A)
(i) any property substantially all the use of which is substantially related (aside from the need of the organization for income or funds) to the exercise or performance by such organization of its charitable, educational, or other purpose or function constituting the basis for its exemption under section 501 (or, in the case of an organization described in section 511(a)(2)(B), to the exercise or performance of any purpose or function designated in section 501(c)(3)), or (ii) any property to which clause (i) does not apply, to the extent that its use is so substantially related;
(B) except in the case of income excluded under section 512(b)(5), any property to the extent that the income from such property is taken into account in computing the gross income of any unrelated trade or business;
(C) any property to the extent that the income from such property is excluded by reason of the provisions of paragraph (7), (8), or (9) of section 512(b) in computing the gross income of any unrelated trade or business;
(D) any property to the extent that it is used in any trade or business described in paragraph (1), (2), or (3) of section 513(a); or
(E) any property the gain or loss from the sale, exchange, or other disposition of which would be excluded by reason of the provisions of section 512(b)(19) in computing the gross income of any unrelated trade or business.
For purposes of subparagraph (A), substantially all the use of a property shall be considered to be substantially related to the exercise or performance by an organization of its charitable, educational, or other purpose or function constituting the basis for its exemption under section 501 if such property is real property subject to a lease to a medical clinic entered into primarily for purposes which are substantially related (aside from the need of such organization for income or funds or the use it makes of the rents derived) to the exercise or performance by such organization of its charitable, educational, or other purpose or function constituting the basis for its exemption under section 501.
(2) Special rule for related uses
(3) Special rules when land is acquired for exempt use within 10 years
(A) Neighborhood land
(B) Other casesIf the first sentence of subparagraph (A) is inapplicable only because—
(i) the acquired land is not in the neighborhood referred to in subparagraph (A), or
(ii) the organization (for the period after the first 5 years of the 10-year period) is unable to establish to the satisfaction of the Secretary that it is reasonably certain that the land will be used in the manner described in paragraph (1)(A) before the expiration of the 10-year period,
but the land is converted to such use by the organization within the 10-year period, the real property (subject to the provisions of subparagraph (D)) shall not be treated as debt-financed property for any period before such conversion. For purposes of this subparagraph, land shall not be treated as used in the manner described in paragraph (1)(A) by reason of the use made of any structure which was on the land when acquired by the organization.
(C) LimitationsSubparagraphs (A) and (B)—
(i) shall apply with respect to any structure on the land when acquired by the organization, or to the land occupied by the structure, only if (and so long as) the intended future use of the land in the manner described in paragraph (1)(A) requires that the structure be demolished or removed in order to use the land in such manner;
(ii) shall not apply to structures erected on the land after the acquisition of the land; and
(iii) shall not apply to property subject to a lease which is a business lease (as defined in this section immediately before the enactment of the Tax Reform Act of 1976).
(D) Refund of taxes when subparagraph (B) applies
(E) Special rule for churches
(c) Acquisition indebtedness
(1) General ruleFor purposes of this section, the term “acquisition indebtedness” means, with respect to any debt-financed property, the unpaid amount of—
(A) the indebtedness incurred by the organization in acquiring or improving such property;
(B) the indebtedness incurred before the acquisition or improvement of such property if such indebtedness would not have been incurred but for such acquisition or improvement; and
(C) the indebtedness incurred after the acquisition or improvement of such property if such indebtedness would not have been incurred but for such acquisition or improvement and the incurrence of such indebtedness was reasonably foreseeable at the time of such acquisition or improvement.
(2) Property acquired subject to mortgage, etc.For purposes of this subsection—
(A)
(B) Exceptions
(C) Liens for taxes or assessmentsWhere State law provides that—
(i) a lien for taxes, or
(ii) a lien for assessments,
made by a State or a political subdivision thereof attaches to property prior to the time when such taxes or assessments become due and payable, then such lien shall be treated as similar to a mortgage (within the meaning of subparagraph (A)) but only after such taxes or assessments become due and payable and the organization has had an opportunity to pay such taxes or assessments in accordance with State law.
(3) Extension of obligations
(4) Indebtedness incurred in performing exempt purpose
(5) AnnuitiesFor purposes of this section, the term “acquisition indebtedness” does not include an obligation to pay an annuity which—
(A) is the sole consideration (other than a mortgage to which paragraph (2)(B) applies) issued in exchange for property if, at the time of the exchange, the value of the annuity is less than 90 percent of the value of the property received in the exchange,
(B) is payable over the life of one individual in being at the time the annuity is issued, or over the lives of two individuals in being at such time, and
(C) is payable under a contract which—
(i) does not guarantee a minimum amount of payments or specify a maximum amount of payments, and
(ii) does not provide for any adjustment of the amount of the annuity payments by reference to the income received from the transferred property or any other property.
(6) Certain Federal financing
(A) In generalFor purposes of this section, the term “acquisition indebtedness” does not include—
(i) an obligation, to the extent that it is insured by the Federal Housing Administration, to finance the purchase, rehabilitation, or construction of housing for low and moderate income persons, or
(ii) indebtedness incurred by a small business investment company licensed after the date of the enactment of the American Jobs Creation Act of 2004 under the Small Business Investment Act of 1958 if such indebtedness is evidenced by a debenture—(I) issued by such company under section 303(a) of such Act, and(II) held or guaranteed by the Small Business Administration.
(B) LimitationSubparagraph (A)(ii) shall not apply with respect to any small business investment company during any period that—
(i) any organization which is exempt from tax under this title (other than a governmental unit) owns more than 25 percent of the capital or profits interest in such company, or
(ii) organizations which are exempt from tax under this title (including governmental units other than any agency or instrumentality of the United States) own, in the aggregate, 50 percent or more of the capital or profits interest in such company.
(7) Average acquisition indebtedness
(8) Securities subject to loansFor purposes of this section—
(A) payments with respect to securities loans (as defined in section 512(a)(5)) shall be deemed to be derived from the securities loaned and not from collateral security or the investment of collateral security from such loans,
(B) any deductions which are directly connected with collateral security for such loan, or with the investment of collateral security, shall be deemed to be deductions which are directly connected with the securities loaned, and
(C) an obligation to return collateral security shall not be treated as acquisition indebtedness (as defined in paragraph (1)).
(9) Real property acquired by a qualified organization
(A) In general
(B) ExceptionsThe provisions of subparagraph (A) shall not apply in any case in which—
(i) the price for the acquisition or improvement is not a fixed amount determined as of the date of the acquisition or the completion of the improvement;
(ii) the amount of any indebtedness or any other amount payable with respect to such indebtedness, or the time for making any payment of any such amount, is dependent, in whole or in part, upon any revenue, income, or profits derived from such real property;
(iii) the real property is at any time after the acquisition leased by the qualified organization to the person selling such property to such organization or to any person who bears a relationship described in section 267(b) or 707(b) to such person;
(iv) the real property is acquired by a qualified trust from, or is at any time after the acquisition leased by such trust to, any person who—(I) bears a relationship which is described in subparagraph (C), (E), or (G) of section 4975(e)(2) to any plan with respect to which such trust was formed, or(II) bears a relationship which is described in subparagraph (F) or (H) of section 4975(e)(2) to any person described in subclause (I);
(v) any person described in clause (iii) or (iv) provides the qualified organization with financing in connection with the acquisition or improvement; or
(vi) the real property is held by a partnership unless the partnership meets the requirements of clauses (i) through (v) and unless—(I) all of the partners of the partnership are qualified organizations,(II) each allocation to a partner of the partnership which is a qualified organization is a qualified allocation (within the meaning of section 168(h)(6)), or(III) such partnership meets the requirements of subparagraph (E).
For purposes of subclause (I) of clause (vi), an organization shall not be treated as a qualified organization if any income of such organization is unrelated business taxable income.
(C) Qualified organizationFor purposes of this paragraph, the term “qualified organization” means—
(i) an organization described in section 170(b)(1)(A)(ii) and its affiliated support organizations described in section 509(a)(3);
(ii) any trust which constitutes a qualified trust under section 401;
(iii) an organization described in section 501(c)(25); or
(iv) a retirement income account described in section 403(b)(9).
(D) Other pass-thru entities; tiered entities
(E) Certain allocations permitted
(i) In generalA partnership meets the requirements of this subparagraph if—(I) the allocation of items to any partner which is a qualified organization cannot result in such partner having a share of the overall partnership income for any taxable year greater than such partner’s share of the overall partnership loss for the taxable year for which such partner’s loss share will be the smallest, and(II) each allocation with respect to the partnership has substantial economic effect within the meaning of section 704(b)(2).
 For purposes of this clause, items allocated under section 704(c) shall not be taken into account.
(ii) Special rules(I) Chargebacks(II) Preferred rates of return, etc.
(iii) Regulations
(F) Special rules for organizations described in section 501(c)(25)
(i) In generalIn computing under section 512 the unrelated business taxable income of a disqualified holder of an interest in an organization described in section 501(c)(25), there shall be taken into account—(I) as gross income derived from an unrelated trade or business, such holder’s pro rata share of the items of income described in clause (ii)(I) of such organization, and(II) as deductions allowable in computing unrelated business taxable income, such holder’s pro rata share of the items of deduction described in clause (ii)(II) of such organization.
 Such amounts shall be taken into account for the taxable year of the holder in which (or with which) the taxable year of such organization ends.
(ii) Description of amountsFor purposes of clause (i)—(I) gross income is described in this clause to the extent such income would (but for this paragraph) be treated under subsection (a) as derived from an unrelated trade or business, and(II) any deduction is described in this clause to the extent it would (but for this paragraph) be allowable under subsection (a)(2) in computing unrelated business taxable income.
(iii) Disqualified holder
(G) Special rules for purposes of the exceptionsExcept as otherwise provided by regulations—
(i) Small leases disregarded
(ii) Commercially reasonable financing
(H) Qualifying sales by financial institutions
(i) In general
(ii) Qualifying saleFor purposes of this clause, there is a qualifying sale by a financial institution if—(I) a qualified organization acquires property described in clause (iii) from a financial institution and any gain recognized by the financial institution with respect to the property is ordinary income,(II) the stated principal amount of the financing provided by the financial institution does not exceed the amount of the outstanding indebtedness (including accrued but unpaid interest) of the financial institution with respect to the property described in clause (iii) immediately before the acquisition referred to in clause (iii) or (v), whichever is applicable, and(III) the present value (determined as of the time of the sale and by using the applicable Federal rate determined under section 1274(d)) of the maximum amount payable pursuant to the financing that is determined by reference to the revenue, income, or profits derived from the property cannot exceed 30 percent of the total purchase price of the property (including the contingent payments).
(iii) Property to which subparagraph appliesProperty is described in this clause if such property is foreclosure property, or is real property which—(I) was acquired by the qualified organization from a financial institution which is in conservatorship or receivership, or from the conservator or receiver of such an institution, and(II) was held by the financial institution at the time it entered into conservatorship or receivership.
(iv) Financial institutionFor purposes of this subparagraph, the term “financial institution” means—(I) any financial institution described in section 581 or 591(a),(II) any other corporation which is a direct or indirect subsidiary of an institution referred to in subclause (I) but only if, by virtue of being affiliated with such institution, such other corporation is subject to supervision and examination by a Federal or State agency which regulates institutions referred to in subclause (I), and(III) any person acting as a conservator or receiver of an entity referred to in subclause (I) or (II) (or any government agency or corporation succeeding to the rights or interest of such person).
(v) Foreclosure property
(d) Basis of debt-financed property acquired in corporate liquidation
(e) Allocation rules
(f) Personal property leased with real property
(g) Regulations
(Aug. 16, 1954, ch. 736, 68A Stat. 172; Pub. L. 86–667, § 5, July 14, 1960, 74 Stat. 536; Pub. L. 91–172, title I, § 121(d)(1), (3)(A), (B), Dec. 30, 1969, 83 Stat. 543, 548; Pub. L. 93–625, § 7(b)(2), Jan. 3, 1975, 88 Stat. 2115; Pub. L. 94–455, title XIII, § 1308(a), title XIX, §§ 1901(a)(72), 1906(b)(13)(A), Oct. 4, 1976, 90 Stat. 1729, 1776, 1834; Pub. L. 95–345, § 2(c), Aug. 15, 1978, 92 Stat. 482; Pub. L. 96–605, title I, § 110(a), Dec. 28, 1980, 94 Stat. 3525; Pub. L. 98–369, div. A, title I, § 174(b)(5)(B), title X, § 1034(a), (b), July 18, 1984, 98 Stat. 707, 1039, 1040; Pub. L. 99–514, title II, § 201(d)(9), title XVI, § 1603(b), title XVIII, § 1878(e), Oct. 22, 1986, 100 Stat. 2141, 2768, 2903; Pub. L. 100–203, title X, § 10214(a), (b), Dec. 22, 1987, 101 Stat. 1330–407; Pub. L. 100–647, title I, §§ 1016(a)(5)(A), (6), 1018(u)(13), title II, § 2004(h), Nov. 10, 1988, 102 Stat. 3574, 3575, 3590, 3603; Pub. L. 101–239, title VII, § 7811(l), Dec. 19, 1989, 103 Stat. 2412; Pub. L. 103–66, title XIII, § 13144(a), (b), Aug. 10, 1993, 107 Stat. 441, 442; Pub. L. 108–357, title II, § 247(a), title VII, § 702(b), Oct. 22, 2004, 118 Stat. 1449, 1546; Pub. L. 109–135, title IV, § 412(ee)(2), Dec. 21, 2005, 119 Stat. 2639; Pub. L. 109–280, title VIII, § 866(a), Aug. 17, 2006, 120 Stat. 1025.)
§ 515. Taxes of foreign countries and possessions of the United States

The amount of taxes imposed by foreign countries and possessions of the United States shall be allowed as a credit against the tax of an organization subject to the tax imposed by section 511 to the extent provided in section 901; and in the case of the tax imposed by section 511, the term “taxable income” as used in section 901 shall be read as “unrelated business taxable income”.

(Aug. 16, 1954, ch. 736, 68A Stat. 176.)