Skip to content
On this page
  1. Key Takeaways
  2. What It Is
  3. The Intuition
  4. How It Works
  5. Worked Example
  6. Common Mistakes
  7. Frequently Asked Questions
  8. Sources
  9. Disclaimer
← All concepts
Sector AnalysisIntermediate5 min read

Opportunity Zones: Defer and Exclude Capital Gains Tax

Opportunity Zones are economically distressed census tracts where investors can roll capital gains into a Qualified Opportunity Fund, defer tax on the original gain, and potentially pay zero federal tax on appreciation of the new investment if they hold it long enough. The program was created by the Tax Cuts and Jobs Act of 2017.

Key Takeaways

  • Opportunity zones allow investors to defer a capital gain by investing it in a Qualified Opportunity Fund within 180 days of the triggering sale event.
  • The 10-year hold is the headline benefit: QOF appreciation above the original contribution is excluded from federal tax entirely, not just deferred.
  • A common mistake is investing more than the eligible gain; only the gain portion receives QOF treatment, not excess principal contributed to the fund.
  • State tax conformity varies widely, California does not conform, so a deferred federal gain can still be taxable at the state level in the contribution year.

Key Takeaways

  • Opportunity zones allow investors to defer a capital gain by investing it in a Qualified Opportunity Fund within 180 days of the triggering sale event.
  • The 10-year hold is the headline benefit: QOF appreciation above the original contribution is excluded from federal tax entirely, not just deferred.
  • A common mistake is investing more than the eligible gain; only the gain portion receives QOF treatment, not excess principal contributed to the fund.
  • State tax conformity varies widely, California does not conform, so a deferred federal gain can still be taxable at the state level in the contribution year.

What It Is

Internal Revenue Code Section 1400Z-2, added by the Tax Cuts and Jobs Act in December 2017, created two tax preferences for investments in designated low-income census tracts called Qualified Opportunity Zones (QOZs). State governors nominated tracts based on poverty and income criteria, and the Treasury Department certified roughly 8,700 QOZs across all 50 states, the District of Columbia, and five U.S. territories.

Investors access the program through a Qualified Opportunity Fund (QOF), a corporation or partnership organized for the purpose of investing in QOZ property. A QOF must hold at least 90 percent of its assets in QOZ property, tested semi-annually. QOFs self-certify by filing IRS Form 8996 each year.

The program combines features of a 1031 exchange (gain deferral) with a unique basis step-up that, at sufficient holding periods, eliminates tax on appreciation of the QOF investment itself.

The Intuition

The policy idea was to route private capital into places the market was otherwise overlooking. Rather than direct subsidies or grants, the TCJA used the tax code to create three progressively larger benefits tied to how long the investor stays invested:

  • Deferral of the original gain that funded the QOF investment.
  • Partial forgiveness of that original gain after a 5 or 7 year holding period.
  • Full exclusion of any new appreciation on the QOF investment after 10 years.

The 10-year "tax-free gain" is the headline feature. An investor who contributes 1 million of rolled gain into a QOF and holds for 10 years pays tax on the deferred original gain (at a reduced amount if the step-up still applies) but owes zero federal income tax on any appreciation of the QOF stake above the original 1 million.

How It Works

To use the program, an investor follows a sequence of steps.

Step 1: Trigger a capital gain. Sell stock, a business, a property, or any capital asset that produces an eligible gain. Only the gain portion qualifies, not the principal.

Step 2: Invest in a QOF within 180 days. The investor has 180 days from the sale date to contribute the gain amount into a QOF. Investing more than the gain amount is allowed but the excess does not receive QOF tax treatment.

Step 3: QOF deploys into QOZ property. The fund must use at least 90 percent of assets for QOZ property, which includes QOZ business property (tangible property used in a QOZ trade or business) or equity in a QOZ business. Tangible property typically must be "original use" in the zone or "substantially improved," meaning the QOF doubles the basis in the building within 30 months.

Step 4: Hold and benefit. Tax benefits accrue by holding period.

  • Gain is deferred until the earlier of a sale of the QOF investment or December 31, 2026, which is when recognition is triggered under the current statute.
  • Hold 5 years: the basis in the deferred gain steps up by 10 percent (so 10 percent of the original gain becomes permanently tax-free).
  • Hold 7 years: an additional 5 percent step-up, for a combined 15 percent exclusion. Achieving the 7-year step-up required investing by December 31, 2019, because the 2026 recognition date caps the clock.
  • Hold 10 years: basis resets to fair market value on the date of sale. Any appreciation above the original QOF contribution is permanently excluded from federal tax.

These holding-period benefits are cumulative at the QOF level, not the underlying property level. The investor measures time from their QOF investment date.

Worked Example

An investor sells long-held stock in 2020 and realizes 1 million dollars of capital gain. Within 180 days, they contribute the full 1 million of gain into a QOF that invests in a multifamily development inside a QOZ.

Original gain deferred:       1,000,000
QOF investment basis day one: 0 (for deferred gain purposes)

The investor holds through 2030, a 10-year period.

On December 31, 2026, the deferred gain is recognized under the statute's triggering date. The investor had already reached the 5-year mark in 2025, earning a 10 percent basis step-up, so they recognize 900,000 instead of 1,000,000 and pay federal capital gains tax on that amount.

In 2031, the investor sells the QOF stake for 2,500,000. Because the 10-year hold is satisfied, the basis is stepped up to fair market value on the sale date.

Sale proceeds:       2,500,000
Basis at sale:       2,500,000 (stepped up)
Taxable gain on QOF: 0

The 1,500,000 of appreciation above the original 1 million is excluded from federal tax entirely.

Common Mistakes

  1. Contributing more than the eligible gain. Only the capital gain portion gets QOF treatment. Extra principal contributed to a QOF is a regular investment without any of the special benefits.

  2. Missing the 180-day window. The clock generally runs from the sale date of the underlying asset. Gains flowing through partnerships or S corporations have alternate start-date elections that confuse many investors.

  3. Assuming all QOZ spending counts. QOF capital must go to QOZ property, not to the fund's operating expenses or into non-QOZ assets. The 90 percent semi-annual asset test is enforceable, with penalties for failure.

  4. Ignoring the 2026 recognition date. The current statute forces recognition of the deferred gain on December 31, 2026, even if the investor is still holding the QOF. Budget for that tax liability in advance. Legislation could extend or modify this date, but plan based on current law.

  5. Overlooking state tax conformity. Not every state conforms to the federal OZ treatment. California, for example, does not. A deferred federal gain can still be a taxable state gain in the year of contribution.

Frequently Asked Questions

Q: What are opportunity zones in simple terms? Opportunity zones are IRS-designated low-income census tracts where investors can defer and potentially eliminate capital gains tax by investing through a Qualified Opportunity Fund. The gain is deferred until December 31, 2026 or an earlier sale, and any appreciation on the QOF investment held 10 years is excluded from federal tax entirely.

Q: How do opportunity zones affect investment decisions? The 10-year exclusion on new appreciation is the primary driver; investors with large capital gains can compound a larger pre-tax base for a decade and owe zero federal tax on growth above the original contribution. The tradeoff is illiquidity, the 2026 deferred-gain recognition event, and concentration in a single development project or fund.

Q: What is a real-world example of an opportunity zone investment? In the worked example, an investor rolls $1 million of capital gain into a QOF multifamily project in 2020. The deferred gain is recognized in 2026 at a reduced $900,000 due to the 5-year step-up. In 2031, the QOF stake sells for $2.5 million; the $1.5 million of appreciation above the original contribution is excluded from federal tax entirely.

Q: How can investors use opportunity zones in tax planning? Identify capital gain events where the gain would otherwise be taxable immediately, then assess whether a suitable QOF exists with a credible 10-year business plan. Budget separately for the 2026 federal tax due on the deferred gain, and verify whether your state conforms to federal OZ treatment before assuming full deferral.

Q: How are opportunity zones different from a 1031 exchange? A 1031 exchange requires reinvestment in like-kind real property and defers gain indefinitely into the replacement property's basis. Opportunity zones accept gains from any asset class, defer only until December 31, 2026 or an earlier QOF sale, and can permanently exclude appreciation on the QOF investment after a 10-year hold, a benefit 1031 exchanges do not offer.

Sources

  1. Internal Revenue Service. "Opportunity Zones." https://www.irs.gov/credits-deductions/businesses/opportunity-zones
  2. Internal Revenue Service. "Opportunity Zones Frequently Asked Questions." https://www.irs.gov/credits-deductions/opportunity-zones-frequently-asked-questions
  3. Internal Revenue Service. "Certify and Maintain a Qualified Opportunity Fund." https://www.irs.gov/credits-deductions/businesses/certify-and-maintain-a-qualified-opportunity-fund

Disclaimer

This article is educational content only and is not financial advice. Nothing here is a recommendation to buy, sell, or hold any security. Consult a licensed advisor before making investment decisions.

The IWP Substack

You understand the concept. Now see it applied.

The Investing With Purpose Substack turns ideas like this into research and risk-managed trade plans on real stocks, updated every week.

Read on Substack (opens in a new tab)

Related concepts