Selling Commercial Property: Taxes and 1031 Options
Commercial buildings are bought by people who price the leases, finance the purchase and allocate the price line by line. Each of those habits changes how your sale is taxed. Here is what a commercial seller faces that a landlord selling a house does not, and where the proceeds can go.
A commercial property sale is taxed in the same layers as any real estate sale, with four differences. The building was depreciated over 39 years. Parts carved out by a cost segregation study, expensed under section 179 or given bonus depreciation come back as ordinary income rather than under the 25% ceiling. A sale that includes an operating business needs the price allocated by asset class on Form 8594. And the leases, the tenants' estoppels and their credit set the price you are taxed on. A 1031 exchange can defer the real estate gain into net-leased property, an industrial building or DST interests; equipment and goodwill sold alongside cannot be deferred.
Thirty-nine-year depreciation sets the size of the 25% layer
A commercial building is nonresidential real property, depreciated straight line over 39 years rather than the 27.5 used for residential rentals (section 168(c)); Publication 946 gives an office building, store or warehouse as examples. That is about 2.56% of the building's cost a year, so the layer builds more slowly than on an apartment building, yet a large basis still yields a large figure: $3,000,000 of building held fifteen years carries about $1,153,846 of depreciation. At the sale that sum is unrecaptured section 1250 gain, with ordinary rates capped at 25% by section 1(h)(1)(E).
A C corporation owner has one more line. The Form 4797 instructions explain that under section 291 a corporation that depreciated straight line treats 20% of the amount figured under section 1245, meaning 20% of the depreciation or of the gain if smaller, as ordinary income.
Section 1245 or section 1250: which parts of the sale are taxed as ordinary income
Depreciation on anything that counts as section 1245 property comes back at full ordinary rates; only straight-line depreciation on the building itself gets the 25% ceiling. Publication 544 puts depreciated personal property in section 1245, along with the part of real property whose basis was cut by a section 179 or section 179D deduction. In section 1250 property, depreciation above straight line, which the publication calls additional depreciation and which includes a special allowance you did not elect out of, is ordinary income too.
Part of the property
Class at sale
How its depreciation is taxed
Building shell and structural components, 39-year straight line
Section 1250
Your ordinary rate, capped at 25%
Qualified improvement property: interior work placed in service after 2017, 15-year, with bonus taken
Section 1250
Bonus above straight line is ordinary income; the rest is capped at 25%
Roofs, HVAC, fire protection, alarm and security systems, or interior work, expensed under section 179
Section 1245
Ordinary income
Five- and seven-year items from a cost segregation study; furniture, fixtures, equipment
Section 1245
Ordinary income, up to 37% for 2026
Land
Not depreciable
Not depreciated, so nothing to recapture
The 37% bracket begins at $768,700 of joint taxable income for 2026 (Rev. Proc. 2025-32). Publication 946 also confirms the 100% special depreciation allowance for qualified property acquired and placed in service after January 19, 2025, so a building bought since then with a study can hold more of its depreciation in ordinary-income classes.
Recapture on an item stops at the gain on that item, so the contract's allocation decides how much is ordinary. Hypothetical: a study moved $500,000 into five- and seven-year property, now fully depreciated, and the contract assigns those items $150,000. With a zero basis, all $150,000 is ordinary income; the other $350,000 of their depreciation is not recaptured, because their value fell by that much. Assign them $300,000 and the ordinary layer doubles while the building's share of the gain falls by $150,000. In an exchange, many components a study treated as section 1245 property are still real property under Reg. section 1.1031(a)-3, whose definition serves section 1031 alone; depreciation recapture on a rental property sale explains when ordinary recapture can still arise, and the depreciation recapture calculator runs your schedule.
Selling the business with the building: price allocation and Form 8594
When the sale includes an operating business, buyer and seller each file Form 8594 and spread the price over seven asset classes, and that split decides how much of your gain is ordinary, capital or deferrable. The Form 8594 instructions reach any group of assets making up a trade or business, one to which goodwill or going concern value could attach, where the buyer's basis is what it pays. They require the residual method: cash first, then classes II to VI in order, with Class V holding land, buildings, furniture, fixtures and equipment and Class VI the section 197 intangibles, and goodwill and going concern value last. Only that last class can be assigned more than fair market value.
Settle the split before signing. Under section 1060(a) a written allocation binds both sides unless the IRS finds it inappropriate, and the form asks whether one was agreed. The buyer wants price in short-lived assets it can write off fast; you pay ordinary rates on section 1245 recapture and can defer only the real property share. No form is needed if every asset goes through a section 1031 exchange, but one is for the part outside it, which includes the business assets; gains from selling a business covers that side and selling an industrial building covers racking, cranes and machinery.
Leases, estoppels and tenant credit set the price you are taxed on
A commercial buyer prices the income stream, so the leases drive your gain more than the bricks do. Buyers and lenders read the rent roll for remaining term, rent against market, renewal and termination options, who pays taxes, insurance and repairs, and any tenant right to buy. A long net lease to a creditworthy tenant reads as dependable income; short terms, above-market rent or a weak tenant read as risk the buyer takes off the price.
The buyer and its lender will often want an estoppel certificate from each tenant confirming the lease, rent, deposit and prepaid rent, and that no one is in default. Start early: a slow tenant can move the closing, and the 45-day clock runs from the closing. Retail adds co-tenancy and exclusive-use clauses (strip center or retail building); office adds rollover and leasing costs (office building). How deposits and prorated rent credited to the buyer interact with exchange funds is in security deposits and rent prorations.
Owner-users: selling the building and leasing it back
If your company occupies the building, a sale-leaseback turns the equity into cash while the business stays put, and the proceeds can still be exchanged. An owner-occupied building qualifies because section 1031(a)(1) reaches property used in your own trade or business, not just property you rent out, and after the sale section 162(a)(3) lets the operating company deduct its rent on a building it no longer owns. The lease is part of the price: a longer term at a higher rent supports a higher price and a bigger gain, and binds the business to that cost. Settle both with your CPA before you accept an offer; sale-leaseback then 1031 covers the buyer, the lease length and the related-party traps.
Transfer taxes and withholding at the closing table
Transfer taxes and withholding can both come off the proceeds before the intermediary is funded. Deed or transfer taxes are charged by the state and in places by the county or city when the deed records, with rates and exemptions that differ widely, and the purchase contract allocates them between the parties; our closing pages cover California cities, Washington, Illinois and Chicago, Connecticut and Massachusetts.
A foreign seller faces withholding by the buyer of 15% of the amount realized under section 1445, which a certificate requested on Form 8288-B can reduce; FIRPTA and Form 8288-B at closing covers the timing. Several states also keep back part of the price unless an exemption, including one for an exchange, is filed in time; which states do this, and with which forms, is set out in states that withhold at closing.
Where commercial proceeds can go in a 1031 exchange
Four replacements suit a commercial seller who wants income with less management, and they differ in control, concentration and liquidity.
An industrial or distribution building. Direct ownership, with its own roof, dock and re-leasing decisions; industrial investments covers the asset class.
DST interests. Passive, fractional ownership of sponsor-run property, mostly for accredited investors and illiquid, with distributions that can be cut and principal at risk; see traditional DSTs, and debt-free DSTs for the all-cash kind.
A 721 exchange later. Section 721(a) lets property, or a DST interest, go into a REIT's operating partnership for units with no gain recognized; 721 exchange (UPREIT) covers what that closes off.
What to send us before the building goes to market
We act for you on the replacement side, as advisor and securities broker: we put the replacement together, place it, and keep your qualified intermediary and CPA working to the same dates. Nothing here is tax or legal advice, and we are not your intermediary, lawyer or accountant. For a proposal, send the rent roll and leases, depreciation schedules and any cost segregation study, any section 179 or bonus deductions on improvements, the equipment or business assets in the sale, the payoff and prepayment terms, the property's state and yours, and the income you want. The result is laid out in what a free proposal contains; to go through the leases on a call first, book a free consultation.
Questions owners ask about selling commercial property
Is a commercial property sale taxed differently from selling a rental house?
The rates are the same: up to 25% on the straight-line depreciation, capital gains rates on the rest and the 3.8% surtax. What changes is the 39-year schedule, the larger share of components that can come back as ordinary income, business assets that may be sold with the building and, for a C corporation, the extra ordinary income under section 291.
Do we need Form 8594 if we sell only the building?
Only if the assets sold make up a trade or business, which the instructions define as a group to which goodwill or going concern value could attach. Their listed signals include intangibles, a price above book value, and a license, lease, management contract or non-compete between buyer and seller. If every asset is exchanged under section 1031 the form is not required; any part outside the exchange still needs it.
We expensed a new roof under section 179. What happens when we sell?
The part of the building's basis reduced by that deduction is treated as section 1245 property, so gain up to the amount expensed is ordinary income. Publication 946 points to Notice 2013-59 for working out that portion; give your CPA the year and amount of each election before the price is allocated.
Can the building my own company occupies go into a 1031 exchange?
Yes. The statute asks whether real property is used in a trade or business or held for investment, and a building your company works from passes the first test. The entity on the deed has to be the one that buys the replacement; the same-taxpayer rule explains why, and sale-leaseback then 1031 covers staying on as tenant.
Can the equipment and furniture sold with the building be exchanged?
No. Section 1031 reaches only real property, so equipment, furniture and goodwill sold with the building are taxed in the year of sale, with section 1245 recapture on anything depreciated. The regulations' incidental property rule, which ignores items worth up to 15% of the larger property, only simplifies the identification list.
Sources
Last reviewed . Each rule above was read in the source listed here on that date. Depreciation and recapture rules turn on the facts of your property, so have a CPA apply them to your schedules before you price the sale.
Describe the building and the stage your sale has reached, and an advisor will contact you about a first conversation. Based in Irvine, California. Licensed in all 50 states; we work with sellers everywhere by phone and video.
Three of twelve sample structures: asset class, leverage, minimum and hold. The sponsor, the distributions paid and the offering size are what marketplace access adds, after a short suitability call. Request access and the current list follows.
Sample offering: a hypothetical illustration of this structure type, not an actual or current offering.
Sample offerings: hypothetical illustrations of structure types, not actual or current offerings. Photos are representative of each asset class. Current offerings are private placements for accredited investors, described by private placement memorandum.