The 3.8 percent tax in one minute
Section 1411 adds a 3.8 percent tax on investment income for higher earners. It took effect in 2013, sits on top of the regular income tax, and applies whether the income is taxed at ordinary rates or at capital gain rates. For a high earner selling stock, it turns a 20 percent capital gain rate into 23.8 percent.
The tax is on the smaller of two numbers: your net investment income, or the amount by which your modified adjusted gross income exceeds your threshold. That lesser-of rule is why someone with a large salary and a small dividend pays NIIT only on the dividend, and someone with a moderate salary and a large one-time gain pays it only on the part of income above the threshold.
This page covers who owes it, what counts, the exceptions that matter for business owners and real estate investors, and how it is reported. Educational, not individualized tax advice.
The $250,000 and $200,000 thresholds are written into the statute and are not adjusted for inflation. Each year, more households cross them through ordinary raises and market growth. If your income is near the line, a single stock sale, a property sale or a large fund distribution can pull part of it into the tax.
Who owes the NIIT: thresholds for 2026 and 2027
Individuals owe the tax if they have net investment income and modified AGI above their threshold. For most people, modified AGI is simply AGI; it is increased only for those excluding foreign earned income, and there are further adjustments for some foreign corporation holdings. Nonresident aliens are not subject to the tax.
Estates and nongrantor trusts owe it on the lesser of undistributed net investment income or AGI above the dollar amount where the top trust bracket begins. That amount is adjusted each year, and it is very low. Grantor trusts are not subject to it separately; their income is reported by the grantor.
| Filer | 2026 | 2027 |
|---|---|---|
| Married filing jointly or qualifying surviving spouse | $250,000 MAGI | $250,000 MAGI |
| Single | $200,000 MAGI | $200,000 MAGI |
| Head of household | $200,000 MAGI | $200,000 MAGI |
| Married filing separately | $125,000 MAGI | $125,000 MAGI |
| Estates and nongrantor trusts | AGI over $16,000 | AGI over $16,500 |
Sources: IRC 1411(b) and IRS NIIT Q&A 3 (individual thresholds, not indexed); Rev. Proc. 2025-32 sec. 4.01 and Rev. Proc. 2026-35 sec. 3.01, Table 5 (start of the top estates and trusts bracket).
Trusts hit the threshold fast; see trust tax rates and brackets for the full schedule.
What counts as net investment income, and what does not
Net investment income is gross investment income minus the deductions properly allocable to it. Gross investment income has three buckets in the statute: interest, dividends, annuities, royalties and rents not earned in an active business; income from businesses that are passive to you or that trade financial instruments or commodities; and net gain from selling property not held in an active business.
Allocable deductions include investment interest expense, investment advisory and brokerage fees, expenses of rental and royalty income, and state and local income taxes allocable to investment income, among others.
| Income | Net investment income? | Source |
|---|---|---|
| Interest, ordinary and qualified dividends | Yes | IRC 1411(c)(1)(A)(i); Q&A 8 |
| Capital gains on stocks, bonds and mutual funds, and fund capital gain distributions | Yes | Q&A 10 |
| Gain on investment real estate or a second home | Yes | Q&A 10 |
| Rental and royalty income (unless earned in an active business) | Yes | IRC 1411(c)(1)(A)(i); Q&A 8 |
| Income from a business you do not materially participate in | Yes | IRC 1411(c)(2)(A) |
| Income from a business of trading financial instruments or commodities | Yes, even if active | IRC 1411(c)(2)(B) |
| Nonqualified annuity income | Yes | Q&A 8 |
| Wages and salary | No | Q&A 9 |
| Self-employment income | No | IRC 1411(c)(6); Q&A 9 |
| Operating income of a business you materially participate in | No | IRC 1411(c)(1), (2); Q&A 9 |
| Distributions from 401(a), 403(a), 403(b), IRA, Roth IRA and 457(b) plans | No | IRC 1411(c)(5); Q&A 9 |
| Tax-exempt interest | No | Q&A 9 |
| Social Security benefits | No | Q&A 9 |
| Gain excluded on a home sale under section 121 | No | Q&A 11 |
Retirement distributions and wages are not net investment income, but they do raise modified AGI, which can push other investment income over the threshold.
Owners of operating businesses should also read passive income vs earned income to see which side of the line their income falls on.
Worked examples: the lesser-of computation
Both examples are hypothetical and assume no deductions allocable to the investment income.
Example 1: a married couple filing jointly earns $400,000 in wages and has $60,000 of dividends and capital gains. Their MAGI is $460,000, which exceeds $250,000 by $210,000. Net investment income is $60,000. The tax is 3.8 percent of the lesser amount, $60,000: $2,280.
Example 2: a single filer earns $150,000 in wages, sells stock for a $120,000 long-term gain, and receives $10,000 of dividends. MAGI is $280,000, which exceeds $200,000 by $80,000. Net investment income is $130,000. The tax is 3.8 percent of the lesser amount, $80,000: $3,040.
Worked example
Lesser-of math side by side
- Example 1: MAGI over the $250,000 threshold
- $210,000
- Example 1: net investment income
- $60,000
- Example 1: NIIT at 3.8% of $60,000
- $2,280
- Example 2: MAGI over the $200,000 threshold
- $80,000
- Example 2: net investment income
- $130,000
- Example 2: NIIT at 3.8% of $80,000
- $3,040
- Trust example (2026): $50,000 undistributed NII and AGI; excess over $16,000
- $34,000; NIIT $1,292
Hypothetical. NIIT is in addition to regular income tax. In Example 2, the wages count toward MAGI but are not investment income. Educational, not individualized tax advice.
Run your own numbers in our NIIT calculator.
Real estate: rentals and the real estate professional safe harbor
Rental income is generally net investment income, and so is gain when you sell a rental, because rental activities are usually passive or are not a trade or business at all.
Treas. Reg. 1.1411-4(g)(7) gives real estate professionals a safe harbor. If you qualify as a real estate professional under section 469(c)(7)(B) and participate in a rental real estate activity for more than 500 hours during the year, or for more than 500 hours in any 5 of the preceding 10 years, the rental income from that activity is treated as earned in the ordinary course of a trade or business and gain on disposing of its property is treated the same way. Meeting the safe harbor generally takes that income and gain out of NIIT. Not meeting it does not automatically put it in: you can still show the rental is a nonpassive trade or business under the general rules.
The rental-specific rules, including grouping and self-rentals, are on our rental property NIIT guide. Qualification as a real estate professional is covered under real estate professional status.
Selling your home
NIIT does not apply to gain excluded from income. The section 121 exclusion shelters up to $250,000 of gain on the sale of a principal residence ($500,000 for a married couple), so that excluded gain is never investment income. Gain above the exclusion is net investment income, and so is all gain on a second home or vacation property.
The IRS gives this example: a married couple sells their longtime home for $1.3 million with a $700,000 basis. Of the $600,000 gain, $500,000 is excluded and $100,000 is taxable. With $125,000 of other investment income, net investment income is $225,000. Their MAGI of $300,000 is $50,000 over the threshold, so the tax is 3.8 percent of $50,000: $1,900.
Thinking about renting instead of selling? See whether to sell or rent your house.
Selling an interest in an active S corporation or partnership
When you sell stock in an S corporation or an interest in a partnership, section 1411(c)(4) limits the gain counted as net investment income to the net gain you would have had if the entity sold all its property at fair market value just before your sale, applying the NIIT rules to each asset. In practice, if you materially participate in an operating business, the gain attributable to the business’s active assets generally drops out, while gain attributable to investment assets the entity holds stays in.
The adjustment is computed on a worksheet and entered on Form 8960, line 5c, with a statement attached for the year of the sale. The IRS notes that the detailed computation is in proposed regulations, so this is an area where the numbers deserve care.
Selling a company? Start with our guide to the taxes on selling a business.
Form 8960, estimated tax and credits
Individuals figure the tax on Form 8960 and report and pay it with Form 1040; estates and trusts do the same with Form 1041. Allocable deductions such as investment interest (line 9a) and state and local income taxes (line 9b) reduce net investment income on the form.
NIIT is subject to the estimated tax rules. It is not withheld from wages automatically, but you can ask your employer to withhold more income tax to cover it. A household expecting a large gain should include NIIT in its estimates; if last year’s AGI was over $150,000, the prior-year safe harbor requires paying 110 percent of last year’s total tax.
Credits allowed only against regular income tax, including the foreign tax credit and the general business credit, cannot reduce NIIT. The 0.9 percent Additional Medicare Tax is a separate tax on wages and self-employment income; it does not apply to items included in net investment income, so the two do not hit the same dollar.
Planning levers that actually change NIIT
Because the tax is on the lesser of two numbers, there are two kinds of levers: reduce net investment income, or reduce MAGI.
On the investment income side: harvest capital losses to offset gains, hold tax-exempt bonds where they make sense, hold income-heavy investments inside retirement accounts, give appreciated stock to charity instead of selling it, and use installment sales or staged sales to keep gains below the threshold in some years. Business owners and real estate investors can sometimes change the result by materially participating, or by qualifying for the real estate professional safe harbor.
On the MAGI side: pre-tax retirement contributions and other above-the-line deductions reduce MAGI, which can shrink the excess over the threshold even when investment income stays the same.
Related: direct indexing, tax-loss harvesting and the investment interest expense deduction.
When to hire a CPA, and when you can handle it yourself
If your investment income is brokerage interest, dividends and gains, and you have no rentals, partnership K-1s or business sales, tax software handles Form 8960 well. Plenty of people do this themselves.
A CPA earns the fee when rentals, real estate professional status, passive K-1s, a business or partnership interest sale, a trust, or a large one-time gain is involved. Those are the cases where classification decides whether income is in or out, and where allocable deductions are easy to miss. Taxstra prepares Form 8960 with the rest of the return and plans the timing of gains for clients with investment portfolios, rentals and closely held businesses.
What to check before you act
A practical review sequence for the return, books, or planning file.
Compare your projected MAGI with your threshold for the year.
List every source of investment income, including K-1 items, rentals and fund distributions.
Confirm material participation for each business and rental you count as active.
Check whether the real estate professional safe harbor applies to each rental activity.
Capture allocable deductions: investment interest, advisory fees and state income tax.
Include NIIT in estimated payments in any year with a large gain.
For a sale of an S corporation or partnership interest, prepare the line 5c statement.
“I recently had the pleasure of working with Taxstra, and I must say, the experience exceeded my expectations. From start to finish, their professionalism, expertise, and customer care were outstanding.”
Published client feedback. Individual experiences vary.
High income earner, business owner or landlord? Here is what this changes for you.
Book your free 30-minute tax fit call to talk through your next steps.
Common mistakes
The shortcuts most likely to produce a confident but wrong answer.
Assuming the thresholds rise with inflation
They do not. The $250,000 and $200,000 thresholds have been fixed since 2013.
Treating retirement distributions as investment income
Distributions from qualified plans and IRAs are not net investment income, though they do raise MAGI.
Forgetting the trust threshold
A nongrantor trust reaches the threshold at $16,000 of AGI in 2026. Distributing income to beneficiaries can move it to their lower individual thresholds.
Missing allocable deductions
Investment interest, state and local income tax and other allocable expenses reduce net investment income on Form 8960.
Including active business gain
When selling an interest in an active S corporation or partnership, section 1411(c)(4) can remove the gain attributable to active business assets.
Leaving NIIT out of estimates
NIIT is subject to estimated tax rules, and a large gain with no planning can lead to an underpayment penalty.
