Last updated: September 11, 2026

Capital Gains Tax and 1031 Exchanges on a Data Center Land Sale

Selling land to a data center developer is taxed like any other sale of investment real estate — the gain is generally long-term capital gain if you've held the parcel over a year, and a Section 1031 like-kind exchange can defer that tax by rolling proceeds into other qualifying real property, not necessarily more land or another data center site. Whether deferral is actually worth pursuing depends on what you plan to do with the money.

⚡ TL;DR — Taxes on a Land Sale

  • 2026 federal LTCG rates: 15% bracket applies above the 0% threshold up to $545,500 single / $613,700 married filing jointly; 20% above that
  • Extra surtax: a 3.8% net investment income tax applies once modified AGI exceeds $200,000 single / $250,000 married filing jointly
  • 1031 exchange: raw land held for investment qualifies as like-kind to virtually any other US real property — not just similar land
  • Rigid deadlines: 45 days to identify replacement property, 180 days to close, both non-extendable, with a qualified intermediary required
  • Alternative: an installment sale can spread the tax bill across years without the reinvestment requirements of a 1031
  • • General information, not tax advice — talk to a CPA before you sign, not after you close

How Is a Land Sale to a Data Center Developer Actually Taxed?

If you've owned the parcel for more than a year, the gain — sale price minus your cost basis and selling expenses — is taxed as a long-term capital gain rather than ordinary income. For 2026, the federal long-term capital gains brackets work on a stacking basis: a 0% rate applies up to a lower income threshold, then 15% applies above that up to $545,500 for single filers and $613,700 for married filing jointly, and 20% applies above those levels. On top of the capital gains rate itself, a 3.8% net investment income tax (NIIT) applies once your modified adjusted gross income exceeds $200,000 (single) or $250,000 (married filing jointly) — and a large land sale is exactly the kind of one-time event that can push a filer's income over that NIIT threshold for the year, even if their regular income is modest.

One wrinkle worth flagging early: if you regularly buy, subdivide, and sell parcels as a business rather than holding land as an investment, the IRS can treat you as a real estate "dealer," which converts the gain to ordinary income and takes 1031 treatment off the table entirely. A one-off sale of family or inherited land to a developer is very unlikely to trigger dealer status, but someone who's actively subdivided and flipped several parcels in the same window should discuss this distinction with a CPA before assuming standard capital gains treatment applies.

Site Intake

Have land you're considering selling to a data center developer?

Submit it for a confidential site review — tax planning is separate from site fit, but both matter before you sign anything.

Your information is reviewed privately. We only use submissions to evaluate potential fit and relevant opportunities.

Can I Defer the Tax With a 1031 Exchange?

Possibly, and the rules are broader than a lot of sellers assume. A Section 1031 like-kind exchange lets you defer capital gains tax by reinvesting sale proceeds into other real property, rather than taking the money as cash. Since the 2017 tax law limited 1031 treatment to real property only (it used to also cover certain personal property and equipment), the definition of "like-kind" for real estate has stayed intentionally broad: raw land held for investment or business use is like-kind to essentially any other US real property held for investment or business use. That means proceeds from selling farmland to a data center developer could go into a commercial building, a multifamily property, or a completely different parcel in another state — you're not limited to buying more raw land or another site near a substation.

The mechanics are unforgiving. You have 45 days from closing to formally identify replacement property in writing, and 180 days total to close on it — both deadlines run concurrently from the same closing date, not sequentially, and neither one moves for a slow-closing replacement deal. You also can't touch the sale proceeds at any point in the process; a qualified intermediary has to hold the funds between the sale and the purchase, or the entire exchange is disqualified retroactively. This isn't something to set up after you've already received a wire — the intermediary and exchange language need to be built into the purchase agreement before you close on the relinquished property.

Raw land carries one quiet advantage in this process: because it's typically never been depreciated, there's no depreciation recapture to untangle at sale the way there would be on an improved commercial building. The entire gain on raw land held over a year is straightforward long-term capital gain, which makes both the tax calculation and the exchange itself somewhat cleaner than a comparable exchange involving depreciated property.

What About an Installment Sale Instead?

An installment sale under Section 453 is a different tool for a different problem. Instead of deferring the tax indefinitely by buying replacement real estate, an installment sale spreads recognition of the gain across the years you actually receive payment — useful if a developer is paying you over time through seller financing, staged option-to-purchase payments, or a phased land assemblage rather than one lump sum at closing. Reporting gain proportionally as cash comes in can keep you under a higher capital gains bracket in any single year, and it doesn't require you to reinvest in anything. The tradeoff is that it only spreads the timing of the tax bill — it doesn't eliminate or permanently defer it the way a completed 1031 exchange can, and there are specific rules around what happens if you later sell or pledge the installment note itself. This is a separate structure from a 1031 exchange, not a substitute for one, and the two generally aren't combined on the same sale without careful planning.

A Wrinkle Specific to Farmland

If the parcel is currently assessed under a state agricultural-use property tax program, converting it out of farm use to close a data center deal can trigger a separate rollback or recapture tax at the county level — a different issue entirely from federal capital gains, and one that needs to be quantified with the county assessor before you finalize pricing. See our full guide to selling farmland to data center developers for how rollback taxes, water rights, and existing tenant leases layer on top of the capital gains and 1031 questions covered here.

When a 1031 exchange isn't actually worth it

Deferral isn't automatically the right move. If you plan to spend the proceeds, pay down debt, diversify into stocks or other non-real-estate assets, or simply retire and stop managing property, a 1031 exchange forces you into buying more real estate on a strict 180-day clock — with intermediary fees and the ongoing responsibility of owning another property — purely to defer a tax bill you may not mind paying. If your total income for the year keeps you in the 0% or lower 15% capital gains bracket, the tax savings from deferral may be smaller than the cost and constraint of finding suitable replacement property in six months. For sellers sitting on very large gains who want deferral without buying more directly-managed real estate, a Qualified Opportunity Fund is worth comparing against a 1031 exchange — see our guide to Opportunity Zones for data center land for how that alternative deferral path works and where it's a better fit than a like-kind exchange.

State Tax Treatment Isn't Automatic

Everything above describes federal tax treatment. States don't uniformly conform to federal 1031 rules — some fully recognize the deferral, some require additional state-level reporting or clawback provisions if you later sell replacement property located outside the state, and a handful have their own withholding requirements on real estate sale proceeds at closing regardless of your federal exchange status. None of this is a reason to avoid a 1031 exchange, but it is a reason to loop in a CPA licensed in the state where the land sits — not just a national 1031 intermediary — before you finalize the structure.

General information, not tax, legal, or financial advice. Tax rules and thresholds change and vary by individual circumstances — consult a CPA or tax attorney before structuring any sale.

Where This Fits Into a Land Sale

Tax structure is worth thinking through early, not after a buyer is already at the table. See our full guide to selling land to data center developers for how a deal moves from initial interest through option agreement and closing, our comparison of ground lease vs. selling outright since the two structures carry very different tax treatment, and our guide to data center land option agreements for how option payments typically get negotiated before you get to the sale itself. If you're still working out what your land might actually be worth before running any of these numbers, start with how data center land is actually valued. Tax incentives a developer receives — see data center tax incentives and abatements — are a separate, state-level topic from what you personally owe on your sale proceeds; the two shouldn't be confused when you're pricing a deal.

Frequently Asked Questions

Do I have to reinvest in another data center site to use a 1031 exchange?

No. Since the 2017 tax law restricted like-kind exchanges to real property, raw land held for investment or business use is treated as like-kind to virtually any other US real property held for investment or business use — an apartment building, a commercial strip center, a warehouse, or another farm all qualify as replacement property. You don't need to reinvest in similar land, another data center parcel, or even the same state.

What happens if I miss the 45-day identification or 180-day closing deadline?

The exchange fails and the transaction is treated as a normal taxable sale in the year you closed — you owe capital gains tax on the full gain, with no do-over. Both deadlines run from the closing date of the relinquished property and aren't extended for weekends, holidays, or a slow-moving replacement purchase. This is one of the least forgiving parts of the tax code; line up a qualified intermediary and start scouting replacement property before you close, not after.

Is an option payment taxed the same way as a land sale?

No, and this trips people up. Money received for granting an option to purchase your land is generally not taxed when you receive it — it sits in suspense. If the option is exercised, the payment gets added to the sale price and taxed as part of the eventual sale. If the option lapses without being exercised, the payment is typically treated as ordinary income to you in the year it lapses, not capital gain. Confirm the specific treatment with a CPA before you spend option income assuming it's already been taxed favorably.

Can I do a 1031 exchange on land I inherited?

Yes, if you hold it for investment or business use going forward — inherited land generally gets a stepped-up basis to fair market value as of the date of death, which by itself can eliminate most or all of the taxable gain if you sell soon after inheriting. That stepped-up basis is often more valuable than a 1031 exchange for inherited property, since it may mean there's little gain left to defer in the first place. Get a date-of-death appraisal or use estate valuation records to establish the stepped-up basis before you sell.

Do I need a CPA or qualified intermediary before I sign the purchase agreement?

Before, not after. A 1031 exchange requires a qualified intermediary to hold your sale proceeds — if the money touches your bank account, even briefly, the exchange is disqualified regardless of intent. The intermediary needs to be lined up and the exchange language built into the purchase agreement ahead of closing. Bringing in a CPA after you've already received a check is usually too late to do anything but calculate what you owe.

Site Intake

Considering a sale but haven't run the numbers yet?

Submit your site for a confidential review — get a realistic read on fit and value before you talk to a CPA about structure.

Your information is reviewed privately. We only use submissions to evaluate potential fit and relevant opportunities.