Home › Guides › Markets & the economy
Net investment income tax (NIIT)
This page is for United States, federal rules (IRS); state taxes are not covered
The net investment income tax is 3.8% of the smaller of two amounts. One is your net investment income. The other is how far your income is over a line set by your filing status.
The short answer
This page is about United States federal tax, from the IRS. It does not cover state tax.
The net investment income tax (NIIT) is a 3.8% tax on investment income. The IRS says it "is imposed by section 1411 of the Internal Revenue Code" and applies "to certain net investment income of individuals, estates and trusts that have income above the statutory threshold amounts." It began on January 1, 2013.
For an individual, the IRS says the tax is 3.8% "on the lesser of" two amounts:
- your net investment income, or
- the amount your modified adjusted gross income (MAGI) is over the threshold for your filing status.
At or under the threshold, or with no net investment income, the tax is zero. Try your numbers in the net investment income tax calculator.
The thresholds by filing status
These are the amounts for individuals, from the IRS questions and answers page and the Form 8960 instructions:
| Filing status | Threshold (United States, federal) |
|---|---|
| Single | $200,000 |
| Head of household (with a qualifying person) | $200,000 |
| Married filing jointly | $250,000 |
| Qualifying surviving spouse | $250,000 |
| Married filing separately | $125,000 |
The IRS says: "Taxpayers should be aware that these threshold amounts are not indexed for inflation." So the amounts do not rise with prices. The IRS pages we read, last updated in 2026, show the same five numbers.
A U.S. citizen or resident married to a nonresident alien files as married filing separately for this tax, unless the couple elects to file jointly. A bankruptcy estate of an individual uses $125,000.
How the tax is figured
The steps match Form 8960, lines 12 to 17:
- Find net investment income (line 12). If it is zero or less, the tax is zero.
- Subtract the threshold from MAGI (lines 13 to 15). If the answer is zero or less, the tax is zero.
- Take the smaller of line 12 and line 15 (line 16).
- Multiply it by 3.8% (line 17).
Two IRS examples
A single filer has $180,000 of wages and $90,000 from a passive partnership interest. MAGI is $270,000, which is $70,000 over $200,000. Net investment income is $90,000. The smaller number is $70,000, so the tax is $70,000 × 3.8% = $2,660.
Another single filer has $180,000 of wages and $15,000 of dividends and capital gains. MAGI is $195,000, under $200,000. The IRS says this filer "is not subject to the Net Investment Income Tax."
A made-up case, both ways
Two single filers each have $300,000 of MAGI, so each is $100,000 over the line. Person A has $40,000 of net investment income. The tax is 3.8% of $40,000, or $1,520. Person B has $100,000. The tax is 3.8% of $100,000, or $3,800. A third single filer has $250,000 of MAGI and $100,000 of net investment income. The $50,000 over the line is the smaller number, so the tax is 3.8% of $50,000, or $1,900.
What counts as net investment income
The IRS says investment income "includes, but is not limited to": interest, dividends, capital gains, rental and royalty income, non-qualified annuities, and income from businesses that trade financial instruments or commodities or are passive activities for the taxpayer.
For gains, the IRS lists stock, bond and mutual fund sales, mutual fund capital gain distributions, and gain on investment real estate (a second home counts), to the extent capital losses do not offset them. Digital asset income may also be subject to the tax, "which applies in addition to other income taxes."
Your investment income "is reduced by certain expenses properly allocable to the income." The IRS names investment interest, advisory and brokerage fees, rental and royalty expenses, tax preparation fees, and state and local income taxes.
What is not net investment income
The IRS lists these as common income that is not net investment income: wages, unemployment compensation, operating income from a nonpassive business, Social Security benefits, alimony, tax-exempt interest, self-employment income, Alaska Permanent Fund dividends, and distributions from certain qualified plans (sections 401(a), 403(a), 403(b), 408, 408A and 457(b)).
Gain on a main home is covered too. The tax "does not apply to any amount of gain that is excluded from gross income for regular income tax purposes." That is the first $250,000 of gain ($500,000 for a married couple) under section 121.
The IRS gives this example. B and C file jointly and sell their main home for a $600,000 gain. After the $500,000 exclusion, $100,000 is taxed as regular income. With $125,000 of other net investment income, theirs is $225,000. MAGI is $300,000, which is $50,000 over $250,000. The tax is the smaller of $225,000 and $50,000: $50,000 × 3.8% = $1,900.
What MAGI means here
The IRS says: "If you didn't exclude any amounts from your gross income under section 911 and you don't own an interest in a CFC or PFIC, your MAGI is your AGI as reported on Form 1040 or 1040-SR." Excluded foreign earned income is added back. Owners of certain foreign corporations (CFCs and PFICs) may need other changes, shown in the Form 8960 instructions.
Form 8960 and where the tax goes
You figure the tax on Form 8960. The instructions say: "Attach Form 8960 to your return if your modified adjusted gross income (MAGI) is greater than the applicable threshold amount."
| Form 8960 line (2025 form) | What it is |
|---|---|
| 12 | Net investment income (zero if less) |
| 13 | Modified adjusted gross income |
| 14 | Threshold for your filing status |
| 15 | Line 13 minus line 14 (zero if less) |
| 16 | The smaller of line 12 and line 15 |
| 17 | Line 16 times 3.8% |
The IRS says: "Form 1040 or 1040-SR filers: Include this amount on Schedule 2 (Form 1040), line 12." Estates and trusts use lines 18 to 21 and file with Form 1041. The IRS gives $15,650 as the 2025 trust threshold. They are not covered here.
Paying it during the year
The tax "is subject to the estimated tax provisions," so the IRS says to adjust withholding or estimated payments "to avoid underpayment penalties." A credit allowed only against regular income tax "may not reduce the NIIT." The foreign tax credit is one example.
The 0.9% Additional Medicare Tax is separate. The IRS says you may owe both "but not on the same type of income." Nonresident aliens are not subject to the NIIT.
Is the net investment income tax going away?
This page gives current law as the IRS states it. It does not predict what Congress will do.
The IRS tax topic, last reviewed September 24, 2026, says: "A 3.8 percent net investment income tax (NIIT) applies to individuals, estates, and trusts that have net investment income above applicable threshold amounts." Nothing on the IRS pages we read in November 2026 says it ends or changes. The Form 8960 instructions say to go to IRS.gov/Form8960 for "legislation enacted after they were published."
Sources
All from irs.gov: Questions and Answers on the Net Investment Income Tax (Sept. 14, 2026), Tax Topic 559 (Sept. 24, 2026), the Net Investment Income Tax page (July 1, 2026), Instructions for Form 8960 (2025) and the 2025 Form 8960. For long-term gain rates see capital gains tax brackets for 2027 and federal tax brackets for 2027.
Questions
What is the net investment income tax rate?
3.8% of the smaller of your net investment income and the amount your MAGI is over the threshold.
What is the threshold?
$200,000 for single and head of household, $250,000 for married filing jointly and qualifying surviving spouse, $125,000 for married filing separately. The IRS says they are not indexed for inflation.
Is it based on AGI?
It is based on MAGI. For most people MAGI equals AGI. Foreign earned income you excluded is added back.
Are wages net investment income?
No. They still count in MAGI.
Where is it on my tax return?
Figure it on Form 8960. Line 17 goes on Schedule 2 (Form 1040), line 12.
Is it going away?
The IRS pages we read in November 2026 show it as current law. This page makes no forecast.
Reminder: this page is for United States, federal rules (IRS); state taxes are not covered
Follow along