Deductions & credits

There are no exclusions from the payment of capital gains taxes on the sale of a second home.  How you use the gains from the sale of a second home is not relevant.