Tax Implications of Margin Interest and Investment Expenses

Equicurious Teamintermediate2026-03-22

An active investor borrows $200,000 on margin to leverage their stock portfolio. They pay $18,000 in margin interest over the year. Before 2018, they could deduct every dollar as an investment expense. Today, the deduction still exists — but the rules for claiming it have changed, the limitations are stricter, and most investors either miss it entirely or deduct it incorrectly. Margin interest is one of the few remaining deductions for investment costs, and understanding its mechanics can save thousands annually for leveraged investors.

TL;DR: Margin interest is deductible as an itemized deduction, but only up to the amount of your net investment income for the year. Excess margin interest carries forward indefinitely. Other investment expenses (advisory fees, subscriptions, software) lost their deduction entirely after the Tax Cuts and Jobs Act of 2017. Understanding what's still deductible — and the investment income limitation — is essential for anyone using margin.

What's Still Deductible (And What TCJA Killed)

The Tax Cuts and Jobs Act of 2017 (TCJA) eliminated the deduction for miscellaneous itemized deductions subject to the 2% AGI floor. This wiped out deductions for:

  • Investment advisory and management fees
  • Financial planning fees
  • Investment newsletters and research subscriptions
  • Safe deposit box rental (for investment documents)
  • Tax preparation fees related to investments
  • Trading platform and software costs

These deductions are gone through at least 2025 (when TCJA provisions were originally set to expire, though recent legislation has extended many provisions).

What Survived

Investment interest expense (margin interest) was NOT eliminated by TCJA. It remains deductible under IRC §163(d) as an itemized deduction — but with important limitations.

The point is: margin interest is now essentially the only deductible investment cost for individual investors who aren't running a trading business. This makes it worth claiming correctly.

The Investment Interest Expense Deduction (IRC §163(d))

What Qualifies

Investment interest expense is interest paid on money borrowed to purchase or carry investment property — property that produces interest, dividends, annuities, or royalties not derived from a trade or business.

In practice, this means:

  • Margin interest from your brokerage account — the primary source for most investors
  • Interest on loans used to buy taxable investments — if you take a personal loan specifically to invest in stocks
  • Interest on loans to buy undeveloped land held for investment (not personal use)

What Doesn't Qualify

  • Mortgage interest — deductible under different rules (IRC §163(h))
  • Interest to fund tax-exempt investments — you can't deduct interest on loans used to buy municipal bonds
  • Interest from a trade or business — if you qualify as a trader (mark-to-market election under §475), interest is a business expense, not investment interest
  • Personal credit card interest — even if you used the card to buy stocks

The Net Investment Income Limitation

Here's the catch: your investment interest deduction cannot exceed your net investment income for the year.

What Counts as Net Investment Income

IncludedNot Included (Without Election)
Interest incomeLong-term capital gains
Ordinary dividendsQualified dividends
Short-term capital gainsTax-exempt interest
RoyaltiesIncome from passive activities
Annuity income (taxable portion)

Notice what's missing: long-term capital gains and qualified dividends are excluded from net investment income by default. This means an investor whose income is primarily long-term gains and qualified dividends may have very little "net investment income" available to offset their margin interest deduction.

The Election to Include Capital Gains

You can elect under §163(d)(4)(B) to treat some or all of your long-term capital gains and qualified dividends as ordinary income for purposes of this calculation. This increases your net investment income (allowing more margin interest deduction) but means those gains lose their preferential 0/15/20% tax rate.

When the election makes sense: If your margin interest exceeds your other investment income and you have large long-term gains, electing to convert enough gains to ordinary income to cover the margin interest deduction can produce a net tax savings — but only if the deduction value exceeds the cost of losing preferential rates.

Example:

  • Margin interest paid: $20,000
  • Net investment income (without election): $5,000 (short-term gains and interest)
  • Long-term capital gains: $50,000
  • Without election: deduct $5,000, carry forward $15,000
  • With election (reclassify $15,000 of LTCG as ordinary): deduct full $20,000, but $15,000 of gains taxed at 37% instead of 15%
  • Cost of election: $15,000 × (37% - 15%) = $3,300
  • Benefit of deduction: $15,000 × 37% = $5,550
  • Net benefit: $2,250

KEY INSIGHT: The election to reclassify long-term gains as ordinary income for the investment interest limitation is irrevocable for that year. Run the numbers carefully before making it — in some cases, carrying forward the unused interest deduction produces a better multi-year outcome.

Carryforward of Excess Investment Interest

If your investment interest expense exceeds your net investment income, the excess carries forward indefinitely — there's no time limit. The carried-forward amount is treated as investment interest paid in the subsequent year and is again limited to that year's net investment income.

This means margin interest is never truly "lost" as a deduction — it just may take several years to fully use if your investment income is primarily long-term gains and qualified dividends.

What this means in practice: even in years where you can't deduct your full margin interest, track and carry it forward. A future year with realized short-term gains or a large ordinary dividend can absorb years of accumulated investment interest deductions.

How Brokers Report Margin Interest

Your broker reports margin interest paid on Form 1099-INT, Box 6 (or in a year-end statement). You claim the deduction on Schedule A (Itemized Deductions), specifically on the line for investment interest expense. You must also complete Form 4952 (Investment Interest Expense Deduction) to calculate the limitation and any carryforward.

The Itemization Requirement

Because investment interest is an itemized deduction, it only benefits you if your total itemized deductions exceed the standard deduction ($15,000 single / $30,000 MFJ for 2025). For many investors — especially those without a mortgage — the standard deduction is higher, and the margin interest deduction provides no benefit.

The test: add up your mortgage interest, state and local taxes (capped at $10,000), charitable contributions, and margin interest. If the total exceeds the standard deduction, itemize. If not, the margin interest deduction is effectively worthless for the year — but the carryforward still applies for future years when you might itemize.

Margin Interest and the Net Investment Income Tax

Margin interest is deductible against the 3.8% NIIT as well. Investment interest expense reduces your net investment income for NIIT purposes (Form 8960), which directly reduces the NIIT owed. This means the true value of the margin interest deduction for a high-income investor is the marginal rate plus 3.8% — up to 40.8% total.

The Trader vs Investor Distinction

If you qualify as a securities trader (not just an investor) under IRS guidelines, margin interest treatment changes significantly:

  • Investors: Margin interest is an itemized deduction limited to net investment income (everything discussed above)
  • Traders with §475 mark-to-market election: Margin interest is a business expense deductible on Schedule C, with no net investment income limitation and no requirement to itemize

Qualifying as a trader requires substantial activity (typically hundreds of trades per year), the intent to profit from short-term price movements, and a consistent pattern of trading. Simply being an active investor with a large portfolio doesn't qualify.

REMEMBER: The trader election under §475 converts all trading gains and losses to ordinary income (no long-term capital gains rates). For some active traders, the ability to fully deduct margin interest and other expenses on Schedule C justifies giving up preferential capital gains rates. For most investors, it doesn't.

Practical Considerations for Margin Users

1. Track Margin Interest Separately

Your broker reports total margin interest, but you may need to allocate it if you used margin for both investment and non-investment purposes. Interest on margin used to buy tax-exempt securities, for example, is not deductible.

2. Consider Interest Rate vs Tax Benefit

At current margin rates of 6-12% depending on the broker, the after-tax cost of margin is reduced by your marginal rate. For a 37% bracket investor, 12% margin interest has an after-tax cost of 7.56% if fully deductible. Compare this to your expected investment return to determine whether leveraging makes sense after tax.

3. Alternatives to Margin

Some alternatives may provide more tax-efficient leverage:

  • Portfolio margin (lower rates for qualifying accounts)
  • Securities-based lending (may have lower rates than traditional margin)
  • Box spreads on options for synthetic borrowing (complex, but potentially tax-advantaged)
  • Mortgage cash-out refinance at lower rates (interest is mortgage interest, not investment interest)

Investment Expenses for Business Entities

While individual investment expenses are no longer deductible, investors who operate through business entities (LLCs, S-corps, partnerships) may be able to deduct investment-related expenses as ordinary business expenses if the entity is engaged in a trade or business of investing. This is a complex area with significant audit risk — the entity must demonstrate genuine business purpose beyond tax deduction.

Action Checklist

Essential (for anyone paying margin interest)

  • Confirm your broker reports margin interest on Form 1099-INT or year-end statement
  • Calculate your net investment income — interest, ordinary dividends, short-term gains (exclude LTCG and qualified dividends by default)
  • File Form 4952 to calculate the deduction and track carryforwards
  • Check whether you benefit from itemizing — the deduction is worthless if you take the standard deduction

High-Impact (maximize the deduction)

  • Consider the §163(d)(4)(B) election to include LTCG in investment income if your margin interest exceeds other investment income
  • Track carryforward amounts year over year — they never expire
  • Account for the NIIT benefit when calculating the true value of the deduction

Optional (for heavy margin users)

  • Evaluate the trader election (§475) if you trade frequently — it removes the investment income limitation on interest deductions
  • Compare margin rates across brokers — Interactive Brokers and similar platforms offer significantly lower rates than traditional brokers
  • Model the after-tax cost of margin against expected returns to determine if leveraging is net positive

Your Next Step

Check your most recent brokerage statement for total margin interest paid year-to-date. Then calculate your net investment income (interest + ordinary dividends + short-term gains). If margin interest exceeds investment income, pull up your carryforward from last year's Form 4952 — that unused deduction may be usable this year if you've realized gains.

Related Articles