You can only deduct the interest expense for home equity loans and lines of credit if:
- the loans are secured by your home (or second home), and
- if the funds were used to buy, build, or substantially improve your home.
You may need to limit your home mortgage interest based on when you took out the loan and the total amount.