Margin interest may be deductible as investment interest. It is treated as an itemized deduction, subject to a net investment income limitation. Margin interest does not offset capital gains.
Debt secured by a principal residence or second home to the extent of the excess of fair market value over acquisition debt. An interest deduction is generally allowed for home equity debt up to $100,000 ($50,000 if married filing separately).