Per IRS Publication 936, page 8:
Refinancing. Generally, points you pay to refinance a mortgage aren't deductible in full in the year you pay them. This is true even if the new mortgage is secured by your main home. However, if you use part of the refinanced mortgage proceeds to substantially improve your main home and you meet the first six tests listed under Deduction Allowed in Year Paid, earlier, you can fully deduct the part of the points related to the improvement in the year you paid them with your own funds. You can deduct the rest of the points over the life of the loan.
You can fully deduct points in the year paid if you meet all the following tests. (You can use Figure B as a quick guide to see whether your points are fully deductible in the year paid.)
To claim mortgage interest and points in the TaxAct program, go to our Form 1098 - Entering Points Not Reported FAQ.
Note that any link in the information above is updated each year automatically and will take you to the most recent version of the webpage or document at the time it is accessed.