Tax on net investment income: how to reduce it by the end of the year

Former President Barack Obama speaks during an event marking the 2010 passage of the Affordable Care Act in the East Room of the White House in Washington, April 5, 2022.

Somodevilla chip | Getty Images News | Getty Images

Every year, more Americans pay extra tax on their investment gains — but there’s still time to reduce or avoid that bill for 2026, experts say.

The net investment income tax, or NIIT, is a 3.8% levy on investment income once income exceeds $200,000 for single filers or $250,000 for married couples filing jointly. The tax was signed into law in 2010 under President Barack Obama to help fund health care through the Affordable Care Act.

Unlike federal income or capital gains tax brackets, NIIT income limits do not adjust each year for inflation.

As a result, “more and more clients are being affected every year,” said certified financial planner Michael Walstedt, founding advisor of Reliant Wealth Advisory in Hoboken, New Jersey.

Read more of CNBC’s personal finance coverage

About 5.6% of tax returns included NIIT for 2025, according to IRS data released in November for returns processed through mid-July 2026. That’s an increase from about 3.7% for the same period in 2021.

As more investors pay NIIT, here are some key things to know.

How the net investment income tax works

NIIT applies when you have investment income and your income exceeds the modified adjusted gross income, or MAGI, limits, according to certified financial planner Marianela Collado, CEO of Tobias Financial Advisors in Plantation, Florida.

“The trick is to keep an eye on both of those numbers,” said Collado, who is also a CPA and a member of CNBC’s Council of Financial Advisors.

For the NIIT earnings limit, MAGI is generally the same as adjusted gross income, or AGI. An exception would be if you have foreign income, which changes the calculation. You can find last year’s AGI on line 11a of your 2025 tax return.

MAGI Limits by Filing Status

Married filing jointly: $250,000

Married filing separately: $125,000

Single: $200,000

Head of household (with eligible person): $200,000

Eligible widow(ies) with dependent child: $250,000

NIIT applies to investment income, which includes interest, dividends, annuities, royalties, certain rents, etc. It can also include capital gains from the sale of a primary home, for profits in excess of IRS exclusions. The exclusion is $250,000 for singles or $500,000 for married couples.

The levy is in addition to regular income tax rates, or capital gains tax, which can be 0%, 15% or 20%, depending on income. This means higher earners can pay up to 23.8% on investment income, including long-term capital gains and NIIT.

The NIIT calculation is 3.8% multiplied by the lesser of the following amounts:

  • net investment income, or
  • the amount MAGI exceeds income limits

For example, if your MAGI is $30,000 above the NIIT income limit and you have $100,000 in investment income, you would pay 3.8% of $30,000, or $1,140.

Alternatively, if your MAGI is $120,000 above the threshold and you have $100,000 in investment income, you will owe 3.8% of $100,000, or $3,800.

How to Avoid Tax on Net Investment Income

As the end of the year approaches, investors should make projections to estimate their adjusted gross income, which can impact NIIT, among other tax consequences, experts say.

If you exceed the NIIT limits, you can reduce AGI by increasing pretax 401(k) deferrals or health savings account contributions, according to Collado with Tobias Financial Advisors.

Although employee 401(k) deferrals must occur by December 31, you have until next year’s tax deadline for 2026 health savings account contributions.

You could also try to avoid selling assets before the end of the year, which could further boost AGI, experts say. Of course, any tax action in the current year must take your long-term financial goals into account.

Bond losses offer tax relief: here's what you need to know

Amid recent stock market volatility, investors might also consider so-called tax-loss harvesting, which uses losses to offset other gains in the portfolio, said Walstedt of Reliant Wealth Advisory.

If your losses exceed your profits, you can subtract up to $3,000 from your regular income. After that, you can carry the remaining losses forward to future tax years.

However, if you plan to reinvest the sale proceeds, you should be aware of the “wash sale rule,” which blocks tax relief for tax-loss harvesting for the purchase of a “substantially identical” asset within 30 days before or after the sale.

Gn bussni

Logo