The deduction allows itemizers to count interest they pay on a loan related to building, purchasing, or improving a primary home against taxable income, lowering the amount of taxes owed.
The tax deduction also applies if you pay interest on a condominium, cooperative, mobile home, boat, or recreational vehicle used as a residence. The deduction can also be taken on loans for second homes, as long as it stays within the limits.