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 →
Short Answer

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).

Key Takeaways
  • 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.
M
Written by Munib Ur Rehman · Reviewed by Nausheen Shahid (LMN Tax Inc.) · Tax Years 2025 & 2026 · Last Reviewed: May 2026

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.

Net Investment Income Building Blocks — Form 4952 Part II
ItemDefault treatmentForm 4952 line
Taxable interest incomeIncluded in investment incomeLine 4a
Ordinary dividends (non-qualified)Included in investment incomeLine 4a
Qualified dividendsExcluded (election available)Line 4b, optionally 4g
Royalties from investment propertyIncluded in investment incomeLine 4a
Net long-term capital gainExcluded (election available)Line 4e, optionally 4g
Short-term gains in excess of LTCGIncluded automaticallyLine 4f
Tax-exempt interestNever investment incomen/a
Investment expenses (other than interest)Subtracted from incomeLine 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.)

LMN Tax Inc. — Planning Notes

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

Scenario 1 — Margin interest fully absorbed (no election)
Investment interest paid (Line 1)$8,000
Taxable interest + ord dividends (Line 4a)$10,000
Net investment income (Line 6)$10,000
Deduction to Schedule A line 9$8,000
Carryforward$0
Scenario 2 — QDIV/LTCG excluded, partial deduction
Investment interest (Line 1)$15,000
Income 4a / QDIV 4b$6,000 / $3,000
Net gain 4d / Net LTCG 4e$4,000 / $3,500
Net investment income (Line 6)$3,500
Deduction this year$3,500
Carryforward (Line 7)$11,500
Scenario 3 — Same facts, full election unlocks deduction
Elected amount (Line 4g, max $6,500)$6,500
Net investment income (Line 6)$10,000
Deduction this year$10,000
Carryforward (Line 7)$5,000
Cost: $6,500 now taxed at ordinary rates~$975 (15-pt spread)
Scenario 4 — Prior carryforward absorbed by interest income
Current interest (L1) / Carryforward (L2)$4,000 / $20,000
Total interest (Line 3)$24,000
Net investment income (Line 6)$12,000
Deduction this year$12,000
Remaining carryforward$12,000
Scenario 5 — No investment income, full carryforward
Investment interest paid$5,000
Net investment income (Line 6)$0
Deduction this year$0
Carryforward (full amount)$5,000
Scenario 6 — Mixed-use margin: muni allocation
Broker margin interest (gross)$12,000
Taxable / tax-exempt holdings (avg balance)70% / 30%
Allocable to taxable (Form 4952 Line 1)$8,400
Allocable to munis (permanently nondeductible)$3,600

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

How is the investment interest deduction limited?
IRC §163(d) limits an individual's deduction for investment interest to net investment income for the year. The limit applies before any other deduction phase-outs and is computed on Form 4952. Any interest above the limit is not lost - it carries forward indefinitely as investment interest paid in the next year. The allowed amount is reported on Schedule A line 9 and reduces tax only if you itemize.
What is the line 4g election on Form 4952?
Form 4952 line 4g lets you elect to treat some or all of your qualified dividends (line 4b) and net capital gain (line 4e) as ordinary investment income for purposes of the deduction. The election raises net investment income and lets you deduct more interest this year, but the elected amount loses the preferential capital-gain or qualified-dividend rate and is taxed at ordinary rates on Schedule D or the Qualified Dividends Tax Worksheet.
Is margin interest investment interest?
Yes, margin interest charged by your brokerage on debt used to buy taxable stocks or bonds is investment interest and goes on Form 4952. Margin interest used to carry tax-exempt securities (municipal bonds and muni bond funds) is never deductible. If you have a mixed-use margin loan, you must allocate the interest between taxable and tax-exempt holdings before claiming any of it on Form 4952.
What is not investment interest?
Personal interest, qualified residence interest (home mortgage), passive-activity interest (governed by section 469), capitalized interest under section 263A, interest on debt to buy or carry tax-exempt securities, and interest on insurance or annuity contracts issued after June 8, 1997 are not investment interest. Only interest on debt properly allocable to property held for investment qualifies under section 163(d)(3)(A).
How does the carryforward work?
Disallowed investment interest from Form 4952 line 7 is treated as investment interest paid or accrued in the next taxable year under IRC §163(d)(2). The carryforward has no expiration. You report it on the following year's Form 4952 line 2 and it becomes part of line 3, the total investment interest tested against that year's net investment income.
Where is the deduction reported on the return?
Form 4952 line 8 (the smaller of total investment interest and net investment income) is reported on Schedule A (Form 1040) line 9 as investment interest expense, separate from home mortgage interest (line 8a). If part of the interest is allocable to royalty income, that portion is reported on Schedule E instead. Estates and trusts use Form 1041 line 10 in place of Schedule A line 9.
Did OBBBA change investment interest deduction rules?
No. The One Big Beautiful Bill Act (P.L. 119-21) did not amend IRC §163(d). The net-investment-income limit, the qualified-dividend and capital-gain election on line 4g, and the indefinite carryforward are unchanged for 2025 and 2026. OBBBA did make permanent the suspension of miscellaneous 2% itemized deductions, which keeps investment advisory and custodial fees off Schedule A and off Form 4952 line 5.
Does the deduction interact with AMT?
Yes. For alternative minimum tax purposes, IRC §56(b)(1)(C) requires a separate investment interest computation because the regular-tax and AMT figures can differ. Tax-exempt interest from specified private activity bonds becomes AMT investment income, and the home-equity-debt exclusion is broader for AMT. Form 6251 walks through the differences; Form 4952 covers only the regular-tax deduction.
Are investment advisory fees deductible on Form 4952?
No. Investment advisory fees, custodial fees, and similar costs were 2% miscellaneous itemized deductions on Schedule A, suspended after 2017 and made permanently nondeductible by OBBBA. They are not investment expenses on Form 4952 line 5. Line 5 is limited to expenses directly connected with investment income that are still deductible under current law, such as depreciation or depletion on investment property.

What to Do Next

If Your Interest Is Below Your Investment Income

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.

If Your Interest Exceeds Your Investment Income

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.

If You Used Margin in a Mixed-Use Account

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.

If You Have a Carryforward to Track

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

Official Sources
Disclaimer: This guide covers the federal investment interest expense deduction under IRC §163(d) and IRS Form 4952 for tax years 2025 and 2026 and provides general planning context. It does not constitute tax or legal advice. The net-investment-income limit, the line 4g election, and the indefinite carryforward are statutory and identical for both years. The deduction is reported on Schedule A line 9 and only reduces federal tax if you itemize. State tax treatment and AMT may differ. Consult a qualified tax professional before relying on this information.