Taxstra Logo
Investment Tax Guide

Investment Interest Expense Deduction and 4952

How the investment interest deduction works: the net investment income limit, Form 4952, the capital gain election, carryforwards and the 2026 rules.

★ 5.0 on Google113 reviews4.9 from 114 BiggerPockets reviews1,000+ clientsAll 50 states, fully remote

Quick answer

Interest on money borrowed to buy taxable investments, such as margin interest, is deductible as an itemized deduction, but only up to your net investment income for the year under section 163(d). Qualified dividends and long-term capital gains count toward that limit only if you elect to give up their lower tax rates. Any interest you cannot deduct carries forward indefinitely. You figure the limit on Form 4952 unless you meet its three-part exception.

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.

What matters is what you bought with the money, not what secures the loan

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.

What goes into the limit
ItemCounts toward investment income?Source
Taxable interest and nonqualified dividendsYesIRC 163(d)(4)(B); Form 4952 line 4a
Qualified dividendsOnly if you elect, and then taxed at ordinary ratesIRC 163(d)(4)(B); line 4g
Net short-term gain on investment propertyYesIRC 163(d)(4)(B)(ii); line 4f
Net long-term capital gain on investment propertyOnly if you elect, and then taxed at ordinary ratesIRC 163(d)(4)(B)(iii); line 4g
Income from passive activitiesNo (handled under the passive rules)IRC 163(d)(4)(D)
Interest from tax-exempt bondsNoForm 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.

Form 4952 at a glance (2026 form)
LineWhat it holds
1Investment interest paid or accrued in 2026
2Disallowed investment interest carried from the 2025 form
4a to 4hInvestment income, with qualified dividends and net capital gain removed unless elected on line 4g
5Investment expenses (no miscellaneous itemized deductions)
6Net investment income
7Disallowed interest carried forward to 2027
8Deduction: 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.”
Google Reviewer · Read on Google

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.

01

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.

02

Deducting interest to carry tax-exempt bonds

Section 265 disallows interest on debt incurred or continued to buy or carry tax-exempt obligations.

03

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.

04

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.

05

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.

06

Ignoring the standard deduction

Investment interest on Schedule A is worth nothing if you take the standard deduction.

Frequently Asked Questions

Is margin interest tax deductible?

Yes, if the margin loan was used to buy taxable investments and you itemize. It is investment interest, deductible up to your net investment income for the year, with any excess carried forward.

What is the investment interest expense deduction limit?

Under section 163(d), the deduction cannot exceed your net investment income: taxable interest, nonqualified dividends, royalties and net short-term gains from investments, minus investment expenses, plus any qualified dividends or long-term gains you elect to include.

When do I need to file Form 4952?

Whenever you claim investment interest, unless all three exception tests are met: investment income from interest and ordinary dividends minus qualified dividends exceeds the interest, you have no other deductible investment expenses, and you have no disallowed carryover from the prior year.

Should I elect to include capital gains on Form 4952?

Only if the deduction is worth more now than the lost capital gain rate costs. Each elected dollar is taxed at ordinary rates. If you expect enough future investment income to use the carryforward, not electing often costs nothing.

Does disallowed investment interest expire?

No. Disallowed investment interest carries forward to the next year and is treated as paid or accrued in that year, and it can keep carrying forward even if it exceeds your taxable income.

Can I deduct investment interest if I take the standard deduction?

Generally no. For individuals, investment interest is an itemized deduction on Schedule A, line 9. Interest attributable to royalties or a nonpassive business is reported on those schedules instead.

Did the 2025 tax law change the investment interest deduction?

The section 163(d) limit itself is unchanged, but starting in 2026 the rewritten section 68 reduces itemized deductions for taxpayers in the 37 percent bracket by 2/37 of the lesser of their itemized deductions or income above that bracket start, which lowers the value of the deduction.

Is interest on a loan to buy a rental property investment interest?

Generally no. Rental activities are usually passive, and interest allocable to a passive activity is excluded from investment interest and deducted on Schedule E under the passive activity rules.

Next Steps

Filing it yourself is fine. Optimizing it is where the money is.

Getting the form right keeps you out of trouble. The strategies below are what actually lower the bill.

Interested in working with Taxstra?

Book your free 30-minute tax fit call with our team. Tell us what you need, learn how Taxstra can help, and explore whether our services are a good fit. Tax advice, document reviews, and analysis require a paid engagement.

Tax planning slots are limited before year-end.