It is possible to claim a deduction for interest paid on home equity loans only if the borrowed money is used to buy, build, or substantially improve the taxpayer's primary residence or qualifying second home that is used to secure the loan.