Key takeaways
- Buying REIT shares or a private fund interest with sale proceeds does not defer the tax on the gain, which is due for the year of the sale.
- An Opportunity Zone fund defers an eligible gain invested within 180 days until the earlier of a sale and the fifth anniversary, for investments made after December 31, 2026.
- In an illustrative case, a $1,000,000 gain at 23.8% owes $238,000 for the year of sale on the first two routes, and $214,200 at year five in a standard Opportunity Zone fund.
- Listed REIT shares trade daily; non-traded REITs and private funds limit withdrawals, and an Opportunity Zone fund needs a ten-year hold for tax-free growth.
- Ordinary REIT dividends get the permanent 20% section 199A deduction, which puts the top federal rate on them at 29.6% before the 3.8% net investment income tax.
What are the ways to invest capital gains in data centers?
There are three main routes: data center REITs, private data center funds and Opportunity Zone funds that own data centers. A capital gain is the profit when you sell something for more than you paid. Once the sale closes, any of the three can hold the money. They differ in what happens to the tax on the gain, how easily you can get your money back and who may invest.
A real estate investment trust (REIT) is a company that owns income-producing real estate and pays out most of its income as dividends. Nareit, the REIT trade group, describes data center REITs as companies that own and manage specialized facilities housing critical IT infrastructure, with tenants that include the largest cloud companies.4 Some REITs trade on a stock exchange. Others are non-traded and are sold through brokers.
Private data center funds are partnerships, run by a fund manager, that build or buy data centers with investors' money and bank loans. This route has grown quickly. The CRE Finance Council reports that tech companies paid for 80% of data center development themselves in 2021, but by 2025, 60% of development involved institutional investors.11 An Opportunity Zone fund is a private fund that also meets the tax law's tests. See what an Opportunity Zone data center is.
Fig. 1Three routes for a capital gain into data centers
Listed or non-traded
Data center REIT shares
- Gain is taxed for the year of the sale
- Listed shares trade on any trading day
- Dividends are mostly ordinary income
- Owns many buildings across markets
Usually a partnership
Private data center fund
- Gain is taxed for the year of the sale
- Money is usually locked up for years
- Usually open only to accredited investors
- Income and depreciation pass through on a K-1
Qualified Opportunity Fund
Opportunity Zone fund
- Gain is deferred up to five years and reduced by 10% or 30%
- Growth is untaxed after a ten-year hold
- Must invest within 180 days of the sale
- Designed to be held ten years or more
What happens to the capital gains tax on each route?
Only the Opportunity Zone route changes the tax on the gain you already have. If you sell stock and buy REIT shares or a private fund interest, you owe tax on the gain for the year of the sale, the same as if you kept the cash. The top federal rate on long-term capital gains is 20%, plus the 3.8% net investment income tax for higher earners.7,8
An Opportunity Zone fund defers the gain if you invest it as equity within 180 days of the sale and elect deferral on your tax return.1,3 For gains invested after December 31, 2026, the tax is deferred until the earlier of a sale or other inclusion event and the fifth anniversary of the investment. At five years, your basis rises by 10% of the deferred gain, or 30% in a Qualified Rural Opportunity Fund. Basis is the amount the tax law treats as what you paid. After ten years, you can elect to set basis to fair market value when you sell, which leaves the growth untaxed. For a sale after 30 years, basis is set to fair market value on the 30th anniversary.1
The table follows one illustrative $1,000,000 long-term gain from a stock sale in 2027. It assumes a 23.8% federal rate, no state tax, and an Opportunity Zone investment worth at least $1,000,000 at year five.
| Route | Tax on the gain | When it is due | How it is worked out |
|---|---|---|---|
| Data center REIT shares | $238,000 | For the year of the sale | $1,000,000 × 23.8%. Buying shares does not defer the gain |
| Private data center fund | $238,000 | For the year of the sale | $1,000,000 × 23.8%. A fund that is not a Qualified Opportunity Fund cannot defer it |
| Opportunity Zone fund | $214,200 | For the year of the fifth anniversary | A 10% basis increase leaves $900,000 taxable; $900,000 × 23.8% |
| Qualified Rural Opportunity Fund | $166,600 | For the year of the fifth anniversary | A 30% basis increase leaves $700,000 taxable; $700,000 × 23.8% |
Fig. 2Federal tax on a $1,000,000 gain, by route
Illustrative- Data center REIT shares$238,000
- Private data center fund$238,000
- Opportunity Zone fund$214,200
- Qualified Rural Opportunity Fund$166,600
The bigger difference is what happens to growth. On the first two routes, growth is taxed when you sell. In an Opportunity Zone fund held ten years, it is not taxed at all. Only the eligible gain you invest gets these benefits. Extra cash in the same fund is a separate investment with ordinary tax treatment.1 You can try your own numbers in the Opportunity Zone tax calculator.
How is the income from each route taxed while you hold it?
REIT dividends are mostly taxed as ordinary income, while private and Opportunity Zone funds usually pass their income and deductions through to you. Ordinary REIT dividends qualify for the section 199A deduction, which lets you deduct 20% of them. The 2025 tax law, Public Law 119-21, made that deduction permanent at 20%.5 With the top ordinary rate at 37% for 2027, the top federal rate on ordinary REIT dividends works out to 29.6% (37% × 80%), before the 3.8% net investment income tax.6,8
Most private data center funds are partnerships. Each year they send investors a Schedule K-1, the form that reports each partner's share of income, deductions and credits. Data centers have large depreciation deductions, which are yearly write-offs for the wear of the building and equipment, and these can offset rental income. When the fund sells, the part of the gain that comes from depreciation on the building can be taxed at up to 25%.7
An Opportunity Zone fund set up as a partnership works the same way during the hold. The difference comes at the end. If you have held at least ten years and elect fair market value basis, selling your fund interest produces no taxable gain, so the earlier depreciation is not taxed back.1 See depreciation in Opportunity Zone investments and how a data center Opportunity Zone fund works.
How liquid is each route, and who can invest?
Listed REIT shares are the most liquid, and private and Opportunity Zone funds are the least. Shares of a listed REIT trade on a stock exchange such as the NYSE or Nasdaq, so you can buy and sell them as easily as other listed stocks.9
Non-traded REITs do not trade on an exchange. The SEC warns that they are illiquid, that their redemption programs are limited and can be suspended, and that a listing or sale of the REIT may not happen for more than ten years.9 Private funds are usually sold only to accredited investors. For an individual, that means a net worth over $1 million not counting the main home, income over $200,000 ($300,000 with a spouse or partner) in each of the last two years, or certain securities licenses.10 Each fund sets its own minimum investment.
| Route | How you get money out | Who can usually invest | Hold needed for a tax benefit |
|---|---|---|---|
| Listed data center REIT | Sell shares on the exchange | Anyone with a brokerage account | None, because the gain is not deferred |
| Non-traded REIT | A limited redemption program, or a later listing or sale | Set by each offering | None |
| Private data center fund | A sale or refinancing of the assets, usually after several years | Usually accredited investors | None |
| Opportunity Zone fund | A sale of the data center or of your fund interest, usually after ten years | Anyone with an eligible gain; private offerings usually require accredited status | Five years for the basis increase and ten years for tax-free growth |
An Opportunity Zone fund is built for a long hold. Selling before year five ends the deferral early, and selling before year ten gives up the tax-free growth. See who can invest in an Opportunity Zone fund.
How long do you have to invest a gain in a data center fund?
You have 180 days from the sale to invest in an Opportunity Zone fund, and no deadline on the other routes, because they give no deferral. The 180 days start on the day the gain would be recognized for tax purposes, which counts as day 1.2 Partnership gains and section 1231 gains, which come from selling business property, have their own start dates.2
Fig. 3Key dates for a gain invested in an Opportunity Zone fund
Day 1
Sale
The 180-day window opens
Day 180
Last day to invest
The gain must go in as equity
Year 5
Deferred gain taxed
After a 10% or 30% basis increase
Year 10
Tax-free growth
Fair market value election on a sale
Year 30
Growth limit
Basis set to fair market value if not yet sold
You elect deferral on Form 8949, filed with your tax return for the year of the sale.14 You then file Form 8997, a statement of your fund investments, with your tax return every year you hold the investment.14 See the 180-day rule and which gains qualify for deferral.
What risks come with each route?
All three routes depend on the same demand for computing, but they carry different risks. JLL estimates that data center spending could approach $3 trillion over the next five years, including $1 trillion to $2 trillion of tenant fit-out.15 Spending on that scale also raises the chance that some markets end up with more space than tenants need.
- Listed REITs: share prices move with the stock market and interest rates, even when the buildings are full.
- Non-traded REITs: limited redemption programs that can be stopped without notice, and distributions that may be paid from investors' own money or from borrowing, as the SEC warns.9
- Private funds: construction risk, delays in getting utility power, reliance on a few large tenants, and loans that magnify losses.
- Opportunity Zone funds: the same project risks, plus the tax tests. If the fund or its business fails them, investors can lose the benefits. See Opportunity Zone investment risks.
Policy risk falls on data centers in particular. Sen. Josh Hawley introduced S. 5418, the No Tax Breaks for Data Centers Act, which would exclude data centers from Opportunity Zone benefits.13 Sen. Ron Wyden's discussion draft would also bar data center businesses and newly acquired data center property from those benefits, and would stop certain privately held REITs from counting rent from newly acquired data centers as qualifying income.13 Both are proposals, not law. Mayer Brown, a law firm, expects them to be reintroduced in the new Congress and judges passage as standalone bills unlikely, though they could be added to larger must-pass bills.12
What should you ask before investing a gain in data centers?
Ask the same core questions on every route, and add the tax questions if you want deferral. OZ Data Centers, a BlackForge Ventures company, manages Opportunity Zone data center funds, and these questions apply to any fund manager, including us.
- 1.What exactly does the vehicle own: land, buildings, power plant or servers, and in which markets?
- 2.Who are the tenants, how long are their leases, and who runs the facility? See powered shell vs. turnkey data centers.
- 3.Is utility power under contract, and when will the utility deliver it?
- 4.How much debt does the vehicle use, and what fees does it charge?
- 5.How and when can I get my money out?
- 6.For an Opportunity Zone fund: is the site in a designated 2027 zone, how does the business meet the 70% property and 50% income tests, and does it run the building rather than only lease it?
- 7.For an Opportunity Zone fund: does my gain qualify, and what is my 180-day deadline? Confirm both with your tax adviser.
For a fuller checklist, see Opportunity Zone fund due diligence and data centers in Opportunity Zones: the complete guide.
Common questions
Can I invest capital gains in data centers tax free?
Partly, through an Opportunity Zone fund. The original gain is deferred and reduced by a 10% or 30% basis increase at year five, but it is still taxed. Growth on the investment is tax-free if you hold at least ten years and make the fair market value election when you sell.
Does buying REIT shares defer capital gains tax?
No. Reinvesting sale proceeds in REIT shares, listed or non-traded, does not defer the tax on the gain. You owe it for the year of the sale.
How long do I have to reinvest capital gains in an Opportunity Zone fund?
You have 180 days, and the day of the sale counts as day 1. Partnership gains and section 1231 gains have their own start dates. Missing the deadline means the gain cannot be deferred.
Can I use a 1031 exchange to invest in a data center?
Only by exchanging real property you held for business or investment for other real property, such as a data center building you buy directly. Section 1031 covers only real property, so REIT shares and most fund interests cannot be bought with a 1031 exchange.16 See whether you can 1031 into an Opportunity Zone and an Opportunity Zone fund vs. a 1031 exchange.
What is the minimum investment for a data center fund?
Each fund sets its own minimum, and private funds are usually open only to accredited investors. Listed data center REITs have no minimum beyond the price of one share.
Are data center REIT dividends qualified dividends?
Most are not. Ordinary REIT dividends are taxed as ordinary income, but they qualify for the 20% section 199A deduction, which makes the top federal rate 29.6% before the 3.8% net investment income tax.
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.Internal Revenue Service, “Opportunity Zones frequently asked questions,” 2026. irs.gov
- 4.Nareit, “Data Center REITs,” n.d. reit.com
- 5.DLA Piper, “One Big Beautiful Bill Act: Top points for real estate and REITs,” 2025. dlapiper.com
- 6.Internal Revenue Service, “IRS releases tax inflation adjustments for tax year 2027,” 2026. irs.gov
- 7.Internal Revenue Service, “Topic no. 409, Capital gains and losses,” n.d. irs.gov
- 8.Internal Revenue Service, “Net Investment Income Tax,” n.d. irs.gov
- 9.U.S. Securities and Exchange Commission (Investor.gov), “Investor Bulletin: Non-traded REITs,” n.d. investor.gov
- 10.U.S. Securities and Exchange Commission, “Accredited investors,” n.d. sec.gov
- 11.CRE Finance Council, “Data Center E-Primer: Understanding the New Infrastructure of the Digital Economy,” 2026. crefc.org
- 12.Mayer Brown, “The Outlook for Data Center Tax Policy in the 120th Congress,” 2026. mayerbrown.com
- 13.Grant Thornton, “Wyden releases sweeping data center tax proposal,” 2026. grantthornton.com
- 14.Internal Revenue Service, “Invest in a Qualified Opportunity Fund,” n.d. irs.gov
- 15.JLL, “2026 Global Data Center Outlook,” 2026. jll.com
- 16.Legal Information Institute, Cornell Law School, “26 U.S. Code § 1031, Exchange of real property held for productive use or investment,” n.d. law.cornell.edu
Terms in this guide
- Net investment income tax
- Fair market value
- Capital gain
- Accredited investor
- Section 1231 gain
- Opportunity Zone data center
- 1031 exchange (like-kind exchange)
- Form 8949
Full glossary →·All guides on Data centers in Opportunity Zones →
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: Powered Shell vs. Turnkey Data Center: What Is the Difference?·All 114 guides