The 3.8% Net Investment Income Tax: What Retirees Need to Know

Updated:
5 min read

Richard thought he had his retirement taxes mostly figured out. He knew his tax bracket. He'd planned his Roth conversions. He understood Social Security taxation.

What he hadn't factored in was the 3.8% surtax that applied on top of everything else.

He'd sold appreciated stock in his taxable account — $95,000 in long-term capital gains. Combined with his other income, he owed the standard capital gains tax plus an additional 3.8% on the full gain. His effective tax rate on that transaction was 18.8% instead of 15%.

"I keep finding taxes I didn't know existed," he said.

The Net Investment Income Tax is one of them.

What the NIIT Is

The Net Investment Income Tax (NIIT) is a 3.8% surtax on the lesser of:

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

Thresholds (not indexed for inflation):

Filing StatusMAGI Threshold
Single$200,000
Married Filing Jointly$250,000
Married Filing Separately$125,000

These thresholds have not been adjusted since 2013. As incomes and investment portfolios have grown, more retirees have found themselves subject to NIIT even with moderate incomes.

What Counts as Net Investment Income

The NIIT applies to investment income — not earned income or retirement plan distributions.

Subject to NIIT:

Income TypeIncluded?
Interest (taxable)Yes
Dividends (ordinary and qualified)Yes
Capital gains (short and long-term)Yes
Rental income (net)Yes
RoyaltiesYes
Passive business incomeYes
Annuity incomeYes

NOT subject to NIIT:

Income TypeIncluded?
WagesNo
Social SecurityNo
IRA/401(k) distributionsNo
Pension incomeNo
Active business incomeNo
Municipal bond interestNo
Life insurance death benefitsNo

The MAGI Interaction: Why IRA Distributions Are Dangerous

Here's the critical nuance many retirees miss: IRA distributions are not net investment income — but they raise your MAGI, which can push your investment income into NIIT territory.

Example:

Income SourceAmountNII?MAGI?
IRA distribution$60,000NoYes
Capital gains$40,000YesYes
Dividends$15,000YesYes
Total MAGI$115,000

For a single filer, MAGI of $115,000 is under the $200,000 threshold — no NIIT.

But if this person takes a large Roth conversion of $90,000:

  • MAGI: $205,000
  • Exceeds threshold by $5,000
  • NIIT applies to the lesser of $5,000 or $55,000 NII
  • NIIT: $5,000 × 3.8% = $190

Or if they sell appreciated property for $80,000 in capital gains:

  • MAGI: $195,000 + $80,000 = additional...

The key lesson: actions that raise MAGI — Roth conversions, large IRA distributions, property sales — can trigger NIIT on investment income that was previously below the threshold.

How the Tax Is Calculated

NIIT is calculated on Form 8960 and assessed on the lesser of:

  1. Total net investment income
  2. (MAGI − threshold)

Illustration (single filer):

  • MAGI: $260,000
  • Threshold: $200,000
  • Excess: $60,000
  • Net investment income: $45,000
  • NIIT applies to: lesser of $60,000 and $45,000 = $45,000
  • NIIT owed: $45,000 × 3.8% = $1,710

NOTE

The NIIT stacks on top of regular income tax. A single retiree in the 15% long-term capital gains bracket who triggers NIIT pays 15% + 3.8% = 18.8% effective rate on those gains. Those in the 20% bracket pay 23.8%.

Planning Strategies to Reduce NIIT Exposure

1. Manage Roth Conversions with MAGI in Mind

Each dollar of Roth conversion raises MAGI. If you're near the NIIT threshold, aggressive Roth conversions in a single year can tip investment income into NIIT territory.

Spreading conversions across multiple years to stay below $200,000/$250,000 MAGI can prevent triggering NIIT on investment income that would otherwise be tax-free (at 0% qualified dividend rate).

2. Harvest Losses to Offset Gains

Capital losses offset capital gains dollar for dollar. If you have losses available to harvest, using them against gains reduces both your capital gains tax and potentially your NIIT exposure.

3. Invest in Tax-Exempt Bonds

Municipal bond interest is excluded from net investment income and from MAGI for NIIT purposes. For high-income retirees subject to NIIT, munis may be tax-efficient even at lower pre-tax yields.

4. Defer Taxable Realized Events

If you have flexibility in when to sell appreciated assets, spreading sales across years can prevent large single-year MAGI spikes.

5. Use Qualified Opportunity Zone Investments

Investments in Qualified Opportunity Funds can defer and partially reduce capital gains — both their income tax treatment and potential NIIT treatment.

6. Installment Sales for Real Estate

Selling appreciated property via installment sale spreads capital gains across multiple years, potentially keeping each year's MAGI below the NIIT threshold.

The Bottom Line

The 3.8% NIIT is a relatively modest surtax in dollar terms for most retirees — but it's real money, and it's often preventable with planning. The most important thing is awareness: understanding that IRA distributions don't trigger NIIT but do affect whether your investment income crosses the threshold.

For retirees managing significant investment portfolios, Roth conversions, or real estate, coordinating Roth conversion size with MAGI management is one of the highest-value tax planning decisions available.

Talk to a tax-focused retirement advisor who can model your NIIT exposure and identify strategies to reduce it.

Frequently Asked Questions

The Net Investment Income Tax (NIIT) is a 3.8% surtax on net investment income for individuals with modified adjusted gross income (MAGI) above $200,000 (single) or $250,000 (married filing jointly). It was enacted in 2013 to help fund the Affordable Care Act.

Net investment income includes interest, dividends, capital gains, rental income, royalties, and passive business income. It does not include wages, Social Security, IRA or 401(k) distributions, or active business income.

No. Traditional IRA and 401(k) distributions are ordinary income and are not considered net investment income. However, they do increase your MAGI, which determines whether your investment income is subject to NIIT.

Want to see how this applies to your situation? Get your free personalized retirement analysis →