Key takeaways
- The clock starts on the day of the sale: you have 180 days to invest an eligible gain in a Qualified Opportunity Fund.
- You elect deferral on Form 8949 with your tax return for the year of the gain, then file Form 8997 every year you hold the investment.
- The fund must keep at least 90% of its assets in Opportunity Zone property, usually shares or a partnership stake in a Qualified Opportunity Zone Business.
- For money invested on or after January 1, 2027, the deferred gain is taxed after five years, and 10% of it is never taxed (30% in a rural fund).
- After 10 years you can elect to set your basis to fair market value when you sell, so the growth is free of federal tax; for sales after year 30 the value is fixed at the 30th anniversary.
How does an Opportunity Zone investment work, in short?
An Opportunity Zone investment works by moving a capital gain into a Qualified Opportunity Fund, letting the fund build or improve property in a designated zone, and holding the investment for at least ten years.1 The tax law rewards you twice: once on the old gain you put in and once on the new growth you take out.
A Qualified Opportunity Fund is a partnership or corporation that keeps at least 90% of its assets in Opportunity Zone property. It becomes a fund by filing Form 8996 with its tax return, and the IRS does not approve it in advance.5 This guide follows the steps in order. For what the zones themselves are, see what an Opportunity Zone is.
Fig. 1How money moves in an Opportunity Zone investment
- Capital gainInvestorSells stock, a business or real estateInvests the gain within 180 days
- 90% testQualified Opportunity FundPartnership or corporation, files Form 8996Buys equity
- 70% testQualified Opportunity Zone BusinessOperating company, often an LLCBuilds or improves
- Original useZone propertyNew or substantially improved, used in the zone
Step 1: What kind of gain starts the process?
The process starts with an eligible gain, which is a capital gain (short-term or long-term) that would be taxed now and comes from a sale to an unrelated buyer.2,4 It can come from stock, bonds, crypto, a business sale, real estate or collectibles.
It also includes the full amount of section 1231 gains. These are gains on business property, such as buildings and equipment held more than a year, and you do not subtract section 1231 losses first.8 Ordinary income does not qualify. That includes depreciation recapture under section 1245, which is the part of a gain on equipment that is taxed as ordinary income.4
You defer only the gain, not the whole sale price. If you sell a property for $3 million and your gain is $1 million, you need to invest $1 million to defer the whole gain. The full list is in which capital gains qualify for deferral, and the exceptions are in what disqualifies a gain from deferral.
Step 2: How long do you have to invest the gain?
You have 180 days from the date the gain would be taxed to invest it in a Qualified Opportunity Fund.2 For most sales that is the trade date or the closing date, and that date counts as day 1. Owners of pass-through businesses, such as partnerships and S corporations, get more choice. They can start the clock on the business's sale date, the last day of its tax year, or the due date of its return without extensions.8
| Type of gain | The 180-day period generally begins |
|---|---|
| Direct sale of stock, real estate or a business | Date of the sale |
| Section 1231 gain from business property | Date of the sale |
| Gain passed through from a partnership or S corporation | The business's sale date, the last day of its tax year, or the unextended due date of its return (the owner chooses) |
| Installment sale | Date each payment is received, or the last day of the tax year |
| Capital gain dividend from a REIT or mutual fund | Generally the last day of the shareholder's tax year, or by election the date each dividend is paid |
If you miss the window, the gain cannot be deferred. The 180-day investment rule covers the edge cases.
Step 3: How do you elect Opportunity Zone deferral?
You elect deferral on Form 8949, which you attach to your federal return for the year of the gain, filed on time.9 On it you report the fund's name, its employer identification number (EIN), the date you invested and the amount you are deferring.9 Every year after that you file Form 8997. It lists the fund investments you held at the start and end of the year, any gains you deferred that year and any investments you sold.6
The fund files its own form, Form 8996, which shows it is a Qualified Opportunity Fund and reports its 90% asset test each year.5 Proposed regulations published September 11, 2026 would make Form 8996 a separate information return with census tract detail.10 Section 6726 of the tax code sets a penalty of $500 per day for a missing or incomplete report, capped at $10,000, or $50,000 for a fund with more than $10 million in gross assets.10 The proposed regulations are not final.
See Form 8996 and Form 8997, explained, and for the investor's filing, how to elect deferral on Form 8949.
Step 4: What does the fund do with the money?
The fund puts the money to work in the zone. It must keep at least 90% of its assets in Opportunity Zone property, measured on two testing dates each year, or pay a monthly penalty on the shortfall.3,5 Most funds pass this test by owning shares or a partnership stake in a Qualified Opportunity Zone Business, an operating company that owns and runs the property.
This two-level setup gives the business more room. Only 70% of the business's tangible property, meaning physical assets such as land, buildings and equipment, has to qualify. The business can also hold cash for up to 31 months while it builds, under a written plan called the working capital safe harbor. With a series of plans, it can hold cash for up to 62 months.3,7
Fig. 2The percentage tests that keep a fund and its business qualified
- Fund assets in Opportunity Zone propertyAt least 90%0%100%
- Business tangible property that is zone business propertyAt least 70%0%100%
- Business gross income from active business in the zoneAt least 50%0%100%
- Business intangible property used in the zoneAt least 40%0%100%
- Business nonqualified financial property, such as extra cash or stocksLess than 5%0%100%
Working capital within the safe harbor does not count
The property must be new to the zone or substantially improved. New to the zone is called original use: the fund or its business is the first to put the property into service there. Substantially improved means that within 30 months the business adds more to the building's basis than the building's basis was at the start. For a building just bought, that starting basis is usually the part of the price paid for the building, not the land. In wholly rural zones the business needs to add only 50% of that basis.11 Land itself does not need to be improved.
Step 5: What happens at year 5 and year 10?
At year 5 the deferred gain is taxed after a basis increase, and from year 10 you can exclude all the growth from tax.1,12 For amounts invested on or after January 1, 2027, the deferred gain is included in income on the earlier of the date you sell the investment or five years after you made it.1,12 The basis increase, often called a basis step-up, is 10% of the deferred gain, or 30% in a Qualified Rural Opportunity Fund, and that part is never taxed.
Fig. 3The Opportunity Zone holding-period clock
Day 1
Gain realized
The sale date counts as day 1
Day 180
Last day to invest
The gain must be in a fund
Year 5
Deferred gain taxed
10% basis increase (30% rural)
Year 10
Exclusion available
Basis can equal fair market value
Year 30
Value fixed
Later growth is taxable
The year-5 tax is due while your money is still in the fund, so plan to pay it from other cash. After 10 years, when you sell your interest in the fund, you can elect to raise its basis to fair market value. No federal tax is then due on the growth. For sales after the 30th anniversary of the investment, the basis is fixed at its fair market value on that anniversary.1,12 The details are in the five-year deferral and the 10-year hold.
What does a full Opportunity Zone investment look like in numbers?
A $1 million gain run through all five steps pays $214,200 of federal tax in total in this illustrative case, instead of $238,000 on the gain plus tax on the growth. An individual sells stock in March 2027 with a $1,000,000 long-term gain. The example uses a 23.8% federal rate, which is the 20% top capital gains rate plus the 3.8% net investment income tax, and no state tax. It assumes the investment doubles over 10 years.13,14
| Step and date | What happens | Federal tax | How it is worked out |
|---|---|---|---|
| Step 1, March 2027 | Sells stock with a $1,000,000 long-term gain | $238,000 would be due if nothing is done | $1,000,000 × 23.8% |
| Steps 2 and 3, May 2027 (about day 60) | Invests $1,000,000 in a standard fund and elects deferral on Form 8949 | $0 for 2027 | The whole gain is invested within 180 days, so all of it is deferred |
| Step 4, 2027 to 2030 | The fund's business builds and leases the project | $0 | No tax is due while the gain stays deferred |
| Step 5, May 2032 (year 5) | The deferred gain is taxed after a 10% basis increase | $214,200, paid from other cash | ($1,000,000 − $100,000) × 23.8% |
| Step 5, May 2037 or later (year 10 or later) | Sells the fund interest for $2,000,000 and elects fair market value basis | $0 on the $1,000,000 of growth | Basis is set to the $2,000,000 sale value, so there is no gain; $238,000 would be due if the growth were taxed |
| Total | Federal tax on $2,000,000 of combined gain | $214,200 | $214,200 at year 5 plus $0 at the exit |
Without the program, the investor would have paid $238,000 on the original gain and then tax on any growth from reinvesting what was left. A rural fund would cut the year-5 tax to $166,600, because only 70% of the gain is taxed ($700,000 × 23.8%). A full worked example compares the after-tax results in detail, and the Opportunity Zone tax calculator runs your own numbers.
How does the process fit a data center project?
The Opportunity Zone clock fits a data center schedule well, with one caution about power. The 10-year minimum hold suits a campus that has finished construction and signed its tenants. The working capital safe harbor covers a typical build: 31 months, up to 62 with a series of plans, and extra time when a government agency is slow to act on a completed permit application.7
The caution is the utility connection. Connecting a large new electric load to the grid can take longer than the safe harbor allows. It is unsettled whether a utility's delay counts as government delay under the rule, so funds should secure power commitments before the cash goes in. See data center power timelines and the Opportunity Zone clock.
Common questions
How do Opportunity Zones work for investors?
You invest a capital gain in a Qualified Opportunity Fund within 180 days of the sale and elect deferral on your tax return. The tax on that gain is postponed for up to five years and reduced by 10% (30% in a rural fund). If you hold for 10 years, the investment's growth is free of federal tax.
Do I have to invest the entire sale proceeds?
No. You only need to invest the gain to defer it. Money above the eligible gain can go into the same fund, but that part is a separate investment with no Opportunity Zone tax benefits.
Can I invest in more than one Opportunity Zone fund?
Yes. You can split a gain among several funds. Each investment has its own investment date, its own 180-day test and its own holding-period clock.
What if I sell my fund interest before five years?
The deferred gain is taxed in the year you sell, with no basis increase. You also lose the 10-year exclusion for that interest.
Is the year-5 tax based on the original gain or the fund's value?
It is based on the smaller of the deferred gain or the investment's fair market value at that time, minus your basis increase. If the investment has lost value, the taxable amount falls.
Can a partnership invest its gain itself?
Yes. A partnership can defer a gain at the partnership level by investing within its own 180-day window. If it does not, each partner can invest their share on their own.
Sources
Every numbered note in this guide links to the source below.
- 1.U.S. Government Publishing Office (GovInfo), “26 U.S.C. 1400Z-2: Special rules for capital gains invested in opportunity zones,” 2026. govinfo.gov
- 2.Legal Information Institute, Cornell Law School, “26 CFR 1.1400Z2(a)-1: Deferring tax on capital gains by investing in opportunity zones,” n.d. law.cornell.edu
- 3.Electronic Code of Federal Regulations, “26 CFR 1.1400Z2(d)-1: Qualified opportunity funds and qualified opportunity zone businesses,” n.d. ecfr.gov
- 4.Internal Revenue Service, “Opportunity zones frequently asked questions,” n.d. irs.gov
- 5.Internal Revenue Service, “About Form 8996, Qualified Opportunity Fund,” n.d. irs.gov
- 6.Internal Revenue Service, “Form 8997, Initial and Annual Statement of Qualified Opportunity Fund (QOF) Investments,” 2024. irs.gov
- 7.ArentFox Schiff, “Qualified Opportunity Zones, the Final Regulations: What's New, What's Changed, and What's Stayed the Same,” 2020. afslaw.com
- 8.Holland & Hart, “Taxpayer-Favorable Final Opportunity Zone Regulations Issued,” 2019. hollandhart.com
- 9.Novogradac, “Interpreting and Completing OZ-Related Tax Forms,” n.d. novoco.com
- 10.Federal Register (GovInfo), “Information Reporting Regarding Qualified Opportunity Zones and Updated Qualified Opportunity Fund Certification and Decertification Procedures, 91 FR 57968,” 2026. govinfo.gov
- 11.Internal Revenue Service, “Treasury, IRS provide guidance for Opportunity Zone investments in rural areas under the One, Big, Beautiful Bill,” 2025. irs.gov
- 12.RSM US, “The OBBBA rekindles opportunity zones: What it means for real estate,” 2025. rsmus.com
- 13.Internal Revenue Service, “Topic no. 409, Capital gains and losses,” 2026. irs.gov
- 14.Internal Revenue Service, “Net investment income tax,” n.d. irs.gov
Terms in this guide
OZ Data Centers and its affiliates may sponsor, manage and invest in the Opportunity Zone funds and data center projects described here, and have a financial interest in them. This information is for general purposes only. It is not an offer to sell, or a solicitation of an offer to buy, any security, and it is not investment, tax or legal advice. Any offering will be made only through a fund's confidential offering documents, to investors who qualify (generally accredited investors), where permitted by law. Investments in private funds and data center projects are speculative and illiquid and involve a high degree of risk, including the possible loss of the entire investment. They are suitable only for investors who can bear that risk and hold the investment for ten years or longer. Opportunity Zone tax benefits are not guaranteed. They depend on each investor's circumstances, on the fund and its businesses continuing to meet the requirements of the law, and on rules that can change. Statements about future projects, timing or results are forward-looking and may not occur. Consult your own tax, legal and financial advisers.
Continue reading
Selling a business or property · 3 of 11
← Previous: Selling Real Estate? How an Opportunity Zone Fund Works for Your Gain·All 114 guides