JSCC AI Notes banner

Net Investment Income Tax (3.8% NIIT) Explained: Thresholds and 4 Worked Examples

The Net Investment Income Tax (NIIT) is a 3.8% federal tax that quietly shows up for people whose income crosses a fixed line: $200,000 if you’re single, $250,000 if you’re married filing jointly. The tricky part isn’t the rate. It’s figuring out which dollars it applies to.

Below we’ll walk through the rule in plain English, then run four worked examples so you can see exactly where your own numbers land. Figures are from IRS.gov, checked November 1, 2026. This is general information, not tax advice.

Quick Summary

  • NIIT = 3.8% × the smaller of (a) your net investment income or (b) your MAGI above the threshold.
  • Thresholds: $200,000 single/head of household, $250,000 married filing jointly or qualifying surviving spouse, $125,000 married filing separately.
  • The thresholds are not indexed for inflation.
  • Wages don’t get taxed by NIIT, but they count toward MAGI and can push your investment income over the line.
NIIT 3.8 percent thresholds by filing status: $200,000 single, $250,000 married filing jointly, $125,000 married filing separately
NIIT thresholds by filing status. They are set by statute and not indexed for inflation (IRS).

What is the Net Investment Income Tax?

Since January 1, 2013, individuals have owed a 3.8% tax on the lesser of their net investment income or the amount by which their modified adjusted gross income (MAGI) exceeds a threshold based on filing status. That “lesser of” piece is the whole game, and it’s what the examples below are built around.

Filing statusMAGI threshold
Single$200,000
Head of household$200,000
Married filing jointly$250,000
Qualifying surviving spouse$250,000
Married filing separately$125,000
Source: IRS, Net Investment Income Tax. Not indexed for inflation.

What counts as net investment income?

In general, net investment income includes interest, dividends, capital gains, rental and royalty income and non-qualified annuities, minus deductions properly allocated to that income. Taxable gain on investment real estate, including a second home, counts too.

What doesn’t count: wages, unemployment compensation, Social Security benefits, alimony, tax-exempt interest, most self-employment income and operating income from a nonpassive business. Excluded gain on the sale of your principal residence is also left out.

If you want a refresher on how the gains themselves are taxed before this extra 3.8% layer, our capital gains tax guide covers the 0%, 15% and 20% rates.

How to calculate NIIT in three steps

  • Step 1: Find your MAGI and subtract your threshold. If the result is zero or less, you owe no NIIT. Stop here.
  • Step 2: Add up your net investment income.
  • Step 3: Take the smaller of Step 1 and Step 2, and multiply by 3.8%.

For most U.S. filers MAGI is simply adjusted gross income; it’s increased by certain excluded foreign earned income if you live abroad (see the Form 8960 instructions).

Four worked examples

Example 1: Single, just under the line

This one comes straight from the IRS Q&A: a single filer with $180,000 of wages and $15,000 of dividends and capital gains. MAGI is $195,000, which is below $200,000, so the NIIT is $0 even though there’s $15,000 of investment income.

Example 2: Single, MAGI over by $30,000

Wages $170,000 plus $60,000 of investment income gives MAGI of $230,000. Excess over $200,000 = $30,000. Investment income = $60,000. The smaller is $30,000, so NIIT = $30,000 × 3.8% = $1,140.

Example 3: Married filing jointly, a big capital gain year

A couple with $200,000 of wages sells a fund for a $100,000 gain. MAGI = $300,000, so the excess over $250,000 is $50,000. Investment income is $100,000. The smaller is $50,000: NIIT = $1,900. Only half of the gain was reached by the 3.8%.

Example 4: Married filing jointly, high wages, small investment income

$400,000 of wages and $20,000 of dividends: MAGI $420,000, excess $170,000. But investment income is only $20,000, and that’s the smaller number, so NIIT = $20,000 × 3.8% = $760. High wages alone never create NIIT; they only open the door.

ExampleFiling statusMAGIExcess over thresholdNet investment incomeNIIT (3.8% × smaller)
1Single$195,000$0$15,000$0
2Single$230,000$30,000$60,000$1,140
3Joint$300,000$50,000$100,000$1,900
4Joint$420,000$170,000$20,000$760
Example 1 is from the IRS Q&A; Examples 2–4 are illustrative math by JSCC Money Notes.
Bar chart comparing MAGI excess and net investment income for four NIIT examples with resulting tax of $0, $1,140, $1,900 and $760
The tax always follows the smaller bar.

Gentle ways people manage the NIIT

None of these are loopholes; they’re ordinary planning ideas worth discussing with a tax professional:

  • Watch the timing of big gains. Spreading a large sale across two tax years can keep more of it under the threshold.
  • Use pre-tax retirement contributions. Traditional 401(k) deferrals lower wages in AGI and therefore MAGI. Our 401(k) vs IRA guide explains the order to fill them.
  • Remember distributions. Distributions from IRAs and qualified retirement plans aren’t net investment income, but taxable ones do raise MAGI. Our RMD guide shows how big those can get.
  • Plan withholding. The NIIT isn’t withheld automatically. You can ask your employer for extra income tax withholding or make estimated payments to avoid a penalty.
Checklist for NIIT: check MAGI, list investment income, take the lesser, multiply by 3.8 percent, file Form 8960
A five-step checklist before you file Form 8960.

NIIT vs. the 0.9% Additional Medicare Tax

They started the same day and have similar thresholds, but they never hit the same dollar. The 0.9% Additional Medicare Tax applies to wages, compensation and self-employment income; the 3.8% NIIT applies to investment income. You can owe both in the same year, on different income.

Frequently asked questions

Are the NIIT thresholds adjusted for inflation?

No. The IRS states the $200,000, $250,000 and $125,000 thresholds are not indexed for inflation, so more households cross them over time.

Does the NIIT apply to my wages?

No. Wages, Social Security benefits, unemployment compensation, alimony, tax-exempt interest and most self-employment income are not net investment income. Wages do count toward MAGI, though, which is what pushes you over the threshold.

Is the gain on selling my home subject to the 3.8% tax?

Only the part that is taxable for regular income tax. Gain you can exclude on a principal residence is not subject to NIIT; any taxable gain above the exclusion, or gain on a second home, can be.

How do I report the NIIT?

On Form 8960, filed with your Form 1040. If too little is withheld or paid in estimates, an estimated tax penalty can apply.

Key takeaways

  • NIIT is 3.8% of the smaller of your net investment income or your MAGI above $200,000 (single) / $250,000 (joint) / $125,000 (separate).
  • The thresholds are not indexed, so it’s worth a quick check every year.
  • It’s reported on Form 8960 with your 1040.

What this means for you: if your MAGI is within reach of the line, run the three-step math in December, while there’s still time to adjust the timing of a sale or a contribution. If you also own chip stocks, it helps to understand the AI debt concerns impacting Nasdaq semiconductors.

About the author

JSCC Money Notes is written by JSCC, an independent personal-finance writer who has spent years turning IRS publications into plain-English, calculator-style guides for everyday savers and investors. Every number in our articles is checked against IRS.gov or another official source on the date shown, and every worked example is recalculated by hand. We don’t sell products or give individual tax advice; for your own situation, please talk with a CPA or enrolled agent.

Sources: IRS, Net Investment Income Tax; IRS, Questions and Answers on the Net Investment Income Tax; IRS Form 8960 (PDF); IRS Instructions for Form 8960 (PDF). Examples 2–4 are illustrative calculations by JSCC Money Notes and are not tax or investment advice. Checked November 1, 2026.

© 2026 JSCC Money Notes

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *