Skip to main content
My ETF
tax planning7 min readCould save you $2,500+/year in taxes

Net Investment Income Tax NIIT: Who Pays?

Above set income thresholds, an extra 3.8% lands on top of your regular tax on dividends, interest, and capital gains. The NIIT is easy to overlook because it hides on a separate form. Here's how it works.

Alex Harrington··Updated June 21, 2026
TL;DR7 min read

Don't have time? Here's what you need to know:

  • 1The NIIT is a 3.8% surtax on investment income that stacks on top of regular tax once your MAGI exceeds a filing-status threshold.
  • 2It can push a top-bracket long-term capital gain to a combined 23.8% federal rate, and it's calculated separately on Form 8960.
  • 3Wages, IRA and 401(k) distributions, Social Security, and tax-exempt muni interest don't count as net investment income.
  • 4Reduce exposure by sheltering income in tax-advantaged accounts, harvesting losses, using muni bonds, and spreading large gains across tax years.

What the Net Investment Income Tax Is

The Net Investment Income Tax (NIIT) is a 3.8% surtax that applies on top of your ordinary income tax and capital-gains tax once your income passes certain thresholds. It was introduced to help fund healthcare and is calculated on Form 8960, separate from your main return, which is why many higher earners are surprised to find it on their tax bill. It is not a replacement for capital-gains tax; it stacks on top of it.

The practical effect is that a high earner selling appreciated ETFs may face the top long-term capital-gains rate of 20% plus the 3.8% NIIT, for a combined federal rate of 23.8% on those gains, before any state tax. For dividends and interest the surtax applies similarly. Because it is a flat add-on above a threshold rather than a graduated bracket, the NIIT can appear suddenly in a year with a large gain or a spike in income.

Who Actually Pays It

The NIIT applies when two conditions are both met: you have net investment income, and your modified adjusted gross income (MAGI) exceeds a threshold that depends on your filing status. The tax is 3.8% of the smaller of your net investment income or the amount by which your MAGI exceeds the threshold. So someone just over the line pays the surtax only on the portion of income above it, not on everything.

These thresholds are set in statute and have not been indexed for inflation, which means more households drift into NIIT range over time as incomes rise. Because the exact threshold figures depend on filing status and can be affected by other rules, confirm the current numbers on the IRS instructions for Form 8960 before relying on them. The key point is that the NIIT targets higher earners with meaningful investment income, not typical middle-income investors.

Counts as net investment incomeDoes NOT count
Taxable interestWages and self-employment income
Dividends (qualified and ordinary)Distributions from IRAs and qualified plans
Capital gains, including ETF salesTax-exempt municipal bond interest
Rental and royalty incomeSocial Security benefits
Non-qualified annuity incomeActive business income (if materially participating)

What Counts as Net Investment Income, and What Doesn't

Net investment income broadly includes interest, dividends, capital gains, rental and royalty income, and income from passive businesses, reduced by related expenses. For ETF investors, the most relevant items are dividends from your funds and capital gains when you sell. Crucially, several big income sources are excluded: wages, self-employment income, distributions from traditional IRAs and 401(k)s, Social Security, and, importantly, tax-exempt interest from municipal bonds.

That last exclusion is why municipal bond funds are doubly attractive to high earners: their interest is generally exempt from federal income tax and also does not count toward net investment income or push up the MAGI used in the NIIT calculation. Qualified retirement account distributions are likewise excluded from net investment income, although they can still raise your MAGI and indirectly affect whether other income gets hit.

Tip: Tax-exempt municipal bond interest is excluded from net investment income and doesn't raise your NIIT exposure, which makes muni funds especially efficient for high earners already over the threshold.

Want the full framework? This 2-hour ETF course teaches you exactly how to pick, buy, and hold profitable ETFs — from zero to confident investor. Under $15.

Practical Ways ETF Investors Can Reduce NIIT Exposure

Because the NIIT depends on both your investment income and your MAGI, you can manage it from either side. Holding income-producing assets inside tax-advantaged accounts removes that income from the net-investment-income calculation entirely, since IRA and 401(k) growth is not counted. Using tax-efficient, low-turnover ETFs in taxable accounts keeps distributions and realized gains down. Tax-loss harvesting reduces net capital gains, which directly lowers the amount the 3.8% applies to.

On the MAGI side, spreading the realization of large gains across multiple tax years can keep you under, or only just over, the threshold in any single year, shrinking the surtax base. For those with the option, well-timed Roth conversions, charitable giving, and use of tax-exempt municipal bonds can all help keep MAGI and net investment income in check. None of this is a reason to avoid sound investments; it is a reason to time and locate them thoughtfully. Confirm current thresholds and rules with the IRS or a tax professional.

Important: A single large capital gain, from selling a concentrated position or a property, can push you over the MAGI threshold and into NIIT for that year. Where possible, model the gain before realizing it and consider spreading it across tax years.

Frequently Asked Questions

Who has to pay the Net Investment Income Tax?

You pay the 3.8% NIIT only if you have net investment income and your modified adjusted gross income exceeds a threshold that depends on filing status. The tax applies to the lesser of your net investment income or the amount of MAGI above the threshold, so someone just over the line pays only on the excess. It targets higher earners with meaningful investment income, not typical middle-income investors. Check current IRS thresholds.

What income counts toward the NIIT?

Net investment income includes interest, dividends, capital gains (including from selling ETFs), rental and royalty income, and passive business income, less related expenses. It excludes wages, self-employment income, distributions from traditional IRAs and 401(k)s, Social Security benefits, and tax-exempt municipal bond interest. That makes muni bond funds particularly useful for high earners trying to limit NIIT exposure.

How does the NIIT affect capital gains on ETFs?

If you are over the MAGI threshold, the 3.8% surtax stacks on top of your capital-gains tax. A high earner in the top long-term bracket can therefore face 20% plus 3.8%, a combined 23.8% federal rate on long-term gains, before state tax. Short-term gains are taxed at ordinary rates plus the same 3.8%. Spreading gains across years and harvesting losses can reduce the base it applies to.

How can I reduce my exposure to the NIIT?

Work both sides of the formula. Reduce net investment income by holding income-producing assets in tax-advantaged accounts, using tax-efficient low-turnover ETFs in taxable accounts, harvesting losses, and favoring tax-exempt municipal bonds. Reduce MAGI by spreading large gains across multiple years and timing income carefully. These are general strategies; confirm current thresholds and your specifics with a tax professional.

Further Reading

Free Tools

AH

Alex Harrington

CFA Level II Candidate, Finance & Economics

Alex Harrington is an independent ETF researcher and personal finance writer with over 8 years of experience analyzing exchange-traded funds. A CFA Level II candidate with a background in economics, Alex has reviewed 800+ ETFs and helped thousands of beginners build their first investment portfolios through clear, jargon-free education.

Our methodology →

This content is for educational purposes only and does not constitute financial advice. Past performance does not guarantee future results. Consult a licensed financial advisor before making investment decisions.

Related Articles