Deductions & credits

Owning your home for 2 out of the 5 years alone doesn't exclude you.

To see what else you must do, search for "eligibility test" in Publication 523, Selling Your Home:

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

View solution in original post