If any of the following conditions are met, you must pay tax on the entire gain on the sale of your home: