Yes — cost segregation can offset capital gains, but the result depends on how your income is classified under federal tax law.
The biggest roadblock is IRC Section 469, the passive activity loss rule. This rule says rental real estate losses are passive by default, and passive losses cannot offset non-passive income like W-2 wages or stock sale gains. The consequence is that many property owners generate massive depreciation deductions through cost segregation — and then cannot use them against their capital gains in the same year.
A cost segregation study on a $5 million property reclassifies 25–40% of the building into shorter depreciation lives, creating up to $2,000,000 or more in immediate tax deductions through bonus depreciation. That kind of savings potential is hard to ignore, but only if you know how the rules work.
Here is what you will learn in this guide:
- 🏛️ How federal tax law controls whether cost segregation losses offset capital gains — and the specific IRS code sections involved
- 💰 Three real-world scenarios showing exactly when cost segregation reduces capital gains taxes and when it does not
- ⚠️ The depreciation recapture trap that hits you at sale — and how to minimize it using 1031 exchanges and partial dispositions
- 🔑 How to qualify as a Real Estate Professional under IRC §469(c)(7) and unlock the ability to offset all income types
- 📋 Common mistakes that trigger IRS audits, suspended losses, and unexpected tax bills — and how to avoid each one
What Is Cost Segregation?
Cost segregation is a tax strategy that breaks a building into its individual parts and assigns each part a shorter depreciation life. Under the IRS Modified Accelerated Cost Recovery System (MACRS), residential rental property depreciates over 27.5 years. Commercial property depreciates over 39 years.
Those timelines are slow. A cost segregation study identifies the pieces of a building that qualify for 5-year, 7-year, or 15-year depreciation instead. The result is a much larger deduction in the early years of ownership.
How Components Get Reclassified
An engineering team inspects the property, reviews blueprints and invoices, and separates the building into categories. Each piece falls into a specific IRS asset class. Here is how typical reclassifications break down by recovery period:
| Asset Category | Examples |
|---|---|
| 5-Year Property (§1245) | Carpet, appliances, decorative lighting, certain electrical, specialty cabinetry |
| 7-Year Property (§1245) | Office furniture, specialized fixtures, specific equipment |
| 15-Year Property (§1250) | Parking lots, landscaping, fencing, sidewalks, drainage, outdoor lighting |
| 27.5 or 39-Year Property (§1250) | Structural shell — walls, roof, foundation, standard HVAC, plumbing, electrical |
The 1997 Tax Court case Hospital Corporation of America v. Commissioner changed everything. The court ruled that certain assets inside a building can be separated from the structure and depreciated over shorter lives. This case opened the door for the modern cost segregation industry. Before this ruling, the IRS took the position that most building components were structural and had to follow the full 27.5- or 39-year schedule.
Reclassification Percentages by Property Type
Different property types have different amounts that qualify for reclassification. According to R.E. Cost Seg’s property data, these are the typical ranges:
| Property Type | Reclassifiable Percentage |
|---|---|
| Apartments | 25–35% |
| Hotels | 35–45% |
| Manufacturing Facilities | 40–60% |
| Medical Buildings | 35–50% |
| Retail Properties | 30–40% |
| Restaurants | 40–55% |
A $3 million apartment building with a 30% reclassification moves $900,000 from a 27.5-year life to 5-, 7-, and 15-year lives. With 100% bonus depreciation, a large portion of that $900,000 becomes a first-year deduction.
The Federal Rules That Control Everything
Understanding two specific sections of the Internal Revenue Code is critical before you try to use cost segregation against capital gains. These rules determine whether you benefit now or wait years.
IRC Section 168: Depreciation Rules
Section 168 of the Internal Revenue Code governs MACRS depreciation. This is the section that sets the recovery periods (5, 7, 15, 27.5, and 39 years) and allows bonus depreciation. Under the original Tax Cuts and Jobs Act (TCJA) of 2017, bonus depreciation was set to phase down:
| Tax Year | Bonus Depreciation Rate |
|---|---|
| 2022 | 100% |
| 2023 | 80% |
| 2024 | 60% |
| 2025 (pre-OB3) | 40% |
| 2026 (pre-OB3) | 20% |
| 2027+ (pre-OB3) | 0% |
The One Big Beautiful Bill Act (OB3) changed the game. This law, effective for property acquired and placed in service after January 19, 2025, permanently reinstates 100% first-year bonus depreciation. The IRS confirmed this through Notice 2026-11, which removed the prior sunset date requirement.
The consequence is straightforward: cost segregation studies done on properties acquired after January 19, 2025 deliver the maximum first-year deduction. Property acquired under contracts signed before that date still follows the old TCJA phase-down schedule.
IRC Section 469: The Passive Activity Loss Wall
This is the section that stops most investors from using cost segregation losses against their capital gains. Under IRC §469(c)(2), rental real estate activities are automatically classified as passive — no matter how many hours you spend managing them.
Passive losses can only offset passive income. If your capital gains come from selling stocks, running an active business, or other non-passive sources, your cost segregation losses sit frozen. They become “suspended losses” that carry forward until you either generate passive income or sell the rental property that created them.
The one narrow exception for most taxpayers is the $25,000 active participation allowance under §469(i). If you make management decisions for your rental (approving tenants, setting rents), you can deduct up to $25,000 in rental losses against non-passive income. But this phases out completely at $150,000 in modified adjusted gross income — which means high-income investors get zero benefit from it.
How Depreciation Offsets Capital Gains: The Tax Hierarchy
When cost segregation losses are allowed to offset your income (either because you qualify as a Real Estate Professional or have passive income to absorb them), those losses follow a specific order. They hit ordinary income first, then flow down to capital gains.
This hierarchy matters because ordinary income is taxed at rates up to 37%, while long-term capital gains max out at 20%. Each dollar of depreciation that wipes out ordinary income saves more in taxes than each dollar that offsets capital gains. Once ordinary income hits zero, the remaining deductions reduce capital gains.
Three Real-World Scenarios
Scenario 1: Maria — Real Estate Professional With Stock Gains
Maria is a full-time property manager who owns six rental buildings. She qualifies as a Real Estate Professional under IRC §469(c)(7). She earns $200,000 in rental income and sells stock for a $400,000 long-term capital gain. She places a new $2 million apartment building in service and commissions a cost segregation study that identifies $500,000 in Year One depreciation.
Because Maria has REPS status, her rental losses are non-passive. The $500,000 deduction offsets all income types.
| Tax Strategy Step | Tax Result |
|---|---|
| $500,000 depreciation first offsets $200,000 ordinary rental income | $200,000 in ordinary income eliminated (saves $74,000 at 37%) |
| Remaining $300,000 offsets stock capital gains | Capital gains drop from $400,000 to $100,000 (saves $60,000 at 20%) |
| Total tax saved in Year One | $134,000 |
Scenario 2: James — W-2 Employee With Rental Property
James earns $350,000 from his W-2 job and owns a rental duplex. He does not qualify as a Real Estate Professional. He places a new rental property in service and generates $200,000 in cost segregation depreciation. He also sells stock for a $150,000 capital gain.
Because James lacks REPS status, his $200,000 in rental losses are passive. His W-2 income and stock gains are non-passive. His AGI exceeds $150,000, so the $25,000 active participation exception does not apply.
| Tax Strategy Step | Tax Result |
|---|---|
| $200,000 in depreciation classified as passive loss | Cannot offset $350,000 W-2 income |
| Cannot offset $150,000 in stock capital gains | Gains remain fully taxable |
| Passive losses carry forward as suspended losses | Usable only against future passive income or upon full disposition |
James pays full tax on both his salary and his stock gains this year. His cost segregation losses are not wasted — they carry forward — but he gets no current benefit against capital gains.
Scenario 3: Sarah — Investor Selling a Rental Property
Sarah owns two rental properties. She does not have REPS status. She sells Property A for a $300,000 gain. She also has $180,000 in suspended passive losses from a cost segregation study on Property B.
When Sarah sells Property A (a passive activity), the gain is passive income. Her suspended passive losses from Property B can offset this passive gain.
| Tax Strategy Step | Tax Result |
|---|---|
| $300,000 gain from selling Property A is passive income | Passive losses allowed to offset passive gains |
| $180,000 in suspended losses from Property B applied | Taxable gain drops from $300,000 to $120,000 |
| Tax saved at sale | $36,000 (at 20% capital gains rate) |
This is the scenario most investors overlook. Even without REPS status, cost segregation losses from one property can offset capital gains from selling another rental property because both are passive activities.
Real Estate Professional Status: The Key That Unlocks Everything
Qualifying as a Real Estate Professional (REPS) under IRC §469(c)(7) is the single most powerful way to use cost segregation against capital gains of any type. REPS status converts your rental losses from passive to non-passive, so they offset W-2 income, business income, stock gains, and every other form of taxable income.
The Two Tests
You must pass both tests in the same tax year:
- 750-Hour Test: You spend at least 750 hours during the year in real property trades or businesses where you materially participate.
- More-Than-Half Test: More than 50% of all personal services you perform during the year are in real property trades or businesses.
“Real property trades or businesses” includes development, construction, acquisition, conversion, rental, management, leasing, and brokerage. If you hold a full-time W-2 job outside of real estate, meeting the more-than-half test is extremely difficult because your W-2 hours count against you.
Material Participation and the Grouping Election
Passing the REPS tests alone is not enough. You also need to materially participate in each rental activity you want to treat as non-passive. The easiest path is making a grouping election under IRC §469 to treat all your rentals as one single activity. Once grouped, your combined hours across all properties count toward material participation for the entire group.
The grouping election has trade-offs. You can only apply it going forward from the year you make it. And if you sell one property from the group, the tax treatment of suspended losses and gains becomes more complex. Speak with a CPA before making this election.
Court Cases: Where Investors Fail
The IRS audits REPS claims aggressively. In Sezonov v. Commissioner (TC Memo 2022-40), the Tax Court denied the taxpayers’ REPS claim because they could not prove they met the 750-hour and more-than-half tests. The court emphasized that contemporaneous time logs are essential. Vague estimates and after-the-fact reconstructions are not enough.
In multiple other cases, including those reviewed by Forbes in 2018, taxpayers with full-time non-real-estate jobs were denied REPS status because they could not prove more than 50% of their personal services were in real estate. The lesson is clear: if you claim REPS, you need bulletproof documentation.
Depreciation Recapture: The Trade-Off at Sale
Cost segregation creates a deferred tax benefit, not a permanent one (unless combined with other strategies). When you sell the property, the IRS recaptures the depreciation you claimed. Understanding how depreciation recapture works is essential to making an informed decision.
There are two types:
| Recapture Type | What It Applies To |
|---|---|
| Section 1245 Recapture | Personal property (carpet, fixtures, appliances) reclassified by cost segregation — taxed at ordinary income rates up to 37% |
| Section 1250 Recapture | Real property (structural components, land improvements) — taxed at a maximum rate of 25% |
Recapture Example: With and Without Cost Segregation
Consider a $2,000,000 property sold for $2,800,000.
Without cost segregation: $250,000 in straight-line depreciation claimed over time. The $250,000 is recaptured at 25% ($62,500). The remaining $550,000 gain is taxed at 20% ($110,000). Total tax: $172,500.
With cost segregation: $600,000 in total depreciation claimed ($400,000 in §1245 property, $200,000 in §1250 property). The §1245 depreciation is recaptured at 35% ($140,000). The §1250 depreciation is recaptured at 25% ($50,000). The remaining $550,000 gain is taxed at 20% ($110,000). Total tax at sale: $300,000.
The cost segregation scenario produces $127,500 more in tax at sale. But during the years of ownership, the extra $350,000 in early depreciation saved roughly $129,500 at a 37% rate — money the investor had use of for years. The time value of that cash, invested or used to acquire more property, often exceeds the extra recapture tax.
Combining Cost Segregation With a 1031 Exchange
The most effective way to eliminate the recapture trade-off is pairing cost segregation with a 1031 like-kind exchange. Under IRC §1031, you defer both capital gains and depreciation recapture when you sell one investment property and acquire a replacement of equal or greater value.
A new cost segregation study on the replacement property then generates fresh accelerated depreciation. The investor benefits from the “excess basis” — the new money invested above the carryover basis — which qualifies for 100% bonus depreciation.
The Swap-Till-You-Drop Strategy
Investors repeat the cycle: claim accelerated depreciation, exchange into a new property, claim fresh depreciation, exchange again. If the investor passes away while still holding the property, heirs receive a stepped-up basis under IRC §1014. The stepped-up basis eliminates all deferred capital gains and recapture. The entire tax bill disappears.
This combination of 1031 exchanges, cost segregation, and the stepped-up basis at death is the most powerful long-term wealth-building tax strategy available in U.S. real estate.
Mistakes to Avoid
1. Assuming cost segregation losses offset all income automatically.
They do not. Without REPS status or passive income, the losses are suspended under IRC §469. You will carry them forward with no current tax benefit, and your CPA may need to track them for years.
2. Failing to maintain REPS time logs.
The IRS requires contemporaneous documentation. If you claim REPS and get audited without detailed time logs, the IRS will reclassify your losses as passive and disallow the offset. You will owe back taxes plus interest and penalties.
3. Using a low-quality cost segregation study.
The IRS Audit Techniques Guide identifies 13 elements of a quality study. Desktop-only studies that skip the engineering analysis often fail under audit. The consequence is full disallowance of the reclassification and recalculation of all depreciation.
4. Ignoring depreciation recapture at sale.
Many investors focus only on the upfront savings and forget about the 25–37% recapture tax. Without a plan (like a 1031 exchange or installment sale), the recapture bill at sale can erase a large portion of the benefit.
5. Neglecting partial dispositions.
When you replace a roof, HVAC, or other major component, you should write off the remaining undepreciated basis of the old component. Failing to do so creates “phantom assets” on your books — assets you no longer own but that still trigger recapture at sale.
6. Ignoring state tax non-conformity.
States like California do not conform to federal bonus depreciation. You can have zero federal taxable income from a property and still owe full state tax on the rental income. Not modeling the state impact leads to unexpected tax bills.
7. Making the grouping election without understanding the trade-offs.
The §469 grouping election for real estate professionals simplifies material participation but complicates future property sales. Once made, this election is difficult to revoke. A premature or uninformed election can limit your flexibility.
Do’s and Don’ts
| Do | Don’t |
|---|---|
| Hire a firm with engineering staff and ASCSP membership — because the IRS expects engineering-based analysis, not estimates | Use a firm that promises specific savings before analyzing your property — because every property is different and guarantees signal low-quality work |
| Keep detailed, contemporaneous REPS time logs — because the Tax Court consistently denies claims without them | Rely on after-the-fact reconstructions or vague calendar entries — because courts have rejected these repeatedly |
| Model the full lifecycle including recapture — because the upfront benefit must be weighed against the tax at sale | Focus only on Year One savings — because the recapture tax at sale can be 25–37% of all claimed depreciation |
| Coordinate cost segregation with your 1031 exchange strategy — because this combination defers all gain and recapture | Do a cost segregation study right before selling without an exchange plan — because you accelerate recapture with no deferral |
| Confirm your state’s conformity to federal bonus depreciation — because non-conforming states create a separate tax liability | Assume state and federal treatment are the same — because states like California, New York, and Illinois have their own rules |
Pros and Cons of Using Cost Segregation to Offset Capital Gains
| Pros | Cons |
|---|---|
| Reduces or eliminates current-year tax on both ordinary income and capital gains — because deductions hit the highest-taxed income first | Increases depreciation recapture tax at sale — because more depreciation means more to recapture at 25–37% rates |
| Creates immediate cash flow through tax savings — because the deferred tax dollars can be reinvested for years before recapture comes due | Requires REPS status or passive income to use losses currently — because IRC §469 suspends passive losses without these qualifications |
| Pairs with 1031 exchanges to defer recapture indefinitely — because the exchange defers both capital gains and recapture | Adds complexity to tax returns and compliance — because cost segregation involves engineering reports, Form 3115, and ongoing asset tracking |
| Permanent 100% bonus depreciation under OB3 gives long-term planning certainty — because the phase-down schedule has been eliminated | Study fees range from $5,000 to $15,000+ — because engineering-based studies require specialized expertise and on-site inspections |
| Stepped-up basis at death eliminates all deferred gain — because heirs receive the property at fair market value with no carryover of deferred taxes | May trigger Alternative Minimum Tax (AMT) for some taxpayers — because large depreciation deductions can push you into the AMT calculation |
The Cost Segregation Study Process: Step by Step
Understanding each step helps you know what to expect and what decisions you face.
Step 1: Engage a Qualified Firm. Look for firms with both tax and engineering expertise. The IRS Audit Techniques Guide lists 13 quality elements including preparation by qualified professionals, detailed methodology, and cost reconciliation. Firms that are members of the American Society of Cost Segregation Professionals (ASCSP) follow these standards.
Step 2: Property Analysis and Inspection. The engineering team reviews construction documents, blueprints, invoices, and photographs. For existing buildings, a physical site visit is standard. The team catalogs every component — from the carpet in room 101 to the fire suppression system to the parking lot asphalt.
Step 3: Engineering Report. The firm produces a detailed report classifying each component by its MACRS recovery period and IRC section. The report includes legal citations, unit costs, and reconciliation to the total purchase price or construction cost. This report is the document the IRS reviews in an audit.
Step 4: Tax Integration. Your CPA incorporates the study into your tax return. For properties already in service, you file IRS Form 3115 (Application for Change in Accounting Method) to claim all missed depreciation in a single year. This is a “catch-up” adjustment — you do not need to amend prior returns.
Step 5: Ongoing Asset Management. As you replace components (new roof, updated HVAC), each replacement is tracked. The old component’s remaining basis is written off as a partial disposition loss. New components are classified and depreciated according to the study’s framework.
Key Court Rulings That Shape Cost Segregation
Hospital Corporation of America v. Commissioner (1997): This landmark Tax Court decision established that building components can be separated from the structure and depreciated over shorter lives. It is the foundation of the modern cost segregation industry.
AmeriSouth XXXII, Ltd. v. Commissioner (2012): The Tax Court ruled that over 1,000 components claimed by an apartment complex owner were structural components, not personal property. This case established limits — you cannot reclassify everything. Items integral to a building’s operation and maintenance remain structural.
Peco Foods, Inc. v. Commissioner (2013): The court further restricted reclassification by applying a stricter “structural component” analysis. Together with AmeriSouth, this case reinforced that cost segregation studies must be precise and well-documented.
Sezonov v. Commissioner (2022): This case denied REPS status because the taxpayers could not document their hours. It serves as a warning: REPS claims without contemporaneous logs will fail in Tax Court.
State Tax Nuances
Not every state follows federal depreciation rules. This creates a gap between your federal and state tax bills that can reduce the net benefit of cost segregation.
California, for example, does not conform to federal bonus depreciation. If you claim $500,000 in bonus depreciation on your federal return, California requires you to add that amount back to your state taxable income and depreciate it over the standard life. The consequence is a state tax bill even when your federal liability is zero.
States like New York and Illinois have similar add-back requirements. Texas and Florida, which have no state income tax, present no issue. Before you commission a study, confirm your state’s position on bonus depreciation conformity. Your CPA can model the combined federal and state impact to determine whether cost segregation still delivers meaningful net savings.
FAQs
Can cost segregation offset capital gains from selling stocks?
Yes. But only if you qualify as a Real Estate Professional under IRC §469(c)(7). Without REPS status, rental depreciation losses are passive and cannot offset non-passive stock gains.
Does cost segregation eliminate capital gains tax permanently?
No. It defers the tax by accelerating deductions now and increasing recapture at sale. Combining it with a 1031 exchange and stepped-up basis at death can make the deferral permanent.
Can I do a cost segregation study on a property I bought years ago?
Yes. A retroactive “look-back” study lets you claim all missed depreciation in one year using IRS Form 3115 without amending prior returns.
Does the IRS audit cost segregation studies?
Yes. The IRS has a dedicated Audit Techniques Guide with 13 quality elements. Studies prepared by qualified engineering firms following these standards face minimal audit risk.
Can passive losses from cost segregation offset gains from selling a rental property?
Yes. Selling a rental property generates passive income. Suspended passive losses from cost segregation on other rental properties can offset those gains dollar-for-dollar.
Is cost segregation worth it for properties under $1 million?
Yes. A $750,000 property with 30% reclassification generates $225,000 in accelerated deductions. At a 37% rate, that saves $83,250 against a study fee of $5,000–$8,000.
Does a 1031 exchange defer depreciation recapture?
Yes. A properly executed 1031 exchange defers both capital gains and depreciation recapture. The deferred taxes carry over to the replacement property through adjusted basis.
Can I combine Section 179 expensing with cost segregation?
Yes. Section 179 and cost segregation serve different functions but can work together. Section 179 has annual dollar limits while cost segregation has no cap on the deduction amount.
Does cost segregation trigger the Alternative Minimum Tax?
Yes, in some cases. Large accelerated depreciation deductions can push high-income taxpayers into the AMT calculation. The TCJA raised exemption amounts, so fewer taxpayers are affected today.
Do all states allow bonus depreciation from cost segregation?
No. States like California, New York, and Illinois require bonus depreciation add-backs on state returns. You must check your state’s conformity rules before relying on the federal benefit.