Investors & landlords

If the second home that was sold is not an investment property then you cannot do a 1031 exchange for another property.

The gains on the sale cannot be offset by the purchase of another second home.