Tax on Sale of Commercial Property: Rates, Recapture, and Deferrals

The tax on the sale of commercial property is rarely a single number. A typical sale triggers long-term capital gains tax at 0, 15, or 20 percent on appreciation, a 25 percent rate on the portion of gain tied to prior depreciation of the building, ordinary income rates on depreciation taken against personal property inside the building, and a 3.8 percent surtax for higher-income sellers. Stacked together, the federal bite on parts of a large gain can exceed 30 percent before any state tax. The good news is that several strategies — a 1031 exchange, an installment sale, or Opportunity Zone reinvestment — can defer, spread, or in some cases eliminate the hit.

How Commercial Property Gains Are Classified

Commercial real estate held for business use or investment is not a “capital asset” in the technical sense. It falls under Section 1231, which covers depreciable business property held longer than one year. When your Section 1231 gains for the year exceed your Section 1231 losses, the net gain is taxed at long-term capital gains rates rather than ordinary income rates. If losses exceed gains, you get ordinary loss treatment, which is not limited to the $3,000 annual cap that applies to capital losses.1Office of the Law Revision Counsel. 26 USC 1231 – Property Used in the Trade or Business and Involuntary Conversions

There is a lookback rule that catches sellers off guard. If you claimed net Section 1231 losses in any of the five preceding tax years, some or all of your current-year gain is recharacterized as ordinary income to recapture those prior losses.1Office of the Law Revision Counsel. 26 USC 1231 – Property Used in the Trade or Business and Involuntary Conversions The losses do not need to be from the same property.

Property held one year or less does not qualify for Section 1231 treatment at all. Short-term gains are taxed as ordinary income at rates up to 37 percent for 2026.2Internal Revenue Service. Revenue Procedure 2025-32

Long-Term Capital Gains Rates for 2026

Once a sale qualifies for long-term treatment, the gain above any depreciation recapture is taxed at 0, 15, or 20 percent. For 2026, the thresholds are:

  • 0 percent on taxable income up to $49,450 for single filers or $98,900 for married filing jointly.
  • 15 percent from $49,451 to $545,500 for single filers, or $98,901 to $613,700 for joint filers.
  • 20 percent above $545,500 for single filers or $613,700 for joint filers.2Internal Revenue Service. Revenue Procedure 2025-32

Most commercial property sellers land in the 15 or 20 percent bracket, because the gain from the sale alone often pushes total taxable income well past the 0 percent line. These thresholds adjust each year for inflation.

Depreciation Recapture on the Building

This is where the tax picture gets heavier than sellers expect. During ownership, you deduct depreciation against rental or business income each year. Nonresidential commercial buildings use a 39-year straight-line schedule.3Internal Revenue Service. Depreciation Those deductions reduce your taxable income in the years you take them. When you sell, the IRS wants some of that benefit back.

The building itself is Section 1250 property. The portion of your gain attributable to depreciation you previously claimed is taxed at a maximum rate of 25 percent, not the lower long-term capital gains rates.4Office of the Law Revision Counsel. 26 US Code 1 – Tax Imposed The 25 percent applies only to the depreciation actually taken, not to the entire gain. If you owned a building for 10 years and claimed $200,000 in depreciation, that $200,000 is subject to the 25 percent rate; any gain above that is taxed at your applicable long-term capital gains rate.5Office of the Law Revision Counsel. a href=”https://uscode.house.gov/view.xhtml?req=(title:26%20section:1250%20edition:prelim)” target=”_blank” rel=”noopener”>26 US Code 1250 – Gain From Dispositions of Certain Depreciable Realty

This liability exists even if the property did not appreciate, as long as the sale price exceeds your depreciation-reduced adjusted basis.

Section 1245 Recapture on Personal Property

Commercial buildings often include tangible personal property that was depreciated separately: parking lot lighting, specialized HVAC equipment, tenant improvement fixtures. These items fall under Section 1245, and the rules are harsher. Gain attributable to prior depreciation on Section 1245 property is recaptured as ordinary income and taxed at your full marginal rate, not the 25 percent cap.6Office of the Law Revision Counsel. 26 US Code 1245 – Gain From Dispositions of Certain Depreciable Property

Sellers who used cost segregation studies to accelerate depreciation on building components face a larger Section 1245 recapture bill at sale. The savings during ownership were real, but they translate into a bigger ordinary income hit at exit.

The 3.8 Percent Net Investment Income Tax

Higher-income sellers face an additional 3.8 percent tax on net investment income. The surtax applies when your modified adjusted gross income exceeds $200,000 for single filers or $250,000 for married couples filing jointly.7Office of the Law Revision Counsel. 26 USC 1411 – Imposition of Tax These thresholds are not indexed for inflation, so more taxpayers get caught each year.

The 3.8 percent applies to the lesser of your net investment income or the amount by which your MAGI exceeds the threshold.8Internal Revenue Service. Questions and Answers on the Net Investment Income Tax For most commercial sales, the gain alone pushes MAGI well past those limits, so the full gain is subject to the surtax. Stack this on top of a 20 percent capital gains rate and 25 percent depreciation recapture, and combined federal tax on some portions of the gain runs above 30 percent.

Figuring Your Taxable Gain

Before applying any of these rates you need to know the actual gain. That starts with your adjusted basis, which is not simply what you paid.

Begin with your original purchase price, including closing costs paid at acquisition such as title fees and transfer taxes. Add the cost of capital improvements made during ownership, such as a new roof, structural repairs, or a major build-out. Then subtract all depreciation deductions taken, or that should have been taken even if you forgot to claim them. The result is your adjusted basis.9Office of the Law Revision Counsel. 26 US Code 1016 – Adjustments to Basis

Next, calculate the amount realized: the gross sale price minus selling expenses like broker commissions, legal fees, and title insurance. Your taxable gain is the difference between the amount realized and your adjusted basis.10Office of the Law Revision Counsel. 26 US Code 1011 – Adjusted Basis for Determining Gain or Loss The IRS knows roughly what depreciation you should have claimed based on your purchase date and cost basis, so understating depreciation to inflate your basis does not work.

Suspended Passive Losses You Can Finally Use

If you owned rental commercial property and could not deduct all your passive losses in prior years — because your income was too high or you lacked passive income to offset — those suspended losses are not gone. When you sell your entire interest in the activity, all accumulated suspended passive losses are released and can offset the gain from the sale.11Internal Revenue Service. Passive Activities – Losses and Credits

A property that generated years of paper losses from depreciation while cash-flowing positively may have built up a substantial pool. Selling is the event that unlocks them. The requirement is a complete disposition; selling a partial interest does not trigger the release.

Deferring Everything With a 1031 Exchange

A like-kind exchange under Section 1031 is the most widely used way to defer both capital gains and depreciation recapture on a commercial sale. Reinvest the proceeds into another qualifying property and you can postpone the entire tax bill indefinitely.12Office of the Law Revision Counsel. 26 USC 1031 – Exchange of Property Held for Productive Use or Investment

The rules are rigid. You cannot touch the sale proceeds. A Qualified Intermediary must hold the funds from closing until they are used to buy the replacement property. You have 45 calendar days from the sale date to identify potential replacement properties in writing, and 180 days to close on the purchase.12Office of the Law Revision Counsel. 26 USC 1031 – Exchange of Property Held for Productive Use or Investment If you sell late in the tax year, the 180-day window can be shortened to your return due date unless you file an extension. Miss either deadline and the entire gain becomes taxable.

The replacement property must be “like kind,” which for real estate is interpreted broadly. You can exchange an office building for a warehouse, a strip mall for raw land, or a rental property for a commercial farm. Any cash or non-real-estate value you receive in the exchange, known as “boot,” is immediately taxable.12Office of the Law Revision Counsel. 26 USC 1031 – Exchange of Property Held for Productive Use or Investment

Spreading the Tax With an Installment Sale

If you do not need all the proceeds immediately, an installment sale spreads the taxable gain across the years you receive payments. Under Section 453, any sale where at least one payment arrives after the close of the tax year qualifies automatically; no election is needed.13Office of the Law Revision Counsel. 26 US Code 453 – Installment Method

Each payment is split into three components: return of basis (tax-free), gain (taxed at capital gains rates), and interest income (taxed as ordinary income). Stretching payments over several years may keep your income low enough to stay in a lower capital gains bracket or stay under the Net Investment Income Tax threshold in some years.

You can elect out of installment treatment on your tax return for the year of the sale if you’d rather recognize the full gain upfront. Once you elect out, reversing that choice requires IRS consent.13Office of the Law Revision Counsel. 26 US Code 453 – Installment Method Installment sales to related parties come with a two-year resale restriction: if the related buyer flips the property within two years, you are treated as having received the proceeds immediately.

Reinvesting Through an Opportunity Zone

Sellers who reinvest eligible capital gains into a Qualified Opportunity Fund can defer tax on those gains. The fund must invest in designated low-income census tracts. Capital gains realized in 2026 can still be invested within the applicable 180-day window.14Internal Revenue Service. Opportunity Zones Frequently Asked Questions

Timing matters. Deferred gains from earlier Opportunity Zone investments face a mandatory recognition date of December 31, 2026, meaning those deferred taxes come due on the 2026 return regardless of whether the QOF investment has been sold.14Internal Revenue Service. Opportunity Zones Frequently Asked Questions The biggest benefit still available for new investments: hold the QOF investment for at least 10 years and any appreciation on the investment itself is permanently tax-free.

State Tax and FIRPTA

Federal tax is only part of the picture. Most states impose their own income tax on capital gains, and the gain is generally taxable in the state where the property is located, not where you live. Rates range from zero in states without an income tax to more than 13 percent in the highest-tax states, with some states taxing capital gains at ordinary rates and others offering a preferential rate. Many jurisdictions also charge transfer or documentary stamp taxes at closing, ranging from a fraction of a percent to over 2 percent of the sale price, and the county recorder’s office will not file the deed until they are paid.

If you are a foreign person selling U.S. commercial real estate, the Foreign Investment in Real Property Tax Act requires the buyer to withhold 15 percent of the total amount realized and remit it to the IRS at closing.15Internal Revenue Service. FIRPTA Withholding The withholding is a prepayment toward the actual U.S. tax liability, not a separate tax.16Office of the Law Revision Counsel. 26 US Code 1445 – Withholding of Tax on Dispositions of United States Real Property Interests Foreign sellers expecting a lower liability can apply for a withholding certificate before closing using IRS Form 8288-B.17Internal Revenue Service. About Form 8288-B, Application for Withholding Certificate for Dispositions by Foreign Persons of US Real Property Interests Processing takes time, so start well before the expected closing.

Estimated Payments and the Forms You File

A large gain can create an underpayment penalty if you do not adjust your tax payments during the year. The IRS expects you to pay at least 90 percent of your current-year tax liability through withholding or estimated payments. You can also meet the safe harbor by paying 100 percent of the prior year’s tax, or 110 percent if your adjusted gross income exceeded $150,000.18Internal Revenue Service. Large Gains, Lump Sum Distributions, Etc

If the sale happens partway through the year, the annualized income installment method lets you match estimated payments to your actual income pattern, avoiding a penalty for quarters before the sale when your income was lower. You report the sale itself on Form 4797, which covers sales of depreciable business property and depreciation recapture.19Internal Revenue Service. About Form 4797, Sales of Business Property Capital gain amounts then flow to Schedule D through Form 8949.20Internal Revenue Service. About Form 8949, Sales and Other Dispositions of Capital Assets The underpayment penalty runs quarterly and compounds, so getting estimates right early is worth the effort.