Selling a rental property triggers tax rules that can convert past tax deductions into current tax liability through depreciation recapture. When an owner claims depreciation on buildings or equipment, the tax basis of the property is reduced; at sale, part of the gain attributable to those prior deductions is "recaptured" and taxed differently than capital gain. Official guidance appears in Publication 544, authored by the Internal Revenue Service, and the Internal Revenue Code sections 1245 and 1250 set the statutory framework.
How depreciation recapture works
Compute the property's adjusted basis by subtracting accumulated depreciation from original cost plus allowable improvements. Selling price minus selling costs produces the amount realized; the difference between the amount realized and adjusted basis is the overall gain. That gain splits into two components: the portion tied to prior depreciation and the remainder treated as capital gain. For tangible personal property and certain equipment, Section 1245 requires recapturing depreciation as ordinary income up to the amount of gain. For real estate including residential rental buildings, the special rule under Section 1250 produces unrecaptured Section 1250 gain, which is generally taxed at a maximum of 25 percent rather than at ordinary income rates. Tax forms such as IRS Form 4797 and Schedule D are used to report these outcomes.
Consequences, causes, and planning nuances
The cause of recapture is simply the timing mismatch between tax depreciation—intended to match expense recognition—and the ultimate sale that realizes the deferred tax benefit. Consequences include a higher effective tax on the portion of gain attributable to depreciation, reduced after-tax sale proceeds, and potential state-level tax differences because some states treat recapture as ordinary income. For many small landlords, especially those in tight housing markets or economically vulnerable regions, recapture can erode funds available for reinvestment or community housing projects. Tax planning strategies include holding property longer to maximize favorable long-term capital gain treatment on the nonrecaptured portion, structuring a like-kind exchange under Section 1031 to defer recognition where eligible, or consulting a tax professional about allocating basis and identifying improvements that were expensed versus capitalized. Because rules and state treatments vary, rely on current IRS guidance and qualified advisors when calculating recapture and preparing returns.