When a loan is taken out it is used for something ... so your loan was used to buy, build or improve the home ? If it was for none of those things then it is a HELOC which is no longer deductible. If you refinance the loan then it takes on the same character as the original loan. If you take out equity then the loan needs to be prorated so follow the program interview carefully.