What is the deadline to sell former home and still exclude capital gains?
We moved out of our house in March 2022 and rented it out starting that summer. Now we're thinking about selling and I'm trying to figure out the deadline to sell former home and still exclude capital gains under the $500k married filing jointly rule. I know there's something about owning and living there 24 out of the last 60 months but I can't figure out exactly when our window closes. We lived there from 2017 through March 2022. The house has gone up a lot and we really don't want to pay capital gains on the whole thing if we can avoid it. I've been reading Publication 523 on irs.gov but the 5-year lookback is confusing me when we're no longer living there. Does the clock start from when we moved out or from when we sell?