When Is Margin Interest Deductible? Rules, Limits, and Form 4952

Margin interest is deductible, but only when three things line up: you borrowed the money to buy or hold taxable investments, you have net investment income to absorb the expense, and you itemize on Schedule A. Interest that clears those hurdles is treated as investment interest expense under Section 163(d) of the tax code. Interest that doesn’t is either non-deductible personal interest or interest deferred to a later year.1Legal Information Institute. 26 U.S.C. § 1632Legal Information Institute. 26 C.F.R. § 1.163-8T

What the Borrowed Money Was Used For

The IRS applies tracing rules to margin loans. Deductibility turns on how you actually spent the proceeds, not on the fact that the loan sits inside a brokerage account. If the borrowed funds went into taxable stocks, bonds, or mutual funds, the interest qualifies as investment interest. If they went to a personal purpose, the interest is personal and non-deductible.2Legal Information Institute. 26 C.F.R. § 1.163-8T

Uses that disqualify the interest include paying for a vacation, buying a car, paying off credit card balances, and paying tuition. If a single margin loan funded more than one purpose, you split the interest based on the share of proceeds that went to each use, and you need records that back up the split.2Legal Information Institute. 26 C.F.R. § 1.163-8T

Two specific categories are carved out even when the money did go to investments. Interest tied to buying tax-exempt securities like municipal bonds is never deductible, no matter how much investment income you have, because the government won’t subsidize borrowing to earn income it doesn’t tax.3Office of the Law Revision Counsel. 26 U.S.C. § 265 Interest connected to a passive activity, such as a rental you don’t actively manage, falls under the passive activity loss rules instead of the investment interest rules.2Legal Information Institute. 26 C.F.R. § 1.163-8T

The Net Investment Income Cap

Even when your margin interest qualifies, you can only deduct it up to your net investment income for the year. Anything above that cap is disallowed for the current year.1Legal Information Institute. 26 U.S.C. § 163

Investment income for this calculation is ordinary income from your holdings:1Legal Information Institute. 26 U.S.C. § 163

  • Interest
  • Annuities
  • Royalties
  • Non-qualified dividends
  • Short-term capital gains

Long-term capital gains and qualified dividends are left out by default because they’re taxed at preferential rates. You can elect to include them, which raises your deduction ceiling, but the gains and dividends you pull in are then taxed at ordinary rates rather than the lower preferential ones.1Legal Information Institute. 26 U.S.C. § 163

If your margin interest for the year runs $15,000 and your net investment income is $10,000, your deduction is $10,000. The other $5,000 doesn’t disappear; it carries forward.1Legal Information Institute. 26 U.S.C. § 163

How to Claim It

The deduction runs through IRS Form 4952. That form pulls together your investment interest expense, your net investment income, any election to include long-term gains or qualified dividends, and any disallowed interest carried in from prior years. The deductible amount is the smaller of the interest expense and the net investment income figure.4IRS. About Form 4952

The result flows to Schedule A as an itemized deduction. That means the margin interest deduction only helps you if your total itemized deductions beat the standard deduction. For 2025 the standard deduction is $15,750 for single filers and $31,500 for married couples filing jointly.5IRS. IRS releases tax inflation adjustments for tax year 2026 Your brokerage statements are the source for the interest figure itself.4IRS. About Form 4952

Interest You Can’t Use This Year

Disallowed investment interest carries forward indefinitely. There’s no expiration on the carryover, and it sits available until a future year has enough net investment income to soak it up.1Legal Information Institute. 26 U.S.C. § 163 Each year, prior-year disallowed interest gets added to new investment interest on Form 4952, and the combined total is measured against that year’s investment income.4IRS. About Form 4952

The IRS doesn’t keep a running total of your carryover for you. Track it yourself and file Form 4952 in the years the carryover exists, or you risk losing the ability to claim the deduction later.4IRS. About Form 4952