Internal Revenue Code · 26 U.S.C.
§ 1400Z–2. Special rules for capital gains invested in opportunity zones
Official text, no changes From the Office of the Law Revision Counsel, release point 119-121 (current through Public Law 119-121 (October 9, 2026)). Compare it with the official text at uscode.house.gov (external site).
Cite as 26 U.S.C. § 1400Z–2
At a glance
Read from the text, the source credit and the official notes. Not part of the law.
- Status
- In force
- Added
- December 22, 2017 by Pub. L. 115–97
- Last amended
- July 4, 2025 by Pub. L. 119–21
- Amendments
- 1 dated changes in the source credit
- Length
- 6 subsections · 1,765 words · about 8 min to read
- Defines
- 6 terms
- Cross-references
- cites 7; cited by 3 Code sections and 10 other regulations
In the case of any investment held by the taxpayer for at least 7 years, in addition to any adjustment made under clause (iii), the basis of such property shall be increased by an amount equal to 5 percent of the amount of gain deferred by reason of subsection (a)(1)(A).
In the case of any investment held by the taxpayer for at least 10 years and with respect to which the taxpayer makes an election under this clause, the basis of such property shall be equal to the fair market value of such investment on the date that the investment is sold or exchanged.
A rule similar to the rule of section 1202(c)(3) shall apply for purposes of this paragraph.
For purposes of subparagraph (A)(ii), property shall be treated as substantially improved by the qualified opportunity fund only if, during any 30-month period beginning after the date of acquisition of such property, additions to basis with respect to such property in the hands of the qualified opportunity fund exceed an amount equal to the adjusted basis of such property (50 percent of such adjusted basis in the case of property in a qualified opportunity zone comprised entirely of a rural area (as defined in subsection (b)(2)(C)(ii)) 11 So in original. A third closing parenthesis probably should appear. at the beginning of such 30-month period in the hands of the qualified opportunity fund.
For purposes of subparagraph (A)(i), the related person rule of section 179(d)(2) shall be applied pursuant to paragraph (8) of this subsection 22 So in original. This subsection does not contain a paragraph (8). in lieu of the application of such rule in section 179(d)(2)(A).
For purposes of this section, persons are related to each other if such persons are described in section 267(b) or 707(b)(1), determined by substituting “20 percent” for “50 percent” each place it occurs in such sections.
In the case of a decedent, amounts recognized under this section shall, if not properly includible in the gross income of the decedent, be includible in gross income as provided by section 691.
In the case that the qualified opportunity fund is a partnership, the penalty imposed by paragraph (1) shall be taken into account proportionately as part of the distributive share of each partner of the partnership.
No penalty shall be imposed under this subsection with respect to any failure if it is shown that such failure is due to reasonable cause.
(Added Pub. L. 115–97, title I, § 13823(a), Dec. 22, 2017, 131 Stat. 2184; amended Pub. L. 119–21, title VII, § 70421(c)(1)–(4), July 4, 2025, 139 Stat. 225, 226.)
Terms defined here
Where the text says “the term … means”. Select a term to jump to its definition.
- qualified opportunity fund § 1400Z–2(d)(1)
- qualified opportunity zone business § 1400Z–2(d)(3)(A)
- qualified opportunity zone business property § 1400Z–2(d)(2)(D)(i)
- qualified opportunity zone partnership interest § 1400Z–2(d)(2)(C)
- qualified opportunity zone property § 1400Z–2(d)(2)(A)
- qualified opportunity zone stock § 1400Z–2(d)(2)(B)(i)
Cross-references
Computed from the citations in the text of Title 26 and 26 CFR.
This section cites 7 other sections
- § 1202(c)(3) Partial exclusion for gain from certain small business stock
- § 179(d)(2) Election to expense certain depreciable business assets
- § 1397C(b) Enterprise zone business defined
- § 144(c)(6)(B) Qualified small issue bond; qualified student loan bond; qualified redevelopment bond
- § 267(b) Losses, expenses, and interest with respect to transactions between related taxpayers
- § 691 Recipients of income in respect of decedents
- § 6621(a)(2) Determination of rate of interest
Cited by 3 Code sections
- § 1016(a)(38) Adjustments to basis
- § 6039K(b)(3) Returns with respect to qualified opportunity funds and qualified rural opportunity funds
- § 6039L(d)(2) Information required from qualified opportunity zone businesses and qualified rural opportunity zone businesses
Cited in 10 regulations not issued under it
- § 1.1400Z2-0 Table of Contents.
- § 1.1400Z2(a)-1 Deferring tax on capital gains by investing in opportunity zones.
- § 1.1400Z2(b)-1 Inclusion of gains that have been deferred under section 1400Z-2(a).
- § 1.1400Z2(c)-1 Investments held for at least 10 years.
- § 1.1400Z2(d)-1 Qualified opportunity funds and qualified opportunity zone businesses.
- § 1.1400Z2(d)-2 Qualified opportunity zone business property.
- § 1.1400Z2(f)-1 Administrative rules- penalties, anti-abuse, etc.
- § 1.1502-14Z Application of opportunity zone rules to members of a consolidated group.
- § 1.1504-3 Treatment of stock in a QOF C corporation for purposes of consolidation.
- § 301.6225-1 Partnership adjustment by the Internal Revenue Service.
Amendment history
From the source credit and the official notes, newest first.
- Amended by Pub. L. 119–21Parts changed in 2025: (a)(2) (b) (c) (d)(2)(B)(i)(I) (d)(2)(D)(i)(I) (d)(2)(D)(ii) (d)(2)(E)
- Added by Pub. L. 115–97
Where it sits in the Code
Nearby sections
- § 1400Z–1 Designation
- § 1400Z–2 Special rules for capital gains invested in opportunity zones
Official notes
Show the Law Revision Counsel's notes (amendments, effective dates)
Amendment of Section
Pub. L. 119–21, title VII, § 70421(c)(1)–(3), (5)(A), July 4, 2025, 139 Stat. 225–227, provided that, applicable to amounts invested in qualified opportunity funds after Dec. 31, 2026, this section is amended:
(1) by amending subsection (a)(2) to read as follows:
“(2) Election
“No election may be made under paragraph (1) with respect to a sale or exchange if an election previously made with respect to such sale or exchange is in effect.”;
(2) by amending subsection (b) to read as follows:
“(b) Deferral of gain invested in opportunity zone property
“(1) Year of inclusion
“Gain to which subsection (a)(1)(B) applies shall be included in gross income in the taxable year which includes the earlier of—
“(A) the date on which such investment is sold or exchanged, or
“(B) the date which is 5 years after the date the investment in the qualified opportunity fund was made.
“(2) Amount includible
“(A) In general
“The amount of gain included in gross income under subsection (a)(1)(B) shall be the excess of—
“(i) the lesser of the amount of gain excluded under subsection (a)(1)(A) or the fair market value of the investment as determined as of the date described in paragraph (1), over
“(ii) the taxpayer’s basis in the investment.
“(B) Determination of basis
“(i) In general
“Except as otherwise provided in this subparagraph or subsection (c), the taxpayer’s basis in the investment shall be zero.
“(ii) Increase for gain recognized under subsection (a)(1)(B)
“The basis in the investment shall be increased by the amount of gain recognized by reason of subsection (a)(1)(B) with respect to such investment.
“(iii) Investments held for 5 years
“(I) In general
“In the case of any investment held for at least 5 years, the basis of such investment shall be increased by an amount equal to 10 percent (30 percent in the case of any investment in a qualified rural opportunity fund) of the amount of gain deferred by reason of subsection (a)(1)(A).
“(II) Application of increase
“For purposes of this subsection, any increase in basis under this clause shall be treated as occurring before the date described in paragraph (1)(B).
“(C) Qualified rural opportunity fund
“For purposes of subparagraph (B)(iii)—
“(i) Qualified rural opportunity fund
“The term ‘qualified rural opportunity fund’ means a qualified opportunity fund that holds at least 90 percent of its assets in qualified opportunity zone property which—
“(I) is qualified opportunity zone business property substantially all of the use of which, during substantially all of the fund’s holding period for such property, was in a qualified opportunity zone comprised entirely of a rural area, or
“(II) is qualified opportunity zone stock, or a qualified opportunity zone partnership interest, in a qualified opportunity zone business in which substantially all of the tangible property owned or leased is qualified opportunity zone business property described in subsection (d)(3)(A)(i) and substantially all the use of which is in a qualified opportunity zone comprised entirely of a rural area.
For purposes of the preceding sentence, property held in the fund shall be measured under rules similar to the rules of subsection (d)(1).
“(ii) Rural area
“The term ‘rural area’ means any area other than—
“(I) a city or town that has a population of greater than 50,000 inhabitants, and
“(II) any urbanized area contiguous and adjacent to a city or town described in subclause (I).”; and
(3) in subsection (c), by striking “makes an election under this clause” and all that follows and inserting “makes an election under this subsection, the basis of such investment shall be equal to—
“(A) in the case of an investment sold before the date that is 30 years after the date of the investment, the fair market value of such investment on the date such investment is sold or exchanged, or
“(B) in any other case, the fair market value of such investment on the date that is 30 years after the date of the investment.”
See 2025 Amendment notes below.
Pub. L. 119–21, title VII, § 70421(c)(4)(A), (B), (5)(B), July 4, 2025, 139 Stat. 226, 227, provided that, applicable to property acquired after Dec. 31, 2026, subsection (d)(2) of this section is amended:
(1) in subparagraphs (B)(i)(I) and (C)(i), by striking “December 31, 2017,” and inserting “the applicable date”;
(2) in subparagraph (D)(i)(I), by striking “December 31, 2017” and inserting “the applicable start date (as defined in section 1400Z–1(e)(2)) with respect to the qualified opportunity zone described in subclause (III)”; and
(3) by adding at the end the following new subparagraph:
“(E) Applicable date
“For purposes of this subparagraph, the term ‘applicable date’ means, with respect to any corporation or partnership which is a qualified opportunity zone business, the earliest date described in subparagraph (D)(i)(I) with respect to the qualified opportunity zone business property held by such qualified opportunity zone business.”
See 2025 Amendment notes below.
Editorial Notes
Amendments
2025—Subsec. (a)(2). Pub. L. 119–21, § 70421(c)(1), amended par. (2) generally. Prior to amendment, text read as follows: “No election may be made under paragraph (1)—
“(A) with respect to a sale or exchange if an election previously made with respect to such sale or exchange is in effect, or
“(B) with respect to any sale or exchange after December 31, 2026.”
Subsec. (b). Pub. L. 119–21, § 70421(c)(2), amended subsec. (b) generally. Prior to amendment, subsec. (b) related to deferral of gain invested in opportunity zone property.
Subsec. (c). Pub. L. 119–21, § 70421(c)(3), substituted “makes an election under this subsection, the basis of such investment shall be equal to—” and pars. (A) and (B) for “makes an election under this clause, the basis of such property shall be equal to the fair market value of such investment on the date that the investment is sold or exchanged.”
Subsec. (d)(2)(B)(i)(I), (C)(i). Pub. L. 119–21, § 70421(c)(4)(B)(i), substituted “the applicable date” for “December 31, 2017,”.
Subsec. (d)(2)(D)(i)(I). Pub. L. 119–21, § 70421(c)(4)(A), substituted “the applicable start date (as defined in section 1400Z–1(e)(2)) with respect to the qualified opportunity zone described in subclause (III)” for “December 31, 2017”.
Subsec. (d)(2)(D)(ii). Pub. L. 119–21, § 70421(c)(4)(C), inserted “(50 percent of such adjusted basis in the case of property in a qualified opportunity zone comprised entirely of a rural area (as defined in subsection (b)(2)(C)(ii))” after “the adjusted basis of such property”.
Subsec. (d)(2)(E). Pub. L. 119–21, § 70421(c)(4)(B)(ii), added subpar. (E).
Statutory Notes and Related Subsidiaries
Effective Date of 2025 Amendment
Pub. L. 119–21, title VII, § 70421(c)(5), July 4, 2025, 139 Stat. 227, provided that:
“(A) In general.— Except as otherwise provided in this paragraph, the amendments made by this subsection [amending this section] shall apply to amounts invested in qualified opportunity funds after December 31, 2026.“(B) Acquisition of qualified opportunity zone property.— The amendments made by subparagraphs (A) and (B) of paragraph (4) [amending this section] shall apply to property acquired after December 31, 2026.“(C) Substantial improvement.— The amendment made by paragraph (4)(C) [amending this section] shall take effect on the date of the enactment of this Act [July 4, 2025].”
Effective Date
Section effective on Dec. 22, 2017, see section 13823(d) of Pub. L. 115–97, set out as an Effective Date of 2017 Amendment note under section 1016 of this title.