Opportunity Zones are census tracts where the government offers tax incentives to attract investment. You participate through a Qualified Opportunity Fund (QOF), a partnership or corporation that holds at least 90% of its assets in Opportunity Zone property. This guide pairs with our What is a Qualified Opportunity Fund guide, which covers the fund vehicle itself.

The structure has been around since 2017. The rules around it changed in July 2025, when the One Big Beautiful Bill Act made the program permanent and rewrote the benefits for investments made starting January 1, 2027.

How the investment works

The mechanics run in three stages:

1. Realize a capital gain. You sell stock, real estate, a practice interest, crypto, or a business. The gain is what gets reinvested, not the full sale proceeds. If you sell stock for $500,000 with a $100,000 basis, the gain is $400,000. Only that $400,000 needs to go into the QOF to defer the tax. You keep the $100,000.

2. Invest the gain in a QOF within 180 days. The clock starts on the date of sale.

You wire the gain into a QOF (typically a fund run by a real estate sponsor), and that fund deploys the capital into projects inside Opportunity Zones. The fund must spend at least the building's basis on improvements within 30 months (50% for rural), so most projects are ground-up development or major renovation.

3. Hold and exit. Two separate benefits unlock at two different times. The original deferred tax becomes due at a defined point. The appreciation on the QOF investment itself becomes tax free at year 10.

Walking through an example

Assume you sell stock in 2027 with a $500,000 capital gain and roll the full gain into a QOF.

  • Year 0 (2027): You invest $500,000. No tax is owed on the original stock gain yet. The IRS sees your basis in the QOF as zero.

  • Year 5 (2032): Two things happen. The deferred tax on the original $500,000 stock gain becomes due, but you get a 10% basis step-up, so you only pay tax on $450,000 of it. Assuming the top federal capital gains rate (20% plus the 3.8% net investment income tax, 23.8% total), that is roughly $107,000 instead of $119,000. State tax may apply on top. You have used five years of the government's money interest-free.

  • Year 10 (2037): If the QOF investment has grown to $1.2 million, you sell it. The $700,000 of appreciation is completely tax-free. You owe nothing on the gain or previously taken depreciation inside the QOF.

The 10-year tax-free appreciation is the real prize. The deferral is a benefit, the step-up is a small bonus, but the wealth-building piece is the tax-free growth on the QOF itself.

Two regimes, depending on timing

Through December 31, 2026 (old rules). Deferred gain is recognized on December 31, 2026, no matter when you invested. The old 5- and 7-year step-ups are out of reach. The 10-year tax-free appreciation still applies.

Starting January 1, 2027 (new rules): the deferred gain is recognized at the earlier of the day you sell the QOF investment or the fifth anniversary of the investment. If you hold the full five years, you get a 10% basis step-up first, so you pay tax on only 90% of the deferred gain. The 10-year tax-free appreciation and the 30-year basis freeze work the same as described above.

A new vehicle, the Qualified Rural Opportunity Fund (QROF), gives a 30% step up at year 5 instead of 10% for rural-only investments.

The map is changing too. States began nominating new zones on July 1, 2026, and the new designations take effect January 1, 2027, with fresh designations every 10 years after that. A fund investing under the new rules may be buying into different neighborhoods than the 2018-vintage zones, so sponsor selection matters even more.

When this is worth a look

OZs only matter if you have a capital gain to redeploy. The common physician triggers:

  • Sale of a practice, partnership interest, or surgery center.
  • Sale of an investment property or syndication exit.
  • Liquidation of a concentrated stock or RSU position.

Invest in 2026 or wait?

For most first-time investors, the new rules are cleaner. Five real years of deferral and a working step-up beat a few months of deferral with no step-up. Investing before year-end 2026 mostly makes sense when a gain's 180-day window forces it. Otherwise, compare against a 1031 exchange, Section 1202, or simply paying the tax.

Practical realities

  • Capital is locked up at least 10 years to get the full benefit. Plan as though the money is gone.

  • Fund quality varies. The tax benefit does not turn a bad deal into a good one. Scrutinize sponsor track record, leverage, and fees like any private real estate investment.

  • Fees are significant. Acquisition fees, asset management fees, and promote structures eat into returns. Compare after-tax returns, not headline numbers.

  • State conformity is not automatic. California, in particular, does not conform. You may owe state tax on the deferred gain even when federal tax is deferred.

The bottom line

Opportunity Zones are a powerful tool in a narrow situation. If you have a large capital gain, a 10-year time horizon, and access to a sponsor and project you would invest in even without the tax benefit, the structure can turn a good deal into an outstanding one. Tax-free appreciation over a decade is hard to beat.

If any of those three conditions are missing, the strategy is not the right fit. The program is permanent now, so the right deal will come around again.