The short version
If you borrow to buy stocks, bonds or other investments held for investment, the interest is investment interest. The tax code lets you deduct it, but caps the deduction at your net investment income: broadly, your taxable interest, nonqualified dividends, royalties and short-term gains, minus other investment expenses.
Interest above the cap is not lost. It carries forward to next year and is treated as investment interest paid then. You can also raise the cap by electing to count qualified dividends or long-term capital gains as investment income, but the amount you elect loses its preferential rate.
This page explains the limit, Form 4952, the election, what does not count, the tracing rules and how the 2026 changes to itemized deductions affect the value. Educational, not individualized tax advice.
Under the tracing rules, interest follows the use of the loan proceeds. A margin loan used to buy taxable stock produces investment interest. The same margin loan used to buy a car produces nondeductible personal interest, even though the stock secures it. Keep borrowed money separate and document what it paid for.
The section 163(d) limit
For individuals, estates and trusts, the deduction for investment interest cannot exceed net investment income for the year. Net investment income is investment income minus investment expenses.
Investment income includes gross income from property held for investment, such as taxable interest, nonqualified (ordinary) dividends, annuities and royalties, plus net short-term gain from selling investment property. It does not include qualified dividends or net long-term capital gain unless you elect to include them.
Investment expenses are allowed deductions, other than interest, directly connected with producing investment income. Because miscellaneous itemized deductions are not allowed for tax years after 2017, investment advisory fees and similar costs generally do not reduce net investment income on Form 4952 for individuals today. That makes the limit easier to reach than many older explanations suggest.
| Item | Counts toward investment income? | Source |
|---|---|---|
| Taxable interest and nonqualified dividends | Yes | IRC 163(d)(4)(B); Form 4952 line 4a |
| Qualified dividends | Only if you elect, and then taxed at ordinary rates | IRC 163(d)(4)(B); line 4g |
| Net short-term gain on investment property | Yes | IRC 163(d)(4)(B)(ii); line 4f |
| Net long-term capital gain on investment property | Only if you elect, and then taxed at ordinary rates | IRC 163(d)(4)(B)(iii); line 4g |
| Income from passive activities | No (handled under the passive rules) | IRC 163(d)(4)(D) |
| Interest from tax-exempt bonds | No | Form 4952 line 4a (taxable income only) |
Net investment income here is the section 163(d) measure. It is related to, but not the same as, net investment income for the 3.8 percent tax.
Interest that is not investment interest
Several kinds of interest are excluded from investment interest, even when investments are involved. Personal interest, including qualified residence interest on a mortgage, is excluded. So is interest properly allocable to a passive activity, such as a rental property or a passive partnership interest; that interest is deducted under the passive activity rules instead. Interest you must capitalize, such as construction interest, is excluded. Interest on debt incurred or continued to buy or carry tax-exempt bonds is not deductible at all under section 265. Interest disallowed under section 264 on debt related to certain life insurance, endowment or annuity contracts is also excluded.
Investment interest does include interest allocable to a trade or business in which you do not materially participate that is not a passive activity, and the code treats certain payments on personal property used in a short sale as interest.
Rental and passive interest is covered under the passive activity loss rules.
Tracing: allocating a loan to its use
Temp. Treas. Reg. 1.163-8T allocates debt, and the interest on it, according to how the borrowed money is used. The property that secures the loan does not matter. The regulation’s own example: someone pledges investment stock for a loan and buys a personal car with the proceeds; the interest is personal interest.
When one loan serves several purposes, the interest is split. If you borrow $10,000 and use $8,000 to buy stock and $2,000 on household items, 80 percent of the interest is investment interest and 20 percent is nondeductible personal interest. Proceeds left in an account are treated as investment property until spent, and repayments reduce the personal portion first. Proceeds deposited and then spent within 30 days have their own rules, so records matter.
For a cash-method taxpayer, margin interest is deductible as investment interest in the year it is paid, which includes when the broker collects it from dividends, interest or sale proceeds in your account.
The qualified dividend and capital gain election
Section 163(d)(4)(B) lets you elect to include all or part of your qualified dividends and net long-term capital gain from investment property in investment income. Doing so raises the limit and lets you deduct more interest this year. The price is that every dollar you elect is taxed at ordinary rates instead of the 0, 15 or 20 percent rates.
You make the election on Form 4952, line 4g, on a timely filed return including extensions. If you filed on time without it, you can make it on an amended return filed within 6 months of the original due date (excluding extensions), noting it is filed under Regulations section 301.9100-2. Once made, the net capital gain election can be revoked only with IRS consent.
The election is worth making when the deduction saves more now than the lost rate preference costs, and when you do not expect enough future investment income to absorb the carryforward. The worked example below shows the trade-off.
Worked example: margin interest and the election
Suppose a married couple filing jointly, who itemize and have 2026 taxable income above $768,700 (the start of the 37 percent bracket), borrow $500,000 on margin to buy taxable stocks and pay $35,000 of margin interest in 2026. Their investment income: $12,000 of taxable interest and nonqualified dividends, $20,000 of qualified dividends and $40,000 of net long-term capital gain from investment property.
Worked example
$35,000 of margin interest in 2026, hypothetical
- Investment income without the election (Form 4952 line 4h)
- $12,000
- Deduction allowed without the election
- $12,000
- Carried forward to 2027
- $23,000
- Elect $23,000 of long-term gain on line 4g: deduction allowed
- $35,000
- Extra tax on the elected gain (37% instead of 20%)
- About $3,910
- Value of the extra $23,000 deduction at 37%
- About $8,510
- Value after the 2026 itemized reduction (about 35%)
- About $8,050
- Net benefit of electing this year, after the reduction
- About $4,140
Hypothetical, federal only. The 2/37 reduction under section 68 is shown at its full effect, which applies when taxable income above the 37 percent bracket start exceeds total itemized deductions. Not electing keeps the $23,000 as a carryforward that can be deducted in a later year with enough investment income, with no rate given up. The 3.8 percent net investment income tax is ignored here. Educational, not individualized tax advice.
Form 4952: when you must file it, and when you do not
Individuals, estates and trusts use Form 4952 to figure the deduction and the carryforward. Part I totals this year’s investment interest and last year’s disallowed amount; Part II figures net investment income, including the line 4g election; Part III gives the deduction (line 8) and the carryforward (line 7). Individuals generally carry line 8 to Schedule A, line 9.
You do not have to file Form 4952 if all three of these are true: your investment income from interest and ordinary dividends, minus any qualified dividends, is more than your investment interest expense; you have no other deductible investment expenses; and you have no carryover of disallowed investment interest from the prior year.
| Line | What it holds |
|---|---|
| 1 | Investment interest paid or accrued in 2026 |
| 2 | Disallowed investment interest carried from the 2025 form |
| 4a to 4h | Investment income, with qualified dividends and net capital gain removed unless elected on line 4g |
| 5 | Investment expenses (no miscellaneous itemized deductions) |
| 6 | Net investment income |
| 7 | Disallowed interest carried forward to 2027 |
| 8 | Deduction: the smaller of total interest or net investment income |
It is an itemized deduction, and 2026 changed its value
Investment interest on Schedule A helps only if you itemize. For 2026 the standard deduction is $32,200 for married couples filing jointly and $16,100 for single filers, so a household with modest other itemized deductions may get no benefit from the interest at all. The exceptions are interest attributable to royalties, which goes on Schedule E, and interest attributable to a nonpassive trade or business, which goes on that business’s schedule.
Starting in 2026, Public Law 119-21 rewrote section 68. Itemized deductions are now reduced by 2/37 of the lesser of your itemized deductions or the amount by which your taxable income (with the itemized deductions added back) exceeds the start of the 37 percent bracket. The reduction applies after every other limitation, including the section 163(d) limit. For a household well into the 37 percent bracket, the effect is that each dollar of itemized deductions saves about 35 cents instead of 37.
Investment interest also helps with the 3.8 percent net investment income tax: the amount deducted on Schedule A is entered on Form 8960, line 9a, and reduces net investment income for that tax.
See standard vs itemized deductions and how investment interest interacts with the net investment income tax.
When to hire a CPA, and when you can handle it yourself
If you have a small amount of margin interest, plenty of taxable interest and ordinary dividends to cover it, no carryover and you itemize, you likely meet the Form 4952 exception and can enter the interest on Schedule A yourself.
A CPA earns the fee when a loan has mixed uses, when interest flows through partnership or S corporation K-1s, when you have a carryforward, when the capital gain election is on the table, or when the 2026 itemized reduction changes whether to itemize. Taxstra prepares Form 4952, models the election against the carryforward, and keeps the tracing records consistent from year to year.
What to check before you act
A practical review sequence for the return, books, or planning file.
Document what each borrowed dollar bought; keep investment borrowing separate from personal spending.
Total investment interest paid, including interest reported on K-1s.
Bring forward any disallowed interest from last year’s Form 4952, line 7.
Check the three-part test to see whether Form 4952 is required.
Model the line 4g election against carrying the interest forward.
Confirm that itemizing beats the standard deduction after the 2026 section 68 reduction.
Carry the deducted amount to Form 8960, line 9a.
“I recently had the pleasure of working with Taxstra, and I must say, the experience exceeded my expectations. From start to finish, their professionalism, expertise, and customer care were outstanding.”
Published client feedback. Individual experiences vary.
High income earner, business owner or landlord? Here is what this changes for you.
Book your free 30-minute tax fit call to talk through your next steps.
Common mistakes
The shortcuts most likely to produce a confident but wrong answer.
Deducting interest on personal spending
Interest on a margin loan or securities-backed line used for personal purchases is personal interest, regardless of the collateral.
Deducting interest to carry tax-exempt bonds
Section 265 disallows interest on debt incurred or continued to buy or carry tax-exempt obligations.
Counting qualified dividends automatically
Qualified dividends and long-term gains count toward the limit only if you elect, and the elected amount loses its lower rate.
Losing the carryforward
Disallowed interest carries forward indefinitely, but only if it is tracked. Each year’s Form 4952, line 7, feeds the next year’s line 2.
Putting rental interest on Form 4952
Interest allocable to a passive activity, including most rentals, is not investment interest and belongs on Schedule E under the passive rules.
Ignoring the standard deduction
Investment interest on Schedule A is worth nothing if you take the standard deduction.
