★ Investment Strategy

NIIT 3.8% Planning

"Congress called it 'Affordable Care Act.' Your 1040 calls it Form 8960. Whatever you call it, the 3.8% surcharge on investment income above $250K MFJ is the most-collected tax most preparers do nothing about."

Typical Savings: $1K–$30K/yr Difficulty: ★★★☆☆ Audit Risk: Low (compliance, not aggressive) Best For: Households at $250K+ MFJ / $200K single MAGI

The 60-second pitch

The Net Investment Income Tax (NIIT) is a flat 3.8% surcharge on the lesser of: (a) your net investment income, or (b) the amount by which your MAGI exceeds $250K MFJ / $200K single / $125K MFS (these thresholds are not indexed for inflation — they were set in 2013 and never adjusted, so more households cross them every year).

"Net investment income" under §1411 includes: interest, dividends, capital gains, annuity distributions (the gain portion), royalties (passive), and rental income from passive activities. It excludes: wages, Social Security, retirement plan distributions, distributions from active trades or businesses, and self-rental income that flows through a non-passive activity.

For a household at $400K MAGI with $50K of long-term capital gains, the NIIT bill is 3.8% × min($50K, $400K - $250K) = 3.8% × $50K = $1,900. Looks small, but it stacks on top of the 20% federal LTCG rate — bringing the all-in federal rate to 23.8%. On a $500K business sale or stock gain, that's nearly $19K of NIIT alone.

The good news: NIIT is highly avoidable with planning, because it's triggered by the lesser-of rule. Reducing either bucket (NII or MAGI-over-threshold) reduces the tax. The strategies fall into three families: (1) shift income out of the NII category (active business, self-rental election, REP status); (2) defer income across years to stay under the MAGI threshold (installment sale, opportunity zone deferral); (3) realize losses or accelerate deductions to lower MAGI (tax-loss harvesting, retirement-plan deferral).

Real-world example

Anita & Raj · 52 & 54 · Dual-income couple · $390K W-2 combined

The setup. Anita is a hospital physician ($240K W-2). Raj is a director of finance ($150K). They have two kids in college. Brokerage: $1.4M of long-held S&P 500 ETFs. They want to use $200K of the brokerage to pay for older kid's tuition and a kitchen remodel.

The naive plan. Sell $200K of VTI in October 2025. Realized gain: $50,000 (low basis from 2014 buys). MAGI: $390K W-2 + $50K LTCG + ~$8K dividends = ~$448K. Above the $250K NIIT threshold by $198K. NII = $58K (gain + dividends). NIIT = 3.8% × min($58K, $198K) = 3.8% × $58K = $2,204. Plus 20% federal LTCG = $10K. Plus state. All-in tax on the $50K gain: $14K-$16K.

The §453 plan. Instead of a lump-sum sale of $200K, sell it via an installment note over 4 years: $50K each year 2025-2028. Each year recognizes $12,500 gain. MAGI stays under $250K in most years (Raj's bonus drops in 2026, Anita has a sabbatical year planned for 2027). NIIT in 2025: still ~$3K because of Anita's bonus year. NIIT 2026, 2027: $0 if MAGI is under $250K. NIIT savings over 4 years vs. lump sum: ~$1,800.

The harvest combo. Anita's brokerage holds $40K of unrealized losses in a few biotech positions. Harvest $40K in late 2025: offsets $40K of the $50K gain. Net realized gain becomes $10K. NIIT bucket falls to $10K + $8K dividends = $18K. NIIT = 3.8% × $18K = $684 — saving $1,520. Plus the LTCG savings: $40K × 23.8% = $9,520 federal saved.

Combined. Tax-loss harvest first, then installment-sell the remainder. NIIT this year drops from $2,204 to ~$684, with the remaining $40K of gain deferred and possibly NIIT-free in low-income years.

NIIT & capital gains saved (year 1)
$11,000
NIIT avoided across 4-year deferral
~$3,500

The step-by-step checklist

  1. Compute your MAGI vs. NIIT threshold. MAGI for NIIT = AGI + foreign earned income exclusion + foreign housing. Compare to $250K MFJ / $200K single / $125K MFS.
  2. Compute your net investment income. Interest + dividends + cap gains + passive rental + royalties − allocable deductions (investment management fees, state tax on NII, investment interest expense). Form 8960.
  3. Identify the constraining bucket. If MAGI-over-threshold < NII, reducing MAGI saves more. If NII < MAGI-over-threshold, reducing NII saves more. Plan accordingly.
  4. Harvest losses to reduce capital gains (cuts NII directly).
  5. Defer income via §453 installment sale, deferred comp, Opportunity Zone investment, or charitable bunching (DAF in high-NII years).
  6. Move income out of "investment" category. If you materially participate in a rental real estate business, the income is non-passive and exempt from NIIT under Reg §1.1411-5(b). Real Estate Professional Status (REPS) is the gateway.
  7. Self-rental election. If you rent a building to your operating S-corp, group them under Reg §1.469-4 to treat the rental as non-passive. Income from a non-passive rental is excluded from NIIT.
  8. S-corp distributions are not NIIT. S-corp K-1 ordinary income flows to your 1040 but is excluded from NII if you materially participate. Distributions are not income at all. (However, K-1 passive S-corp income — non-material participation — IS NII.)
  9. Max retirement plan deferrals. 401(k), HSA, Solo 401(k), DB plan — every dollar deferred reduces AGI/MAGI dollar-for-dollar.
  10. Bunch charitable giving via a Donor-Advised Fund. Front-load 3 years of charitable contributions into one year. Reduces AGI/MAGI, drops you below threshold, eliminates NIIT.
  11. Time the big sale. If you're selling a business or a large stock concentration, plan it in a year your W-2 is lower (sabbatical, retirement) so MAGI is already below threshold and only the gain itself triggers NIIT — limiting exposure.
  12. State-tax interaction. The state income tax allowed as a NIIT deduction is limited to the portion allocable to NII. Don't forget to allocate.

IRS code & authority

Audit risk flags

When NOT to do this

Stop quietly paying the 3.8% tax most preparers ignore

PilePilot calculates your NIIT exposure year-round, recommends the right MAGI reduction or NII shift, and projects Form 8960 in real time as you make trades. Built for real small businesses who's run §1411 planning for hundreds of returns.

Start your free trial →

No credit card. Your data is private and isolated — export or delete it anytime.

Disclaimer. Educational, not tax advice. NIIT interacts with most other tax strategies (REPS, installment sales, S-corp planning) — confirm with a tax professional before changing investment timing. Thresholds cited are statutory and unindexed.