Net Investment Income Tax and the 3.8% Surtax

By Equicurious intermediate 2026-03-22
In This Article
  1. What the NIIT Is and Where It Came From
  2. The Income Thresholds (And Why They Keep Catching More People)
  3. How the Calculation Actually Works
  4. What Counts as Net Investment Income (And What Doesn’t)
  5. Included in NII:
  6. NOT included in NII:
  7. The Real Estate Professional Exception
  8. How MAGI Gets Inflated (Common Surprise Triggers)
  9. Planning Strategies That Actually Work
  10. 1. Income Timing and Bunching
  11. 2. Tax-Loss Harvesting
  12. 3. Municipal Bond Allocation
  13. 4. Maximize Retirement Account Contributions
  14. 5. Installment Sales for Large Gains
  15. 6. Charitable Giving of Appreciated Securities
  16. Form 8960: Where the NIIT Lives
  17. Interaction with State Taxes
  18. Action Checklist
  19. Essential (if your MAGI might exceed the threshold)
  20. High-Impact (saves real money)
  21. Optional (for comprehensive tax optimization)
  22. Your Next Step

A married couple earns $260,000 in wages and $40,000 in investment income. They expect their total tax bill, plug the numbers into TurboTax, and find an extra $1,140 they didn’t plan for. That’s the Net Investment Income Tax — a 3.8% surtax enacted under the Affordable Care Act that catches investors who cross specific income thresholds. The kicker: those thresholds haven’t been adjusted for inflation since 2013, which means more taxpayers hit them every year.

TL;DR

The NIIT adds 3.8% tax on the lesser of your net investment income or your MAGI above $200,000 (single) / $250,000 (married filing jointly). It applies to interest, dividends, capital gains, rental income, and passive activities — but not wages, retirement distributions, or Social Security. The thresholds are not indexed for inflation, so bracket creep pulls more investors in every year.

What the NIIT Is and Where It Came From

The Net Investment Income Tax was enacted as part of the Affordable Care Act (ACA) in 2010 and took effect in 2013. It’s codified under IRC Section 1411 and was designed to help fund Medicare expansion. Unlike the Additional Medicare Tax (0.9% on earned income above $200K/$250K), the NIIT targets unearned investment income specifically.

The tax rate is a flat 3.8% with no graduated brackets. It applies on top of all other federal income taxes — so if you’re already paying 20% on long-term capital gains plus the NIIT, your effective federal rate on those gains is 23.8%.

Why this matters: the NIIT effectively creates a hidden bracket. Many investors plan around the standard 0%/15%/20% capital gains rates without accounting for the additional 3.8%, which changes the math on everything from Roth conversions to real estate sales.

The Income Thresholds (And Why They Keep Catching More People)

The NIIT applies when your Modified Adjusted Gross Income (MAGI) exceeds these thresholds:

Filing StatusMAGI Threshold
Married Filing Jointly$250,000
Single / Head of Household$200,000
Married Filing Separately$125,000
Estates and Trusts (2025)$15,650

These thresholds have never been adjusted for inflation. When the NIIT took effect in 2013, $250,000 MFJ was solidly upper-income. After a decade of inflation, that same threshold captures a much larger share of households — particularly dual-income professionals in high-cost metro areas. If the thresholds had been indexed to CPI since 2013, the MFJ threshold would be roughly $325,000 today.

The point is: you don’t need to be “wealthy” to trigger the NIIT. A couple with two professional incomes and a taxable brokerage account can easily cross the $250,000 threshold, especially in years with large capital gain distributions from mutual funds or a home sale.

How the Calculation Actually Works

The NIIT is 3.8% on the lesser of:

  1. Your net investment income, or
  2. The amount by which your MAGI exceeds the threshold

This “lesser of” structure means the tax phases in gradually. Here’s how it works for a married couple filing jointly:

Example 1: MAGI of $280,000, NII of $60,000

Example 2: MAGI of $400,000, NII of $60,000

KEY INSIGHT

Once your MAGI exceeds the threshold by more than your total NII, the NIIT effectively becomes a flat 3.8% on all your investment income. At that point, every additional dollar of investment income costs an extra 3.8 cents in NIIT — on top of regular income tax.

What Counts as Net Investment Income (And What Doesn’t)

Included in NII:

NOT included in NII:

The distinction between active and passive business income is critical. If you’re a passive investor in a partnership or S-corp, your share of income is NII. If you materially participate (meeting one of seven IRS tests under IRC Section 469), that income is excluded from NII.

The Real Estate Professional Exception

Real estate rental income is generally passive and therefore subject to NIIT. However, if you qualify as a real estate professional under IRC Section 469(c)(7) — meaning you spend more than 750 hours per year in real property trades or businesses and more than half your working time is in real estate — your rental income can be treated as non-passive and excluded from NII.

The test: qualifying as a real estate professional requires meticulous time tracking. The IRS scrutinizes this claim heavily, and contemporaneous time logs (not reconstructed from memory at tax time) are essential to survive an audit.

How MAGI Gets Inflated (Common Surprise Triggers)

Several events can spike your MAGI above the NIIT threshold in a single year, even if you’re normally below it:

1. Selling a home. The capital gain exclusion ($250K single / $500K MFJ) helps, but gains above the exclusion add directly to MAGI. A couple selling a home with a $700,000 gain uses the $500,000 exclusion but still adds $200,000 to MAGI — potentially pushing them well above the threshold.

2. Roth conversions. Converting a traditional IRA to Roth adds the converted amount to your AGI. A $100,000 conversion can push you over the threshold and subject your existing investment income to NIIT. This creates a double cost: the conversion itself is taxed, AND it triggers NIIT on your other investment income.

3. Mutual fund capital gain distributions. In years when fund managers sell appreciated positions (common in rising markets), you receive taxable capital gain distributions even if you didn’t sell shares. These distributions increase both your MAGI and your NII.

4. Stock option exercises or RSU vesting. Exercising ISOs or having RSUs vest can create a significant MAGI spike. While the income itself may not be NII (it’s wage income), the higher MAGI can trigger NIIT on your existing investment income.

REMEMBER

The NIIT applies to the lesser of NII or MAGI above the threshold. Even events that don’t create NII (like Roth conversions or wage spikes) can trigger NIIT by pushing your MAGI over the threshold — which then subjects your existing investment income to the 3.8% tax.

Planning Strategies That Actually Work

1. Income Timing and Bunching

If you’re near the threshold, shifting the timing of capital gains across tax years can keep you below the NIIT trigger in both years. Sell half your appreciated position this December and half next January, rather than all at once.

2. Tax-Loss Harvesting

Realized capital losses reduce NII directly. Systematic tax-loss harvesting throughout the year can offset gains and shrink your NII below the point where the NIIT bites. A $20,000 harvested loss saves $760 in NIIT alone (plus regular capital gains tax savings).

3. Municipal Bond Allocation

Tax-exempt municipal bond interest is excluded from both NII and MAGI. Shifting fixed-income allocations from corporate bonds to munis in taxable accounts reduces NII. For an investor paying the NIIT, the effective tax advantage of munis increases because you’re avoiding the 3.8% surtax on top of the regular income tax.

4. Maximize Retirement Account Contributions

Contributions to traditional 401(k)s and IRAs reduce AGI, which reduces MAGI. Maxing out your 401(k) ($23,500 in 2025, plus $7,500 catch-up if 50+) can keep your MAGI $23,500 lower — potentially keeping you below the NIIT threshold entirely.

5. Installment Sales for Large Gains

If you’re selling an appreciated asset like a business or investment property, an installment sale under Section 453 spreads the capital gain recognition over multiple years. Instead of a $500,000 gain in one year (triggering massive NIIT), you might recognize $100,000 per year for five years — potentially staying below or closer to the threshold each year.

6. Charitable Giving of Appreciated Securities

Donating appreciated stock to charity (rather than selling and donating cash) avoids recognizing the capital gain entirely. The gain never hits your MAGI or your NII. For an investor in the NIIT zone, donating $50,000 of appreciated stock saves the regular capital gains tax plus $1,900 in NIIT.

Form 8960: Where the NIIT Lives

The NIIT is calculated on Form 8960 (Net Investment Income Tax — Individuals, Estates, and Trusts). Key lines:

What this means in practice: if your MAGI is below the threshold, you don’t file Form 8960. If you’re above it, the form is straightforward — the complexity is in the planning, not the reporting.

Interaction with State Taxes

The NIIT is a federal-only tax. States don’t impose their own version (though some states, like California with its 13.3% top rate, tax investment income heavily through their regular income tax). However, state income taxes paid on investment income may be deductible against NII as properly allocable deductions on Form 8960 — though the SALT deduction cap ($10,000) limits this benefit for many taxpayers.

Action Checklist

Essential (if your MAGI might exceed the threshold)

High-Impact (saves real money)

Optional (for comprehensive tax optimization)

Your Next Step

Pull up last year’s tax return and find your MAGI (Form 1040, line 11, adjusted for any foreign earned income). If it was within $50,000 of your filing status threshold ($250K MFJ, $200K single), the NIIT should be a factor in every investment decision you make this year — from when to sell appreciated positions to how much to convert to Roth.

Related Articles

Disclaimer: Equicurious provides educational content only, not investment advice. Past performance does not guarantee future results. Always verify with primary sources and consult a licensed professional for your specific situation.