and any election to see your Form 4952 deduction
IRC §163(d) · Form 4952 · Schedule A Line 9 · TY 2025 & 2026
Figure your deductible investment interest under IRC §163(d) using IRS Form 4952. Enter your margin or other investment interest, portfolio income, qualified dividends and capital gains, and any prior-year carryforward to see your net investment income, your current-year deduction for Schedule A line 9, the cost of the qualified-dividend or capital-gain election, and the amount that carries forward.
Want the full rulebook - what counts as investment interest, when the election pays off, how the carryforward works, and the Schedule A reporting? Read the companion guide.
Read the Investment Interest Expense Guide →Under IRC §163(d), an individual's investment interest (most commonly margin interest) is deductible only up to net investment income for the year. Net investment income is portfolio income (interest, ordinary dividends, royalties) minus investment expenses, and excludes qualified dividends and net capital gain unless you elect to include them on Form 4952 line 4g. Any disallowed amount carries forward indefinitely. The allowed amount goes on Schedule A line 9; it helps only if you itemize. Qualified residence interest, passive-activity interest, and interest on debt to buy tax-exempt securities are not investment interest. The OBBBA did not change §163(d).
| Item | Tax Year 2026 | Tax Year 2025 |
|---|---|---|
| Current-year deduction limit | Net investment income | Net investment income |
| Carryforward of disallowed interest | Indefinite | Indefinite |
| Qualified dividends in investment income by default | Excluded | Excluded |
| Net capital gain in investment income by default | Excluded | Excluded |
| Election (line 4g) to include QDIV or LTCG | Allowed; elected amount taxed at ordinary rates | Allowed; elected amount taxed at ordinary rates |
| Interest on debt to buy tax-exempt securities | Not deductible | Not deductible |
| Qualified residence interest counted as investment interest | No (excluded by §163(d)(3)(B)(i)) | No |
| Passive-activity interest counted as investment interest | No (excluded by §163(d)(3)(B)(ii)) | No |
| Reporting location | Schedule A line 9 (Form 4952 line 8) | Schedule A line 9 (Form 4952 line 8) |
| Investment advisory fees on line 5 | Not deductible (2% misc; OBBBA made permanent) | Not deductible |
The One Big Beautiful Bill Act (P.L. 119-21) did not amend IRC §163(d). The figures and the qualified-dividend or capital-gain election are statutory and are not adjusted for inflation, so the same rules apply to 2025 and 2026. Sources: IRC §163(d), IRS Form 4952, and IRS Publication 550.
The tool walks through Form 4952 in the order the IRS does. For the full rules - investment interest definitions, the election trade-off, AMT differences, and Schedule A mechanics - see the Investment Interest Expense Guide.
Line 1 is the investment interest you paid this year (margin interest is the usual entry). Line 2 is the disallowed carryforward from prior year. Line 3 is the sum and represents the total interest you can deduct subject to the income limit.
Line 4a is gross investment income (interest, ordinary dividends, royalties, K-1 portfolio amounts). Line 4b is the qualified-dividend slice of 4a, subtracted to give line 4c. Line 4d is net gain from selling investment property; line 4e takes the smaller of that gain and net long-term capital gain, and line 4f keeps any short-term excess.
You may elect to include some or all of line 4b plus line 4e as investment income. The election raises net investment income and frees more interest to deduct this year, but the elected amount loses the qualified-dividend or long-term capital-gain rate and is taxed at ordinary rates on Schedule D.
Line 4h is 4c + 4f + 4g, the investment income used for the cap. Line 5 is investment expenses other than interest (not the 2% misc category, which is suspended). Line 6 is 4h minus 5, with a floor of zero.
Line 8 is the smaller of line 3 (total interest) and line 6 (net investment income) and goes on Schedule A line 9. Line 7 is line 3 minus line 6 if positive, the disallowed amount that carries forward indefinitely to next year's Form 4952 line 2.
The single most common surprise is that margin interest is not automatically deductible the way mortgage interest feels deductible. Clients see the figure on the broker year-end statement and assume it lands on Schedule A. It does, but only up to net investment income, and for a portfolio dominated by qualified dividends and long-term gains, that ceiling can be much lower than the interest itself. We have written off five-figure margin interest carryforwards more than once for clients whose income mix did not match their borrowing pattern.
The election on line 4g is a real lever, but we use it sparingly. Converting qualified dividends or long-term gains to ordinary income to absorb interest only pays when the spread between the client's ordinary and capital-gain rate is small, the carryforward is unlikely to be absorbed in a few years, or the client is sitting on a large prior carryforward and wants to recover it before a planned reduction in margin borrowing. We model both paths in dollars before electing; clients are usually surprised how often the answer is "let the carryforward ride."
The municipal-bond trap catches DIY filers. A client uses a margin loan in a mixed brokerage account that holds both taxable stocks and tax-exempt bond funds. The IRS requires an allocation of the interest, and the portion tied to munis is permanently nondeductible - not even carried forward. When a return has both margin interest and tax-exempt income, we always check whether the broker has done an allocation worksheet or whether we need to build one from average balances.
Finally, investment expenses on line 5 are not advisory fees. Advisory fees, custodial fees, and IRA management fees were 2% miscellaneous itemized deductions; they were suspended after 2017 and the OBBBA made the suspension permanent. The only items that still go on Form 4952 line 5 are things like depreciation on rented investment property and depletion on investment royalties, which most clients do not have. Leaving line 5 blank is usually correct.
You deduct the full amount and there is no carryforward. Add the figure to your Schedule A total and compare with your standard deduction using the Itemize vs Standard Deduction Calculator. If you do not itemize, the figure does nothing for your federal tax.
Decide whether the election makes sense. Run both paths in this calculator (elect $0 vs elect up to QDIV + net capital gain), then read the trade-off discussion in the Investment Interest Expense Guide. The election permanently raises tax on the elected slice.
Enter your line 7 from last year as the carryforward. Confirm the deduction is being reported on Schedule A line 9, not buried in line 8a with mortgage interest. The Itemized Deductions List walks through every line in order.
Allocate the interest between taxable and tax-exempt holdings before entering line 1, and keep documentation. Check your AGI with the AGI & MAGI Calculator and review how investment interest interacts with the standard deduction in the Standard Deduction Guide.