Skip to content

Taxes for sellers · IRS Publications 527 and 544Selling a rental property: depreciation recapture and the taxes on the gain

A residential rental building is depreciated over 27.5 years under the general system, and every year of depreciation reduces the owner's basis – including depreciation the owner was allowed to claim but didn't (IRS Publication 527; Publication 544 uses the words 'allowed or allowable'). When the property is sold, the gain is the amount realized minus that adjusted basis, so years of depreciation make the gain larger. The building is section 1250 property: gain is treated as ordinary income only to the extent of 'additional depreciation' – depreciation beyond the straight-line method, or all depreciation if the property was held a year or less – so a rental depreciated straight-line and held over a year usually has none. The part of the long-term gain that comes from depreciation is 'unrecaptured section 1250 gain', figured on its own worksheet in the Schedule D instructions and taxed at no more than 25%; for 2025 the maximum capital gains rates are 0%, 15%, 20%, 25% and 28%. The sale of rental real property is reported on Form 4797. A former rental that later became the owner's main home follows the home sale rules (see the home sale guide), and a 1031 exchange can defer the tax.

How the gain is figured

  1. 1. Basis

    What you paid plus improvements, minus depreciation allowed or allowable – claimed or not.

  2. 2. Gain

    Amount realized (price minus selling costs) minus the adjusted basis.

  3. 3. Ordinary income

    Only 'additional depreciation' above straight-line – usually none for a rental held over a year.

  4. 4. Unrecaptured §1250 gain

    The part of the long-term gain due to depreciation – taxed at no more than 25%.

  5. 5. The rest

    Long-term capital gain at 0%, 15% or 20%.

Worth knowing

  • Depreciation you never claimed still reduces your basis.
  • The sale is reported on Form 4797, with the Schedule D worksheets.
  • A 1031 exchange can defer the tax; a former rental that became your home has its own rules.

What the TC can do

  • Send the seller the final settlement statement right after closing – their preparer needs the selling costs.
  • Ask early whether the seller plans a 1031 exchange; the intermediary must be in place before closing.
  • Collect leases and security deposit records for the transfer to the buyer.

Questions sellers ask

What is depreciation recapture on a rental property?

The part of the gain that comes from depreciation. For a rental depreciated straight-line, it is 'unrecaptured section 1250 gain', taxed at no more than 25%; only depreciation above straight-line is taxed as ordinary income (IRS Pub. 544).

What if I never claimed depreciation on my rental?

Your basis is still reduced by the depreciation you were allowed to claim, even if you didn't claim it (IRS Pub. 527).

Which form reports the sale of a rental property?

Form 4797, together with the Schedule D worksheets for unrecaptured section 1250 gain.

In ClosingCode the Closing Disclosure / settlement statement is a standard document on every deal – easy to send the seller when their tax preparer asks.

Start free trial

Sources (IRS, read October 26, 2026): Publication 527 and Publication 544 for 2025 returns; 2025 Instructions for Schedule D (Form 1040).

General information, not tax advice. Sellers should work out their gain with a tax professional. ClosingCode is software; it is not a tax preparer or CPA. This guide is not a substitute for the advice or services of an attorney.