Question: how many years do you have to live in your house before selling?
Answer: Regardless of other factors, it's best to live in the home at a minimum of two years before selling. If you live in your home as a primary residence for at least two of the five years prior to sale, you can exclude $250,000 ($500,000 for married couples) of the profit from your sale.