investing 6 min read

Investment Interest Expense Deduction: Deduct Margin Interest and Investment Loan Costs

Deduct margin interest and investment loan costs up to net investment income. Worked example, Form 4952 guide, and election analysis.

If you borrow money to invest — whether through a margin account, a securities-backed loan, or another investment loan — the interest you pay may be tax-deductible. The investment interest expense deduction under IRC §163(d) lets you write off that interest against your net investment income, reducing your tax bill.

Key Takeaways

  • Margin interest and other investment loan interest is deductible up to your net investment income.
  • You must itemize deductions and file Form 4952 to claim the deduction.
  • Excess investment interest carries forward indefinitely — nothing is lost.
  • You can elect to include qualified dividends and LTCG in investment income to increase your deduction limit, but they lose preferential tax rates.

The Math: A Worked Example

Marcus’s situation: Single filer, 32% marginal bracket, 15% LTCG rate. He has:

  • $12,000 in margin interest paid to his broker this year
  • $5,000 in taxable interest income (bond interest, savings)
  • $8,000 in ordinary dividends ($3,000 qualified + $5,000 non-qualified)
  • $2,000 in net short-term capital gains
  • $10,000 in net long-term capital gains

Step 1: Calculate base net investment income

  • Taxable interest: $5,000
  • Non-qualified dividends: $5,000 (total $8,000 − $3,000 qualified)
  • Short-term capital gains: $2,000
  • Base net investment income: $12,000

Step 2: Compare to investment interest paid

  • Interest paid: $12,000
  • Net investment income: $12,000
  • Allowable deduction: $12,000 (fully deductible — no election needed)

Step 3: Calculate tax savings

  • $12,000 × 32% marginal rate = $3,840 in tax savings

Marcus saves $3,840 simply by filing Form 4952 and itemizing his deductions. If his margin interest were $20,000 instead, only $12,000 would be deductible this year, with $8,000 carrying forward to next year.

What If Interest Exceeds Net Investment Income?

Modified example: Marcus has $20,000 in margin interest but only $12,000 in base net investment income.

Option A: No election — Deduct $12,000, carry forward $8,000.

Option B: Elect to include LTCG and qualified dividends:

  • Base net investment income: $12,000
  • Add qualified dividends: +$3,000
  • Add long-term capital gains: +$10,000
  • Expanded net investment income: $25,000
  • Deduction: $20,000 (fully deductible)

But the cost of the election:

  • $3,000 in qualified dividends now taxed at 32% instead of 15% = $510 extra tax
  • $10,000 in LTCG now taxed at 32% instead of 15% = $1,700 extra tax
  • Additional deduction from election: $8,000 × 32% = $2,560 saved

Net benefit of electing: $2,560 − $2,210 = $350

In this case the election is marginally worth it, but the math is tight. Always run the numbers both ways. If your additional interest is small relative to the elected amounts, the election may cost more than it saves.

IRS Limits Reference (2025 vs 2026)

Investment interest expense deduction limits
Limit Type 2025 2026
Deduction limit Net investment income Net investment income
Excess interest carryforward Indefinite Indefinite
Required form Form 4952 Form 4952
Must itemize Yes (Schedule A) Yes (Schedule A)

There are no income limits or phase-outs for this deduction. Whether you earn $50,000 or $5,000,000, you can deduct investment interest up to your net investment income.

What Qualifies as Investment Interest?

Deductible:

  • Margin interest charged by your brokerage (shown on your year-end brokerage statement or consolidated 1099)
  • Interest on loans specifically used to purchase taxable investments
  • Interest on a home equity loan if proceeds were used to buy investments (subject to limitations)

NOT deductible as investment interest:

  • Interest on loans used to buy tax-exempt securities (municipal bonds)
  • Interest allocated to a passive activity (different rules apply)
  • Personal interest (credit cards, car loans, personal lines of credit)
  • Interest already deducted elsewhere (mortgage interest on Schedule A, business interest on Schedule C)

What Counts as Net Investment Income?

Included automatically:

  • Taxable interest income (savings accounts, CDs, bond interest)
  • Non-qualified dividends
  • Net short-term capital gains
  • Royalties and annuity income (not from a passive activity)

Included only by election (Form 4952, Line 4e):

  • Qualified dividends
  • Net long-term capital gains

Subtracted:

  • Investment expenses (though most are no longer deductible after TCJA for 2018-2025)

When NOT to Use This Deduction

  • You take the standard deduction. This is an itemized deduction only. If your total itemized deductions do not exceed the standard deduction ($15,000 single / $30,000 MFJ in 2025), you cannot claim it. Consider charitable bunching to push into itemization territory.
  • Your net investment income is zero. No investment income means no deduction this year — but the interest carries forward.
  • You only invest in tax-exempt securities. Interest on loans to buy municipal bonds is not deductible.
  • The election math does not work. If electing qualified dividends or LTCG into investment income costs more in lost preferential rates than it saves in additional deductions, skip the election and carry forward instead.

DIY Checklist: Forms You Will Need

Forms and records

  • Brokerage year-end statement or consolidated 1099 — shows margin interest paid
  • Form 4952 (Investment Interest Expense Deduction) — calculates your allowable deduction
  • Schedule A (Itemized Deductions) — Line 9 for investment interest
  • Schedule B (Interest and Dividends) — documents your investment income
  • Schedule D (Capital Gains and Losses) — needed if making the LTCG election
  • Brokerage statements showing all margin interest charges for the year

Steps to complete

  1. Total all investment interest paid during the tax year
  2. Calculate your net investment income from Schedule B and Schedule D
  3. Determine if the Line 4e election (include qualified dividends/LTCG) is beneficial
  4. Complete Form 4952 and enter the result on Schedule A, Line 9
  5. Track any disallowed interest for carryforward to next year

How sharper.tax Helps

Upload your tax return and sharper.tax automatically identifies margin interest from your forms and calculates your net investment income. We show you exactly how much you can deduct this year, whether the qualified dividend/LTCG election is worth making, and how much carries forward — all at your actual marginal rate.

Sources

The information above is educational and not tax advice. You can claim this deduction yourself by filing Form 4952 and Schedule A with your tax return. Consult Form 4952 instructions for the Line 4e election decision.