Two Ways to Defer a Capital Gain
An investor sitting on a large capital gain has more than one way to postpone the tax bill. Two of the most discussed are the 1031 exchange — a decades-old real estate tool under Internal Revenue Code §1031 — and the newer Opportunity Zone program, created by the 2017 Tax Cuts and Jobs Act and codified in §1400Z-2. Both let an investor defer capital gains tax, but they were built for different situations, accept different kinds of gains, and treat the deferred tax very differently over time. Understanding those differences is the key to seeing where each might fit.
Side-by-Side Comparison
| Feature | 1031 Exchange | Opportunity Zone Fund |
|---|---|---|
| Governing statute | IRC §1031 | IRC §1400Z-2 (2017 TCJA) |
| What triggers it | Sale of like-kind real property held for business/investment | Any eligible capital gain (real estate, stock, business sale) |
| Reinvestment vehicle | Like-kind replacement property | Qualified Opportunity Fund (QOF) |
| Reinvestment window | 45-day identification / 180-day closing | Generally 180 days from the gain |
| Intermediary required | Yes — a qualified intermediary | No — invest directly into a QOF |
| Length of deferral | Indefinite; can repeat across exchanges | Until the Dec. 31, 2026 recognition date (or earlier sale) |
| Treatment of new appreciation | Deferred again in each exchange | May be tax-free if QOF held 10+ years |
| Elimination at death | Possible via step-up in basis (§1014) | Deferred gain is still recognized on the set date |
| Asset test | Reinvest full equity/value | QOF must meet a 90% qualifying-asset test |
| Liquidity | Illiquid real property | Illiquid, long-horizon private placement |
What Triggers Each Path
The starting points are different. A 1031 exchange is triggered by the sale of like-kind real property held for business or investment — a rental building, land, or similar. To defer the gain, the investor must reinvest the proceeds into other like-kind real property, using a qualified intermediary to avoid taking constructive receipt of the cash, and must meet the strict 45- and 180-day deadlines. Any cash or non-like-kind value received is boot and is taxable to the extent of gain.
An Opportunity Zone investment casts a wider net on the front end. It can accept any eligible capital gain — from real estate, publicly traded stock, or the sale of a business — reinvested into a Qualified Opportunity Fund generally within 180 days of realizing the gain. There is no like-kind requirement and no qualified intermediary. The trade-off is on the back end: the fund must deploy capital into qualifying zone property or businesses and satisfy a 90% qualifying-asset test.
How Long the Deferral Lasts
This is the most important distinction. A 1031 exchange defers the gain indefinitely. The deferred gain carries into the replacement property at a reduced basis, and an investor can keep exchanging — “swap till you drop” — postponing recognition again and again. Deferral, however, is not elimination: the deferred gain remains and becomes taxable on any later non-exchange sale.
An Opportunity Zone deferral is temporary by design. Under current rules, the originally deferred gain is recognized on the earlier of a sale of the fund interest or the December 31, 2026 tax-year recognition date. After that date, the deferred tax comes due regardless of whether the investor still holds the fund interest. These deadlines are set by the IRS and have shifted over time, so current rules should always be confirmed.
What Happens to New Appreciation
The two paths also treat new growth differently. In a 1031 exchange, appreciation on the replacement property is simply carried forward and deferred again in the next exchange — the mechanism keeps postponing, but the embedded gain never disappears on its own.
The Opportunity Zone program offers a distinct feature: if the QOF investment itself is held for at least 10 years, appreciation on that fund investment may be excluded from tax entirely. That potential tax-free appreciation on the new investment is the program’s signature incentive — separate from, and in addition to, the temporary deferral of the original gain. It applies only to growth in the fund investment, not to the original deferred gain, which is still recognized on the set date.
The Role of Death and Step-Up in Basis
For long-term holders, estate planning shapes the comparison. With a 1031 exchange, if the investor holds the replacement property until death, heirs may receive a step-up in basis to fair market value under §1014 — which can eliminate the deferred gain for the heirs. This “swap till you drop” outcome is the only path by which 1031 deferral becomes true elimination.
The Opportunity Zone program does not rely on death to resolve the original gain — that gain is recognized on the statutory date regardless. Its long-term benefit instead comes from the potential exclusion of fund appreciation after a 10-year hold. The two strategies therefore reward patience in different ways, and neither should be assumed to erase tax without meeting its specific conditions.
Which Path Fits?
Neither strategy is universally better — the right choice depends on the gain and the investor. A 1031 exchange may fit an investor whose gain comes from real estate and who wants to stay invested in real property, values indefinite deferral, and is planning around a possible step-up at death. An Opportunity Zone investment may fit an investor with a non-real-estate gain — such as from selling stock or a business — who wants a deferral option and is comfortable with a long horizon in exchange for potential tax-free appreciation on the fund investment.
Both are illiquid, carry market, execution, and financing risk including possible loss of principal, and depend on IRS rules and dates that can change. Opportunity Zone funds and the fractional real estate structures often used in 1031 exchanges are private placements available only to accredited investors. Which path — if either — is appropriate depends on your full financial picture and should be evaluated with a qualified advisor and your CPA.
This comparison is educational only and is not investment, tax, or legal advice. Both 1031 exchanges and Opportunity Zone investments defer, but do not by themselves eliminate, capital gains tax; only a step-up in basis at death can eliminate a deferred 1031 gain. Opportunity Zone funds are private placements available only to accredited investors and involve significant risks, including illiquidity and possible loss of principal. Statutory dates and holding-period rules are set by the IRS and can change. Confirm current rules and your specific treatment with your CPA.
Weighing Two Ways to Defer a Gain?
Discuss how 1031 exchanges and Opportunity Zone strategies work with an advisor who serves accredited investors.
