Skip to main content
Real Estate Tax

Rental Property Sale: Depreciation Recapture Tax

Selling a rental creates three tax layers: depreciation taxed up to 25%, cost-segregation recapture up to 37%, and capital gain up to 20%, plus 3.8% NIIT.

Clark Shi, CPA, founder of TS CPA

Founder, TS CPA

When you sell a rental property, the tax bill often surprises people. Most investors expect to pay capital gains rates on the profit, but there are actually three separate tax layers, each taxed at a different rate. Understanding them before you sell gives you time to plan.

What Is Your Adjusted Basis When You Sell?

Your taxable gain is the sale price minus your adjusted basis. Adjusted basis starts with what you paid, adds capital improvements, and subtracts all depreciation you claimed (or were required to claim) over the years.

Depreciation reduces your basis even if you forgot to take the deduction. The IRS reduces your basis by the full amount you were allowed to deduct. This reduction applies whether you claimed the deduction or missed it. If you have unclaimed depreciation, a tax professional can catch up those deductions before the sale.

For a residential rental, the building depreciates over 27.5 years using straight-line depreciation. Land is never depreciated. If you purchased a property for $350,000 and allocated $300,000 to the building, your annual depreciation is about $10,909 for a full year. After about 8 years of full-year depreciation, you would have claimed $87,272 and your adjusted basis would be $262,728, plus capital improvements.

How the Three Tax Layers Work

Assume you sell the property above for $450,000 net of selling costs. Your realized gain is $450,000 minus $262,728, or $187,272. That gain breaks into three pieces:

Layer 1: Unrecaptured Section 1250 gain. This equals your total straight-line depreciation on the real property (building), capped at the total gain. Here, $87,272 is taxed at a maximum 25% rate. Your actual rate depends on your other income but cannot exceed 25%.

Layer 2: Section 1245 ordinary recapture. This layer applies only if you performed a cost segregation study or took accelerated depreciation on personal property components within the rental (appliances, flooring, cabinets and other personal property). Depreciation on those components is recaptured at ordinary income rates, up to 37% in 2026, but only up to the gain on each component. Land improvements such as fences and paving are real property: only the depreciation above straight line on them is taxed at ordinary rates, and the rest falls in the 25% layer. For a standard residential rental with only straight-line depreciation on the building, this layer is zero.

Layer 3: Section 1231 gain. Any remaining gain above the recaptured depreciation is a Section 1231 gain. If you held the property more than one year, this flows to Schedule D and is taxed at 0%, 15%, or 20% long-term capital gain rates based on your total taxable income. Here, $187,272 minus $87,272 leaves $100,000 of Section 1231 gain. One exception: if you deducted a net Section 1231 loss in any of the past five years, an equal amount of this gain is taxed as ordinary income instead.

What Is the Depreciation Recapture Tax Rate for 2026?

The 25% is a ceiling. Unrecaptured Section 1250 gain is taxed at your ordinary rate if that is lower (10%, 12%, 22% or 24%), and at 25% if your bracket is 32% or higher. The rest of the gain is taxed at 0% up to $49,450 of taxable income for single filers and $98,900 for joint filers in 2026, 15% up to $545,500 single and $613,700 joint, and 20% above that. For 2027 the 0% limits are $51,050 single and $102,100 joint, and the 15% limits are $563,200 and $633,600.

Is Residential Rental Property Section 1245 or 1250?

The building and its structural components are Section 1250 property. Because residential rentals use straight-line depreciation, there is no ordinary Section 1250 recapture; the depreciation becomes unrecaptured Section 1250 gain taxed at up to 25%. Appliances, carpet and furniture inside the rental are Section 1245 property, taxed at ordinary rates on sale.

Section 291 applies only to C corporations: a corporation selling depreciable real estate treats 20% of the depreciation that would have been ordinary income under Section 1245 as ordinary income. Individuals, partnerships and S corporation owners use the 25% unrecaptured Section 1250 rate instead.

Does the 3.8% Net Investment Income Tax Apply?

The 3.8% Net Investment Income Tax under IRC Section 1411 applies to the smaller of your net investment income or the amount your modified adjusted gross income exceeds $200,000 (single) or $250,000 (married filing jointly). This is in addition to the rates above. When your other income already exceeds the threshold, the whole gain is exposed; on $187,272 that is $7,116.

If you qualify as a real estate professional and spend more than 500 hours a year in the rental activity, the gain on the sale is not net investment income and the 3.8% tax does not apply to it.

You can reduce your MAGI before the sale to minimize or eliminate NIIT exposure. Strategies include paying deductible rental or business expenses before year-end, maximizing pre-tax retirement plan contributions, moving the closing into January to shift the gain into the next tax year, or using an installment sale to spread the gain across years. Itemized deductions do not lower the income this tax uses.

How to Report the Sale on Form 4797

The sale is reported on Form 4797, Sale of Business Property. For a residential rental held more than one year:

  • Unrecaptured Section 1250 gain flows through Part III and then Part I (the 25% layer is captured on the Unrecaptured Section 1250 Gain Worksheet in the Schedule D instructions)
  • The Section 1231 gain from Part I carries to Schedule D, Line 11
  • Any Section 1245 ordinary recapture appears in Part III as ordinary income

Accurate reporting requires the original purchase price and land-to-building allocation, a record of all capital improvements, total depreciation claimed on Form 4562 each year, and the final sale price net of commissions and closing costs.

Can You Defer the Tax on a Rental Property Sale?

1031 exchange. A like-kind exchange under IRC Section 1031 can defer the gain on the building, including the unrecaptured Section 1250 layer, when you reinvest all of the proceeds. Since 2018 a 1031 exchange covers real property only, so recapture on cost-segregation items such as appliances and carpet is taxed in the year of sale. You must identify a replacement property in writing within 45 days of closing and complete the purchase within 180 days or by the due date of your tax return for the year of sale, whichever comes first, so a fall sale usually needs an extension. The sale proceeds must go to a qualified intermediary; if you receive the cash, the exchange fails. The deferred gain carries into the replacement property's basis, reducing future depreciation, and remains deferred until you sell without exchanging.

Installment sale. Under IRC Section 453, you can spread the gain across the years you receive payments, including the 25% unrecaptured Section 1250 layer, which is reported first out of each payment before the lower-rate capital gain. Ordinary recapture under Section 1245 or 1250 is taxed in full in the year of sale, even if you receive no cash that year.

Holding until death. Heirs receive a stepped-up basis to fair market value at death under IRC Section 1014. This eliminates all embedded gain, including every dollar of accumulated depreciation. For older or terminally ill property owners, holding can be more valuable than any deferral strategy.

Planning a rental property sale and want to understand your full tax exposure before you close? Contact TS CPA for a free consultation. We respond within the same day.

Frequently Asked Questions

What is unrecaptured Section 1250 gain on a rental property sale?

Unrecaptured Section 1250 gain is the portion of your rental property sale gain equal to the straight-line depreciation you claimed, or were entitled to claim, on the building, up to the amount of your gain. It is taxed at a maximum rate of 25%, higher than the 0% to 20% rate that applies to ordinary long-term capital gains.

How is depreciation recapture calculated when selling a rental property?

Take the sale price minus your adjusted basis (original cost plus improvements minus all depreciation claimed). The gain up to your total depreciation claimed is recaptured: straight-line building depreciation as unrecaptured Section 1250 gain at up to 25%, and any accelerated personal property depreciation at ordinary income rates up to 37% (Section 1245), limited to the gain on each item. The remaining gain above total depreciation is a long-term capital gain.

Can I avoid depreciation recapture with a 1031 exchange?

A 1031 like-kind exchange can defer the gain on the building, including the recapture on the building itself, when you reinvest all of the proceeds. Recapture on cost-segregation items such as appliances and carpet is still taxed in the year of sale, because a 1031 exchange now covers real property only. The deferred recapture does not disappear; it carries into the replacement property's basis and becomes taxable when you eventually sell without exchanging. You must identify the replacement property within 45 days and close within 180 days or by your return's due date including extensions, whichever is earlier.

What is the maximum tax rate on a rental property sale?

The maximum federal rate on Section 1245 ordinary recapture is 40.8% for top earners, which is 37% ordinary income tax plus 3.8% NIIT, before any state income tax. Section 1250 unrecaptured gain is capped at 25% federal plus 3.8% NIIT. The Section 1231 capital gain portion is taxed at 20% plus 3.8% NIIT at the highest income levels.