High earners · Section 1411
The net investment income tax is a 3.8% federal tax on the investment income of high earners.
Under Section 1411, the tax applies once your modified AGI passes the threshold for your filing status. It equals 3.8% of your net investment income or of your modified AGI above that threshold, whichever is smaller.
Updated · Sources
Individuals, 2026
- 3.8%
- is the NIIT rate, added on top of income tax, so an investment gain taxed at 20% can pay 23.8%.
- $200,000
- of modified AGI is the threshold for single and head of household filers.
- $250,000
- is the threshold for joint filers and surviving spouses, and $125,000 if married filing separately.
The net investment income tax thresholds have stayed the same since the tax began, because Section 1411 does not index them for inflation.
Do you owe the net investment income tax?
You owe the tax only if you meet all three tests.
Your modified AGI is over your threshold
For this tax, modified AGI is your adjusted gross income plus any foreign earned income you excluded. Your wages count toward it, including bonuses and RSU income. So a large vest can push your modified AGI over the threshold, and the 3.8% then falls on your investment income.
You have net investment income
Net investment income is your investment income minus the expenses that go with it. On Form 8960, the deductions include investment interest and the share of state income tax that falls on investment income. If the result is zero, you owe none of this tax, however high your income.
You are a US citizen or resident
Only US citizens and resident aliens owe the tax. Nonresident aliens do not, even on investment income from US sources.
The net investment income tax for most estates and nongrantor trusts starts at a much lower income. For 2026, their threshold is $16,000 of AGI, where their top tax bracket begins. They pay 3.8% of their undistributed net investment income or of their AGI above that amount, whichever is less. Grantor trusts and charitable trusts do not pay it, and a grantor trust’s income counts on the grantor’s own return.
How do you calculate the net investment income tax on Form 8960?
On IRS Form 8960, line 16 takes the smaller of net investment income and modified AGI over the threshold. Line 17, the net investment income tax for individuals, is 3.8% of that amount.
No sale
$0
Their $300,000 is over the threshold, but with no net investment income there is nothing to tax.
Main home sold
$7,600
Section 121 excludes $500,000 of the gain, and the other $200,000 is net investment income. That is the smaller amount, since their modified AGI is $250,000 over the threshold.
Second home sold
$26,600
No exclusion applies to a second home, so all $700,000 is net investment income. Their modified AGI is $750,000 over the threshold, so the $700,000 is the amount taxed.
The couple files jointly, so their threshold is $250,000, and they qualify for the full $500,000 exclusion on a main home. Modified AGI is the $300,000 of pay plus the taxable gain, since they have no other income or adjustments. Regular income tax on the gain comes on top and is not shown.
The 3.8% tax falls on investment income and leaves out pay and retirement payouts.
| Counts | Does not count | |
|---|---|---|
| Investments | Interest, dividends and capital gains Including capital gain distributions from funds | Interest on tax-exempt bonds |
| Your main home | Gain above the exclusion | Gain you exclude Up to $250,000, or $500,000 for a couple |
| Other real estate | Rents, and gains on a second home or rental | Rentals of a qualifying real estate professional |
| Equity pay | Gain when you sell the shares | RSU and NSO income It is taxed as pay instead |
| Business income | A passive business or a trading business Trading securities or commodities counts even if you work in it | A business you materially participate in |
| Retirement | Annuities bought outside a plan | 401(k), IRA and pension payouts Social Security is left out too |
Above about the same income levels, your wages face the 0.9% Additional Medicare Tax instead. You figure it on Form 8959. The two taxes never fall on the same dollar.
How can you avoid the net investment income tax?
You can avoid or reduce the net investment income tax by lowering your net investment income, your modified AGI, or both. Cutting modified AGI saves tax only when your modified AGI above the threshold is the smaller amount.
Materially participate in the business
Material participation takes a business’s operating income out of the tax. One of the seven tests is more than 500 hours of work in the business in the year. It does not help a business that trades securities or commodities. A rental stays passive however many hours you work, unless you qualify as a real estate professional. That status takes over 750 hours a year in real estate work, and more than half of your working time. A real estate professional with over 500 hours in a rental can then leave out its rents and gains.
Hold tax-exempt bonds
Interest on tax-exempt municipal bonds is left out of both net investment income and modified AGI. Interest on private activity bonds can still count toward the alternative minimum tax.
Spread a large gain over several years
With an installment sale, you report the gain as the payments arrive. Each year’s share is tested against that year’s modified AGI, which can leave less of your income above the threshold. The method is not available for publicly traded stock, such as shares from RSUs or options in a public company.
Defer more of your pay
Pre-tax 401(k) deferrals lower your AGI, and with it your modified AGI. For 2026, the deferral limit is $24,500. If your 2025 wages from your employer topped $150,000, catch-ups from age 50 must go in as Roth and do not lower AGI. Taxable payouts in retirement raise modified AGI in the years you take them.
Give through a charitable remainder trust
A charitable remainder trust pays no income tax when it sells an asset, and it pays you over time. Investment income in those payments is still net investment income to you, so the tax is spread over years. An estate attorney drafts the trust, and we model the payments and the tax.
A CPA can estimate your NIIT before a large sale or vest.
Valim’s CPAs plan for the net investment income tax before the income arrives, for high earners and the trusts they set up.
- Our Tax advisory projects your 3.8% for the year and tests each way to shrink it.
- We plan the estimated payments that cover this tax.
- For a business or rentals you own, we sort passive from non-passive income on Form 8960, based on the hours you put into each.
- We prepare Form 8960 with your federal return, or with the return of a trust that owes the tax.
- If the IRS asks about Form 8960 on a return we prepared, your fee covers our reply.
- Individual return
- from $195
- Business return
- from $495
We quote a flat fee before work starts. We do not bill hourly.
Net investment income tax questions.
Who pays the 3.8% net investment income tax?
People with net investment income pay the 3.8% net investment income tax once their modified AGI passes $200,000, or $250,000 on a joint return. The threshold is also $250,000 for a surviving spouse, $200,000 for head of household and $125,000 for a married person filing separately. The tax is 3.8% of the smaller of your net investment income and your modified AGI above the threshold. Most estates and nongrantor trusts pay it too, above $16,000 of AGI for 2026.
What counts as net investment income?
Net investment income is interest, dividends, capital gains, rents, royalties and annuities, minus the expenses that go with them. It includes gains on a second home or on most rentals, and income from a pass-through business you do not materially participate in. It also covers income from a business trading securities or commodities. Wages, self-employment income, Social Security and payouts from a 401(k) or IRA do not count. Nor do tax-exempt interest and the home-sale gain you exclude.
Does NIIT apply to RSUs or a home sale?
NIIT does not apply to RSU income, because it is taxed as wages. That income still raises your modified AGI, which decides whether the tax reaches your other investment income. A later gain on selling the shares is net investment income. On a home sale, gain within the exclusion is exempt: up to $250,000, or $500,000 for a married couple who file jointly and qualify. Gain above that amount is net investment income, and so is all the gain on a second home.
How do I reduce NIIT?
You can reduce NIIT by keeping income out of its reach or by spreading a large gain over several years. Material participation in a business, such as working in it over 500 hours a year, takes its operating income out of the tax. Rentals and securities or commodities trading follow different rules. Tax-exempt bond interest is left out of both net investment income and modified AGI, though private activity bonds can raise the alternative minimum tax. Deferring pay into a pre-tax 401(k) lowers your modified AGI. To spread a gain, you can use an installment sale or a charitable remainder trust.
Why am I being charged a net investment income tax?
You owe the net investment income tax because your modified AGI passed your threshold while you had investment income. A single large event, such as a home sale or an RSU vest, can push you over. The thresholds are not indexed for inflation, so a rising salary can do the same. No employer withholds this tax, so it often shows up as a balance due when you file. You can cover it with estimated payments, or by asking your employer to withhold more income tax.
What is the 3.8% tax on net investment income?
The 3.8% tax on net investment income is a federal surtax under Section 1411, added to your regular income tax. On long-term gains and qualified dividends, it comes on top of the 0%, 15% or 20% rate. At the 20% rate, the total federal rate is 23.8%. It is often called the 3.8% Medicare surtax, but it is separate from the 0.9% Additional Medicare Tax on earnings. You figure it on Form 8960 and attach it to your tax return.
Sources
- 26 U.S.C. § 1411, Imposition of tax (net investment income tax)
- 26 C.F.R. § 1.1411-1, General rules
- 26 C.F.R. § 1.1411-3, Application to estates and trusts
- 26 C.F.R. § 1.1411-4, Definition of net investment income
- IRS, Questions and Answers on the Net Investment Income Tax
- IRS, Instructions for Form 8960 (2025)
- IRS, Rev. Proc. 2025-32 (2026 inflation adjustments)
- 26 U.S.C. § 57, Items of tax preference
- 26 U.S.C. § 453, Installment method
- 26 U.S.C. § 469, Passive activity losses and credits limited
- 26 U.S.C. § 121, Exclusion of gain from sale of principal residence
- 26 C.F.R. § 1.469-5T, Material participation (temporary)
- 26 U.S.C. § 664, Charitable remainder trusts
- 26 U.S.C. § 3101, Rate of tax (Additional Medicare Tax)
- IRS, Notice 2025-67 (2026 retirement plan limits)
Reviewed and updated September 2026. General information, not advice for your situation.