When you sell a fully depreciated property, almost every dollar of net sale proceeds is taxable gain, because years of depreciation deductions have reduced your adjusted basis to zero or close to it. That gain is not taxed at one rate. The IRS splits it into layers: depreciation recapture (up to 25% on real estate, or ordinary rates as high as 37% on equipment), long-term capital gains at 0%, 15%, or 20% on any appreciation above original cost, and a 3.8% net investment income surtax on top for higher-income sellers. A 1031 exchange, an installment sale, or holding the property until death can defer or eliminate parts of that bill.
Why the Gain Is So Large
Gain equals what you realized on the sale minus your adjusted basis. The amount realized is the gross sale price minus selling costs like commissions, title fees, and legal expenses. Adjusted basis is what you paid, plus capital improvements, minus every dollar of depreciation you have claimed.
On a fully depreciated property, depreciation has consumed the entire cost. Basis is zero. So the taxable gain is essentially the net sale price itself.
A concrete pass through the numbers: you bought a commercial building for $800,000, added $80,000 in capital improvements, and claimed $880,000 in depreciation over 30 years. Adjusted basis is $0. Sell for $1.2 million with $70,000 in closing costs and the amount realized is $1,130,000. Total gain: $1,130,000. Every dollar of that is taxable. The question is at what rates.
How the Gain Gets Split and Taxed
The IRS does not let you deduct depreciation against ordinary income for years and then treat the whole gain as a favorable capital gain when you sell. Recapture rules pull some of those deductions back. The mechanics differ for personal property and real property.
Section 1245: Equipment, Vehicles, Furniture
Section 1245 covers tangible personal property used in a business. Recapture here is aggressive: the lesser of your total gain or total depreciation claimed is taxed as ordinary income at your marginal rate, which tops out at 37% for 2026.1Office of the Law Revision Counsel. 26 U.S. Code 1245 – Gain From Dispositions of Certain Depreciable Property2Tax Foundation. 2026 Tax Brackets and Federal Income Tax Rates For a fully depreciated asset, that means the entire original cost gets taxed at ordinary rates. Any gain above that (appreciation over original cost) is Section 1231 gain and qualifies for long-term capital gains rates.
Section 1250: Buildings and Real Estate
Section 1250 covers real property. Only “additional depreciation,” meaning depreciation taken in excess of straight-line, is recaptured as ordinary income.3Office of the Law Revision Counsel. 26 U.S. Code 1250 – Gain From Dispositions of Certain Depreciable Realty Since the IRS has required straight-line depreciation on real estate placed in service after 1986, most sellers have no excess to recapture at ordinary rates.
Instead, the straight-line depreciation falls into a separate bucket called unrecaptured Section 1250 gain, taxed at a federal ceiling of 25%.4Office of the Law Revision Counsel. 26 U.S. Code 1(h) – Tax Imposed If your ordinary rate is lower, you pay the lower rate; 25% is a cap, not a flat rate.5Internal Revenue Service. Topic No. 409 – Capital Gains and Losses On the $880,000 of depreciation in the earlier example, that alone can produce up to $220,000 of federal tax.
Long-Term Capital Gains on Anything Above Depreciation
Whatever gain remains after depreciation has been fully accounted for is Section 1231 gain, taxed at long-term capital gains rates. For 2026:2Tax Foundation. 2026 Tax Brackets and Federal Income Tax Rates
- 0% for taxable income up to $49,450 (single) or $98,900 (married filing jointly)
- 15% up to $545,500 (single) or $613,700 (married filing jointly)
- 20% above those thresholds
In the example, the $250,000 of gain above the $880,000 of depreciation falls into this bucket. On a sale that large, most sellers land in the 15% or 20% bracket.
The 3.8% Net Investment Income Tax
Higher-income sellers pay an additional 3.8% surtax on net investment income, which includes gain from selling rental or investment property. It applies once modified adjusted gross income crosses $200,000 (single) or $250,000 (married filing jointly), and those thresholds are not indexed for inflation.6Office of the Law Revision Counsel. 26 U.S. Code 1411 – Imposition of Tax
The 3.8% stacks on top of the other rates. A seller in the 20% capital gains bracket effectively pays 23.8% on the capital gains portion; the unrecaptured Section 1250 layer can reach an effective 28.8%. Sellers routinely forget this layer when estimating their bill.
The Five-Year Section 1231 Lookback
The favorable capital gains rate on the Section 1231 portion is not automatic. If you claimed net Section 1231 losses on returns filed in the previous five years, your current Section 1231 gain is recharacterized as ordinary income up to the amount of those prior losses.7Office of the Law Revision Counsel. 26 U.S. Code 1231 – Property Used in the Trade or Business The rule blocks taxpayers from deducting business-property losses against ordinary income one year and then claiming capital gains treatment on business-property gains a year or two later. Clean five-year history and the lookback doesn’t touch you.
Deferring the Bill: 1031 Exchange
A Section 1031 like-kind exchange defers the entire tax bill, capital gains and recapture alike, by rolling the proceeds into another qualifying investment property.8Office of the Law Revision Counsel. 26 U.S. Code 1031 – Exchange of Real Property Held for Productive Use or Investment The tax isn’t forgiven; it moves into the replacement property through a reduced basis. Section 1031 applies only to real property. You cannot use it for equipment or vehicles.
“Like-kind” is read broadly for real estate. A rental house can be exchanged for a warehouse, vacant land for an apartment building, as long as both are held for business or investment.9Internal Revenue Service. Like-Kind Exchanges – Real Estate Tax Tips
Two hard deadlines control the transaction, and neither can be extended:
- You must identify replacement properties in writing within 45 calendar days of closing on the property you sold.8Office of the Law Revision Counsel. 26 U.S. Code 1031 – Exchange of Real Property Held for Productive Use or Investment
- You must close on the replacement within 180 calendar days of the original sale, or by your tax return due date including extensions, whichever comes first.8Office of the Law Revision Counsel. 26 U.S. Code 1031 – Exchange of Real Property Held for Productive Use or Investment
Miss either deadline and the entire gain becomes taxable in the year of the original sale. Most exchanges use a qualified intermediary to hold funds between closings, because taking control of the cash at any point can disqualify the transaction.10Internal Revenue Service. Like-Kind Exchanges Under IRC Section 1031 – Fact Sheet To defer the full gain, the replacement must be equal or greater in value, equity, and debt. Any cash or non-like-kind property received (“boot”) is immediately taxable up to the amount of realized gain.
Spreading the Bill: Installment Sale
If a 1031 exchange isn’t practical, Section 453 lets you spread gain over multiple tax years by taking the sale price in payments.11Office of the Law Revision Counsel. 26 U.S. Code 453 – Installment Method Each payment is split between return of basis, gain, and interest.
Important limit for fully depreciated property: all depreciation recapture must be recognized in the year of sale, regardless of when you actually receive payment.11Office of the Law Revision Counsel. 26 U.S. Code 453 – Installment Method Only gain above the recapture amount can be spread. On a fully depreciated building, that means the largest layer of tax still hits in year one. The installment method mainly softens the capital gains portion.
Eliminating the Bill: Step-Up at Death
If the owner dies while still holding the property, heirs take it with a basis equal to fair market value at the date of death, not the decedent’s zero basis.12Office of the Law Revision Counsel. 26 U.S. Code 1014 – Basis of Property Acquired From a Decedent The step-up wipes out accumulated depreciation and pre-death appreciation. If the heirs sell at or near the stepped-up basis, taxable gain is minimal or zero, and they can begin claiming fresh depreciation on the new basis.
What Happens If You Keep Renting
You are not obligated to sell. But continuing to rent a fully depreciated property means you lose the depreciation deduction, often the single largest write-off against rental income. Property taxes, insurance, repairs, and management fees remain deductible. Net rental income, though, is now taxed as ordinary income without the depreciation offset. The decision reduces to a comparison: pay the recapture now (or defer it through a 1031) and redeploy capital, or keep collecting rent taxed at a higher effective rate. The right choice depends on rental yields, your bracket, and whether replacement properties are available.
How the Sale Is Reported
The sale is reported on Form 4797, which handles business property sales and recapture calculations.13Internal Revenue Service. Instructions for Form 4797 Part III of Form 4797 calculates the ordinary income recapture. Any gain above recapture flows to Form 8949 and then to Schedule D, where the capital gains rates and the 25% cap on unrecaptured Section 1250 gain are applied.14Internal Revenue Service. Instructions for Form 4797 The 3.8% net investment income tax, if it applies, is calculated on Form 8960. The return for the year of sale is meaningfully more complex than a typical filing, and the amounts at stake usually justify professional preparation.