Yes, origination fees (or "points") are a deductible expenses for an original purchase or a refinance.
On
a refinance, you may need to amortize an origination fee (if paid) over the
life of the loan. TurboTax will walk you through this process.
Enter your origination fee pet the below sequence:
Federal Taxes>Deductions &Credits> Your
Home, select Mortgage Interest and Refinancing, and Insurance- (See Did
you pay points in 2016 when you took out the loan? page)