It only applies to investment property. If you own your home the first 250-500k of capital gains is exempt depending on your filing status. 1031 exchanges are a decent amount of work and have some additional requirements (it's not really for house flipping). They are also a tax deferral strategy. The tax eventually comes due.