Yes, a loss on one rental offsets the gain on another sold in the same tax year — but in a fixed order, and the order decides what you pay. The §1245 depreciation recapture on the short-life components a cost segregation study created is figured first, on its own, and stays ordinary income. Only the rest of the gain becomes a §1231 gain, and that is where the loss finally meets it. If the netting ends in a gain, your loss sheltered dollars taxed at 15% to 25%. If it ends in a loss, the whole thing turns ordinary and can erase the recapture itself.
What actually happens on Form 4797
Three buckets, in sequence. First, recapture: on each property sold at a gain, depreciation on the §1245 property — appliances, carpet, cabinetry and dedicated fixtures a study pulls into 5- and 7-year classes — comes back as ordinary income, capped at that property's gain. It is computed property by property, so a loss on a different building cannot reach it.
Second, the leftovers go into the §1231 pool: the gain above recapture on the profitable sale, and the entire loss on the unprofitable one. Inside that pool the unrecaptured §1250 gain is tracked separately, because it carries its own 25% ceiling.
Third, the pool nets, and the sign of the result is everything. A net §1231 gain is long-term capital gain. A net §1231 loss is an ordinary deduction, with no capital loss limitation.
A worked example: one rental up $176,500, one down $37,000
Property A: a single-family rental bought in 2025 for $520,000, with $104,000 allocated to land, leaving $416,000 of depreciable basis. A study reclassified about $91,500 into short-life classes, $68,000 of it §1245 personal property and the rest land improvements. Because the property was acquired (contract signed) and placed in service after January 19, 2025, 100% bonus depreciation applied, so the full $91,500 came off in year one. Straight-line added roughly $20,000 across 2025 and 2026, so total depreciation ran about $111,500 and adjusted basis fell to $408,500.
It sells in December 2026 for $585,000. Gain: $176,500. Of that, $68,000 is §1245 recapture — ordinary income at a 35% marginal rate, about $23,800, and the loss on the other property cannot touch it. The remaining $108,500 goes into the §1231 pool, carrying $43,500 of unrecaptured §1250 gain inside it.
Property B: a condo bought in 2021 for $310,000, $41,000 of depreciation claimed, adjusted basis $269,000. It sells for $232,000 — a $37,000 loss, and a §1231 loss because it is business property held more than a year.
Net the pool: $108,500 minus $37,000 is a $71,500 net §1231 gain. Long-term capital gain, of which $43,500 is unrecaptured §1250 gain at up to 25% (about $10,875) and $28,000 falls at 15% (about $4,200). Add the $23,800 of ordinary recapture and the federal bill on the depreciation and appreciation is roughly $38,875.
Without the second sale, the full $108,500 would have run $20,625, against $15,075 with the loss. The $37,000 loss saved about $5,550 — fifteen cents on the dollar, because it landed on the cheapest dollars in the return.
What changes if the loss is bigger than the gain?
The rate flips. Suppose Property B sold at a $150,000 loss instead. The pool now nets to a $41,500 net §1231 loss — an ordinary deduction, which reaches the $68,000 of §1245 recapture and leaves about $26,500 of ordinary income and no capital gain at all. The same dollar of loss is worth 15 cents when the pool ends in a gain and 35 cents when it ends in a loss.
That asymmetry is why the second closing deserves a pencil before the ink. In net-loss territory, more loss in the same year is worth your full marginal rate; in net-gain territory, it is only worth capital-gain rates and may be worth more in a later year.
The five-year lookback rule that catches people
§1231(c) is the trap. A net §1231 gain is recharacterized as ordinary income to the extent you deducted net §1231 losses in the five preceding tax years and have not already recaptured them. Take a $45,000 net §1231 loss in 2023 on another rental, and the $71,500 net gain above is ordinary up to that $45,000 — 35%, not 15% or 25%. Have your preparer pull the five prior years' Form 4797 history before you model either sale; it is the most common reason a projection like this one comes out wrong.
Should both closings land in the same calendar year?
If the net result would be a loss, generally yes: the ordinary deduction does its best work in the year that also carries the recapture. If the net result would be a gain, splitting the sales across two years is often better, because a standalone §1231 loss next year is fully ordinary rather than spent sheltering capital gain. Either way the lever is the closing date, and in November you can still move it. December versus January closings walks through the timing on a single sale.
What about the suspended passive losses on each property?
They release on a fully taxable disposition, and they are a separate, additive piece of the answer: released suspended losses are generally ordinary, so they reach the recapture income the §1231 netting could not. On a two-property year they are often worth more than the netting itself. How suspended passive losses offset recapture covers which losses free up, and selling a rental at a loss covers the loss side alone.
What to settle before December 31
Get three numbers on paper: the §1245 slice of each study, the five-year §1231 lookback balance, and the suspended passive losses on each property. Those three decide whether the second closing belongs in this year or the next, and no filing choice later can change a date that has already passed. If one of the two properties has never had a study and you plan to keep it, the savings estimate takes two minutes and will tell you honestly when a study does not pencil.