Investors & landlords

If you or your spouse were on "Qualified Extended Duty" (see link) from 2013 to 2023, yes, you seem to qualify for the exclusion.

 

One note of caution:  The questions in TurboTax for selling your main home can be confusing and they are even more confusing when deal with the Qualified Extended Duty rules.

 

https://www.irs.gov/publications/p523#en_US_2023_publink100076987