Interest on loans for the purchase or improvement of up to two residences is tax deductible, so that you can deduct the interest on both mortgages and the swing loan. For more information, see this TurboTax article: Moving Up? How this Real Estate Transaction Impacts Your Taxes
You can't deduct transfer taxes and similar taxes and charges on the sale of a personal home. If you are the buyer and you pay them, include them in the cost basis of the property. If you are the seller and you pay them, they are expenses of the sale and reduce the amount realized on the sale.
You have clicked a link to a site outside of the TurboTax Community. By clicking "Continue", you will leave the Community and be taken to that site instead.