Why Margin Interest Usually Can’t Offset Dividends — And When It Can

Here’s how you avoid taxes on dividends (when it actually makes sense)

There’s been a lot of confusion around this lately, so I want to clear it up.

Margin interest expense is deductible against “investment income.”

But not all investment income is treated the same for this purpose.

Even though qualified dividends and long-term capital gains are Net Investment Income (NII) for the 3.8% NIIT, they have separate tax-rate mechanics and are not treated as ordinary investment income by default (IRC §163(d)).

As a result, margin interest expense cannot offset qualified dividends or long‑term capital gains under the default rules.

But there is a workaround.

Form 4952 allows you to elect to treat:

  • Qualified dividends, and/or
  • Long‑term capital gains

as ordinary investment income — but only for purposes of the interest deduction.

Mechanically:

  • You include an elected amount of qualified dividends and/or LTCG in “net investment income” on Form 4952
  • This allows margin interest expense to offset that income
  • The trade-off is that the elected amount loses preferential tax rates and is taxed as ordinary income

This is why most investors should NOT make this election.

Why would you voluntarily convert income taxed at 0–20% into income taxed at ordinary rates?

The only time it starts to make sense is when you have margin interest expense that would otherwise go unused.

In a QFS‑style portfolio:

  • We often drive net investment income close to zero through tax‑aware design
  • Long/short SMAs can result in margin interest expense that becomes “suspended” if there’s nothing to offset
  • In that scenario, electing just enough qualified dividends / LTCG on Form 4952 so that otherwise‑wasted interest becomes deductible can be attractive

Example:

  • You have $25k of qualified dividends
  • You have $20k of margin interest expense
  • You have no other net investment income

Electing up to $20k of qualified dividends as investment income on Form 4952 can allow the margin interest to fully offset them.

Back to blog

Leave a comment

Please note, comments need to be approved before they are published.