If your income crosses certain limits, you may owe an extra 3.8% tax on money earned from investments. This is called the Net Investment Income Tax (NIIT). It’s designed to ensure that high-income individuals contribute more on earnings that typically aren’t subject to payroll taxes.
While the idea of another tax may feel frustrating, knowing how the NIIT works — and what counts as “net investment income” — can help you plan ahead and possibly avoid paying more than necessary.

Content
Who Owes the Net Investment Income Tax?
The NIIT applies to individuals, estates, and trusts with income above certain thresholds. This extra tax is calculated based on your Modified Adjusted Gross Income (MAGI) and the amount of your net investment income.
Here’s a quick breakdown of the MAGI thresholds:
| Filing Status | MAGI Threshold |
| Single | $200,000 |
| Married Filing Jointly | $250,000 |
| Married Filing Separately | $125,000 |
| Head of Household | $200,000 |
| Qualifying Widow(er) | $250,000 |
How It’s Calculated:
You’ll owe 3.8% on the lesser of:
- Your net investment income, or
- The amount your MAGI exceeds the threshold
Example: If you’re a single filer with $210,000 MAGI and $15,000 in net investment income, you’d owe NIIT on $10,000 — the amount over the threshold — not the full $15,000.
How Is Net Investment Income Tax Related to Capital Gains?
It’s common to confuse the NIIT with capital gains tax, but the two are separate. Capital gains tax applies to profit made from selling assets like stocks, while NIIT is an additional 3.8% tax on those same types of gains if your income is high enough.
So if you sell stock at a gain:
- First, you pay capital gains tax (0%, 15%, or 20%, depending on your tax bracket).
- Then, if your MAGI is above the threshold, you might pay an extra 3.8% NIIT.
This dual taxation can catch some investors off guard — especially if the sale of assets pushes you just over the limit.
What Counts as Net Investment Income?
The IRS defines net investment income (NII) broadly, and it includes a wide variety of passive earnings. Some examples include:
Included:
- Interest from savings accounts or bonds
- Dividends from stocks
- Capital gains (realized from asset sales)
- Rental income from investment properties
- Royalties from intellectual property
- Non-qualified annuity distributions
- Passive business income (from businesses you don’t materially participate in)
Excluded:
- Wages and salaries
- Self-employment income
- Social Security benefits
- Tax-exempt interest
- Distributions from traditional IRAs and qualified retirement plans
- Income from active participation in a business or trade
Pro tip: Even if you reinvest dividends instead of cashing them out, they still count toward your NII.
How Can You Avoid or Reduce the Net Investment Income Tax?
Reducing your exposure to NIIT typically involves either lowering your MAGI or decreasing your net investment income. Here are a few effective strategies:
1. Harvest Capital Losses
Sell investments at a loss to offset gains. This process, known as tax-loss harvesting, can significantly reduce your taxable investment income.
2. Contribute to Pre-Tax Retirement Accounts
Max out contributions to traditional IRAs or 401(k)s. These reduce your MAGI and may keep you below the NIIT threshold.
3. Invest in Tax-Exempt Securities
Income from municipal bonds is not included in net investment income or MAGI. This can be a smart way to earn income while avoiding NIIT.
4. Use Installment Sales
Spreading the sale of large assets over multiple years through an installment agreement can help you avoid pushing your income above the threshold in any one year.
5. Consider Timing
If you’re on the edge of a threshold, delay a capital gain or adjust the timing of bonus income or asset sales to stay under the limit.
Should You Be Concerned About NIIT?
The NIIT won’t affect every taxpayer, but it can have a noticeable impact on those:
- With significant investment income,
- Selling a property or business,
- Inheriting assets,
- Nearing retirement and drawing from taxable accounts.
Even a one-time financial event — like exercising stock options or receiving a large bonus — could trigger NIIT unexpectedly.
That’s why it’s a good idea to:
- Monitor your MAGI,
- Plan large investment moves strategically, and
- Work with a tax advisor or use advanced tax software to forecast potential NIIT liability.
Bottom Line
The net investment income tax adds complexity to the tax picture for high-income earners — especially those who rely on investments for passive income. Whether you’re selling a stock, earning rental income, or planning your retirement withdrawals, it pays to understand where NIIT fits into your financial plan.
FAQs
What is the Net Investment Income Tax (NIIT)?
The NIIT is a 3.8% tax on investment income for high-income earners whose modified adjusted gross income exceeds IRS thresholds.
Who has to pay the Net Investment Income Tax?
Individuals, estates, and trusts with income above $200,000 (or $250,000 for joint filers) and qualifying net investment income must pay NIIT.

Clyde is a highly creative and dedicated person with an entrepreneurial spirit. He is always looking for ways to help people, whether it be contributing to their success or just making them laugh. His commitment is demonstrated through the dedication he has put into all of his work so far, which includes writing business blogs for various companies as well as running his own blog on Medium. He loves reading books about how other people became successful entrepreneurs like himself; he finds inspiration from these stories and hopes to make a positive impact on others’ lives too!


