Cost Segregation After a 1031 Exchange With Boot: Offsetting the Taxable Part
Request the analysis Book a free scope call
Why the boot year is the year to look at a new study
A 1031 exchange defers gain only on the value you roll into like-kind real estate. Cash you pocket at closing, debt relief you do not replace, or a smaller replacement property is boot, and gain is recognized up to the boot in the year of the exchange (IRC 1031(b)). The rest of the gain carries into the replacement through a lower basis (IRC 1031(d)).
The replacement property is placed in service in that same year, and bonus depreciation is a first-year deduction. That timing is the whole idea: a cost segregation study on the replacement can produce a large deduction in exactly the year the boot shows up on your return.
If you already know you will take money off the table, the study, the closing date and the tax year can be planned together instead of discovered at filing time.
For the boot mechanics themselves (cash, mortgage relief, netting), see 1031 boot. This page covers what a new study can and cannot do about it.
How the boot is taxed, and why it is usually the 25% layer
Two details decide how much tax the boot creates.
- A new loan does not cancel cash you take. Debt you pay off on the old property can be offset by debt you take on for the new one, but cash received is not offset by a new mortgage. The regulation's own example treats only the cash as boot even though the taxpayer took on more debt than he shed (Treas. Reg. 1.1031(d)-2, Example 2). In our example the new $600,000 loan does nothing to the $300,000 of cash boot.
- The boot gain usually comes out of the depreciation first. Unrecaptured Section 1250 gain is the gain that would be ordinary if all depreciation were recaptured (IRC 1(h)(6)), and in an exchange the 1250 amount is limited by the gain recognized (IRC 1250(d)(4)). When past depreciation exceeds the boot, the whole recognized gain is typically taxed at up to 25% (IRC 1(h)(1)(E), 2027), not at 15% or 20%.
Most landlords also owe the 3.8% net investment income tax on the boot gain above $250,000 of modified AGI for joint filers (IRC 1411, threshold not indexed, 2027), and states tax it on top.
Exchanged basis vs excess basis: what a new study can touch
The depreciation regulations split the replacement property's basis in two (Treas. Reg. 1.168(i)-6(b)(7) and (8)):
- Exchanged basis: the lesser of the replacement's basis or the old building's remaining depreciable basis. It keeps depreciating on the old building's schedule.
- Excess basis: everything above that, typically funded by new debt or new cash when you trade up. It is treated like newly purchased property.
For bonus depreciation the split is decisive. If the replacement is used property bought from an unrelated seller, only the remaining excess basis is eligible for bonus; if it is brand-new (original use), both pieces are (Treas. Reg. 1.168(k)-2(g)(5)(iii)(A)). In our example the building basis after the exchange is $1,100,000: $500,000 exchanged basis and $600,000 excess basis, so the study's bonus can only come from the $600,000.
A study can still re-label parts of the exchanged basis, but under the shorter-recovery-period rule those dollars keep the old building's remaining recovery period (Treas. Reg. 1.168(i)-6(c)(4)(ii)). The alternative is the election to treat the whole basis as newly placed in service (Treas. Reg. 1.168(i)-6(i)(1)).
It lets the study assign 5-, 7- and 15-year lives to the carried-over dollars too, still without bonus on used property (1.168(k)-2(g)(5)(iii)(D)), but it also restarts a fresh 27.5- or 39-year clock on the building portion, which can be slower than the old schedule. It is worth modeling both ways before electing.
Bonus depreciation in 2027: 100% again, with a date test
The One Big Beautiful Bill Act (P.L. 119-21, section 70301, signed July 4, 2025) restored 100% bonus depreciation permanently for qualified property acquired after January 19, 2025. Property is not treated as acquired after that date if a written binding contract was signed earlier.
IRS Notice 2026-11 says taxpayers apply rules consistent with Treas. Reg. 1.168(k)-2 to that property, so the exchanged-versus-excess basis rule above still governs replacement property in an exchange.
Property acquired before January 20, 2025 stays on the old phase-down: 40% for property placed in service during 2025 (IRS Notice 2026-11, describing IRC 168(k)(6) before the 2025 amendments). A 2026 exchange will almost always involve a replacement acquired after the cutoff, but check the contract date on a deal that was signed early and closed late.
Bonus applies only to property with a recovery period of 20 years or less (IRC 168(k)(2)(A)). That is why the study matters: the building shell stays at 27.5 or 39 years, and only the components the study identifies (5- and 7-year personal property, 15-year land improvements) can be written off in year one.
The passive loss rules: why boot gain can absorb the deduction
For most owners, rental depreciation is a passive deduction, usable only against passive income (IRC 469). That usually limits cost segregation. A boot year is different, because gain recognized on the disposition of property used in a passive activity is passive activity gross income for the year it is recognized (Treas. Reg. 1.469-2T(c)(2)(i)(A)).
The $300,000 of boot gain from the old rental is passive income, and the passive loss created by the study on the new rental can be netted against it, even though they are different properties.
- Old suspended losses count too. A 1031 exchange is not the fully taxable disposition that frees all suspended losses under IRC 469(g), but suspended losses from prior years are allowed against the boot year's passive income like any other passive deduction.
- Real estate professionals who materially participate (IRC 469(c)(7)) have nonpassive rental losses that can offset wages and business income as well, subject to the excess business loss limit (IRC 461(l)).
- The 3.8% tax: depreciation on the rental reduces net investment income, so the deduction also lowers the net investment income tax on the boot (IRC 1411(c)(1)(B), 2027).
Worked example: a $2,000,000 sale with $300,000 taken out
Without a study, the $300,000 of boot costs this Texas couple $84,373 in federal income tax and net investment income tax for 2027. With a study that finds $150,000 of 5-, 7- and 15-year property inside the $600,000 of excess basis, the boot-year tax falls to $41,671, a difference of $42,702. The net investment income tax piece alone drops from $11,400 to $5,700.
Because deductions come off ordinary income first, the study's deduction is effectively used at the couple's 24% bracket (Rev. Proc. 2026-35, 2027 brackets), while the boot gain itself is taxed at up to 25%. The deduction does not need to match the gain in character to lower the year's tax.
Had the couple lived in California, the same boot would add $27,900 of state tax, and most of that would remain, as covered below. Numbers are illustrative engine output from labeled assumptions, not a forecast; a real study's percentage depends on the building.
1031 replacement depreciation: three checks before you file
Whether or not you took boot, every exchange into depreciable property raises the same three questions, and two of them have deadlines.
- Bonus on excess basis only. On used replacement property, bonus depreciation reaches only the excess basis, whether or not you make the election below (Treas. Reg. 1.168(k)-2(g)(5)(iii)(A) and (D)). An equal-value swap with no new money has little or none, so size the study to the excess basis, not the purchase price.
- The election to restart the clock. The Treas. Reg. 1.168(i)-6(i) election treats the whole replacement basis as newly placed in service, so a study can give 5-, 7- and 15-year lives to the carried-over dollars too, at the cost of a fresh 27.5- or 39-year schedule on the building portion. It is made on Form 4562 by the due date, including extensions, of the return for the year of replacement, separately for each exchange; it cannot be made later through a Form 3115 accounting method change, and revoking it needs IRS consent (Treas. Reg. 1.168(i)-6(j)). Model it before the replacement-year return is filed.
- The Section 1245(b)(4) check on the property you gave up. If the relinquished building was cost-segged, recapture on its 5- and 7-year components is deferred only to the extent the replacement carries enough Section 1245 property; the shortfall is ordinary income in the exchange year even with no boot (IRC 1245(b)(4)). See Section 1245 recapture in a 1031.
The trade-off: ordinary recapture later
Bonus depreciation lowers basis dollar for dollar. On the 5- and 7-year components it is Section 1245 depreciation, recaptured as ordinary income when you sell (IRC 1245(a)); on 15-year land improvements, bonus above straight line is additional depreciation recaptured under IRC 1250(a).
If the replacement is sold for cash in 2031 with similar other income, our engine shows about $41,671 of tax on the recaptured $150,000, compared with the $42,702 saved in 2027.
The value of the study is mostly the years of use of that money and any drop in your bracket by the time you sell.
- Another exchange later does not automatically shelter it: Section 1245 recapture is recognized to the extent you receive property that is not 1245 property, such as a plain building (IRC 1245(b)(4)). The next replacement needs enough 1245 property of its own.
- Seller-carried note later does not spread it: recapture income is taxed in the year of sale even on an installment sale (IRC 453(i)). See recapture in an installment sale.
- Holding until death resets basis for heirs (IRC 1014), which is the one path where the recapture never comes due.
California and other states that do not follow bonus
California has not conformed to federal bonus depreciation under IRC 168(k) (FTB 2025 Form 3885A instructions), so a California resident gets only regular depreciation on the reclassified components for state purposes.
In the boot year, most of the $27,900 of California tax in our example stays, and you keep a separate state depreciation schedule with a different basis for years. California taxes all gain as ordinary income, so the 25% federal layer does not exist at the state level.
If the replacement is outside California, the state also requires an annual information return on the deferred California gain (FTB Form 3840 instructions, 2025).
Several other states decouple from bonus too, so run the state layer separately; see your state's page under capital gains tax by state.
Other ways to soften the boot year
- Installment treatment of boot. If part of the price is a buyer's note held through the qualified intermediary, that boot can be reported as payments arrive (IRC 453(f)(6); Treas. Reg. 1.1031(k)-1(j)(2)). Watch the mismatch: if the boot moves to later years, a big study deduction in the replacement year may have no passive income to land on and simply carry forward. See Section 453 installment sale.
- Capital loss carryforwards net against the boot gain, including the 25% layer, before any bracket math (see carryovers and suspended losses).
- Reinvesting the cash into a larger replacement removes the boot entirely, at the cost of keeping the money in real estate.
- Sizing the study to the boot. For a non-professional, a deduction far larger than the year's passive income only carries forward, so the study's timing and the elections above matter as much as its size.
Get the Big Sale Tax Analysis to model the boot, the study and the later recapture side by side with your other options.
Section 1245 recapture in a 1031 exchange: the trap in one sentence
A 1031 exchange defers Section 1245 recapture only to the extent you receive Section 1245 property back. If the old building was cost-segged and the replacement has too little 5- and 7-year property, the shortfall is ordinary income in the exchange year even with no boot (IRC 1245(b)(4)). In our Texas example, a $200,000 shortfall costs $55,583 in 2027.
A like-kind exchange defers gain, but Section 1245 has its own rule for exchanges, and it overrides the general deferral: the ordinary recapture you owe on the old property's personal-property components is limited only to the gain you recognize plus the fair market value of property you receive that is not Section 1245 property (IRC 1245(b)(4)).
If you hand over cost-segged carpet, cabinetry and dedicated electrical, and get back mostly building shell and land, the regulation treats you as having traded 1245 property for non-1245 property. That difference is ordinary income in the exchange year, even when the qualified intermediary reports zero boot.
Before cost segregation and bonus depreciation were common, this rarely mattered, because most buildings carried little 1245 depreciation. A study that moved 20% or 30% of a building into 5- and 7-year lives, written off at 100% bonus for property acquired after January 19, 2025 (P.L. 119-21 section 70301; IRS Notice 2026-11) or at the phase-down rates for earlier years, changes that.
Section 1245 recapture in a 1031 exchange: how the limit is computed
Start with what would be recaptured in a taxable sale. For each 1245 component, recapture is the lesser of the depreciation taken on it or the gain on it (IRC 1245(a)(1)). Then apply the exchange limit (Treas. Reg. 1.1245-4(d)(1)):
- Gain recognized on the exchange anyway (boot), plus
- The fair market value of non-1245 property you receive that was not already counted as boot.
Recapture is the smaller of the sale amount or that limit. In a typical real estate exchange the replacement building and land are worth far more than the old components, so item 2 is large and the practical question becomes how much of the components' value comes back to you as Section 1245 property.
The regulation's examples match 1245 property received against 1245 property given up; when the replacement is short, the shortfall is recaptured.
Real structural components are a separate question. For Section 1031, structural components of a building are real property even if a study treats some of them as 1245 property for depreciation (Treas. Reg. 1.1031(a)-3(a)(2)). Movable personal property is not like-kind real property at all, so value you receive in that form is taxable. Your qualified intermediary and attorney should confirm which items fall where.
Section 1245 recapture in a 1031 exchange: worked example: zero boot, real tax
Our couple sells an office building in Texas that was cost-segged in 2021. The 5- and 7-year components were fully written off and are worth $250,000 at the exchange, so a cash sale would recapture $250,000 (the per-component cap holds it below the larger amount of depreciation taken). They roll every dollar into a replacement that, without a study, carries only $50,000 of Section 1245 property.
The $200,000 shortfall is ordinary income: $55,583 of 2027 federal tax and net investment income tax, with $7,600 of that being the 3.8% tax (IRC 1411, threshold $250,000 joint, not indexed, 2027). In California the same shortfall costs $74,183, of which $18,600 is state tax.
If a study on the replacement documents $200,000 of 5- and 7-year property before the return is filed, the shortfall drops to $50,000 and the tax to $13,871, a difference of $41,712. Numbers are illustrative engine output from labeled assumptions; the matching of specific components is your CPA's call.
The per-component cap: value the old components honestly
The recapture exposure is not the depreciation you took. It is capped, component by component, by the gain on that component, which depends on its value at the exchange (IRC 1245(a)(1)). Five-year carpet that was installed seven years ago may be worth very little. A defensible, documented low value for worn 5- and 7-year items shrinks the amount that needs matching 1245 property on the other side.
- Get the valuation in writing from an appraiser or the engineer who did the original study, as of the exchange date.
- Be consistent. The value you use for recapture should match what the exchange documents and any allocation say. A buyer of your old building may want a high personal property value for its own bonus depreciation; that pushes your recapture up. See purchase price allocation.
- Land improvements such as parking lots and landscaping are 1250 property. Bonus on them is additional depreciation recaptured under IRC 1250(a), with a separate exchange limit in IRC 1250(d)(4) that looks at 1250 property received. Swapping into another building usually covers it, but check.
Section 1245 recapture in a 1031 exchange: how to plan the replacement side
Most of this is fixed before closing on the replacement, not at tax time.
- Order a study or a desktop estimate on the replacement during due diligence, so you know whether it carries enough 1245 property. Retail, hospitality, medical office and multifamily with modern finishes tend to carry more than raw land, warehouses with little build-out or a ground lease.
- Delaware statutory trust interests as replacement property: ask the sponsor for its cost segregation figures. Many sponsors commission studies, but the 1245 share varies by asset.
- Do not count on bonus on the replacement to fix it. Bonus on used replacement property applies only to excess basis (Treas. Reg. 1.168(k)-2(g)(5)(iii)(A)); the recapture limit looks at the value of 1245 property received, not at the bonus you can claim. The two questions are separate. See cost segregation after a 1031 with boot for the depreciation side.
- Trading into land only (farmland, raw land) nearly always produces a full shortfall on any cost-segged components.
When the recapture also hits an installment sale or a carryback
If you skip the exchange and sell with seller-carried notes, the full recapture lands in year one regardless of how little cash you collect: recapture income is recognized in the year of disposition under IRC 453(i), and only the rest of the gain is spread.
A cost-segged property sold on a note can leave the seller paying tax out of pocket in the year of sale unless the down payment covers it. Size the cash at closing to the recapture tax first. See recapture in an installment sale.
The same logic applies to a 1031 with a buyer's note as part of the price: the note is boot, and any recapture that 1245(b)(4) does not shelter comes out in the exchange year.
Section 1245 recapture in a 1031 exchange: questions to ask before you sign
- Was the property you are selling ever cost-segged, or did you take bonus or Section 179 on any of it? (your CPA)
- What is each 5- and 7-year component worth today, in writing? (appraiser or engineer)
- How much Section 1245 property does the replacement carry? (engineer, or the sponsor for a Delaware statutory trust)
- Does the contract or exchange agreement state an allocation between real and personal property? (attorney)
- Which items are personal property, not like-kind real property, under Treas. Reg. 1.1031(a)-3? (qualified intermediary, attorney)
Get the Big Sale Tax Analysis to model the recapture in a 1031, a cash sale and an installment sale side by side.
What to know
A study after a 1031 is a timing tool, not a way to make the boot disappear. On used replacement property only the excess basis can take bonus, so a like-for-like trade with little new money produces a small result.
The deduction is passive for most owners, which works in the boot year but can strand it in later years. Every bonus dollar returns as ordinary income when you sell for cash, and California gives no state benefit.
The study fee, the separate state schedule and your CPA's time are real costs to weigh against the deferral.
The exchange limit is mechanical and easy to miss, because the exchange paperwork shows no boot. The exposure depends on values, not only on depreciation history, so it needs a valuation of the old components and a look at the replacement before closing.
A study on the replacement costs money, and a short hold after the exchange can still bring the recapture back later on a cash sale. Holding until death resets basis for heirs (IRC 1014), which is the one path where the recapture never comes due.
How much tax does this sale cause? A worked example
Assumptions: married couple, $250,000 of other income in 2027. Apartment building sold for $2,000,000, adjusted basis $700,000 ($200,000 land plus $500,000 building after $600,000 of straight-line depreciation), no mortgage. They take $300,000 cash at closing and buy a $2,300,000 replacement with the other $1,700,000 plus a new $600,000 loan.
The $300,000 of boot is taxed in 2027 as unrecaptured Section 1250 gain. Same exchange.
A study on the replacement puts 25% of the $600,000 excess basis into 5-, 7- and 15-year property: $150,000 of 100% bonus depreciation in 2027, treated as a passive loss used against the passive boot gain (rent assumed to cover the property's other costs).
Same exchange for California residents, to show the state layer that federal bonus depreciation does not reach. If the replacement is sold for cash in 2031 with the same $250,000 of other income, the $150,000 of bonus is recaptured as ordinary income (projected 2031 brackets).
Assumptions: married couple, $250,000 of other income in 2027. The relinquished building's 5- and 7-year components were fully written off with bonus in 2021 and are worth $250,000 at the exchange.
The replacement holds only $50,000 of Section 1245 property, so $200,000 of the components' value comes back as non-1245 property and is recaptured as ordinary income. No cash or debt boot. Same exchange for California residents.
California taxes the recapture as ordinary income too; the state amount follows its own depreciation history, simplified here to the same $200,000. Same exchange, but a study on the replacement identifies $200,000 of 5- and 7-year property before closing, leaving a $50,000 shortfall.
| Engine run | Boot year, no study, Texas | Same year, study on the replacement | Boot year, California, no study | Later sale (2031): the $150,000 comes back | Section 1245 recapture in a 1031 exchange: Shortfall of $200,000, Texas | Section 1245 recapture in a 1031 exchange: Same shortfall, California | Section 1245 recapture in a 1031 exchange: Replacement study finds $200,000, Texas |
|---|---|---|---|---|---|---|---|
| Filing status | Married, joint | Married, joint | Married, joint | Married, joint | Married, joint | Married, joint | Married, joint |
| State | Texas | Texas | California | Texas | Texas | California | Texas |
| Other income (wages, pension, interest) | $250,000 | $250,000 | $250,000 | $250,000 | $250,000 | $250,000 | $250,000 |
| Unrecaptured Section 1250 gain (25% max) | $300,000 | $300,000 | $300,000 | $0 | $0 | $0 | $0 |
| Section 1245 recapture triggered by 1245(b)(4) | $0 | $0 | $0 | $150,000 | $200,000 | $200,000 | $50,000 |
| Passive deduction from the study (100% bonus) | $0 | $150,000 | $0 | $0 | $0 | $0 | $0 |
| Federal income tax on the sale | $72,973 | $35,971 | $72,973 | $35,971 | $47,983 | $47,983 | $11,971 |
| Net investment income tax (3.8%) | $11,400 | $5,700 | $11,400 | $5,700 | $7,600 | $7,600 | $1,900 |
| State income tax on the sale | $0 | $0 | $27,900 | $0 | $0 | $18,600 | $0 |
| Total tax caused by the sale | $84,373 | $41,671 | $112,273 | $41,671 | $55,583 | $74,183 | $13,871 |
| Effective rate on the gain | 28.1% | 13.9% | 37.4% | 27.8% | 27.8% | 37.1% | 27.7% |
| Gain kept after these taxes | $215,628 | $258,329 | $187,728 | $108,329 | $144,417 | $125,817 | $36,129 |
Computed November 21, 2026 by the Big Sale Tax engine (engine.js yearTax): federal brackets, 0/15/20% thresholds and AMT from Rev. Proc. 2026-35 (IR-2026-133, Nov 5 2026) and the One Big Beautiful Bill Act (P.L. 119-21); NIIT under IRC 1411 (thresholds not indexed); state tax from the engine's state table (California: FTB 2026 rate schedules, the latest published; the 2027 schedule is not out yet, so the California figure is a projection from the 2026 tables).
"Tax caused by the sale" = tax with the sale minus tax without it. Excludes selling costs, local taxes and estimated-tax timing. Education only.
How much tax would you owe? Run your own numbers
2027 federal law from the engine: 0/15/20% brackets (Rev. Proc. 2026-35), 25% cap on unrecaptured 1250 gain, ordinary rates on 1245 recapture, 3.8% NIIT over $200,000 single / $250,000 joint (IRC 1411), AMT, and your state's rules (California on the FTB 2026 schedules, because the 2027 schedule is not published yet).
What was sold and years held only matter in a few states: Washington exempts real estate, Ohio and New Mexico treat a business sale differently, Arizona subtracts 25% for assets bought after 2011 and Oklahoma deducts gain on Oklahoma property held 5 years or more.
Tax shown is the tax caused by the sale. Excludes local taxes other than Maryland's county tax (3.2% used). Tick the active-owner box if you materially participate in the business. Education only.
Long-Term vs Short-Term Capital Gains (2027)
The one-year holding rule, the 2027 0/15/20% thresholds for every filing status, NIIT, recapture, the state layer and a worked $200,000 example: 11 months vs 13 months, and what spreading the gain can save.
Frequently asked questions
Can you do a cost segregation study on a 1031 exchange property?
Can you take bonus depreciation on 1031 exchange property?
What happens to depreciation in a 1031 exchange?
Can cost segregation offset capital gains?
Can cost segregation offset W-2 income?
Is cost segregation worth it after a 1031?
When is the deadline for the 1.168(i)-6(i) election?
Is depreciation recapture deferred in a 1031 exchange?
Does cost segregation affect a 1031 exchange?
How is 1245 recapture calculated?
Can a 1031 exchange avoid ordinary income?
Do I owe recapture if my 1031 had no boot?
Does an installment sale spread depreciation recapture?
Sources
- IRS Notice 2026-11, interim guidance on 100% bonus under OBBBA (irs.gov)
- Treas. Reg. 1.168(k)-2(g)(5), bonus in like-kind exchanges (eCFR)
- Treas. Reg. 1.168(i)-6, exchanged and excess basis (eCFR)
- Treas. Reg. 1.469-2T(c)(2), disposition gain as passive income (eCFR)
- Treas. Reg. 1.1031(d)-2, liabilities and boot (eCFR)
- Treas. Reg. 1.1031(k)-1(j)(2), installment method in deferred exchanges (eCFR)
- IRC 1031, like-kind exchanges (Cornell LII)
- IRC 1250, recapture and exchanges (Cornell LII)
- IRC 1245(b)(4), recapture in later exchanges (Cornell LII)
- IRC 469, passive activity losses (Cornell LII)
- IRC 453(i), recapture in installment sales (Cornell LII)
- FTB 2025 Form 3885A instructions, California depreciation differences
- FTB 2025 Form 3840 instructions, California like-kind exchange reporting
- IRS Publication 5653, Cost Segregation Audit Techniques Guide
- Treas. Reg. 1.1245-4, exceptions and limitations (eCFR)
- Treas. Reg. 1.1031(a)-3, definition of real property (eCFR)
Figures as of November 21, 2026; each rate and limit above names its source and year. Education only, not legal or tax advice.
Keep reading
1031 boot
Cash out, debt not replaced, or a note from the buyer: how boot is taxed in a 1031, how mortgage netting works, and how to spread boot over time.
ReadCost segregation before a sale
Faster depreciation now, ordinary recapture at sale: when a late cost segregation study still pays.
ReadDepreciation recapture
Which rate applies to the depreciation you took, how much comes back, and what a 1031 or an installment sale does to it.
Read1031 exchange
Defer the whole gain by trading investment real estate for more real estate, if you can find it and close inside 180 days.
ReadRental property
How a rental sale is really taxed: the 25% depreciation layer, the losses the sale finally frees, the 3.8% tax, and why moving in first rarely helps.
ReadCommercial property
Office, retail and industrial sales: why cost segregation comes back at ordinary rates, how the 1231 lookback works, and what states hold back at closing.
ReadKnow your number before you sign.
Start with a free scope call: a short call to see whether the Big Sale Tax Analysis is worth it for your sale. No obligation.
Prefer email? Request the analysis by email.
You talk to Hans Goldstein. Enrolled Agent, admitted to practice before the IRS.