Want your exact line-by-line Form 4952 numbers, the election diagnostic, and the carryforward? Enter your interest, portfolio income, and any prior carryforward in the calculator.
Open the Investment Interest Expense Calculator →Under IRC §163(d), an individual's investment 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, with qualified dividends and net capital gain excluded by default. You may elect on Form 4952 line 4g to include some or all of them as investment income, at the cost of taxing the elected amount at ordinary rates. Any disallowed interest carries forward indefinitely. The allowed amount is reported on Schedule A line 9 and only helps if you itemize. The One Big Beautiful Bill Act did not amend §163(d).
- Net-investment-income limit: §163(d)(1) caps the current-year deduction at net investment income.
- Indefinite carryforward: §163(d)(2) carries any disallowed amount forward without expiration.
- Investment interest: interest on debt allocable to property held for investment - most commonly margin interest on a brokerage account.
- Excluded categories: qualified residence interest, passive-activity interest, personal interest, capitalized interest, and interest on debt to buy tax-exempt securities are NOT investment interest.
- QDIV and LTCG excluded by default: §163(d)(4)(B) keeps qualified dividends and net capital gain out of investment income unless you elect them in.
- The election (line 4g): elected amounts lose the preferential capital-gain rate and become ordinary income on Schedule D.
- Form 4952 line 8 -> Schedule A line 9: the figure sits separately from mortgage interest (line 8a).
- Muni-bond trap: margin interest allocable to tax-exempt bonds is permanently nondeductible under §265.
- OBBBA: did not change §163(d); it did make permanent the suspension of 2% misc itemized deductions, which keeps advisory fees out of line 5.
- AMT: may require a separate computation under §56(b)(1)(C); regular-tax Form 4952 does not control AMT.
What Investment Interest Expense Is
Internal Revenue Code Section 163(d) governs how much of an individual's investment interest is deductible in a given year. Investment interest is interest paid or accrued on indebtedness properly allocable to property held for investment. In plain language, it is interest on debt you used to buy investments. The most common example is margin interest charged by a brokerage on a loan used to buy taxable stocks or bonds.
The deduction exists because investment interest is otherwise a form of personal interest, which IRC §163(h) disallows. Section 163(d) carves it out and lets individuals deduct it - but only up to net investment income, and only as an itemized deduction. If you do not itemize, the deduction produces no tax benefit; if your investment interest exceeds your net investment income, the excess does not vanish, but you cannot use it this year.
What Counts as Investment Interest
The classic case is margin interest, but other examples include interest on a loan taken out specifically to buy taxable securities, interest reported to you on a Schedule K-1 from a partnership or S corporation that is allocable to portfolio investments, and amortization of bond premium on certain taxable bonds purchased between 1986 and 1988. Short-sale interest is also covered under special rules in §163(d)(3)(C).
What Does Not Count
- Qualified residence interest (home mortgage), under §163(d)(3)(B)(i), is deducted on Schedule A line 8a, not line 9.
- Passive-activity interest, under §163(d)(3)(B)(ii) and section 469, is governed by the passive-loss rules and stays off Form 4952.
- Personal interest, such as credit-card or car-loan interest, is nondeductible under §163(h).
- Capitalized interest required under section 263A is added to basis, not deducted.
- Interest tied to tax-exempt securities is permanently disallowed under §265.
- Interest on insurance or annuity contracts issued after June 8, 1997 is generally nondeductible under §264.
The Net-Investment-Income Ceiling
Section 163(d)(1) is the rule that defines this deduction: the amount you may deduct in a given taxable year cannot exceed your net investment income for that year. Anything above the cap is disallowed for now and carried forward to next year. There is no separate dollar limit and no AGI-based phase-out - just the income ceiling.
Net investment income has two pieces. Investment income comes from property held for investment, and investment expenses are deductions (other than interest) directly connected with producing that income. The result determines how much interest you actually get to deduct this year.
| Item | Default treatment | Form 4952 line |
|---|---|---|
| Taxable interest income | Included in investment income | Line 4a |
| Ordinary dividends (non-qualified) | Included in investment income | Line 4a |
| Qualified dividends | Excluded (election available) | Line 4b, optionally 4g |
| Royalties from investment property | Included in investment income | Line 4a |
| Net long-term capital gain | Excluded (election available) | Line 4e, optionally 4g |
| Short-term gains in excess of LTCG | Included automatically | Line 4f |
| Tax-exempt interest | Never investment income | n/a |
| Investment expenses (other than interest) | Subtracted from income | Line 5 |
Because qualified dividends and net long-term capital gain are excluded by default, a portfolio dominated by either of them can produce a small line 6 - and therefore a small deduction - even when there is substantial economic income behind it. The election on line 4g is the lever for that situation; see the election section below.
The Line 4g Election: Trade-Off Math
Section 163(d)(4)(B) allows you to elect to include some or all of your qualified dividends and net capital gain as investment income for purposes of the deduction. On Form 4952 the election shows up on line 4g, capped at the sum of line 4b (qualified dividends) and line 4e (net capital gain). The election is per return and is made on a timely filed return, including extensions; an untimely return can still make the election within 6 months of the original due date by filing an amended return marked "Filed pursuant to Section 301.9100-2."
The trade-off is direct. Every dollar you elect raises net investment income by a dollar, letting you deduct an extra dollar of investment interest. But the dollar elected loses its preferential rate. Qualified dividends and long-term capital gain are otherwise taxed at 0%, 15%, or 20% under section 1(h); once elected, that dollar is treated as ordinary income on the Schedule D Tax Worksheet or the Qualified Dividends Tax Worksheet and is taxed at your ordinary rate.
Whether the election pays depends on the spread between your ordinary marginal rate and your capital-gain rate, the size of your interest carryforward, and how soon you expect to absorb the carryforward without electing. A taxpayer with a 35% ordinary rate and a 20% LTCG rate gives up a 15-point spread on every elected dollar; the deduction saves 35 cents per dollar but costs 15 cents per dollar in lost preference, so it is a roughly 20-cent net benefit per dollar elected. By contrast, a taxpayer in the 12% bracket and a 0% LTCG rate gives up the entire 12% benefit. The math also tips toward electing when the carryforward is large and unlikely to clear in a reasonable horizon.
Run both paths in the Investment Interest Expense Calculator (election = $0 versus election = full 4b + 4e) to see the trade-off in dollars before committing.
How Form 4952 Computes the Deduction
The form has three parts in the order the IRS uses them.
Part I: Total Investment Interest (Lines 1-3)
Line 1 is investment interest paid or accrued in the current year. Margin interest from your broker is the usual entry; partnership Schedule K-1 interest allocable to portfolio investments and amortization of bond premium on taxable bonds purchased between 1986 and 1988 also go here. Line 2 is the disallowed amount carried forward from last year's Form 4952 line 7. Line 3 is the sum.
Part II: Net Investment Income (Lines 4a-6)
Line 4a is gross investment income. Line 4b carves out qualified dividends, leaving 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 (with line 4f capturing any short-term excess that does not need to be elected). Line 4g is the optional election to add back qualified dividends or net capital gain. Line 4h is 4c + 4f + 4g. Line 5 is investment expenses other than interest. Line 6 is 4h minus 5, with a floor of zero.
Part III: Deduction and Carryforward (Lines 7-8)
Line 8 is the smaller of line 3 (total interest) and line 6 (income ceiling) and goes on Schedule A line 9 as investment interest expense. Line 7 is line 3 minus line 6 if positive - the disallowed amount that carries forward indefinitely to next year's line 2.
Margin Interest and the Tax-Exempt Trap
Margin interest is the most common form of investment interest. Your brokerage charges interest on the margin balance, sends a year-end report showing the total, and most filers simply put that figure on Form 4952 line 1. The number is right when the entire account holds taxable securities and the margin loan funded those purchases. The number is wrong - and a common audit trigger - when the account also holds tax-exempt bonds or muni bond funds.
IRC §265(a)(2) permanently disallows a deduction for interest on debt incurred or continued to purchase or carry tax-exempt obligations. The IRS applies this rule by allocating mixed-use margin between taxable and tax-exempt holdings, generally by the average balance of each holding during the period the margin was used. The interest tied to munis is dropped, and only the remaining piece goes on Form 4952 line 1. That dropped piece is not carried forward and is not deductible anywhere else.
The right defensive posture for clients with both margin and tax-exempt bonds is to keep a contemporaneous allocation worksheet. Some brokerages provide one automatically when the account has both kinds of holdings; many do not, and the burden falls on the taxpayer. A simple proportional method using average month-end balances is generally acceptable.
The Indefinite Carryforward
Section 163(d)(2) carries the disallowed amount forward to the following year and treats it as investment interest paid in that year. The carryforward has no time limit. It survives a change in your investments. It is reported as line 2 on the next year's Form 4952 and becomes part of that year's line 3.
Two consequences follow. First, the deduction is never gone just because you cannot use it this year. Second, taxpayers occasionally accumulate large carryforwards that take years to absorb, particularly when their portfolio shifts from a growth posture (heavy in LTCG and qualified dividends) to a yield posture (heavy in taxable interest and non-qualified dividends). Make sure each year's Form 4952 line 2 ties to the prior year's line 7; carrying the wrong number forward is one of the more common preparer errors in this area.
The carryforward is recovered by line 6 each year, including by amounts added through the line 4g election. So a taxpayer with a large carryforward who has unused qualified dividends and long-term capital gain available can elect to absorb part of the carryforward each year while still preserving preference on the unelected portion.
Reporting on Schedule A Line 9
The amount on Form 4952 line 8 is reported on Schedule A line 9, the line for investment interest expense. The line sits separately from mortgage interest on line 8a and is added into Schedule A's "interest you paid" subtotal. The total of Schedule A then competes against the standard deduction; if you do not itemize, the deduction produces no tax benefit, although the carryforward still preserves your ability to use it in a future year when you might itemize.
Two situations route the deduction elsewhere. If part of the line 8 amount is allocable to royalty-producing property, that portion is reported on Schedule E (Form 1040) rather than Schedule A line 9; the Schedule E reduction is treated as a deduction from royalty income, not an itemized deduction. Fiduciaries filing Form 1041 report the deduction on Form 1041 line 10 in place of Schedule A line 9.
Form 4952 itself must accompany the return when investment interest is claimed unless the taxpayer's situation satisfies the small filer exception (no carryforward, no election, line 1 fully absorbed by line 4a). Most preparers file it routinely anyway because the form documents the math.
AMT Interaction
Alternative minimum tax adjusts the investment interest deduction under IRC §56(b)(1)(C). The most common AMT differences are tax-exempt interest on specified private activity bonds (a preference item under §57(a)(5) that becomes AMT investment income) and the home-equity-debt rule (mortgage interest that is not deductible for AMT may be reclassified as investment interest if traceable to investments).
For most filers without specified private activity bonds, the regular-tax Form 4952 figure also works for AMT. For filers with significant private activity bonds, a separate AMT computation is required, and the AMT deduction may be larger than the regular-tax deduction because the AMT investment income is higher. Form 6251 captures the adjustment. The investment interest deduction itself is not an AMT preference; it is only the underlying components that differ.
The AMT Calculator handles the AMT framework once you know your investment interest figure; this guide and the companion calculator stop at the regular-tax computation.
What OBBBA Did and Did Not Change
The One Big Beautiful Bill Act (P.L. 119-21) did not amend IRC §163(d). The net-investment-income ceiling, the line 4g election, the indefinite carryforward, and the exclusion of qualified residence and passive-activity interest are all unchanged. The OBBBA effects you should know about are adjacent:
- OBBBA made permanent the §67(g) suspension of 2% miscellaneous itemized deductions. Investment advisory fees, custodial fees, and IRA management fees were on the 2% list before 2018 and are now permanently nondeductible. They are not investment expenses on Form 4952 line 5.
- OBBBA made the §163(h) home-equity-debt disallowance permanent. Interest on home-equity debt not used to buy, build, or improve the residence is no longer deductible as mortgage interest. Some of that interest may be reclassifiable as investment interest if the proceeds were used to purchase investments, in which case it flows through Form 4952 instead.
- OBBBA added a new §163(h)(4) car-loan interest deduction that is unrelated to investment interest.
The bottom line for §163(d): the same rules govern 2025 and 2026. Read the Mortgage Interest Deduction Guide for the adjacent §163(h) framework.
Want to test whether the line 4g election is worth it for your numbers, or to see how a carryforward unwinds over multiple years? Run both paths in the calculator.
Open the Investment Interest Expense Calculator →Practitioner Insight (LMN Tax Inc.)
The clients who get tripped up by §163(d) are usually high-net-worth investors with concentrated equity positions financed on margin. They expect the broker statement margin interest figure to flow through to Schedule A with no friction. What they actually meet is the default exclusion of qualified dividends and long-term capital gain: their portfolio throws off preferential income, line 6 is small, and a meaningful share of the interest is parked in carryforward. The fix is rarely to refinance, it is to plan around the income mix and to make the line 4g election only when the spread analysis supports it.
The election trade-off looks deceptively simple - elect to deduct more interest and pay ordinary rates on the elected slice. In practice we model both paths in dollars for every client who has interest above the ceiling. A client at the top bracket with a 20-point spread between ordinary and LTCG usually does better letting the carryforward ride for a year or two, then reassessing when their margin balance has unwound. A client closer to the breakeven or with a stale carryforward is often better off electing to clear the deck, especially in a year with elevated qualified dividends from a portfolio rebalance.
The municipal-bond trap quietly costs people money. A client with a mixed brokerage account uses margin "for the equities," gets a margin interest figure from the broker that does not back out the muni piece, and claims the whole thing on Form 4952. On audit the IRS allocates by average balance, denies the muni share, and assesses underpayment interest. We require a brokerage allocation worksheet whenever a client has both margin and any tax-exempt holdings, and we redo the allocation ourselves if the broker has not.
Finally, advisory fees are the single most common error on line 5. Clients ask why we did not deduct their custodial fees as an investment expense. We explain that the 2% misc category is gone, OBBBA made the suspension permanent, and line 5 was never the right home for advisory fees in the first place. The right line 5 entries are depreciation or depletion on investment property and similar items most retail investors do not have. Leaving line 5 at zero is almost always correct for the typical individual return.
Real-World Scenarios
When the Standard Rules Do Not Apply
- Estate or trust investment interest. Fiduciaries follow the same Form 4952 mechanics but report the result on Form 1041 line 10. Investment income comes from estate or trust portfolio sources, and the line 4g election is available at the entity level.
- At-risk limitations. If the investment interest is allocable to an activity for which you are not at risk, Form 6198 limits the deduction before Form 4952 line 8 is reached.
- Royalty allocations. Investment interest tied to royalty income is reported on Schedule E, not Schedule A line 9. The split has to be made before line 8 is entered on the return.
- AMT private activity bonds. Specified private activity bond interest is AMT investment income but not regular-tax investment income, so AMT Form 4952 figures differ from regular tax.
- Short-sale interest and dividends. Special rules under sections 263(h) and 265 govern short-sale-related amounts. Substitute dividend payments and interest accrued during short positions have unique treatment.
- Section 469 passive activity interest. Interest connected with a passive activity is taken into account under the passive-loss rules, not section 163(d). It stays off Form 4952.
- Capitalized interest under section 263A. Interest required to be capitalized into the basis of property under the uniform capitalization rules is not a current deduction and is not on Form 4952 either.
Frequently Asked Questions
What to Do Next
You deduct the full amount and there is no carryforward. Confirm you are itemizing by comparing with the standard deduction using the Itemize vs Standard Deduction Calculator. If you do not itemize, the deduction will not reduce federal tax.
Decide whether the line 4g election makes sense. Run both paths in the Investment Interest Expense Calculator and compare the deduction this year against the loss of qualified-dividend or capital-gain preference on the elected slice.
Allocate the broker margin interest between taxable and tax-exempt holdings before claiming any of it on Form 4952. Document the allocation, since the burden falls on you. Review the broader mortgage/interest framework in the Mortgage Interest Deduction Guide.
Confirm last year's Form 4952 line 7 ties to this year's line 2. If you also need to weigh the AGI/MAGI effect of carryforward absorption, check the AGI & MAGI Calculator.
Related Tools and Guides
- IRC §163(d) (Cornell LII) — Limitation on Investment Interest — (d)(1) deduction limited to net investment income; (d)(2) indefinite carryforward; (d)(3)(A) investment interest definition; (d)(3)(B)(i) exclusion of qualified residence interest; (d)(3)(B)(ii) exclusion of passive-activity interest; (d)(4) net investment income (default exclusion of qualified dividends and net capital gain, election to include them); (d)(5) property held for investment.
- IRS Form 4952 — Investment Interest Expense Deduction — Part I (lines 1-3) total interest; Part II (lines 4a-4h) net investment income and the line 4g election; Part III (lines 7-8) disallowed amount and current-year deduction routed to Schedule A line 9.
- IRS Publication 550 — Investment Income and Expenses — Investment interest definition, net investment income, the qualified-dividend and capital-gain election, the carryforward, the mixed-use margin allocation rule, and the §265 disallowance for interest tied to tax-exempt securities.
- IRS Schedule A (Form 1040) and Instructions — Line 9 reports the Form 4952 line 8 investment interest expense; the form must accompany Schedule A unless small-filer relief applies.
- IRS Tax Topic 505 — Interest Expense — Overview of deductible and nondeductible interest, including the investment interest category and the personal-interest disallowance.
- IRC §265 (Cornell LII) — Expenses and Interest Relating to Tax-Exempt Income — Permanently disallows the deduction for interest on debt incurred or continued to purchase or carry tax-exempt obligations, including the muni-bond margin trap.
- IRS Form 6251 — Alternative Minimum Tax (Individuals) — AMT investment interest adjustment under §56(b)(1)(C), the private activity bond preference, and the broader home-equity-debt exclusion for AMT.