Points (loan origination fees) on a refi can only be deducted over the life of the loan.
If
you refinanced with the same lender, any undeducted points left over
from the first mortgage will be deducted over the life of your new loan.
But if you refinanced with a new lender, any leftover undeducted points
can be deducted in the year of the refinance.
When you get to the Did you have any home loans in 2016? screen in the Deductions & Credits section, TurboTax will walk you step-by-step through your mortgage, including points and refinances.