Does the two year residency requirement for the home sale exclusion have to be 24 consecutive months
The statutory language on the primary residence exclusion says two of the last five years, which reads as cumulative rather than continuous. Most plain-language explanations describe it as living there for two years as if it were one unbroken block, and a separate rule that the exclusion can only be claimed once every two years is a different provision pointing at a different thing. The mechanism is this: the 24 months is a running total inside the five year window, so time spent living in the home does not need to be one continuous stretch, it can be added up across separate periods as long as it falls within that window. The once-every-two-years limitation is about how often the exclusion can be used on a sale, not about how residency itself is counted. Worth confirming against current IRS guidance and a tax professional for any specific situation, but the underlying mechanics are cumulative residency within the window, separate from the frequency limit on claiming the exclusion.