Who this is for
- Investors selling a rental, land or other investment real estate at a large gain
- Owners selling a business whose sale produces capital or section 1231 gain
- Limited partners whose syndication or fund sold property and reported the gain on a K-1
- Anyone with a gain this year deciding whether to invest before or after January 1, 2027
Not covered here
- Choosing, ranking or reviewing any fund, sponsor, DST or intermediary
- Reporting a DST after the exchange
- Deferred opportunity zone gain already coming due from an earlier investment
- Forming or running an opportunity zone fund
- State rules other than California's, and non-US property
1031 exchange or opportunity zone fund: what does each defer?
A 1031 exchange can defer all of the gain on investment or business real property, with no end date, if you put all the net proceeds into replacement real property and replace any debt paid off. A Delaware statutory trust (DST) is not a third route: it is one kind of replacement property for a 1031 exchange. An opportunity zone fund defers only the gain you invest, from almost any capital sale, and only for a set time.
| 1031 exchange | Opportunity zone fund (investment on or after January 1, 2027) | |
|---|---|---|
| What you sell | Real property held for investment or business use | Any asset that produces capital gain or qualified 1231 gain |
| What you buy | Like-kind real property, which can include a qualifying DST interest | An equity interest in a qualified opportunity fund |
| How much must go in | All net proceeds; cash you keep, and debt paid off that you do not replace, is taxed now | Only the gain; the rest of the proceeds is yours to keep |
| Deadline | Identify in 45 days; receive within 180 days or by your return's due date with extensions, if earlier | Invest within 180 days, starting on the day the gain would be taxed |
| When the tax comes back | When you sell the replacement in a taxable sale; generally never, if you hold it until death | At the earliest of a sale, another inclusion event such as a gift, or 5 years after the investment |
| Extra benefit | None beyond deferral | Basis increase after 5 years; after 10 years, no tax on the fund's growth |
Sources: Form 8824 instructions; Notice 2026-40, section 4.02; Public Law 119-21, section 70421.
In a 1031 exchange you must not receive the sale cash: a qualified intermediary, engaged before closing, holds it and acquires the replacement for you. If you receive the money or can draw on it, the sale is taxed (26 CFR 1.1031(k)-1(f) and (g)(4)). Within 45 days, name the replacements in a signed, written document sent to the intermediary or the seller: up to three properties of any value, or more if their total value is no more than twice the value of what you sold (26 CFR 1.1031(k)-1(c)).
A case is simple when one person sells one property and buys one replacement. It needs professional judgment when the gain sits inside a partnership or comes on a K-1, when a sale falls near year-end, or when a state is involved. A CPA can compare both routes on your numbers before the deadlines run. Gather the closing statement, the K-1 that shows the gain, and any earlier Forms 8824.
Can I do a 1031 exchange into a syndication or a fund?
No. An interest in a partnership is not real property for section 1031, so you cannot exchange a property for units in a syndication, a fund or an LLC taxed as a partnership (26 CFR 1.1031(a)-3(a)(5); Form 8824 instructions). The only exception is a partnership with a valid election under section 761(a) to be left out of the partnership tax rules, which is rare for a syndication. Stock and certificates of trust or beneficial interests are not real property either.
A Delaware statutory trust (DST) is the main exception people use. In Revenue Ruling 2004-86, the IRS held that a taxpayer can exchange real property for an interest in a DST without recognizing gain, if the trust is an investment trust and the other section 1031 rules are met. The ruling's trust had tight limits: the trustee could not take new money, buy other property, renegotiate the lease or the loan, or make more than minor changes to the building. Whether a given DST qualifies depends on its trust agreement and how it is run. Reporting a DST each year is covered in Delaware statutory trust tax reporting.
My syndication is selling: can I exchange my share?
Usually not on your own. The partnership owns the property, so the partnership decides whether to sell or exchange, and an exchange at that level covers every partner.
Some partners ask the partnership to deed them a share of the property before the sale, so each can exchange separately. Whether that works depends on whether each partner then holds the property for investment, as section 1031 requires (26 U.S.C. 1031(a)), and the statute sets no fixed holding period. It needs a lawyer and a tax review before the deal closes, not after.
If the partnership sells and passes the gain through on your K-1, section 1031 no longer applies to you, but a qualifying gain can go into an opportunity zone fund within the 180-day periods below. What to do with a final K-1 is covered in Your final fund tax form.
Which gains can go into an opportunity zone fund?
Capital gains and qualified 1231 gains can go in. Wages, option income taxed as pay, and other ordinary income cannot (Opportunity zones FAQ, Q11 and Q29).
- Gain on a rental or business property (qualified 1231 gain) can go in, except the part taxed as ordinary income because of earlier depreciation. For a building depreciated evenly each year (straight-line), that part is usually zero, so most or all of a building's gain qualifies. Equipment, furniture and other personal property are different: their depreciation is usually taxed as ordinary income (26 CFR 1.1400Z2(a)-1(b)(11)(iii); Form 4797 instructions).
- Selling a business. Capital gain on shares can go into an opportunity zone fund, never into a 1031 exchange. In an asset sale, the real estate can be exchanged, capital or qualified 1231 gain on assets such as goodwill can go into a fund, and ordinary income, such as on inventory or recaptured depreciation, can go into neither; see Selling your business.
- Futures and straddles. Gain from section 1256 contracts and from positions in a straddle is generally not eligible. Exceptions cover net gain from section 1256 contracts that were never part of a straddle, and some identified straddles (26 CFR 1.1400Z2(a)-1(b)(11)(vi)).
- Related buyers. Gain from a sale to a related person is not eligible.
- Only the gain. You need to invest only the amount of the gain, not the whole sale price. You can also invest part of the gain and defer only that part (FAQ, Q13). Money you invest beyond your eligible gain is a separate, non-qualifying investment with no opportunity zone benefits (26 CFR 1.1400Z2(a)-1(c)(6)).
The IRS FAQ and the regulation still limit eligible gains to those taxed before January 1, 2027. Public Law 119-21 removed that limit, as Notice 2026-40, section 4.02(2) confirms.
My gain came on a fund K-1: when does my 180-day window start?
Generally on the last day of the partnership's tax year, which is December 31 for a calendar-year fund. The day the K-1 arrives does not matter (FAQ, Q23).
If the partnership did not defer all of its gain itself, you may instead choose either of these starts (26 CFR 1.1400Z2(a)-1(c)(8)(iii)):
| 180-day period starts on | Last day to invest, calendar-year fund | When it helps |
|---|---|---|
| The last day of the partnership's tax year (default) | About June 28 of the next year | Most partners in a calendar-year fund |
| The day the partnership's own 180 days started, usually the sale date | 180 days from that day | You learn of the sale early and want to invest sooner |
| The partnership return's due date without extensions | About September 10 (180 days from March 15) | You need more time |
The same choices apply to S corporation shareholders and to beneficiaries of estates and non-grantor trusts. If the partnership made its own deferral election, that gain never reaches your K-1 as taxable gain, and there is nothing for you to defer.
I have a gain this year: invest now or wait for January 1, 2027?
An old-rule investment, made by December 31, 2026, has its deferred gain included no later than the return for the year that includes December 31, 2026 (Notice 2026-40, section 4.01(1)). For a gain from this year, that is the same return, so nothing is deferred.
It still keeps the 10-year benefit: hold it 10 years and you can elect no tax on the fund's growth (Notice 2026-40, section 4.01(3)). If the zone's designation has ended, the regulation keeps that election only for a sale made by December 31, 2047 (26 CFR 1.1400Z2(c)-1(c)).
A gain from this year that is invested on or after January 1, 2027, still within its 180 days, gets the new rules (Notice 2026-40, section 4.02(2)). That works when:
- the gain came late in the year, so the 180 days reach into the new year;
- the gain came on a K-1, so the 180 days can start on December 31 or the partnership's March 15 due date; or
- the gain is reported on the installment method, is net gain from section 1256 contracts, or is a capital gain dividend from a mutual fund or REIT, because those 180 days can start on December 31 (26 CFR 1.1400Z2(a)-1(b)(7)(ii), (b)(11)(vi)(B) and (b)(11)(viii)(B)).
The 180 days begin on the day the gain is realized. Any other gain realized on or before July 5, 2026 has 180 days that end by December 31, 2026, so the new rules cannot apply to it.
If you will invest after your return is due, file an extension and elect the deferral on the return filed after you invest, or on an amended return (FAQ, Q16). An extension does not extend the time to pay (IRS).
A fund's property bought after December 31, 2026 generally must be in zones designated under the new law (Notice 2026-40, section 5.01); how a fund qualifies is covered in Setting up a qualified opportunity fund.
Opportunity zone 2.0: what do the rules give from January 1, 2027?
For an investment made on or after January 1, 2027, the new rules give 5 years of deferral, a basis increase at 5 years, and no tax on the fund's growth after 10 years (Public Law 119-21, section 70421(c); Notice 2026-40, sections 4.02 and 5.02). Regulations for these rules have not been issued; Notice 2026-40 is transitional guidance, so details may change.
| Hold the investment | Result |
|---|---|
| Less than 5 years | The deferred gain is taxed in the year you sell or give away the investment, or the year that includes the 5-year date |
| 5 years | Your basis rises by 10% of the deferred gain, or 30% for a qualified rural opportunity fund, so less of the gain is taxed at the 5-year date |
| 10 years or more | You can elect a basis equal to fair market value when you sell, so the fund's growth is not taxed |
| 30 years | The fair market value is fixed at the 30-year date; growth after that is taxable |
The amount taxed at the 5-year date is the deferred gain, or the investment's value if lower, minus your basis. A qualified rural opportunity fund is one whose assets are, under the law's test, property in zones made up entirely of rural areas.
The tax at the 5-year date is due even if the fund pays you no cash.
Depreciation recapture and death: how do the routes compare?
Depreciation recapture is the part of a sale gain that comes from depreciation deducted earlier. The two routes treat it, and death, very differently.
1031 exchange. The deferred gain, including the part from depreciation, moves into the replacement property through a lower basis (Form 8824 instructions, Part III). If you still hold the replacement at death, your heirs' basis is generally its fair market value on the date of death (26 U.S.C. 1014(a)), so the deferred gain is generally not taxed to anyone.
Opportunity zone fund. When the deferred gain is later included, it keeps its original character, such as long-term capital gain or qualified 1231 gain (Form 8949 instructions; 26 CFR 1.1400Z2(a)-1(c)(1)). Ordinary recapture was never deferred, so it was taxed in the sale year. Death is not an inclusion event, but the deferred gain does not go away: the heir reports it when the investment is sold or the 5-year date arrives. The heir's basis is zero plus any increases already earned, not the value at death (26 CFR 1.1400Z2(b)-1(c)(4) and (g)(6)). What heirs do next is covered in Inheriting a fund interest.
Does my state follow each route?
States differ, so check the state where the property is and the state where you live. California, for example, follows section 1031 but not the opportunity zone rules.
- California and 1031. If you exchange California property for property outside California, you must file Form FTB 3840 for the year of the exchange and each later year until the California-source deferred gain is recognized. This applies whether or not you live in California. If you file neither the form nor a California return, the Franchise Tax Board may assess the deferred gain (2025 FTB 3840 instructions).
- California and opportunity zones. California does not follow the deferral or the exclusion for opportunity zone funds. A California taxpayer reports the whole gain on the state return in the year of sale (2025 Schedule D (540) instructions).
What do I file in the year I choose?
Each route has its own forms, and missing one can cost the deferral.
| Route | Form | When |
|---|---|---|
| 1031 exchange | Form 8824 | With the return for the year you gave up the property; also for the 2 years after an exchange with a related party (Form 8824 instructions) |
| Opportunity zone fund | Form 8949, with code Z on the deferral row and the fund's employer identification number; for 1231 gain, also Form 4797, line 2, and a code O row | The return for the year the gain would otherwise be taxed (Form 8949 instructions; Form 4797 instructions) |
| Opportunity zone fund | Form 8997 | That year and every year you hold the investment, and the year you sell it |
| California exchange out of state | Form FTB 3840 | The exchange year and every later year until the gain is taxed |
What if the exchange fails or the deadline passes?
If a 1031 exchange fails, the gain is generally taxed in the year of the sale. If a qualified intermediary holds the cash into the next year, the gain may be reported when the cash is paid out (26 CFR 1.1031(k)-1(j)(2)). If a deferred exchange misses the 45 days or 180 days limits, it is not a like-kind exchange, and any gain may be taxable in the year you transferred the property (Form 8824 instructions). An opportunity zone investment made after day 180 is not a qualifying investment.
A large gain taxed in one year can also bring a penalty for paying too little estimated tax during the year; see Estimated tax in a big bonus year. Claiming a deferral that does not qualify can add an accuracy-related penalty of 20% of the underpayment (IRS).
Example
Illustrative only, in US dollars; no tax is computed.
A K-1 gain invested under the new rules
Maria is a limited partner in a calendar-year real estate syndication. The syndication sells its building in November and does not defer the gain itself. Her K-1 shows $600,000 of qualified 1231 gain.
- Her 180 days start on December 31, the last day of the partnership's year, so they run to about June 28, 2027.
- She invests $600,000 in a qualified opportunity fund in May 2027. Because that is on or after January 1, 2027, the new rules apply.
- On her return for the year of the sale, filed on extension or amended after she invests, she reports the gain, enters the deferral on Form 4797, line 2, elects it on Form 8949 in a code O row and a code Z row, and files Form 8997.
- If she holds 5 years, her basis rises by 10%, or $60,000. In the year that includes the 5-year date in May, she reports $540,000 of deferred gain, still as 1231 gain, if the investment is worth at least $600,000.
Had she chosen the partnership's 180 days and invested in December under the old rules, the $600,000 would be included on her return for the same year, with no deferral.
A rental sold by its owner
Sam sells a rental he owns directly for $1,500,000, with a $700,000 gain and a $400,000 mortgage paid off at closing.
- 1031 route: to defer all of the gain, he buys replacement real property worth at least $1,500,000, such as a qualifying DST interest, within the deadlines, puts in all $1,100,000 of cash, and replaces the $400,000 of debt with new debt or more cash. If he keeps $100,000 of cash, $100,000 of gain is taxed now; that taxed gain may itself be eligible for an opportunity zone fund.
- Opportunity zone route: he invests up to $700,000, the gain, within 180 days of the sale and keeps the rest of the proceeds. If he invests on or after January 1, 2027, the deferred gain, less the 10% basis increase, is taxed at the 5-year date unless he sells sooner. Only depreciation taxed as ordinary income is left out; for a rental building depreciated on the straight-line method, that is usually none.
Different for you?
- You already hold an opportunity zone fund and your deferred gain comes due: see Opportunity zone deferred gain coming due.
- You need to report a DST after the exchange: see Delaware statutory trust tax reporting.
- You are forming your own opportunity zone fund for the gain: see Setting up a qualified opportunity fund.
- You live in Canada and are exchanging a US rental: see Exchanging a US rental property.
- Your syndication sold and sent a final K-1: see Your final fund tax form.
- You are selling a rental you own directly and want the general rules: see Rental property taxes.
- You are selling your business: see Selling your business.
- Part of the sale gain is your carried interest: see The carried interest three-year rule.
- Your gain is on startup stock: see QSBS through a venture fund.
- You want both routes compared on your numbers before the 180 days run out, or the gain is inside a partnership you manage: see hedge fund and real estate fund tax.
- You want your own return prepared for the sale year: see individual tax.
Figures on this page
| Figure | Value | Source |
|---|---|---|
| Like-kind exchange identification period From the transfer of the relinquished property; replacement property must be identified in writing by midnight on the 45th day | 45 days | eCFR: 26 CFR 1.1031(k)-1 Checked |
| Like-kind exchange receipt period From the transfer of the relinquished property, or the due date (including extensions) of the return for the transfer year if earlier | 180 days | eCFR: 26 CFR 1.1031(k)-1 Checked |
| Basis increase for an opportunity zone investment made after 2026 and held at least 5 years Of the gain deferred; amounts invested in qualified opportunity funds after December 31, 2026 (26 USC 1400Z-2(b)(2)(B)(iii) as amended) | 10% | GovInfo: Public Law 119-21, section 70421(c)(2) Checked |
| Basis increase for an investment in a qualified rural opportunity fund made after 2026 and held at least 5 years Of the gain deferred; amounts invested in qualified rural opportunity funds after December 31, 2026 (26 USC 1400Z-2(b)(2)(B)(iii) as amended) | 30% | GovInfo: Public Law 119-21, section 70421(c)(2) Checked |
| Accuracy-related penalty rate Share of an underpayment attributable to negligence, disregard of rules, or substantial understatement | 20% | IRS: Accuracy-related penalty Checked |
Primary sources
- IRS: Notice 2026-40, Transitional guidance on qualified opportunity zones
- GovInfo: Public Law 119-21, section 70421 (opportunity zones)
- IRS: Opportunity zones frequently asked questions
- eCFR: 26 CFR 1.1400Z2(a)-1, eligible gains and 180-day periods
- eCFR: 26 CFR 1.1400Z2(b)-1, inclusion events and basis
- eCFR: 26 CFR 1.1400Z2(c)-1, 10-year election
- eCFR: 26 CFR 1.1031(a)-3, definition of real property
- IRS: Instructions for Form 8824
- eCFR: 26 CFR 1.1031(k)-1, deferred exchanges
- IRS: Instructions for Form 4797
- IRS: Revenue Ruling 2004-86, Delaware statutory trusts
- IRS: Instructions for Form 8949
- GovInfo: 26 U.S.C. 1014, basis of property acquired from a decedent
- IRS: Get an extension to file your tax return
- GovInfo: 26 U.S.C. 1031, exchange of real property
- IRS: Accuracy-related penalty
- California FTB: 2025 Instructions for Form FTB 3840, California like-kind exchanges
- California FTB: 2025 Instructions for Schedule D (540)
About this guide
Published by Cloud Accounting under standing professional approval. This version has no separately recorded personal review. It explains general rules for the tax year shown. It is not advice for your situation.
Changes
- : First published.