Spruce Sheets

Home › Guides › Depreciation recapture

Depreciation recapture on a rental property: how the IRS taxes the depreciation when you sell

By Spruce Sheets · Updated November 24, 2026 · 11 min read

Depreciation is the deduction that doesn't cost you anything in the year you take it. The bill arrives when you sell. Every dollar of depreciation on the building lowered your adjusted basis, so it comes back as gain on the sale, and the IRS taxes that slice at up to 25% instead of the usual long-term capital gain rates. This guide explains how that works for a residential rental sold in the 2026 tax year (the return you file in the 2027 season), with a full worked sale, the "allowed or allowable" trap, and what to pull together before you meet your preparer.

This is general information, not tax or legal advice. The tax on a sale depends on your whole return, your filing status and your state. Confirm your situation with a qualified tax professional. The rules here come from Publication 544 (2025), Sales and Other Dispositions of Assets; Publication 527 (2025), Residential Rental Property; Publication 946 (2025), How To Depreciate Property; Publication 523 (2025), Selling Your Home; the 2025 Instructions for Form 4797; IRS Topic no. 409, Capital gains and losses; IRS Topic no. 559, Net investment income tax; and Revenue Procedure 2025-32 (2026 inflation adjustments), as published on irs.gov on November 24, 2026.

The short version for 2026

  • Your gain on the sale is the amount realized (price minus selling expenses) minus your adjusted basis (cost plus improvements minus depreciation).
  • For a residential rental building placed in service after 1986, depreciated straight-line and held more than one year, the part of the gain that comes from depreciation is unrecaptured section 1250 gain. It is taxed at your ordinary rate, but no higher than 25% (Topic 409).
  • The rest of the long-term gain gets the normal 0%, 15% or 20% capital gain rates. For 2026, the 15% rate runs up to $545,500 of taxable income for single filers and $613,700 for married filing jointly (Rev. Proc. 2025-32).
  • Depreciation counts whether you claimed it or not: basis is reduced by depreciation allowed or allowable.
  • Appliances, carpet and other personal property in the rental are section 1245 property: gain on them is ordinary income up to the depreciation taken.
  • The 3.8% net investment income tax can apply on top if your MAGI is over $200,000 (single or head of household) or $250,000 (married filing jointly).

Why the IRS "recaptures" depreciation

Depreciation lets you deduct the cost of the building over 27.5 years against rental income, which is taxed at ordinary rates. Publication 527 says depreciation reduces your basis for figuring gain or loss on a later sale. Without a special rule, you would deduct at ordinary rates during ownership and then pay only the lower capital gain rate on the same dollars when you sell. Recapture closes most of that gap.

Publication 544 sorts property into two groups:

  • Section 1250 property is depreciable real property: the rental building and improvements to it. Land is not included, because it isn't depreciable.
  • Section 1245 property is mostly depreciable personal property, such as appliances or furniture used in the rental.

For section 1250 property, only "additional depreciation" (depreciation above the straight-line amount) is recaptured as fully ordinary income. Publication 544 says residential rental property placed in service after 1986 and held longer than one year has no additional depreciation, because it is depreciated straight-line. So for a typical landlord there is no ordinary-income recapture on the building. What you get instead is unrecaptured section 1250 gain: the part of the long-term gain due to depreciation, capped at the 25% rate.

Step by step: gain, then the depreciation slice

  1. Amount realized. Sale price, plus any debt the buyer takes over or other property you receive, minus selling expenses such as commission and your share of closing costs (Publication 544, chapter 1).
  2. Adjusted basis. Your original cost basis (purchase price plus the closing costs that belong in basis), plus capital improvements, minus all depreciation allowed or allowable, including the partial year of the sale.
  3. Gain. Amount realized minus adjusted basis.
  4. Unrecaptured section 1250 gain. The smaller of the gain or the depreciation on the building. Publication 544 says it can't be more than your net section 1231 gain.
  5. The rest is long-term capital gain (after the section 1231 netting described below).

Depreciation in the year you sell

You still get depreciation for the months you owned the property in the year of sale. Under the mid-month convention, Publication 946 says to multiply a full year of depreciation by the number of months in service divided by 12, counting the month of sale as half a month. A rental sold in August is in service for 7.5 months that year.

Worked example: selling a rental in August 2026

A made-up single landlord bought a rental house and placed it in service in March 2021. They used the same method as in our depreciation guide:

Item Amount
Purchase price $300,000
Closing costs added to basis $6,000
Cost basis $306,000
Land (20% of basis, from the assessor's split) $61,200
Depreciable building basis $244,800

Depreciation from Table 2-2d in Publication 527 (March row) and the mid-month rule for the sale year:

Year Rate Depreciation
2021 (placed in service in March) 2.879% $7,047.79
2022 to 2025 (4 years × $8,900.93) 3.636% each $35,603.71
2026 (sold in August: 7.5 of 12 months) 3.636% × 7.5/12 $5,563.08
Total depreciation $48,214.58

They sell in August 2026 for $425,000 and pay $27,600 in commission and selling costs.

  1. Amount realized: $425,000 − $27,600 = $397,400.
  2. Adjusted basis: $306,000 − $48,214.58 = $257,785.42.
  3. Gain: $397,400 − $257,785.42 = $139,614.58.
  4. Unrecaptured section 1250 gain: the smaller of $48,214.58 (depreciation) and the gain = $48,214.58.
  5. Rest of the gain: $139,614.58 − $48,214.58 = $91,400.00. That is simply the amount realized minus the original cost basis.

The federal tax on the gain, at most:

  • Depreciation slice at the 25% maximum: 25% × $48,214.58 = $12,053.65.
  • Rest of the gain at 15% (their taxable income stays below the $545,500 single limit for the 15% rate): 15% × $91,400.00 = $13,710.00.
  • Total: $25,763.65.

The $12,053.65 is an upper bound. The 25% is a cap: this landlord also has $88,000 of wages, so the depreciation slice sits on top of a fairly modest ordinary income, and part of it would be taxed at their lower ordinary bracket instead. The Schedule D Tax Worksheet works that out on the real return.

Net investment income tax. Their 2026 net rental income was $4,200 (after the 2026 depreciation). So:

  • MAGI: $88,000 + $4,200 + $139,614.58 = $231,814.58, which is $31,814.58 over the $200,000 single threshold.
  • Net investment income (gain plus net rent): $143,814.58.
  • NIIT is 3.8% of the smaller amount: 3.8% × $31,814.58 = $1,208.95.

Landlord Tax Season Kit

Get your rentals ready for tax season. Three Spruce Sheets workbooks that cover a landlord's year from rent in to CPA hand-off, for $32 instead of $50.

Excel & Google Sheets · sample + blank file · PDF guide

Get the free cash flow calculator

Price, loan, rent and expenses in; monthly cash flow, cash-on-cash return, cap rate and DSCR out. Works in Excel and Google Sheets. Enter your email and we'll send you the file.

You'll get the calculator, two short follow-up emails and occasional updates. Unsubscribe at any time.

Smaller gain: when all of it is depreciation

Same property, but the market is softer. They sell for $310,000 with $20,000 of selling costs.

  • Amount realized: $290,000.
  • Gain: $290,000 − $257,785.42 = $32,214.58.
  • Depreciation was $48,214.58, so the whole gain is unrecaptured section 1250 gain: $32,214.58.
  • At the 25% maximum that is up to $8,053.65 of federal tax, even though the house sold for only $4,000 more than the price they paid.

This is the part that surprises people. A rental can be sold for roughly what you paid and still produce a taxable gain, because the depreciation has pulled the basis down.

"Allowed or allowable": the trap for landlords who skipped depreciation

Some landlords never claim depreciation, thinking it will spare them the recapture later. It doesn't. Publication 527 says you must reduce your basis by the full depreciation you could have deducted, even if you didn't claim it. Publication 544 uses the same "allowed or allowable" rule for figuring recapture.

In the worked example, a landlord who never claimed a dollar still has an adjusted basis of $257,785.42, the same $139,614.58 gain, and up to the same $12,053.65 on the depreciation slice. The only difference is that they never got the deductions in 2021 to 2026.

If you find missed depreciation, Publication 527 says you may be able to correct it with Form 1040-X, or by changing your accounting method if an amended return isn't allowed. Publication 946 has the details under "How Do You Correct Depreciation Deductions?". Bring it up with your preparer before the sale year if you can.

Appliances, carpets and other personal property

If you depreciated appliances, carpet or furniture separately (usually over 5 years), those items are section 1245 property. Publication 544 says gain on them is ordinary income up to the depreciation allowed or allowable. When you sell the house with the appliances included, part of the price belongs to them. In practice, fully depreciated appliances sold with a house usually carry a small value, but it should be allocated and reported, not ignored.

Section 1231 netting, losses and the lookback

A rental held more than one year and used in a trade or business is section 1231 property. Publication 544 says to combine all section 1231 gains and losses for the year:

  • A net section 1231 loss is an ordinary loss, which is more valuable than a capital loss.
  • A net section 1231 gain is ordinary income up to your nonrecaptured section 1231 losses from the previous 5 years. The rest is long-term capital gain.

If you sold another property at a loss in 2021 to 2025, ask your preparer about the lookback before assuming the 15% rate. A rental held one year or less doesn't get any of this: the gain is ordinary and goes in Part II of Form 4797.

Where it goes on the return

  • Form 4797. The Form 4797 instructions say that when you sell a building and land together, you allocate the amount realized between them by fair market value and report the building in Part III and the land in Part I.
  • Schedule D. The Unrecaptured Section 1250 Gain Worksheet in the Schedule D instructions figures the depreciation slice. The Form 4797 instructions remind you that unrecaptured section 1250 gain must be identified and reported on Schedule D.
  • Schedule E. Report rent and expenses up to the sale date, including the partial-year depreciation, as usual.
  • Form 8582. If you have suspended passive losses on the property, a fully taxable sale of your entire interest to an unrelated party generally releases them in the year of sale.
  • Form 8960 for the net investment income tax, if your MAGI is over the threshold.

Ways the bill can change

  • Like-kind exchange. Publication 544 covers exchanges of real property held for business or investment for like-kind property. Gain, including the depreciation part, can be deferred into the replacement property instead of taxed now. The rules and deadlines are strict, so plan before you list the property.
  • Your former home. If the rental used to be, or became, your main home, the home sale exclusion may cover part of the gain. Publication 523 says you can't exclude the gain equal to depreciation allowed or allowable after May 6, 1997.
  • Estimated tax. A large gain in 2026 can mean an estimated payment is due. See estimated tax on rental income for the 2026 dates and safe harbors.

What to gather before you sell (or before filing)

  1. The closing statement from the purchase, showing price and the costs added to basis.
  2. Your land and building split and how you arrived at it.
  3. Every depreciation schedule (Form 4562 or your preparer's asset list) since the property was placed in service, including improvements and appliances.
  4. Improvement invoices. Each one raises basis and lowers the gain. Our guide to record retention explains why these stay until after the sale-year return can no longer be audited.
  5. The sale closing statement with price, commission and other selling costs.
  6. Any suspended passive losses from Form 8582 carryforwards.

The Landlord Tax Season Kit keeps the records behind this. The Bookkeeping Spreadsheet tracks income and expenses per property in Schedule E-style categories, so the sale year's partial-year figures are ready. The Tax Prep Workbook has a 27.5-year depreciation worksheet (mid-month convention, up to 10 properties and 30 later improvements), so the depreciation you have taken through the year before the sale is on one page, plus a one-page summary for your preparer. It doesn't handle the year of sale and doesn't compute the gain, recapture or the tax on it.

Rental Property Bookkeeping Spreadsheet

Know exactly what each rental earns, without accounting software. Log rent and expenses with dropdowns. The dashboard, monthly summary and year-end P&L per property update automatically.

Excel & Google Sheets · sample + blank file · PDF guide

Rules are from Publication 544 (2025), Sales and Other Dispositions of Assets (amount realized, section 1245 and section 1250 property, additional depreciation, section 1231 gains and losses, capital gains tax rates and unrecaptured section 1250 gain), Publication 527 (2025), Residential Rental Property (Table 2-2d, depreciation reduces basis, claiming the correct amount of depreciation), Publication 946 (2025), How To Depreciate Property (mid-month convention in the year of disposition), Publication 523 (2025), Selling Your Home (depreciation after May 6, 1997), the 2025 Instructions for Form 4797, IRS Topic no. 409 and Topic no. 559, and Revenue Procedure 2025-32 (2026 capital gain rate amounts), applied to the 2026 tax year and the 2027 filing season. The examples are made up, use the 25% maximum rate rather than computing the tax, and ignore state tax, installment sales, the alternative minimum tax and any later change to the law. This guide is not tax or legal advice. Confirm your situation with a qualified tax professional.

Get the free cash flow calculator

Price, loan, rent and expenses in; monthly cash flow, cash-on-cash return, cap rate and DSCR out. Works in Excel and Google Sheets. Enter your email and we'll send you the file.

You'll get the calculator, two short follow-up emails and occasional updates. Unsubscribe at any time.

Frequently asked questions

What is depreciation recapture on a rental property?

When you sell a rental at a gain, the depreciation you took (or could have taken) has lowered your adjusted basis and so increased the gain. For a residential rental building placed in service after 1986, depreciated straight-line over 27.5 years and held more than one year, that part of the gain is generally 'unrecaptured section 1250 gain'. It is still long-term gain, but it is taxed at your ordinary rate with a maximum of 25%, instead of the 0%, 15% or 20% capital gain rates. Publication 544 and IRS Topic 409 describe the rules.

Is depreciation recapture taxed at 25%?

25% is the maximum rate for unrecaptured section 1250 gain, not a flat rate. If your other taxable income puts that slice of gain in a lower ordinary bracket, the lower rate applies. The Schedule D Tax Worksheet in the Schedule D instructions does the calculation. Appliances, carpets and other personal property used in the rental are different: they are section 1245 property, and gain on them is ordinary income up to the depreciation.

Do I pay depreciation recapture if I never claimed depreciation?

Generally, yes. The IRS reduces your basis by the depreciation 'allowed or allowable', meaning the amount you were entitled to deduct even if you didn't. So the gain on a sale is the same as if you had claimed it, and you can be taxed on depreciation you never deducted. Publication 527 points to amended returns or an accounting method change (see Publication 946) to claim missed depreciation, which is worth raising with a tax professional before you sell.

Can I avoid depreciation recapture?

Not by skipping the deduction, because allowable depreciation counts anyway. A like-kind exchange under the rules in Publication 544 can defer the gain, including the depreciation part, into the replacement property. Converting the rental to your main home doesn't erase it either: Publication 523 says you can't exclude the part of the gain equal to depreciation allowed or allowable after May 6, 1997.

Where is depreciation recapture reported?

The sale of a rental held more than one year is generally reported on Form 4797. The Form 4797 instructions say to report the building in Part III and the land in Part I when both are sold together. The unrecaptured section 1250 gain is figured with the Unrecaptured Section 1250 Gain Worksheet in the Schedule D instructions and carried to Schedule D.

Keep reading