Offset Stock Gains With Cost Segregation (2026 Guide)
Selling stock and staring down a six-figure capital gains bill feels like a one-way street. It isn't. A cost segregation study on a short-term rental property can convert passive-looking depreciation into a non-passive loss that offsets that exact gain, if you qualify the property correctly and document your hours.
- You offset stock gains with cost segregation by qualifying a rental for the STR loophole, not just by ordering a study.
- A property averaging 7 days or less per stay plus 100+ hours of material participation turns depreciation into a non-passive loss.
- A $500,000 property reclassifying 25% of its value can generate roughly $125,000 in year-one deductions at 100% bonus depreciation in 2026.
- At the 37% bracket, that deduction offsets about $46,250 in tax liability, including stock sale gains.
- Skip the loophole qualification steps and the same depreciation loss stays passive and useless against capital gains.
Why this matters
Most rental property losses are passive under IRC 469. Passive losses only offset passive income, and stock sale gains are portfolio income, not passive income. That rule kills the strategy for a typical long-term rental with a property manager.
The fix is the short-term rental loophole. When a property averages 7 days or less per guest stay and you materially participate in running it, the IRS treats the activity as non-passive. A non-passive loss, generated by a cost segregation study accelerating depreciation, offsets any income type: W-2 wages, business income, and capital gains from a stock sale.
This isn't a workaround or a gray area. It's built on existing Treasury regulations for rental activities that fall outside the default passive treatment. The mechanics take documentation and timing, which is exactly what trips people up. How to use cost segregation to reduce capital gains tax covers the broader capital gains angle if stock isn't your only exposure.
What you'll need
- Your 1099-B or brokerage statement showing the stock sale gain and cost basis
- A residential short-term rental you own or have under contract in 2026 (Airbnb, VRBO, or similar; commercial property does not qualify for this loophole)
- A log of hours spent operating the rental: booking coordination, cleaning oversight, guest communication, maintenance
- Reservation records showing average length of stay across the tax year
- An engineering-based cost segregation study, ordered before your CPA files the return
- A CPA who will place the depreciation loss on Schedule E as non-passive, not passive
The steps
1. Confirm the size and type of your stock gain
Pull the exact gain from your brokerage statement, separating short-term (held under a year, taxed as ordinary income) from long-term (held over a year, taxed at 0%, 15%, or 20%). This number sets your target: you need enough depreciation to offset it, not just a token deduction.
Common mistake: estimating the gain instead of using the actual 1099-B figure. Rounding errors here cascade into an under- or over-sized cost segregation strategy.
2. Verify your rental meets the 7-day average rule
Pull total nights booked and total number of reservations for the tax year, then divide. If the average comes out at 7 days or less, the activity is treated as a trade or business rather than a rental activity under Reg. 1.469-1T(e)(3)(ii), which is the doorway to non-passive treatment. The seven-day average rental rule walks through the exact calculation, including how to handle mixed long-stay and short-stay bookings.
Common mistake: counting calendar occupancy instead of average stay length per reservation. These are not the same number, and the IRS looks at the latter.
3. Log material participation hours
You need to clear one of the seven material participation tests, most commonly the 100-hour test where your hours also exceed anyone else's (including a co-host or property manager). Track dates, hours, and tasks in a contemporaneous log, not a reconstruction done in April. Material participation days for the STR loophole breaks down what counts and what an examiner will flag.
Common mistake: counting hours spent by a full-service property manager as your own. If they're doing the work, you're not materially participating, and the loss stays passive.
4. Order the cost segregation study
With the loophole qualified, the study is what generates the deduction size. An engineering-based study identifies the portion of your property, typically land improvements, appliances, flooring, and fixtures, that depreciates over 5, 7, or 15 years instead of 27.5. On a $500,000 property, a 25% reclassification puts roughly $125,000 into those shorter-life categories.
A flat-fee report runs $2,200, takes 3-5 business days, requires no site visit, and comes with audit support if your return is examined. Skip low-cost or overseas-outsourced studies here; audit defense is the entire point of paying for engineering documentation. Start the process from the Virtual Cost Segregation homepage and get the report before your CPA finalizes the return.
Common mistake: ordering the study after the return is filed. You can still catch up missed depreciation, but it's slower and adds a Form 3115 filing.
5. Apply 100% bonus depreciation
Under the One Big Beautiful Bill Act, bonus depreciation is restored to 100% for property acquired and placed in service after January 19, 2025. That means the entire $125,000 reclassified in step 4 is deductible in year one, not spread across 5-15 years. This single provision is what makes the strategy powerful enough to offset a large one-time stock gain.
Common mistake: assuming bonus depreciation phases out the way it did under the 2017 rules. The 2026 rules are different; confirm the placed-in-service date with your CPA before assuming the percentage.
6. File the loss as non-passive
Your CPA reports the rental on Schedule E, but the loss classification (passive vs. non-passive) is a manual determination based on your documentation from steps 2 and 3. Non-passive losses flow through to offset any income on your 1040, including the stock sale gain from Schedule D.
Common mistake: letting tax software default the loss to passive because the box isn't checked. This is the single most common reason STR loophole claims get denied on audit, not because the strategy is invalid, but because the paperwork wasn't there to support non-passive treatment.
7. Catch up missed depreciation if you already own the property
If you bought the rental in a prior year and never ran a cost segregation study, you don't need to amend past returns. A Form 3115 change in accounting method lets you claim the entire missed depreciation in the current year, all at once. How to catch up missed depreciation with Form 3115 covers the filing mechanics.
Common mistake: assuming a missed cost segregation opportunity from 2022 or 2023 is gone. It isn't, but the catch-up only works if the study documents the original placed-in-service date correctly.
Order your 2026 cost segregation study
Flat-fee $2,200 report, 3-5 business days, no site visit required.
Troubleshooting
- Average stay comes out over 7 days: Check if you have a mix of short guest stays and one long-term tenant skewing the average. Separate the units or adjust the rental model before year-end if the loophole is the priority.
- Can't clear 100 hours: Log every task, including time spent sourcing furnishings, coordinating cleaners, and responding to guest messages. Most owners underestimate hours because they don't track admin work.
- CPA defaults the loss to passive: Bring the reservation log and hours log to the filing meeting. A CPA unfamiliar with the STR loophole needs the documentation in hand, not just a verbal assurance.
- Study delivered after the filing deadline: File an extension rather than rushing the study. A rushed, undocumented study is the first thing an examiner questions.
- Stock gain is smaller than the deduction: Excess non-passive losses carry forward, so oversized depreciation isn't wasted, it offsets future income including next year's gains.
- Property was purchased before January 19, 2025: You still qualify for cost segregation and accelerated depreciation, just check the applicable bonus depreciation percentage for that placed-in-service date with your CPA.
Tools and resources
- Reservation platform export (Airbnb/VRBO host dashboard) for average stay calculations
- A simple hours log, spreadsheet or app, updated weekly rather than reconstructed annually
- Cost segregation study for Airbnb and short-term rentals for what the report itself covers
- Your CPA, briefed specifically on non-passive loss classification before filing season
What to do next
If your rental already clears the 7-day average and hours test, the next move is getting the study ordered before year-end so the deduction lands on this year's return. If you're not sure your property qualifies yet, read the STR loophole explained for W-2 earners before ordering anything.
FAQ
Can cost segregation offset stock sale gains?
Yes, if the depreciation loss from the study is classified as non-passive, which requires the property to qualify for the short-term rental loophole. A passive loss cannot offset capital gains from a stock sale, only passive income.
What is the STR loophole and how does it relate to stock gains?
The STR loophole treats a short-term rental as a non-passive trade or business when the average stay is 7 days or less and you materially participate. That non-passive classification is what lets the depreciation loss offset stock sale gains instead of only passive rental income.
How much can a cost segregation study deduct in 2026?
A typical study reclassifies 20-45% of a property's value into shorter depreciation categories, deductible immediately under 100% bonus depreciation in 2026 for property placed in service after January 19, 2025. On a $500,000 property, a 25% reclassification is roughly $125,000 in year-one deductions.
Does a long-term rental qualify for this strategy?
No. Long-term rentals default to passive activity treatment, so their depreciation losses only offset passive income unless you separately qualify as a real estate professional. The stock-gain offset strategy specifically relies on the STR loophole's non-passive treatment.
How many hours do I need to materially participate?
The most common test requires 100 hours in the activity during the year, with no one else participating more than you. Property manager hours don't count toward your total.
What does a cost segregation study cost in 2026?
A flat-fee engineering-based study runs $2,200, with delivery in 3-5 business days and no site visit required. The report includes audit support documentation.
Do I need to buy the property in 2026 to get bonus depreciation?
No. Bonus depreciation applies at 100% under OBBBA for any property acquired and placed in service after January 19, 2025, regardless of when you file the return claiming it.
What happens if my deduction is bigger than my stock gain?
The excess non-passive loss carries forward and offsets future income, including gains from later stock sales or other income sources.
One last thing
The part investors miss most often isn't the cost segregation math, it's the documentation. Two owners with identical properties and identical studies can get opposite audit outcomes purely because one logged hours contemporaneously and the other reconstructed them from memory in April 2026.