The net investment income tax is one of the most overlooked federal taxes affecting high-income households, investors, and some business owners. Also called the NIIT, this additional 3.8 percent tax can apply to investment income such as interest, dividends, capital gains, rental income, and certain passive business earnings.

If you own stocks, sell an investment property, or earn income from a partnership or S corporation, understanding the net investment income tax can help you plan ahead and avoid surprises at tax time. The rules are not always intuitive, especially because the tax depends on both your income type and your modified adjusted gross income.

What Is the Net Investment Income Tax?

Infographic explaining who pays the additional 3.8% Net Investment Income Tax on different income types.

The net investment income tax is a federal tax that applies in addition to regular income tax. It was created as part of the Affordable Care Act and generally applies to individuals, estates, and trusts with income above certain thresholds.

For individuals, the NIIT is charged at 3.8% on the lesser of:

  1. Your net investment income, or
  2. The amount by which your modified adjusted gross income exceeds the applicable threshold

That means you do not automatically owe the tax on all investment income. Instead, the tax applies only when both conditions line up: you have qualifying investment income and your income is high enough.

Who Pays the Additional 3.8 Percent?

The additional 3.8 percent applies mainly to higher-income taxpayers. The thresholds are based on filing status:

  • Single or head of household: over $200,000
  • Married filing jointly: over $250,000
  • Married filing separately: over $125,000
  • Qualifying widow(er) with dependent child: over $250,000

If your modified adjusted gross income is above one of these amounts and you have net investment income, you may owe the NIIT.

A simple example

Suppose you are single and your modified adjusted gross income is $240,000. You also have $20,000 of net investment income from dividends and capital gains.

  • Income above the threshold: $40,000
  • Net investment income: $20,000

The NIIT applies to the lesser amount, which is $20,000.
So the tax would be:

  • $20,000 × 3.8% = $760

This is in addition to any regular tax you already owe on that income.

What Counts as Net Investment Income?

To understand the net investment income tax, you need to know what counts as net investment income in the first place. In general, it includes:

  • Taxable interest
  • Ordinary dividends
  • Capital gains
  • Rental and royalty income
  • Non-qualified annuities
  • Income from businesses that are passive to the taxpayer
  • Income from trading in financial instruments or commodities

Income that usually is not included

Some types of income are excluded from NIIT calculations, such as:

  • Wages and salaries
  • Self-employment income
  • Unemployment compensation
  • Social Security benefits
  • Alimony, depending on the tax year and agreement
  • Tax-exempt interest
  • Income from active business operations in which you materially participate

That last point matters a lot for business owners. If you actively run your business and materially participate, that income is generally not subject to the NIIT. But passive income from the same ownership interest may still be included.

How Modified Adjusted Gross Income Affects the Tax

The net investment income tax uses modified adjusted gross income (MAGI), not just regular adjusted gross income. For most taxpayers, MAGI is adjusted gross income plus any foreign earned income exclusions or other relevant adjustments.

The key idea is simple: the higher your MAGI, the more likely you are to cross the threshold and trigger the tax.

Why this matters in planning

A taxpayer might have mostly wages and a modest amount of dividends, but still owe the NIIT if total income exceeds the threshold. On the other hand, someone with large investment gains but lower overall income might not owe the tax.

This makes year-end planning especially important. For example, you might:

  • Delay a capital gain until next year
  • Increase retirement plan contributions
  • Harvest investment losses to offset gains
  • Review whether rental activity is truly passive or active under tax rules

Common Types of Income Subject to the NIIT

The net investment income tax can affect many different kinds of income. Here are the most common sources.

Interest and dividends

Taxable interest from savings accounts, bonds, and money market funds may be included. Ordinary dividends from stocks and mutual funds are also commonly subject to the tax.

Capital gains

Capital gains from selling stocks, ETFs, mutual funds, cryptocurrency treated as property, and other capital assets may be included. This often catches taxpayers after a major portfolio sale or profitable real estate transaction.

Rental income

Rental income is often subject to the NIIT unless it qualifies as income from a non-passive activity or falls under an exception. Real estate professionals may avoid NIIT on qualifying income, but the rules are specific and documentation matters.

Passive business income

If you own an interest in a partnership, LLC, or S corporation but do not materially participate, your share of the income may be considered passive and subject to NIIT.

Royalties and annuities

Royalty income and certain non-qualified annuity distributions can also be part of net investment income.

Income That Usually Avoids the NIIT

Not all income is treated the same. A major part of tax planning is identifying what is outside the scope of the net investment income tax.

Wages and active business income

Regular wages, bonuses, and self-employment income are generally excluded. Likewise, active business income from a trade or business in which you materially participate is usually not subject to NIIT.

Retirement account withdrawals

Distributions from tax-deferred retirement accounts such as traditional IRAs or 401(k)s are not generally treated as net investment income, though they may increase your MAGI and indirectly cause other income to become subject to the tax.

Social Security and tax-exempt interest

Social Security benefits are not net investment income. Tax-exempt municipal bond interest is also excluded from NIIT, though it may still affect your broader tax picture in other ways.

Net investment income tax details showing who pays the additional 3.8% tax

How the Net Investment Income Tax Is Calculated

The calculation is based on the smaller of two numbers:

  • Your net investment income
  • Your MAGI above the threshold

Then multiply that amount by 3.8%.

Step-by-step example

Let’s say a married couple filing jointly has:

  • MAGI: $320,000
  • Threshold: $250,000
  • Excess MAGI: $70,000
  • Net investment income: $90,000

The NIIT applies to the lesser amount, which is $70,000.

  • $70,000 × 3.8% = $2,660

Even though the couple has $90,000 of investment income, only $70,000 is exposed to the additional tax because that is the amount above the threshold.

Who Is Most Likely to Owe the NIIT?

The net investment income tax tends to affect:

  • High-income professionals with large investment portfolios
  • Retirees who live off dividends, interest, and capital gains
  • Real estate investors with passive rental income
  • Partners and shareholders in pass-through businesses
  • Taxpayers who sell appreciated assets in a given year

It can also surprise people whose income changes suddenly, such as after:

  • Exercising stock options
  • Selling a business interest
  • Receiving a large bonus
  • Realizing a large capital gain
  • Converting a traditional IRA to a Roth IRA, which may raise MAGI and increase exposure to NIIT on investment income in the same year

Strategies to Manage Exposure to the 3.8 Percent Tax

You cannot always avoid the net investment income tax, but careful planning can reduce the amount you owe.

1. Time capital gains carefully

If you are near the threshold, consider spreading sales across multiple tax years. Selling appreciated assets in a lower-income year may reduce or eliminate NIIT.

2. Use tax-loss harvesting

Investment losses can offset capital gains and, in some cases, reduce net investment income. This strategy can be especially useful in volatile markets.

3. Review passive versus active status

If you own rental real estate or a business interest, confirm whether your participation is passive or active. Material participation can make a major difference.

4. Increase retirement contributions

Contributions to certain retirement plans can lower MAGI, which may help keep you below the NIIT threshold.

5. Coordinate large financial moves

If you plan to sell property, take a large distribution, or realize a major gain, coordinate the timing with your tax advisor before year-end.

NIIT and Real Estate Investors

Real estate investors often face confusion around the net investment income tax because rental income can be treated differently depending on the facts.

Passive rentals

Most rental activity is passive by default, which means net income from the property may be subject to NIIT if the taxpayer’s income is high enough.

Real estate professionals

Taxpayers who qualify as real estate professionals may be able to treat rental income differently, but they still need to meet specific participation requirements. This is an area where records matter.

Material participation tests

If you actively manage a business or property and satisfy material participation rules, the income may fall outside NIIT. Because the standards are technical, many taxpayers benefit from professional guidance here.

Does the NIIT Apply to Trusts and Estates?

Yes. The net investment income tax also applies to certain estates and trusts, but the threshold is much lower than for individuals.

For estates and trusts, the NIIT can apply if:

  • The entity has undistributed net investment income, and
  • The estate or trust’s adjusted gross income exceeds the annual threshold amount set for that tax year

Because the threshold is low, many trusts reach it quickly. Trustees should pay close attention to investment income, capital gains, and distribution planning.

How the NIIT Shows Up on Your Tax Return

Individuals generally report the tax using Form 8960, Net Investment Income Tax—Individuals, Estates, and Trusts. The form helps calculate the tax based on your income, deductions, and applicable thresholds.

If you use tax software, this may be calculated automatically. Still, you should know how it works so you can spot errors, especially if you have:

  • Multiple income sources
  • Rental properties
  • Pass-through business income
  • Large capital gains
  • Investment losses carried over from prior years

Practical Ways to Stay Ahead of the Tax

Here are a few smart habits that can make the net investment income tax less painful:

  1. Review your income midyear
    Don’t wait until April to discover you crossed the threshold.
  2. Track investment sales and distributions
    Know when gains are realized and how they affect your total income.
  3. Separate active and passive activities
    Keep clear records if you own a business or rental property.
  4. Coordinate with your tax professional
    NIIT planning often overlaps with capital gains, retirement planning, and real estate taxes.
  5. Watch one-time events
    A business sale, stock option exercise, or property sale can trigger NIIT unexpectedly.

Frequently Asked Questions

1. Is the net investment income tax the same as capital gains tax?

No. Capital gains tax is part of your regular federal income tax calculation on profit from selling assets. The net investment income tax is an additional 3.8 percent tax that may apply on top of that if your income is high enough.

2. Do I pay the NIIT on all my investment income?

Not always. You pay the NIIT only on the lesser of your net investment income or the amount your MAGI exceeds the filing threshold. Some income, such as wages and active business income, is generally excluded.

3. Are dividends and interest subject to the net investment income tax?

Yes, taxable dividends and interest are commonly included in net investment income. If your income exceeds the threshold, they may be subject to the additional 3.8 percent tax.

4. Does rental income always count for NIIT purposes?

Rental income is often considered net investment income, but exceptions exist. If the rental activity qualifies as a non-passive business or you materially participate under the rules, it may be excluded. The facts and records matter.

5. Can retirement account withdrawals trigger the NIIT?

Withdrawals themselves are generally not net investment income, but they can increase your MAGI. That higher income may cause more of your investment income to become subject to the tax.

Official Resources

Conclusion

The net investment income tax is a 3.8 percent surcharge that can affect taxpayers with investment income and higher overall income. While it may seem straightforward at first, the real-world rules involve several moving parts: filing status, modified adjusted gross income, passive versus active income, and the type of investment income you receive. That is why some taxpayers are surprised to owe it while others with similar investment holdings do not.

The good news is that the NIIT is manageable when you understand how it works. By tracking income throughout the year, timing gains strategically, reviewing rental or business participation status, and coordinating with a tax professional when needed, you can reduce the chance of an unpleasant surprise. If you earn dividends, capital gains, rental income, or pass-through income, now is the time to review your exposure and plan ahead. A little preparation can make a meaningful difference when tax season arrives.

Explore More Finances

Mary Mitchell

Mary S, CFP®, is a Certified Financial Planner with over 12 years of experience in personal finance, retirement planning, and wealth management. She writes educational content that helps readers understand financial concepts and make informed decisions based on reliable information.