Imagine buying a rental property, renting it for two years, and then living in it for another two. You would qualify for capital gains exclusion. However, if acquired using a 1031 exchange, you must:
- Use it as an investment for at least two years.
- Own the property for a minimum of five years to exclude capital gains when selling it as a primary residence.