Depreciation Recapture and 1031 Exchanges: How Deferral Works
Short answer: When you sell a rental or commercial building at a gain, the depreciation you took is generally taxed back. For most buildings this "unrecaptured Section 1250 gain" is taxed at a federal rate of up to 25%. A properly structured 1031 exchange can defer that tax along with the capital gain, but it does not erase it. The deferred amount carries over to the replacement property. If you hold property until death, current law generally gives your heirs a stepped-up basis, and the deferred gain and recapture are not taxed as income.
This guide is general information, not tax advice. Your CPA should run the numbers for your situation.
How depreciation works on rental and commercial property
Depreciation lets you deduct the cost of a building over time, even while the property may be rising in value. Under the IRS system for most real estate (MACRS):
- Residential rental property is depreciated over 27.5 years. A building qualifies if 80% or more of its gross rental income comes from dwelling units.
- Nonresidential real property, such as an office building, store or warehouse, is depreciated over 39 years.
- Both use the straight-line method: roughly the same deduction each year.
- Land is not depreciable. Only the building and other improvements are. You split the purchase price between land and building.
Each year's depreciation lowers your adjusted basis, which is roughly what you paid, plus improvements, minus depreciation. A lower basis means a larger gain when you sell. The IRS reduces basis by depreciation "allowed or allowable," so depreciation you could have claimed counts even if you never claimed it.
What happens when you sell: recapture explained
On a taxable sale, your total gain is the sale price (less selling costs) minus your adjusted basis. The part caused by depreciation is taxed differently from the part caused by appreciation.
| Type of gain | What it covers | Top federal rate | In a 1031 exchange |
|---|---|---|---|
| Unrecaptured Section 1250 gain | Straight-line depreciation taken on buildings | 25% | Deferred if there is no boot |
| Section 1250 ordinary recapture | Depreciation above the straight-line amount | Ordinary income rates (up to 37%) | Generally deferred, subject to limits in IRC 1250(d)(4) |
| Section 1245 recapture | Depreciation on personal property, including many cost segregation and bonus depreciation assets | Ordinary income rates (up to 37%) | Can be triggered even with no cash boot (see below) |
| Long-term capital gain | Appreciation above your original cost | 0%, 15% or 20% | Deferred if there is no boot |
| Net investment income tax (NIIT) | Applies to gains and rents above income thresholds | 3.8% | Not owed on gain that is deferred |
A few notes on the table:
- Unrecaptured Section 1250 gain is capped at 25% by IRC 1(h). If your ordinary bracket is lower, the lower rate applies.
- Section 1250 ordinary recapture is rare. Buildings placed in service after 1986 must use straight-line, so most have none. Exceptions can arise, for example when bonus depreciation was claimed on certain real property improvements.
- The NIIT applies when modified adjusted gross income exceeds $250,000 for joint filers, $200,000 for single filers, or $125,000 for married filing separately.
State income taxes may also apply.
Worked example: a taxable sale
This hypothetical is illustrative only. It shows federal tax arithmetic, not a prediction for any property.
An investor buys a rental property for $800,000: $200,000 for land and $600,000 for the building. Over about seven years, the investor takes $150,000 of straight-line depreciation ($600,000 / 27.5 = about $21,818 a year). The investor then sells for $1,100,000. Selling costs and state tax are ignored.
| Line | Amount |
|---|---|
| Purchase price | $800,000 |
| Minus depreciation taken | ($150,000) |
| Adjusted basis | $650,000 |
| Sale price | $1,100,000 |
| Total gain ($1,100,000 - $650,000) | $450,000 |
| Unrecaptured Section 1250 gain (equal to depreciation) | $150,000 |
| Remaining long-term capital gain ($450,000 - $150,000) | $300,000 |
Now assume the investor's income is high enough that the top rates and the full NIIT apply:
| Tax item | Calculation | Approximate federal tax |
|---|---|---|
| Unrecaptured Section 1250 gain | $150,000 x 25% | $37,500 |
| Long-term capital gain | $300,000 x 20% | $60,000 |
| Net investment income tax | $450,000 x 3.8% | $17,100 |
| Total | $114,600 |
Without the depreciation, the gain would have been $300,000. The $150,000 of depreciation saved tax in earlier years, but on a taxable sale about $43,200 of the bill ties back to it ($37,500 plus $5,700 of NIIT).
Thinking about your next exchange?
Create a free USA REIT Markets account to see 1031 and commercial real estate opportunities, or talk to our team about your timeline and replacement property options.
How a 1031 exchange defers depreciation recapture
A 1031 exchange lets you sell investment or business real property and buy like-kind real property without recognizing gain. You need a qualified intermediary and must meet the 45-day and 180-day deadlines; see the 1031 exchange rules and regulations guide.
Does a 1031 exchange avoid depreciation recapture? No, it defers it. Under IRC 1031(d), your replacement basis generally starts from your old adjusted basis, so the deferred depreciation stays built into the new property.
Back to the example. Suppose the investor has no mortgage, sells for $1,100,000 and buys a $1,200,000 replacement property, adding $100,000 of new money:
| Line | Amount |
|---|---|
| Old adjusted basis | $650,000 |
| Plus new money added | $100,000 |
| Basis in replacement property | $750,000 |
| Replacement property value | $1,200,000 |
| Deferred gain built into the new property | $450,000 |
All $450,000 of gain is deferred, including the $150,000 of depreciation. In a later taxable sale, that deferred depreciation is generally taxed, along with depreciation taken on the new property.
How boot triggers recapture
Boot is cash or other non-like-kind value you receive, including debt relief you don't replace. Gain is recognized up to the amount of boot.
Say the investor buys a $1,050,000 replacement property instead and keeps $50,000 in cash. Up to $50,000 of gain becomes taxable now. The remaining $400,000 is deferred, and the new basis stays at $650,000. On real property, the taxable part is often treated as unrecaptured Section 1250 gain first, so it may be taxed at up to 25%, plus NIIT if it applies. Read more in our guide to 1031 exchange boot, and see how the exchange is reported in the Form 8824 guide.
Cost segregation, bonus depreciation and Section 1245
A cost segregation study splits a building's cost into shorter-lived parts: for example, 5-year appliances, carpets and furniture in a rental, and 15-year land improvements such as sidewalks, fences and roads. Many of these parts are Section 1245 property and may qualify for bonus depreciation, which 2025 legislation restored at 100% for qualified property acquired after January 19, 2025.
The faster deductions have a cost at sale time, and it can reach into a 1031 exchange:
- Since 2018, only real property qualifies. Personal property such as furniture and appliances is no longer like-kind. Gain on those items is generally taxable, and their recapture is ordinary income.
- Real property is defined by Treas. Reg. 1.1031(a)-3. It covers land, buildings, other inherently permanent structures and structural components. Some cost segregation assets meet that definition even though they are depreciated as Section 1245 property.
- Section 1245(b)(4) can still apply. In an exchange, Section 1245 ordinary income is limited to the gain recognized plus the fair market value of property acquired that is not Section 1245 property. So if you give up Section 1245 components and buy a building with few of them, some recapture may be taxed as ordinary income even with no cash boot.
The result depends on how both properties are classified and how the price is allocated. If you used cost segregation or bonus depreciation, have your CPA review the allocation before you sign a purchase contract.
Depreciating the replacement property
You don't start depreciation over from zero after an exchange. Under Treas. Reg. 1.168(i)-6:
- Carried-over basis keeps being depreciated over the old property's remaining recovery period and method. Special rules apply if the new property has a longer period, such as moving from a 27.5-year apartment to a 39-year office building.
- Excess basis, such as new money or a larger loan, is treated as newly placed in service, after allocating part of it to land.
- An election lets you treat the whole replacement basis as placed in service on the exchange date, which changes the timing of deductions.
Depreciation on the replacement property adds to the recapture you may owe in a later taxable sale.
"Swap till you drop" and the step-up in basis
"Swap till you drop" means exchanging from one property to the next and never making a taxable sale. Under current law, two rules matter at death:
- IRC 1014 generally sets an heir's basis at the property's fair market value on the date of death. This is the step-up in basis.
- IRC 1245(b)(2) and 1250(d)(2) say depreciation recapture does not apply to a transfer at death. IRS Publication 544 says no ordinary income from depreciation is reported on the transfer.
In the example, if the investor held the $1,200,000 replacement property until death, heirs would generally take a basis of $1,200,000 (assuming that value). The $450,000 of deferred gain, including the $150,000 of depreciation, would not be taxed as income. The heirs could also begin depreciating the building portion again from the new basis.
Three caveats. Estate tax can still apply to large estates. Lifetime gifts don't get a step-up; gifted property generally keeps the giver's basis. And the rules can change. Federal budget proposals, including the Treasury's 2021 revenue proposals, have suggested capping 1031 deferral and taxing some gains at death. They were not enacted, but future law could differ.
DSTs and 721 exchanges for continued deferral
Swapping until death can mean managing property for decades. Some investors choose passive replacement property instead:
- Delaware statutory trusts (DSTs). An interest in a properly structured DST can qualify as like-kind replacement property under IRS Revenue Ruling 2004-86. That lets an investor keep deferring gain and recapture without managing a building. DSTs are generally available only to accredited investors, illiquid, and involve risks including loss of principal. Read our DST investments guide.
- 721 exchanges (UPREITs). Under IRC 721, property, often a DST interest, can be contributed to a REIT's operating partnership for partnership units, generally without recognizing gain. But operating partnership units are not real property. That usually ends further 1031 exchanges, and converting the units to REIT shares or selling them is generally taxable. See the 721 exchange guide.
Review any offering's documents and fees with your advisers before investing.
FAQ
What is depreciation recapture on rental property?
It is the tax on depreciation you took, or could have taken, when you sell at a gain. For most rental buildings it is taxed at a federal rate of up to 25%. Depreciation on personal property is taxed at ordinary income rates.
What is unrecaptured Section 1250 gain?
It is the part of a long-term gain on depreciable real property that comes from straight-line depreciation. Its maximum federal rate is 25%. It is figured with a worksheet in the Schedule D instructions.
Does a 1031 exchange avoid depreciation recapture?
It defers recapture but does not erase it. The deferred depreciation carries over through the replacement property's lower basis. Boot and some Section 1245 components can make part of it taxable now.
Can depreciation recapture be avoided completely?
Under current law, the main way is holding property until death. Heirs generally receive a stepped-up basis, and recapture does not apply to transfers at death.
How does the step-up in basis work after a 1031 exchange?
It applies to the property owned at death, however many exchanges came before. The heir's basis generally becomes the fair market value at death, so gain deferred through earlier exchanges is not taxed as income.
Is depreciation recapture taxed if I never claimed depreciation?
Generally yes, because basis is reduced by depreciation "allowed or allowable." A CPA can tell you whether claiming missed depreciation makes sense.
Do cost segregation assets qualify for a 1031 exchange?
Some do. Items that meet the real property definition in Treas. Reg. 1.1031(a)-3 can qualify; furniture and appliances do not. Even qualifying items can create Section 1245 ordinary income, so plan the allocation with your CPA.
Next steps
Estimate your gain, recapture and deadlines with the 1031 exchange calculator. Then compare replacement property options, including DST offerings, on our 1031 exchange page. Before you sell, review recapture and boot with your CPA. Questions? Contact our team.
This article is for general information only and is not tax, legal or investment advice. Tax laws change and their application depends on your facts. Consult a qualified CPA or tax attorney before selling property or completing a 1031 exchange. DSTs are generally available only to accredited investors, illiquid, and involve risks including loss of principal.
Related 1031 exchange guides
- 1031 Exchange in Texas: no state income tax, the franchise tax for entities, property tax and out-of-state rules.
- 1031 Exchange in Florida: no personal income tax, documentary stamp tax and property tax resets.
- 1031 Exchange in New York: state and NYC income tax, transfer taxes and Form IT-2663 for nonresident sellers.
- Drop and Swap: 1031 Exchanges for LLCs and Partners: who can exchange and the options when partners split up.
- 1031 Exchange Qualified Intermediary: What a QI Does and How to Choose One: who can and can't be your QI, how exchange funds are held, state laws and fees.
- Reverse 1031 Exchange: Rules, Timeline and How It Works: buying the replacement property first under the Rev. Proc. 2000-37 safe harbor.
- Form 8824: How to Report a 1031 Exchange: a line-by-line walkthrough with a worked example.
- 1031 Exchange Boot: cash boot, mortgage boot, the netting rules and how to avoid a tax bill.
- What Is a 1031 Exchange?: how it works step by step, what qualifies, an example, costs and alternatives.
- 1031 Exchange Calculator: your 45-day and 180-day deadlines and an estimate of the tax a 1031 exchange could defer.
- 1031 Exchange Rules and Regulations: A Complete Guide: like-kind property, qualified intermediaries, boot and common mistakes.
- 1031 Exchange Timeline: 45-Day and 180-Day Rules: the deadlines day by day, how to identify replacement property, and how a reverse exchange works.
- 1031 Exchange 5-Year Rule and 2-Year Rules: moving into a replacement property, exchanges with family members, and vacation homes.
- Delaware Statutory Trust (DST) Investments: how DSTs work as 1031 replacement property, the IRS limits on them, costs and risks.
- Can You Do a 1031 Exchange Into a REIT? The 721 (UPREIT) Route: moving from real estate into REIT operating partnership units, and the trade-offs.
- 1031 Exchange in California: Rules, Clawback and FTB 3840: California's extra rules, including the clawback on out-of-state replacement property.
- Opportunity Zone Funds: How They Work and What Changes in 2027: the main alternative to a 1031 exchange, the Dec. 31, 2026 deadline and the new rules from January 2027.
Latest Articles