You model a large stock sale using the long-term capital gains rate, get a number, and plan around it. The actual bill is higher, because an additional 3.8% applied to some or all of that gain and nothing in the headline rate mentioned it.
The net investment income tax has been in place for over a decade and remains one of the most commonly omitted items in back-of-envelope tax calculations. It is not complicated. It is just invisible until it appears.
What changed in 2026
- The thresholds still are not indexed to inflation. They have been fixed since introduction, so each year of wage and asset growth pulls more households over them — a slow, deliberate broadening.
- More retirees encountered it. Larger accumulated balances and required distributions pushed more people over the threshold in retirement.
- Planning attention increased. As the affected population grew, the interaction with Roth conversions and asset location became a mainstream planning topic.
- The mechanics did not change. The rate, the categories, and the calculation are long-standing.
How the calculation works
The tax is 3.8% applied to the lesser of two figures: your net investment income, or the amount by which your modified adjusted gross income exceeds the threshold for your filing status.
That "lesser of" is what people get wrong. It does not tax all your investment income the moment you cross the line. If you exceed the threshold by $10,000 and have $80,000 of investment income, the tax applies to $10,000 — not the $80,000.
Conversely, if you exceed by $200,000 and have $80,000 of investment income, it applies to all $80,000, since investment income is the smaller figure.
| Counts as investment income |
Does not |
| Interest and dividends |
Wages and salary |
| Capital gains |
Self-employment income |
| Rental and royalty income |
Distributions from IRAs and 401(k)s |
| Passive business income |
Social Security benefits |
| Annuity income (taxable portion) |
Tax-exempt municipal bond interest |
The wage row is the counterintuitive one. Salary is not subject to this tax — and it does count toward modified AGI, so it pushes you over the threshold and makes your investment income taxable under it. A high earner with modest investment income pays it on that investment income because of their salary.
The retirement distribution row is genuinely useful: withdrawals from traditional retirement accounts are not investment income for this purpose, though they do raise AGI and can therefore expose other investment income.
Where it bites hardest
A one-off large realisation. Selling a business, a property, or a concentrated stock position can push a normally-below-threshold household well over in a single year. The gain is both the investment income and the thing that crossed the threshold, so it is taxed on both counts.
Roth conversions. A conversion is not investment income, and it raises modified AGI. So a large conversion can expose your existing dividends and interest to a tax they would otherwise have escaped — a cost that rarely appears in conversion calculators.
Rental property. Rental income is generally investment income here, which surprises landlords who think of it as active work. Material participation rules can change that for genuine real estate professionals, and the bar is higher than most part-time landlords meet.
Retirement, gradually. Accumulated balances producing dividends and interest, plus required minimum distributions raising AGI, is a combination that pulls more retirees over the threshold each year.
Planning around it
The threshold is a cliff for eligibility and a smooth calculation above it, so partial reductions genuinely help.
Spread realisations across years. Two moderate gains in consecutive years may keep both below the threshold where one large gain would not.
Harvest losses. Capital losses reduce net investment income directly, which reduces the base this applies to — see tax loss harvesting.
Consider asset location. Holding income-producing assets in tax-advantaged accounts keeps their income out of the calculation entirely, since qualified account distributions are not investment income — see asset location vs asset allocation.
Municipal bond interest is excluded. It is exempt from this as well as from ordinary income tax, which improves the after-tax comparison against taxable bonds for anyone above the threshold. Note it still counts toward Medicare IRMAA, so it is not invisible everywhere.
Common mistakes
- Modelling gains at the capital gains rate alone. Add this, plus state tax, for the real figure.
- Assuming crossing the threshold taxes everything. It is the lesser of two amounts.
- Ignoring it in Roth conversion planning. Conversions raise AGI and expose other income.
- Treating rental income as active. Usually investment income for this purpose.
- Forgetting the thresholds do not adjust. More people qualify each year without changing anything.
- Overlooking the state layer. Some states add their own tax on top of everything above.
FAQ
Does it apply to a home sale?
Gain excluded under the primary residence exclusion is not subject to it. Gain above the exclusion is investment income and can be. On a large gain on a long-held home, this is a real and frequently overlooked component.
What about selling a business?
Depends heavily on whether your participation was active or passive, and on how the sale is structured. This is squarely professional-advice territory, and the amounts involved usually justify it.
Do I pay it on retirement account withdrawals?
No. Distributions from traditional IRAs and 401(k)s are not net investment income, though they raise AGI and can therefore expose other investment income to it.
Is it separate from capital gains tax?
Yes, entirely — an additional tax, calculated separately, layered on top. Adding it to your marginal capital gains rate gives the true rate on an additional dollar of gain.
Where to go next
For the underlying rates this sits on top of, read capital gains tax explained. For reducing the investment income it applies to, tax loss harvesting, and for the other threshold that AGI triggers in retirement, Medicare IRMAA.
This is general information, not tax advice. Thresholds, rates, and definitions are subject to change; confirm current rules with the IRS or a qualified preparer.