Skip to content
Dark glass office tower at dusk with its lit floors showing

Capital Gains & Depreciation Recapture

Capital Gains and Depreciation Recapture When You Sell Commercial Property

Updated November 21, 2026

Start seller intake
Coins in a glass dish by a window, the gain left after a building sale.
Immediate answer

How capital gain, unrecaptured section 1250 gain, California's ordinary-income treatment and the 3⅓ percent real estate withholding apply to a commercial sale.

On this page
  1. What It Means for Owners of a Commercial Building
  2. Who It Affects Among California Commercial Owners
  3. Rules, Disclosures and Fine Print
  4. Options and Trade-offs for a Seller Facing a Large Gain
  5. Mistakes to Avoid Before Your Sale Closes
  6. What to Do Next on the Tax Side of the Sale
  7. Frequently asked questions
  8. Sources

Selling a California commercial building can bring three layers of income tax. The first is federal capital gain on the profit. The second is federal treatment of the part of that gain that comes from depreciation you took. The third is California tax, which treats all capital gains as ordinary income. At closing, California may also require a withholding prepayment.

You own an office, a warehouse, a retail strip, an industrial building or a mixed-use property in California, and a sale is coming into view. The number that matters to you is what remains after taxes, not the contract price. Years of depreciation deductions, an old purchase price and a state that taxes gains differently from the IRS all feed into that number. This page explains how each piece works, so the questions you bring to a tax professional are sharper ones.

What It Means for Owners of a Commercial Building

A capital gain is the difference between what a sale brings in and the property's adjusted basis. The IRS page Topic no. 409, Capital gains and losses puts it this way: when you sell a capital asset, "the difference between the adjusted basis in the asset and the amount you realized from the sale is a capital gain or a capital loss."

Adjusted basis is the tax measure of what you have in the property. The IRS page says that basis "generally" is the asset's cost to the owner. For a building, that cost is then raised by permanent improvements and lowered by the depreciation deducted over the years. The example in IRS Publication 544, Sales and Other Dispositions of Assets works through exactly that kind of sale: a building's cost, the improvements added to it and the depreciation taken. In practice, every year of depreciation you deducted makes your basis smaller and your gain larger.

How long you held the property matters federally. IRS Topic 409 says that property held "for more than one year" generally produces long-term gain, and property held one year or less produces short-term gain. The page adds that "a lower tax rate may apply" to a net capital gain than to ordinary income.

California handles gains differently. The Franchise Tax Board page Capital gains and losses states: "California does not have a lower rate for capital gains. All capital gains are taxed as ordinary income."

The result is a sale with more moving parts than a home sale. Your actual tax depends on your depreciation history, how long you held the property, your other income and the law that applies to your facts. Those are questions for a CPA, an enrolled agent or a tax attorney.

Who It Affects Among California Commercial Owners

These rules reach any California owner of commercial real property who took depreciation deductions while holding it. That includes owners of office, retail, warehouse, industrial, mixed-use and owner-occupied buildings. A business that occupies its own building usually depreciates it too, so recapture questions are not limited to landlords.

Some owners start from a basis other than the price they paid. IRS Topic 409 says that if you "received the asset as a gift or inheritance," the IRS publication on basis of assets explains your basis. Property that came to you through an earlier exchange can also carry a different basis. Working out that starting point is a task for a tax professional.

Holding period sorts owners into two groups. Federally, property held more than one year is long-term. IRS Topic 409 notes that "net short-term capital gains are subject to taxation as ordinary income at graduated tax rates." For an owner who bought recently and is selling soon, that difference can change the federal result considerably.

Entities are affected as well. An LLC, a partnership, a corporation or a trust that holds title still realizes gain on a sale. How that gain reaches the individual owners depends on how the entity is taxed. The structure of title also changes how California withholding applies, as the next section explains.

These rules follow the seller and the sale. They apply whether the buyer is a person, a company or an investor group, and whether or not a broker is involved.

Rules, Disclosures and Fine Print

Unrecaptured section 1250 gain is the federal term for the depreciation piece of a building sale. IRS Publication 544 defines it this way: "Generally, this is the part of any long-term capital gain on section 1250 property (real property) that is due to depreciation." It "cannot be more than the net section 1231 gain or include any gain otherwise treated as ordinary income." This portion is taxed differently from the rest of your long-term gain, so two owners with the same profit can owe different federal amounts if their depreciation histories differ.

Section 1245 recapture is a separate federal rule. Publication 544 discusses section 1245 and 1250 recapture side by side and treats recaptured depreciation as ordinary income. Equipment, fixtures and other depreciable items sold along with the building can fall under these rules. When a sale includes more than one asset, Publication 544 explains that the gain on each asset is figured separately so that it may be properly reported, which means allocating the price among those assets.

California real estate withholding is a prepayment, not a final tax. The Franchise Tax Board page Real estate withholding calls it "a prepayment of income tax due from the selling of California land or anything on it." Rev. & Tax. Code section 18662 sets out how it works. When a covered seller disposes of a California real property interest, "the transferee, including for this purpose any intermediary or accommodator in a deferred exchange, is required to withhold an amount equal to 3⅓ percent of the sales price." The seller may elect instead to have an amount withheld that the seller certifies in writing under penalty of perjury. That certified amount cannot be less than the recognized gain multiplied by the rate the statute specifies.

The statute limits which sellers are covered. It generally excludes corporations and partnerships. A corporation or partnership is covered, however, if after the transfer it has no permanent place of business in California. The statute defines that condition as being not organized under California law, not qualified with the Secretary of State and not maintaining a staffed permanent office in the state. "Sales price" includes the cash paid, the fair market value of other property transferred and any liability the buyer assumes or that the property is subject to.

Under Rev. & Tax. Code section 18662, no withholding is required in several situations:

  • Price threshold. No withholding is required unless the sales price exceeds $100,000.
  • Escrow notice. Apart from an intermediary or accommodator, a transferee need not withhold unless the real estate escrow person has given written notice of the withholding requirements.
  • Foreclosure or bank trustee. No withholding is required on certain foreclosure-type acquisitions, or when the seller is a bank acting as trustee other than a trustee of a deed of trust.
  • Seller certificate. No withholding is required where the transferee relies in good faith on the seller's written certificate. The certificate must state one of the following: a principal residence; a like-kind exchange, to the extent the gain is not recognized; an involuntary conversion with qualifying replacement intended; a net loss or a gain not required to be recognized; or a corporate seller with a permanent place of business in California.

The FTB page says a seller files an exemption by submitting Form 593 to the escrow agent before closing. Under the statute, an escrow person may remit funds withheld "by the 20th day of the month following the close of escrow," or monthly with other transactions. An escrow person may not charge for compliance unless it provides "assistance," and then may charge no more than $45. For you, this means money may be held back at closing and sent to the FTB, and you reconcile it when you file your California return.

Options and Trade-offs for a Seller Facing a Large Gain

A like-kind exchange lets an owner who trades real property for property of like kind postpone recognizing gain. Rev. & Tax. Code section 18662 refers to exchanges under Section 1031 of the Internal Revenue Code. It also describes the federal requirement "that property be identified and that the exchange be completed not more than 180 days after the transfer of the exchanged property." If an exchange fails that timing, the statute says the withholding exemption may not apply. In that case, an intermediary must notify the FTB in writing no later than 10 days after those periods expire and then remit the withholding. An exchange postpones the tax rather than erasing it, and missing a deadline can bring it due.

An installment sale spreads the buyer's payments over time. Publication 544 is plain about the limit: "any depreciation recapture under section 1245 or 1250 is taxable as ordinary income in the year of sale. This applies even if no payments are received in that year." Only the gain above that recapture is reported as payments arrive. On the California side, Rev. & Tax. Code section 18662 applies withholding "separately" to each principal payment, and the $100,000 threshold does not apply to each individual payment. A seller who carries a note therefore defers part of the gain, not the recapture, and faces withholding payment by payment.

A sale without either structure is simpler and recognizes the gain in the year of sale. Each path has different paperwork, different risks and different effects on your cash in hand.

Comparing them calls for your adjusted basis, your depreciation history, your income for the year and your plans for the proceeds. A CPA, an enrolled agent or a tax attorney works through those facts with you.

Mistakes to Avoid Before Your Sale Closes

Measuring gain from the original price. Gain runs from adjusted basis, and depreciation lowers that basis year after year. A long-held building can show a much larger gain than its purchase price suggests.

Overlooking the depreciation layer. Unrecaptured section 1250 gain is treated separately from the rest of your gain, so focusing only on appreciation leaves part of the picture out.

Treating an exchange as tax-free. A like-kind exchange postpones gain rather than removing it, and it depends on meeting the identification and completion timing described above.

Expecting California to follow the federal long-term treatment. The FTB states that all capital gains are taxed as ordinary income in California, so a large commercial gain can carry substantial state tax.

Reading withholding as the final bill. The FTB calls withholding a prepayment, and your California return settles the actual amount, whether higher or lower.

Leaving exemption paperwork for later. The FTB page says an exemption is filed by submitting Form 593 to the escrow agent before closing, so a certificate a seller intends to rely on belongs in the escrow file before closing day.

Your own result turns on your property's adjusted basis, the total depreciation taken and the expected sale price. Those are the core questions for a tax professional.

What to Do Next on the Tax Side of the Sale

Two records answer most of a tax professional's opening questions. The first is your depreciation schedule, which usually appears in prior-year federal returns on Schedule E or Form 4562 or in your accounting records. It shows how much depreciation has been taken. The second is the closing statement from your purchase, which shows the price and how it was split between land and building. Land is not depreciable; only the building and qualifying improvements are.

Before a meeting, many owners gather the depreciation schedule and purchase closing statement for a CPA, an enrolled agent or a tax attorney. The Franchise Tax Board page Real estate withholding describes California withholding as a prepayment of income tax, and IRS Publication 544 covers sales and other dispositions of assets.

How it works

A structured process, not a sales pitch

Describe your commercial property — asset type, size, occupancy, location and timeline — to clarify your selling path.

The seller intake

  1. Describe the asset

    Type, size, occupancy, location and timeline — six short steps.

  2. Clarify the path

    Listed, off-market, direct cash or sale-leaseback, based on fit.

  3. Connect by consent

    Information is shared only if you expressly agree.

Start Seller Intake

Seller intake

Six questions to clarify your selling path.

Asset, size, occupancy, location and timeline. Nothing is shared without your express consent.

Begin intake

Contact

Discuss your property

Contact details and consent

See the Privacy Policy and Terms.

Testimonials

Selling the warehouse without months of marketing was appealing to our ownership group.

J.R., Miami, FL

Frequently asked questions

How is the gain on a commercial property sale calculated?

Gain is the amount realized minus adjusted basis. The amount realized can include more than cash; Publication 544's example adds other property received and debts the buyer assumed. Selling expenses also enter the calculation. A tax professional assembles these figures from the closing statements and the depreciation records.

What is depreciation recapture and how does it apply to commercial real estate?

For a building, the key federal concept is unrecaptured section 1250 gain, meaning the part of long-term gain that comes from depreciation. It is treated separately from the rest of the gain. The amount depends on how much depreciation was taken during ownership, which is why that record matters so much.

How does California tax capital gains on a commercial property sale?

California taxes them as ordinary income, with no lower capital-gains rate. Where federal and California treatment differ, the FTB directs filers to California Schedule D (540). The California amount depends on your total California income for the year, which a CPA, enrolled agent or tax attorney can review.

What is the California real estate withholding requirement when selling commercial property?

It is a prepayment collected through the sale and sent to the Franchise Tax Board under Rev. & Tax. Code section 18662. Entity sellers should note that corporations and partnerships are generally outside it unless they lack a permanent place of business in California. The FTB says Form 593 is filed after every real estate transaction.

Does the length of time I have owned the commercial property affect the tax?

Yes, federally. IRS Topic 409 says the holding period generally counts from the day after acquisition through the day of sale. California does not offer a lower rate for long-term gain. A longer hold usually also means more depreciation taken, which enlarges the recapture portion.

What records should I gather before talking to a tax professional about selling commercial property?

Beyond the depreciation schedule and purchase closing statement, records of permanent improvements help, because improvements raise basis. If title is held in a trust, the FTB notes that Form 593 differs for grantor and nongrantor trusts, so trust documents are useful too.