Form 8960: How to calculate the net investment income tax
Key Takeaways
-
The NIIT thresholds ($200,000 single, $250,000 married filing jointly, $125,000 married filing separately) have not been indexed for inflation since 2013. More taxpayers cross them each year even without real income growth, and only the amount above the threshold is subject to the 3.8% surtax
-
The NIIT targets investment returns, not labor income: interest, dividends, capital gains (both short- and long-term), rental income, royalties, and passive business income are included. Wages, bonuses, and self-employment income from businesses where you materially participate are excluded
-
Form 8960 taxes the lesser of net investment income or MAGI in excess of the threshold at 3.8%. If NII is $80,000 and the MAGI excess is $50,000, the tax is 3.8% of $50,000. The calculation ensures the tax is always capped by whichever amount is smaller
-
Long-term capital gains can face a combined effective rate approaching 25% in high-tax states: 15% or 20% capital gains rate, plus 3.8% NIIT, plus state tax. Understanding this combined rate should inform which investments and accounts make sense
-
Five planning strategies reduce NIIT exposure: managing capital gain timing to avoid bunching in single years, converting passive rental or business income to active where possible, reinvesting gains into qualified opportunity zone funds, maximizing retirement account contributions, and tracking the combined rate across all applicable taxes before selling investments
Quick Answer
The 3.8% net investment income tax applies when MAGI crosses $200,000 (single) or $250,000 (married filing jointly) and the taxpayer has investment-type income: interest, dividends, capital gains, rents, royalties, or passive business income. Form 8960 applies the rate to whichever is smaller: total net investment income or the MAGI overage above the threshold. Wages and active business income are not included. Only the portion above the threshold is taxed.
You reviewed your tax return and noticed a line item you do not remember seeing before: net investment income tax. The amount is not trivial. It adds thousands of dollars to your tax bill on top of regular income tax and capital gains tax.
This 3.8% surtax has been in place since 2013, but many taxpayers do not understand how it works until their income crosses the threshold and the tax suddenly appears. The net investment income tax rules are not complicated once you understand them, but they do require attention if you want to manage this additional liability.
Form 8960 is where the NIIT calculation happens. Understanding the Form 8960 instructions helps you anticipate the tax and plan accordingly.
Which taxpayers owe the net investment income tax, and what are the income thresholds that trigger it?

Single filers when MAGI exceeds $200,000, married filing jointly when MAGI exceeds $250,000, married filing separately at $125,000, and estates and trusts at around $14,450. These thresholds have not been indexed for inflation since 2013, which means more taxpayers cross them each year even without real income growth. The net investment income tax does not apply to everyone with investment income. It applies only to taxpayers whose modified adjusted gross income exceeds statutory thresholds.
1. The investment income threshold amounts are fixed by statute. Single filers face the 3.8% surtax when MAGI exceeds $200,000. Married couples filing jointly face it when MAGI exceeds $250,000. Married filing separately uses a $125,000 threshold. Estates and trusts have their own threshold tied to the beginning of the highest tax bracket, currently around $14,450.
2. These thresholds are not indexed for inflation. Unlike regular tax brackets, which adjust annually, the NIIT thresholds have remained unchanged since the tax was enacted. In 2013, $200,000 meant something different than it does today. As incomes rise with inflation, more taxpayers cross the threshold each year even without real income growth.
3. The tax applies only to amounts above the threshold. If your MAGI is $210,000 as a single filer, only $10,000 is potentially subject to NIIT. The threshold functions like a floor. Income below this amount is not subject to this tax, regardless of its source.
This threshold-based structure means NIIT planning focuses on managing income levels around the threshold or managing the type of income you receive.
Which types of income count as net investment income, and which ones are explicitly excluded?
Interest, dividends, and capital gains are included. Rental and royalty income is generally included unless the activity rises to trade or business level with material participation. Passive business income from partnerships or S corporations where you do not materially participate is included. Wages and active business income are excluded. The NIIT specifically targets investment returns, not labor compensation. Not all income counts as net investment income. The tax targets investment and passive income, not wages or active business earnings.
1. Interest, dividends, and capital gains are included. These classic investment income types are squarely within NIIT. Interest from bank accounts and bonds, dividends from stocks, and gains from selling investments all count as net investment income subject to the 3.8% tax.
This includes both short-term and long-term capital gains. Even gains that qualify for the preferential 15% or 20% capital gains rates still face the additional 3.8% NIIT on top of those rates.
2. Rental and royalty income is generally included. Income from rental properties and royalties typically counts as net investment income. This surprises some taxpayers who actively manage their rental properties. Unless the rental activity rises to the level of a trade or business in which you materially participate, the income is passive income NIIT captures.
Real estate professionals who meet specific hour and participation tests may escape NIIT on rental income. But casual landlords with one or two rental properties almost always face the tax.
3. Passive business income is included. If you own an interest in a partnership, S corporation, or other business in which you do not materially participate, your share of that business income is passive. Passive business income counts as net investment income.
This distinction matters for professional service firm owners who may have investments in other businesses. Active income from your primary business where you work daily is not NIIT. Passive income from an investment in your partner's business where you do not participate is NIIT.
4. Wages and active business income are excluded. Your salary, bonuses, and self-employment income from businesses where you materially participate are not net investment income. The tax specifically targets investment returns, not labor compensation.
This exclusion is why the NIIT does not simply add 3.8% to everyone's tax rate above the threshold. A surgeon earning $400,000 entirely from wages owes no NIIT. A retiree with $400,000 in dividend and capital gain income owes NIIT on the full amount above the threshold.
How does Form 8960 calculate the NIIT, and why is the tax based on the lesser of two numbers?

It is 3.8% of the lesser of your net investment income (Part I) or the excess of your MAGI over the threshold for your filing status (Part II). If NII is $80,000 and the MAGI excess is $50,000, the tax is 3.8% of $50,000, not $80,000. The calculation ensures the tax is always capped by whichever amount is smaller. The NIIT calculation involves comparing two numbers and taxing the smaller one at 3.8%.
Part I calculates your net investment income. List your investment income by category: interest, dividends, annuities, rental income, capital gains, and other investment income. Then subtract investment expenses that are properly allocable to that income, such as investment interest expense, investment advisory fees (to the extent still deductible), and state and local taxes on investment income.
The result is your net investment income. This is the first number in the comparison.
Part II determines the excess of MAGI over the threshold. Enter your modified adjusted gross income and subtract the threshold for your filing status. If your MAGI is $300,000 and you file jointly, you subtract $250,000 to get $50,000. This excess is the second number in the comparison.
Part III calculates the tax. Your NIIT is 3.8% of the lesser of net investment income or the excess over the threshold.
If your net investment income is $80,000 and your excess over threshold is $50,000, you pay 3.8% of $50,000, which equals $1,900.
If your net investment income is $30,000 and your excess over threshold is $50,000, you pay 3.8% of $30,000, which equals $1,140.
This "lesser of" calculation means the tax is capped by both your investment income and your income level. High investment income with modest overall income produces low NIIT. Even modest investment income, combined with high overall income, produces limited NIIT. The tax maximizes when both amounts are large.
Which strategies reduce net investment income tax liability for taxpayers who regularly exceed the threshold?
Managing capital gain timing to avoid bunching in single years, converting passive rental or business income to active where possible, reinvesting gains into qualified opportunity zone funds, maximizing retirement account contributions where investment income is shielded, and tracking the combined rate across capital gains tax, NIIT, and state tax before making investment decisions. Once you understand the mechanics, you can consider strategies to reduce NIIT liability.
1. Manage timing of capital gains. Since capital gains trigger NIIT, bunching sales in years when you are below the threshold or spreading gains across multiple years can reduce total NIIT. A $200,000 gain in a single year produces more NIIT than two $100,000 gains spread across two years if the spreading keeps you closer to the threshold.
2. Convert passive income to active where possible. If you have rental properties, consider whether a real estate professional status could convert that income from passive to active income. If you have passive business investments, evaluate whether increasing participation could change the character of the income.
3. Use qualified opportunity zone investments. Gains reinvested in qualified opportunity zone funds are deferred and may be reduced. This planning tool affects both the regular capital gains tax and the NIIT.
4. Consider tax-advantaged accounts. Investment income earned inside retirement accounts does not trigger NIIT because it is not currently taxable. Maximizing retirement contributions keeps more investment income shielded from the 3.8% surtax.
5. Track the interaction with other taxes. NIIT sits on top of regular income tax and capital gains tax. A long-term capital gain may be subject to a 15% capital gains tax, a 3.8% NIIT, and state tax, resulting in an effective rate approaching 25% in some states. Understanding the combined rate informs which investments and accounts make sense.
What information do you need to complete Form 8960, and when does the calculation become complex?
Simple portfolios: 1099 forms from brokerages provide most inputs for interest, dividends, and capital gains. Complex situations: passive activity and at-risk analysis feeds into the NII categorization, and rental property income requires determining whether it qualifies as trade or business income. The form itself is short but correct income categorization determines accuracy. Form 8960 is shorter and simpler than many tax forms. The complexity lies not in the form itself but in correctly categorizing your income and calculating the allocable deductions.
For taxpayers with simple investment portfolios, standard brokerage statements provide most of the necessary information. Interest, dividends, and capital gains from 1099 forms flow directly into Part I.
For taxpayers with rental properties, business interests, and multiple income sources, the passive activity vs at-risk analysis feeds into the NIIT calculation. The character of each income source determines whether it appears on Form 8960.
If your income consistently exceeds the threshold and you have significant investment income, you will likely need to file Form 8960 annually. The Form 8960 instructions include worksheets for complex situations, but most taxpayers find the calculation straightforward once they understand which income counts.
The 3.8% seems small until you calculate the actual dollars. On $100,000 of net investment income, that is $3,800 in additional tax. Understanding how the tax works and planning around it protects that money where planning opportunities exist.
Numetix is an AI-first accounting firm. AI runs the bookkeeping, tax, payroll, and reporting workflow. Industry experts handle the judgment, month-end close, review, and advisory. We serve founder-led service firms across law, consulting, IT, healthcare, creative, and nonprofit. Headquartered in California, serving clients nationwide.
Suggested Readings
Medical practice 1099 filing: Managing contractor clinicians without year-end chaos
Medical practice tax deductions: What owner-doctors can (and can't) write off
The 4 tax return errors quietly draining service firms before an expert steps in
See what Numetix can do for you
Learn how the Numetix Portal streamlines communication, offers valuable insights, and saves you time so you can focus on growing your business.