Generally, points you pay to refinance a mortgage are not 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 improve your main home and you meet the six tests below, 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.
See IRS Publication 936 Home Mortgage Interest Deduction page 7 for examples.
To enter mortgage interest information, including points: