AFAIK - you can only claim an interest tax deduction on the portion of the loan that is used on incoming producing assets. i.e. if you have $10K investment loan, and $5K in a stock w/ dividends and $5K in a stock with no dividends, then you can only claim the interest on the $5K of the loan.