Two ways to start. A free fit call, or the Diagnostic in writing.
Client login786-952-6621

Selling Business Real Estate: Capital Gains, Depreciation Recapture, and 1031 Exchange

Written by Yarik Yarosh, CPA (US & Canada) September 5, 2026 · FL CPA license AC61704 · CPA Ontario

Selling business real estate triggers a two-layer tax: depreciation recapture (the gain attributable to previously claimed depreciation, taxed at 25% as “unrecaptured Section 1250 gain”) and capital gain on any appreciation above the original cost (taxed at 0%, 15%, or 20% depending on income). The 1031 like-kind exchange under IRC 1031 allows the seller to defer BOTH layers of tax by reinvesting the net proceeds into replacement real property of equal or greater value. The TCJA (2018) limited 1031 exchanges to real property only; exchanges of equipment, vehicles, machinery, and other personal property are no longer permitted. The exchange must follow strict timelines: the replacement property must be identified within 45 days and acquired within 180 days of the sale. All proceeds must be held by a qualified intermediary (the seller can’t touch the funds).

✓Key takeaway

Tax components when selling business real estate:

ComponentTax RateWhat It Covers
Depreciation recapture (unrecaptured Section 1250 gain)25%Gain up to total depreciation claimed on the property
Long-term capital gain0%, 15%, or 20% (income-based)Gain above original cost basis
Net investment income tax (NIIT)3.8%Applies if MAGI exceeds $200K single / $250K MFJ
State income taxVariesMany states don’t have a separate capital gains rate

1031 like-kind exchange requirements:

RequirementDetails
Property typeReal property exchanged for real property (since TCJA)
Held for business/investmentBoth relinquished and replacement property must be held for business use or investment (not personal residence)
Identification period45 calendar days from sale to identify replacement property
Exchange period180 calendar days from sale to close on replacement property
Qualified intermediary (QI)Required; seller can’t receive or control proceeds
Equal or greater valueReplacement must be equal or greater value to defer 100% of gain
BootAny cash or non-like-kind property received (boot) is taxable

1031 identification rules:

RuleDetails
Three-property ruleIdentify up to 3 properties (any value)
200% ruleIdentify any number of properties if total FMV doesn’t exceed 200% of relinquished property
95% ruleIdentify any number if 95%+ of identified value is actually acquired

What qualifies as like-kind real property:

Relinquished PropertyReplacement PropertyLike-Kind?
Office buildingApartment complexYes
Vacant landWarehouseYes
Retail strip centerSingle-family rentalYes
Commercial buildingUndeveloped landYes
US real propertyForeign real propertyNo (since TCJA)
Real propertyEquipment or vehiclesNo (since TCJA)

How does the tax work when selling a business property?

What types of property don’t qualify for a 1031 exchange?

Since the Tax Cuts and Jobs Act of 2017, only real property qualifies for like-kind exchange treatment. Personal property (equipment, vehicles, machinery, aircraft, artwork) no longer qualifies. Within real property, inventory, property held primarily for sale (dealer property), stocks, bonds, partnership interests, and certificates of trust do not qualify. Your primary residence and vacation homes don’t qualify unless they meet the strict rental-use requirements. Foreign real property and domestic real property are not considered like-kind to each other, so you cannot exchange a U.S. building for a foreign one.

Can I offset capital gains with capital losses from other investments?

Yes. Capital losses first offset capital gains of the same type (short-term losses against short-term gains, long-term against long-term), then any remaining net loss offsets gains of the other type. If net capital losses exceed capital gains, you can deduct up to $3,000 of the excess against ordinary income ($1,500 if married filing separately). Unused losses carry forward indefinitely to future tax years, maintaining their character (short-term or long-term). The wash sale rule (IRC 1091) prevents you from claiming a loss if you repurchase substantially identical securities within 30 days before or after the sale. Tax-loss harvesting before year-end is a common strategy to realize losses that offset gains elsewhere in the portfolio.

Related guides:

Does selling a rented commercial building free old losses?

Yes, if you sell your entire interest in the activity to an unrelated buyer in a fully taxable sale. Suspended passive losses from the building first offset passive income from your other activities that year, and whatever’s left is treated as non-passive, so it can offset other income.

A 1031 exchange works differently. It generally doesn’t free suspended losses, because the gain isn’t fully recognized, so the losses keep carrying forward. That’s worth weighing against the $128,039 the exchange defers in the example above.

A large release can still be trimmed. The excess business loss limit applies after the passive rules, at $313,000 ($626,000 joint) for 2025 and $256,000 ($512,000 joint) for 2026, and the limit is now permanent. Any excess becomes a net operating loss carryover. And a sale to a related party doesn’t free the losses at all until that party sells to someone unrelated.

Want this checked against your own situation?

Start with a Diagnostic: a CPA licensed in the US and Canada reads your file and tells you in writing what's wrong and how to fix it, three to four business days after you finish the questions. The report is $250. If you hire us for any work after that, you get the $250 back as a discount on that work. Or send us your return or your letter and get a fixed price, free.

Get the next cross-border guide by email

One or two plain-English guides a week on US-Canada tax. No spam, unsubscribe anytime.

Cite this page

Yarik Yarosh, CPA. "Selling Business Real Estate: Capital Gains, Depreciation Recapture, and 1031 Exchange." Blue Cloud CPA, September 5, 2026, updated September 23, 2026. https://bluecloudcpa.com/guides/small-business-tax-implications-selling-commercial-real-estate

This guide is general information, not tax advice for your specific situation. Which points apply, and how, depends on your facts.