Selling your Home

In general, to qualify for the exclusion, you must meet both the ownership test and the use test. You are eligible for the exclusion if you have owned and used your home as your main home for a period aggregating at least two years out of the five years prior to its date of sale.