Key takeaways
- Investing the whole $1,000,000 gain puts $238,000 more to work than paying 23.8% tax first and investing $762,000.
- At year 5 the investor pays tax on 90% of the gain, $214,200, or on 70%, $166,600, in a Qualified Rural Opportunity Fund.
- The investor's share of depreciation, $1,280,000 over ten years in this example, can offset passive income, but only up to the investor's basis, which starts at zero plus a share of fund debt.
- After ten years, the election to use fair market value removes the $2,280,000 gain on the sale, including $500,000 of gain that comes from depreciation taken during the hold.
- The example is illustrative only: it assumes the project doubles the investor's equity, ignores fees and time value, and is not an offer or a forecast.
What does a $1 million gain become in a data center Opportunity Zone fund?
In this example, the investor ends year 10 about $846,000 ahead after federal tax with a standard fund and about $894,000 ahead with a rural fund, compared with paying the tax and investing the rest in the same data center outside a fund. A Qualified Opportunity Fund is a partnership or corporation set up to invest in Opportunity Zones, which are census tracts designated for the program.
Fig. 1Net after federal tax at year 10 on a $1 million gain
Illustrative- Pay the tax, invest $762,000 outside a fund$1,461,973
- Standard fund$2,308,040
- Qualified Rural Opportunity Fund$2,355,640
The steps below follow one investor from the first choice to the sale. The general version, with no depreciation, is in Opportunity Zone tax savings: a worked example. This version adds large depreciation deductions and an exit with no recapture. The numbers only show how the rules work and are not a forecast; run your own gain through the Opportunity Zone tax calculator.
What are the assumptions in this example?
The example uses round numbers and current federal rates. In both cases the investor owns a share of the same data center; the outside investor owns 76.2% as much, because $238,000 went to tax.
| Item | Assumption |
|---|---|
| The gain | $1,000,000 long-term capital gain from selling stock to an unrelated buyer on February 1, 2027 |
| Investment date | March 1, 2027, inside the 180-day window that ends July 30, 20272 |
| Federal rate on capital gain | 23.8%: the 20% top long-term rate plus the 3.8% net investment income tax4,5 |
| Federal rate on ordinary income | 40.8%: the 37% top rate plus 3.8%, for deductions and equipment recapture6,5 |
| Federal rate on building depreciation | 28.8%: the 25% maximum rate on unrecaptured section 1250 gain plus 3.8%4,5 |
| Investor's share of the project | $2,000,000: $1,000,000 of equity and a $1,000,000 share of fund debt, interest only |
| What the $2,000,000 buys | $1,080,000 of electrical, cooling and other equipment, assumed to have a recovery period of 20 years or less (a cost segregation study would need to support this); a $780,000 building; $140,000 of land |
| Depreciation | Equipment: 100% bonus depreciation in 2027. Building: 39 years straight-line, $20,000 a year, ignoring the mid-month convention7,8 |
| Sale | April 2037, after the tenth anniversary, for $3,000,000 ($300,000 for equipment); debt repaid; $2,000,000 to the investor, a 2.0 times equity multiple (illustrative) |
| Other | No state tax or fees; operating cash paid out yearly and taxed alike in both cases; enough passive income to use the losses; the fund interest is worth at least $1,000,000 at year 5; year-5 tax paid from other cash |
A real campus takes two to three years to build, so depreciation would start later; the example starts it in 2027 for simplicity.
Step 1: invest the gain or pay the tax
Investing the gain in a fund within 180 days defers the whole $238,000 of tax and keeps all $1,000,000 invested. Under section 1400Z-2, a gain invested after December 31, 2026 is deferred until the earlier of a sale of the fund interest or the fifth anniversary of the investment.1 The 180 days begin on the day the gain would be taxed, and the regulations count that day as day 1.2
| Item | Fund | Outside a fund | How it is worked out |
|---|---|---|---|
| Federal tax on the gain in 2027 | $0 now | $238,000 | $1,000,000 × 23.8%; the fund investor defers it |
| Amount invested | $1,000,000 | $762,000 | Outside: $1,000,000 minus $238,000 |
| Investor's share of the project | $2,000,000 | $1,524,000 | Equity plus an equal share of debt in each case |
| Starting basis in the investment | $1,000,000 | $1,524,000 | Fund: $0 for gain-funded equity plus $1,000,000 of debt. Outside: $762,000 equity plus $762,000 of debt |
Basis is the amount the tax law treats as what you paid. An interest bought with deferred gain starts with a basis of zero.1 An investor's share of partnership debt counts as a contribution of money under section 752, which adds to basis.10 Only the amount of eligible gain invested gets the benefits; extra cash would be a separate, ordinary investment.1
Fig. 2Key dates for a gain realized February 1, 2027
Feb 1, 2027
Stock sold
Day 1 of 180
Mar 1, 2027
$1,000,000 invested
Gain deferred
Jul 30, 2027
Last day to invest
Day 180
Mar 1, 2032
Fifth anniversary
Deferred gain taxed, basis increased
Mar 1, 2037
Tenth anniversary
Ten-year election available
Apr 2037
Data center sold
Gain excluded by election
Step 2: the year-5 tax and the 10% or 30% basis increase
On March 1, 2032, the fifth anniversary, the deferred gain becomes taxable, reduced by a 10% basis increase in a standard fund or 30% in a rural fund. Section 1400Z-2(b)(2)(B) adds 10% of the deferred gain to basis for an investment held at least five years, and 30% for an investment in a Qualified Rural Opportunity Fund.1 That is a fund that holds at least 90% of its assets in zone property in rural zones.1
| Item | Standard fund | Qualified Rural Opportunity Fund | How it is worked out |
|---|---|---|---|
| Deferred gain | $1,000,000 | $1,000,000 | The amount invested in 2027 |
| Basis increase after five years | $100,000 | $300,000 | 10% or 30% of $1,000,000 |
| Gain taxed for 2032 | $900,000 | $700,000 | $1,000,000 minus the basis increase |
| Federal tax | $214,200 | $166,600 | $900,000 × 23.8%; $700,000 × 23.8% |
| Basis added to the interest | $1,000,000 | $1,000,000 | The basis increase plus the gain taxed |
The tax is due with the return for 2032, whether or not the data center has paid any cash, so plan to pay it from other money. The rural fund saves $47,600 more at this step.
The last line of the table matters for depreciation. Both the gain taxed and the basis increase add to the investor's basis, which frees up losses that were held back earlier. The rural rules are in Qualified Rural Opportunity Funds, and the deferral rules in how the five-year deferral works.
Step 3: depreciation passed through to the investor
A fund set up as a partnership passes its depreciation to its investors, and this investor's share is $1,280,000 over ten years. Depreciation is a yearly deduction for the cost of property that wears out. Property with a recovery period of 20 years or less that is acquired and placed in service after January 19, 2025 can take 100% bonus depreciation, which means the whole cost is deducted in the first year.8,7 A data center building is depreciated over 39 years.8
| Item | Amount | How it is worked out |
|---|---|---|
| 2027 depreciation | $1,100,000 | $1,080,000 bonus on equipment plus $20,000 on the building ($780,000 ÷ 39) |
| 2027 losses the investor can use | $1,000,000 | Capped at the $1,000,000 basis (section 704(d)); $100,000 is held back |
| Held back by the end of 2031 | $180,000 | $100,000 plus $20,000 a year for 2028 to 2031, when basis is zero |
| Released in 2032 | $180,000 | Basis rises by $1,000,000 at the fifth anniversary |
| Total depreciation 2027 to 2036 | $1,280,000 | $1,080,000 plus 10 × $20,000 |
| Tax value of the deductions | $522,240 | $1,280,000 × 40.8% |
| Same, outside a fund | $397,947 | 76.2% of the project: $975,360 × 40.8%, all usable at once |
Losses above an investor's basis are suspended until basis rises.9 Most fund investors do not work in the business, so the passive activity rules let these losses offset only income from other passive investments.12 This example assumes the investor has enough passive income.
Outside a fund, every dollar of this depreciation lowers the basis of the assets and comes back as taxable gain when they are sold. Inside a fund held ten years, it does not, as the next step shows. The full rules are in depreciation and Opportunity Zones.
Step 4: the year-10 sale and the ten-year election
After the tenth anniversary, the investor elects to treat the basis as fair market value, so the $2,280,000 gain on the sale is not taxed. Section 1400Z-2(c) provides the election for an investment held at least ten years.1 When a partnership fund sells its assets, the regulations let the investor exclude all gains and losses allocable to the qualifying investment, except gains from selling inventory.3 Practitioners read that to cover section 1231 gain and depreciation recapture.13
| Item | Without the election | With the election | How it is worked out |
|---|---|---|---|
| Tax basis of the assets | $720,000 | $720,000 | $2,000,000 cost minus $1,280,000 of depreciation; land $140,000, building $580,000, equipment $0 |
| Gain on the $3,000,000 sale | $2,280,000 | $2,280,000 | $3,000,000 minus $720,000 |
| Equipment recapture | $122,400 | $0 | $300,000 sale price minus $0 basis, ordinary income under section 1245, × 40.8% |
| Building depreciation gain | $57,600 | $0 | $200,000 of straight-line depreciation × 28.8% |
| Rest of the gain | $423,640 | $0 | $2,280,000 minus $300,000 minus $200,000 = $1,780,000 × 23.8% |
| Federal tax at the sale | $603,640 | $0 | Sum of the three lines; the election sets basis to fair market value |
Section 1245 treats gain on depreciated equipment as ordinary income, up to the depreciation taken.11 Here, $300,000 would be recaptured, and the election removes it with the rest of the gain. Sale proceeds that the fund does not distribute within 90 days are treated as reinvested in a non-qualifying interest.3
Fig. 3The investor's $2,280,000 gain and what the election removes
Illustrative- Gain on the investor's share$2,280,000
- Equipment recapture excluded−$300,000
- Building depreciation gain excluded−$200,000
- Remaining capital gain excluded−$1,780,000
- Taxable gain with the election: $0$0
More on the election is in the 10-year hold.
How does the fund compare with paying the tax and investing outside a fund?
Over ten years, the standard fund leaves the investor $846,067 ahead and the rural fund $893,667 ahead. The outside investor owns 76.2% as much of the project and pays tax at the sale.
| Line | Standard fund | Rural fund | Outside a fund | How it is worked out |
|---|---|---|---|---|
| Cash from the sale | $2,000,000 | $2,000,000 | $1,524,000 | Outside: 76.2% of $2,000,000 |
| Tax on the original gain | $214,200 at year 5 | $166,600 at year 5 | $0 more | Outside paid its $238,000 in 2027, so it invested only $762,000 |
| Tax saved by depreciation | $522,240 | $522,240 | $397,947 | Deductions × 40.8% |
| Tax at the sale | $0 | $0 | $459,974 | Outside: 76.2% of $603,640 |
| Net after federal tax | $2,308,040 | $2,355,640 | $1,461,973 | Cash minus year-5 tax plus depreciation value minus sale tax |
The $846,067 advantage of the standard fund comes from four parts:
- $476,000 more cash at the sale, because the $238,000 of tax stayed invested and doubled.
- $124,293 more depreciation value, because the fund investor owns a larger share ($522,240 minus $397,947).
- $459,974 of sale tax avoided by the ten-year election.
- Less the $214,200 of tax paid at year 5 ($476,000 + $124,293 + $459,974 − $214,200 = $846,067). The total counts dollars at face value, with no discounting.
What could change the result for a real investor?
The tax rules are fixed, but the project, the investor's tax position and the fund's compliance can each move a real result up or down.
- Project returns: the example assumes the investor's equity doubles. A smaller gain shrinks the exit benefit, and a loss removes it.
- Selling early: before ten years there is no election, so recapture and capital gain tax apply. See selling an Opportunity Zone investment early.
- Using the losses: without enough passive income, deductions wait, which lowers their value.
- Fund compliance: the exclusion depends on the fund and its business passing their tests for the whole hold. A data center run only as a triple-net lease to one tenant may not count as an active business; see data center lease structures.
- Zone dates: the 2027 zones are designated for ten years from January 1, 2027.14 A March 2027 investment reaches ten years in March 2037. We have not found Treasury guidance on that gap, so ask the fund manager how its plan handles it.
- State tax, fees and debt terms, all left out here.
For how a data center fund is organized, see how a data center Opportunity Zone fund works. Before investing, confirm your own numbers with a tax adviser.
Common questions
What returns can an Opportunity Zone data center investment produce?
That depends on the project, and no tax rule can promise a return. This example assumes the equity doubles over ten years only to show the tax rules. On that assumption, the fund leaves about $846,000 more after federal tax than investing outside a fund.
How much tax does a $1 million gain save in an Opportunity Zone data center fund?
In this example, the investor avoids $459,974 of tax at the sale and pays $214,200 at year 5 instead of $238,000 up front. With more money invested and more depreciation, the investor ends about $846,000 ahead.
Do Opportunity Zone investors get depreciation from a data center?
Yes, if the fund is a partnership. The investor's share of depreciation passes through, but it can be used only up to the investor's basis, which starts at zero plus a share of fund debt. Passive activity rules also limit the losses to passive income.
Is depreciation recaptured when an Opportunity Zone data center is sold?
Not if the investor has held the fund interest at least ten years and makes the election. The regulations let a partnership fund's investors exclude gains on an asset sale other than inventory, and practitioners read that to include depreciation recapture. A sale before ten years is taxed normally.
What is the basis increase for investments in Qualified Rural Opportunity Funds held for at least five years?
It is 30% of the deferred gain, compared with 10% in a standard fund. On a $1,000,000 gain, only $700,000 is taxed at year 5, so the federal tax at 23.8% is $166,600 instead of $214,200.
Do I have to pay the year-5 tax if the data center has not paid any distributions?
Yes. The deferred gain is taxed at the fifth anniversary whether or not the fund has paid cash, so plan to pay it from other money.
Sources
Every numbered note in this guide links to the source below.
- 1.Legal Information Institute, Cornell Law School, “26 U.S. Code § 1400Z-2: Special rules for capital gains invested in opportunity zones,” n.d. law.cornell.edu
- 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.Legal Information Institute, Cornell Law School, “26 CFR § 1.1400Z2(c)-1: Investments held for at least 10 years,” n.d. law.cornell.edu
- 4.Internal Revenue Service, “Topic no. 409, Capital gains and losses,” 2026. irs.gov
- 5.Internal Revenue Service, “Net investment income tax,” 2026. irs.gov
- 6.Internal Revenue Service, “Federal income tax rates and brackets,” 2026. irs.gov
- 7.BDO USA, “One Big Beautiful Bill Act Expands 100% Depreciation Expensing Opportunities,” 2025. bdo.com
- 8.Legal Information Institute, Cornell Law School, “26 U.S. Code § 168: Accelerated cost recovery system,” n.d. law.cornell.edu
- 9.Legal Information Institute, Cornell Law School, “26 U.S. Code § 704: Partner's distributive share,” n.d. law.cornell.edu
- 10.Legal Information Institute, Cornell Law School, “26 U.S. Code § 752: Treatment of certain liabilities,” n.d. law.cornell.edu
- 11.Legal Information Institute, Cornell Law School, “26 U.S. Code § 1245: Gain from dispositions of certain depreciable property,” n.d. law.cornell.edu
- 12.Legal Information Institute, Cornell Law School, “26 U.S. Code § 469: Passive activity losses and credits limited,” n.d. law.cornell.edu
- 13.Kilpatrick Townsend & Stockton, “Final IRS Rules Spur Development of New Opportunity Zone Funds,” 2020. ktslaw.com
- 14.U.S. Department of the Treasury, “Treasury, IRS Announce Opportunity Zones Designations for Over 6,500 Communities Across America (press release sb0682),” 2026. home.treasury.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
← Previous: How to Elect Opportunity Zone Deferral on Form 8949·All 114 guides