If you turned a home into a rental and ran a cost segregation study on it, the question that surfaces a year or two later is a fair one: did the study just cost you the tax-free gain on your old house? No. The Section 121 exclusion is not forfeited by depreciating a property. But the exclusion never covered depreciation in the first place, and a study changes how much depreciation there is and what rate it comes back at. Those are separate questions, and worth separating before you sell.
Does a cost segregation study disqualify the Section 121 exclusion?
No. Nothing about accelerating depreciation makes a property ineligible. Section 121 excludes up to $250,000 of gain on the sale of a principal residence, $500,000 on a joint return, provided you owned the home and used it as your principal residence for at least two of the five years ending on the sale date. A study touches neither test.
What the statute does carve out is gain attributable to depreciation allowable after May 6, 1997. That gain sits outside the exclusion regardless. Note allowable, not claimed: skipping the deduction does not preserve the exclusion, it only loses you the deduction.
So what does the exclusion actually shelter?
Your appreciation. The run-up in value while you owned the house is what Section 121 is for, and on most converted homes that is the large number.
Hold the buckets apart. Gain attributable to the 27.5-year building is unrecaptured Section 1250 gain, taxed at up to 25%. Gain attributable to the 5-, 7-, and 15-year components a study identifies is Section 1245 property, recaptured as ordinary income at your marginal rate. What is left is capital gain, and that is the part the exclusion reaches.
How long do you have to sell after moving out?
Roughly three years. The test looks back five years from the sale date and asks for two years of ownership and two years of use as a principal residence. Move out in March 2026 having lived there since 2020 and you keep a qualifying use period until about March 2029. Sell after that and the exclusion is gone entirely, not reduced. It is easy to drift past while a good tenant keeps paying.
Does the non-qualified use rule reduce what you can exclude?
In this direction, generally not, and most owners have it backwards. The rule prorates the exclusion for periods a property was not a principal residence, but it does not count periods after the last date the home was your principal residence. A home you lived in and then rented falls into that exception, so the rental years at the end do not slice the exclusion pro rata. The rule bites in the opposite sequence — buy a rental, live in it later, then sell.
A worked example: a $340,000 basis home sold three years after conversion.
Say you bought the house in 2020 for $340,000, lived in it until early 2026, then converted it to a rental. It appraises at $455,000 on the conversion date, but the lesser-of rule fixes your depreciable basis at $340,000 — the mechanics are in our note on conversion basis. Allocate 20% to land and $272,000 remains.
A typical residential study reclassifies roughly 22% of that, about $59,800, into 5-, 7-, and 15-year property. Because you acquired the house in 2020, the restored 100% bonus depreciation does not reach it — that applies to property acquired (contract signed) after January 19, 2025 — so the gain is in the schedules rather than one write-off. Across the first five years those classes throw off on the order of $43,800 of deduction against roughly $10,200 if the same dollars had stayed on the 27.5-year line: about $33,600 of additional deductions pulled forward, worth roughly $10,750 in federal tax at a 32% marginal rate, before any state effect.
Now sell in early 2029, inside the window, for $470,000. Say depreciation over those three years totals about $38,000 — roughly $26,000 from the short-life components, $12,000 from the building. Basis drops to about $302,000 and the gain is about $168,000. Of that, the $38,000 attributable to depreciation is outside the exclusion: about $26,000 as ordinary Section 1245 recapture, about $12,000 as unrecaptured Section 1250 gain at up to 25%. The remaining $130,000 is excluded under Section 121, inside the $250,000 single limit — and it would have been excluded with or without the study.
So was the study worth it?
On those numbers it is a timing and rate question, not an exclusion question. You pulled about $33,600 of deductions forward at 32%, and part came back three years later as ordinary income at whatever your rate is then. If the rate is unchanged, the short-life piece is close to a wash and you keep the time value. If your rate is higher in the deduction years than the sale year, the study wins on rate as well. Where it does not pencil is a converted home you mean to sell within a year or two with no material income to shelter in between: the deductions have no room to work and the recapture arrives almost immediately. That answer is better had before the study than after.
What to do before you convert.
Three things. Get a conversion-date appraisal; it fixes the basis every later calculation runs off, and it is cheaper now than reconstructed later. Put the two-of-five-year deadline on a calendar so selling is a decision rather than an accident. And run the numbers before the first return is filed, so the schedule is set up once and set up right — a clean, documented schedule is what keeps the position audit-ready if anyone asks. The wider conversion decision is in our piece on converting a primary residence.
The savings estimate takes about two minutes and uses your basis rather than a guess. There are converted homes where a study does not pencil out, and we will tell you when yours is one.