Capital gains on home sale if rented before buying, owned under 2 years — do I qualify for any exclusion?
Bought my house in March 2024, but here's the twist: I had rented it from the same landlord for about 14 months before the purchase closed. Sold it in November 2025 — so I owned it under 2 years total. I know the standard exclusion requires 24 months of ownership AND use as your main home in the 5 years before sale, and I clearly don't hit the ownership side. But I was living there the whole time, renting then owning, so my residence period is well over 2 years even if ownership isn't. I filed jointly with my spouse. The gain is real and not trivial. I tried reading Publication 523 and it seems like I might qualify for a partial exclusion if there's a qualifying reason (job change, health, unforeseen event) but I'm not sure how that calculation works or whether my rental period counts toward anything. Does the pre-purchase rental time help me at all here?