Commercial Real Estate Capital Gains Tax: What You’ll Owe

Commercial real estate capital gains tax decides how much of your sale profit you actually keep. If you are moving from single-family rentals into apartment buildings, retail, industrial, or NNN property, this is where commercial investing stops being simple and starts becoming a planning business. In plain English, commercial real estate capital gains tax is the tax due when your sale price exceeds your adjusted basis, and your adjusted basis is your original cost plus certain improvements, minus depreciation.

Here is what matters most: your tax bill is not one rate and not one calculation. It is driven by four variables, your holding period, how the gain is classified, federal add-ons like NIIT, and your state tax exposure. That is why two owners can sell for the same price and walk away with very different after-tax proceeds.

What you will learn:

  • How adjusted basis actually works
  • The four drivers of tax owed
  • Federal rates for 2025
  • How depreciation changes the exit math
  • A full dollar example with all tax layers
  • The strongest deferral strategies
  • Mistakes that cut into sale proceeds

Commercial Real Estate Capital Gains Tax Basics

Commercial real estate capital gains tax applies when you sell a property for more than its adjusted basis. That sounds straightforward, but in practice it reaches into ROI, refinance strategy, hold period planning, and reinvestment capacity. For a larger apartment building or stabilized NNN asset, this tax bill can remove six or seven figures from deployable capital if you do not plan before listing.

Based on analysis of actual transaction outcomes, the strategic stake is simple: tax planning drives after-sale proceeds. After-sale proceeds drive buying power. Buying power drives long-term portfolio growth.

The Core Formula: Sale Price Minus Adjusted Basis

The IRS defines capital gain as the difference between sale proceeds and adjusted basis. Your adjusted basis starts with purchase price, then increases for capital improvements and certain acquisition-related items added to basis, then decreases for depreciation claimed over the hold period.

That last piece is where many residential investors get surprised. Depreciation reduces taxable income during ownership, but it also reduces basis. Lower basis means higher taxable gain when you sell. So your sale price alone tells you almost nothing about what you will owe.

Why Commercial Property Creates Bigger Tax Planning Stakes

Commercial assets create larger tax stakes because the numbers are bigger, hold periods are often longer, and structure matters more. You are dealing with larger depreciation schedules, entity-level planning, possible cost segregation, financing decisions, and state tax differences that can swing net proceeds materially.

A small residential rental sale often feels like a reporting event. A commercial sale is a planning event. Structure changes outcomes.

A commercial property closing scene showing a stack of sale documents next to a property deed, a calculator, a folder of renovation receipts, and a depreciation schedule, with a miniature office building model and several coins arranged to suggest sale price, basis, and taxable gain being compared

The Four Drivers of What You’ll Owe

Four drivers determine your commercial real estate capital gains tax bill. If you model these correctly before sale, you control the result. If you ignore them, the closing table controls it for you.

1. Holding Period: Short-Term vs. Long-Term Gain

Holding period is the first decision point. Property held more than one year generally qualifies for long-term capital gains treatment. Property held one year or less is short-term and taxed at ordinary income rates.

That difference is enormous. Selling an asset 11 months after acquisition can push gain into your ordinary bracket and erase a large share of your profit. Selling after the one-year mark usually lowers the federal rate on the appreciation portion of gain and immediately improves after-tax ROI.

2. Gain Character: Capital Gain vs. Depreciation Recapture

Not all gain is taxed the same way. Commercial investors often talk about “the capital gains rate” as if there is one bucket. There is not.

On sale, part of your gain is usually long-term capital gain. Another part is unrecaptured Section 1250 gain, which is tied to depreciation deductions taken over time and faces a maximum 25% rate. If you have used cost segregation and accelerated deductions, this layer becomes even more important.

3. Federal Add-Ons: NIIT and Estimated Tax Payments

The headline capital gains rate is often incomplete. A large sale can trigger the 3.8% Net Investment Income Tax for qualifying taxpayers, and the IRS also notes that taxpayers with taxable capital gains may need estimated tax payments.

For high-income investors, NIIT turns a “20% capital gains rate” into a larger effective tax burden across the total gain. That is why sale modeling has to include all three layers: capital gain, depreciation recapture, and NIIT.

4. State and Local Taxes

State tax is where net proceeds often get mispriced. Federal planning matters, but state income tax, transfer tax, and local transaction charges can materially reduce proceeds. Texas has no state income tax on capital gains, which saves an additional 5% to 13% compared with states such as California or New York. On a large disposition, that difference alone can fund closing costs on the next acquisition.

State treatment is not static, either. For example, Washington’s 9.9% capital gains tax on income over $1 million shows how state-level changes can directly affect investor math.

Federal Capital Gains Rates for Commercial Real Estate

This is the rate framework most investors are actually searching for, but it only makes sense once the gain is separated into the right buckets.

Long-Term Capital Gains Rates

For tax years beginning in 2025, most net capital gains are taxed at 0%, 15%, or 20% federally, depending on taxable income. Most commercial real estate investors selling meaningful assets land in the 15% or 20% range.

For planning purposes, assume 20% on the appreciation portion unless your taxable income model clearly lands lower. Conservative modeling protects decisions.

Short-Term Gains Are Taxed as Ordinary Income

Short-term gains are taxed as ordinary income, full stop. If you flip a commercial asset or sell before long-term treatment applies, the tax cost usually jumps fast.

That timing mistake is avoidable. The recommendation is to model the exact day long-term treatment begins before signing a contract.

The 25% Rate on Unrecaptured Section 1250 Gain

Unrecaptured Section 1250 gain is the tax layer tied to prior depreciation on real property. Residential investors often understand depreciation as a useful annual deduction but do not fully model the sale consequence. In commercial real estate, that is a serious gap.

The more depreciation you have claimed, the more likely you are carrying a meaningful 25% tax layer into the sale.

Depreciation, Cost Segregation, and Why Commercial Sales Get More Complicated

Buying-side tax strategy and selling-side tax cost are the same decision viewed at different times. That is the commercial mindset.

Commercial vs. Residential Depreciation Rules

Residential rental buildings are generally depreciated over 27.5 years. Commercial buildings generally use 39 years. That slower depreciation schedule means lower annual building deductions than residential rentals, but it also changes how basis declines over time and how gain builds on exit.

If you are coming from duplexes or fourplexes, this is one of the first major shifts. Commercial property often produces less building depreciation each year unless you actively accelerate components through a cost segregation study.

Cost Segregation and Bonus Depreciation

A cost segregation study breaks building components into shorter recovery periods, which creates larger early deductions. In the current environment, 100% bonus depreciation is restored for qualifying property placed in service after Jan. 19, 2025 and before Jan. 1, 2031.

That improves early cash flow and time-to-value. It also lowers basis faster. The tax benefit is real, but it is not free money. It is tax acceleration.

Bigger Early Deductions Often Mean Bigger Recapture Later

Here is the tradeoff. Bigger deductions today improve current cash flow, debt coverage, and reinvestment speed. But those same deductions often increase recapture or total gain at sale unless you pair them with a deferral strategy such as a 1031 exchange.

The recommendation is to evaluate acquisition-year deductions and exit-year tax as one combined ROI model, not two separate conversations.

A Dollar Example: How a Commercial Sale Tax Bill Is Calculated

This is the part most articles skip. The mechanics are what drive the decision.

Example: Apartment Building or NNN Property Sale

Assume you bought a commercial property for $1,000,000. Over 10 years, you claimed $256,410 of depreciation. During ownership, you completed $100,000 of capital improvements. You then sell the property for $1,500,000.

Start with adjusted basis:

Adjusted basis = purchase price – accumulated depreciation + capital improvements
Adjusted basis = $1,000,000 – $256,410 + $100,000
Adjusted basis = $843,590

Now calculate total gain:

Total gain = sale price – adjusted basis
Total gain = $1,500,000 – $843,590
Total gain = $656,410

Now split that gain into tax layers.

First layer, depreciation recapture under Section 1250, up to prior depreciation claimed:
$256,410 × 25% = $64,103

Second layer, remaining long-term capital gain:
Remaining gain = $656,410 – $256,410 = $400,000
$400,000 × 20% = $80,000

Third layer, NIIT on total gain for a taxpayer above the threshold:
$656,410 × 3.8% = $24,943.58

Estimated federal tax bill:
$64,103 + $80,000 + $24,943.58 = $169,046.58

If this sale happens in Texas, state income tax on the gain is $0. If the same investor sells in a high-tax state with a 10% effective state tax exposure on the gain, add about $65,641. That pushes total tax near $234,688. The geographic difference alone materially changes reinvestment power.

And here is the 1031 exchange effect: if you structure a valid like-kind exchange and reinvest under the exchange rules, you defer all three federal layers in current year economics, capital gain, depreciation recapture, and the NIIT tied to the recognized gain. You also preserve more capital for the replacement property.

How the Same Investor Outcome Changes With Better Timing

Now compare two outcomes. Sell before one year, and the gain is taxed at ordinary income rates rather than long-term capital gains rates. For a high-income investor, that usually means a dramatically larger federal bill.

Compare a taxable sale with a 1031 exchange and the difference is even sharper. In the taxable sale above, about $169,047 goes to federal tax before any state layer. In a properly executed 1031 exchange, that amount stays in the deal and remains available for the next acquisition. That is why deferral often beats rate shopping.

A tabletop financial planning scene with a model apartment building, a spreadsheet printout, a calculator, a pen, and separate piles of coins and bills grouped into three sections to represent depreciation recapture, capital gain, and net investment income tax, alongside a second set of documents implying an exchange into a replacement property

The Three Main Ways to Defer or Reduce Capital Gains Tax

The field data shows that serious investors focus on three tools because these are the structures that materially change after-tax proceeds.

1. 1031 Exchange

A 1031 exchange defers capital gains tax and depreciation recapture when you sell investment property and acquire qualifying replacement property. It remains the primary deferral tool for active commercial investors because it preserves equity and buying power.

Execution matters. You need a qualified intermediary, the right identification timeline, the right closing sequence, and full reinvestment if you want full deferral. Miss the rules and the tax bill comes back immediately.

2. Opportunity Zone Investments

Qualified Opportunity Funds defer recognized gain when structured properly, and a 10-year holding period can exclude post-investment appreciation from federal taxable income. That is why Opportunity Zones remain relevant for investors exiting appreciated commercial assets.

The post-2025 environment is stronger. The program becomes permanent starting in 2027, and rural funds get enhanced treatment, including a 30% basis step-up after five years and only a 50% substantial improvement threshold.

3. Installment Sales and Related Deferral Structures

Installment sales spread gain recognition over multiple years, which can help manage cash flow and bracket pressure. This works best when the buyer can support seller financing and you want to distribute taxable gain over time rather than absorb it all in one year.

The catch is depreciation recapture does not wait politely in the background. That portion is generally accelerated into current taxation, so installment treatment helps more with capital gain timing than with recapture timing.

Additional Tax Strategies That Change the Outcome

High-level planning does not stop with the sale structure.

Tax Loss Harvesting and Gain Netting

Capital losses offset capital gains. If losses exceed gains, the IRS generally limits the ordinary income offset to $3,000 per year, with excess carried forward. For investors holding multiple assets, including securities, this creates a real planning opportunity in the sale year.

The recommendation is to review the full portfolio, not just the property being sold.

Section 179D and Other Current-Year Deductions

Section 179D does not erase capital gain directly, but it can improve your overall tax posture in the sale year. Eligible buildings placed in service after Dec. 31, 2022 can generate up to $5.80 per square foot, and projects beginning after June 30, 2026 face phaseout pressure.

For energy-efficient commercial assets, that deduction improves total tax efficiency. It belongs in the broader annual model.

Entity, Financing, and Interest Deduction Considerations

Ownership structure affects how gain flows through and how sale-year income is absorbed. Financing matters too. The business interest deduction now uses EBITDA rather than EBIT for tax years beginning after Dec. 31, 2024, which generally improves deductions for real estate businesses.

That does not directly reduce capital gain rate treatment, but it can lower total taxable income around the sale year and improve after-tax cash retention.

Common Mistakes That Increase Commercial Real Estate Capital Gains Tax

Most tax damage is self-inflicted.

Selling Before Long-Term Treatment Applies

Missing the one-year mark by days can cost far more than most negotiation points in the purchase agreement. Transaction timing deserves advance modeling, especially when a gain is large.

Confusing Depreciation Savings With Permanent Tax Savings

Depreciation improves current cash flow. It does not automatically eliminate tax. On sale, reduced basis and recapture often bring part of that benefit back into the tax calculation.

The recommendation is to treat depreciation strategy and exit strategy as one investment decision from day one.

Ignoring State Tax and Closing-Table Timing

State taxes, transfer taxes, estimated tax obligations, and exchange deadlines are where otherwise strong planning fails. Execution errors destroy outcomes.

What to Review Before Selling a Commercial Property

Pre-sale review should happen before the listing, not after the purchase agreement.

Your Pre-Sale Tax Review Checklist

Review your original basis, capital improvement records, depreciation schedules, and any cost segregation reports. Project total gain, split the gain into recapture and capital gain buckets, test NIIT exposure, estimate federal and state liability, and confirm whether 1031 or Opportunity Zone treatment is available. Also confirm estimated payment timing so a good sale does not create an avoidable penalty.

The Recommendation: Model the Sale Before Listing

What the field data shows is simple: planning before the listing drives better outcomes than reacting after contract. Run a sale model before going to market. Compare a taxable cash sale, a 1031 exchange, and any installment or Qualified Opportunity Fund path. Then choose the structure that protects after-tax proceeds and reinvestment ROI.

Frequently Asked Questions

What is commercial real estate capital gains tax?

It is the tax due when you sell commercial property for more than its adjusted basis. The final bill usually includes long-term or short-term gain treatment, depreciation recapture, and sometimes NIIT, plus any state tax.

How is adjusted basis calculated for commercial property?

Adjusted basis starts with your purchase price, increases for capital improvements and certain basis-adjusting costs, and decreases for depreciation claimed. Sale price minus adjusted basis equals taxable gain.

Does a 1031 exchange defer depreciation recapture too?

Yes. A properly structured 1031 exchange defers both capital gains tax and depreciation recapture because the gain is deferred rather than currently recognized.

Is commercial property taxed differently from residential rentals?

Yes. Commercial buildings generally depreciate over 39 years, while residential rental buildings generally depreciate over 27.5 years. Commercial investors also rely more heavily on cost segregation, entity planning, and larger deal-level tax modeling.

Do you owe state tax on a commercial property sale?

That depends on the state. Texas imposes no state income tax on the gain. High-tax states can add roughly 5% to 13% or more to the effective sale cost, which materially reduces net proceeds.

Does depreciation always make a sale worse from a tax standpoint?

No. Depreciation usually improves annual cash flow and ROI during the hold period. The issue is not whether to take depreciation. The issue is to model the later recapture and choose an exit structure that protects more of the gain.

Scroll to Top
Real Estate Tax Consulting
Taxes on Wheels, LLC d/b/a RE Tax Consulting
4502 N Cage Blvd Ste 9, Pharr, TX 78577
Business email: susana@retaxconsulting.com · +1 956-586-5691