Net Investment Income Tax (NIIT) in 2026: When $100,000 in Capital Gains Adds a $3,800 Surcharge to a $250,000 Household Income
A Denver couple — both W-2 earners, combined salary $250,000, married filing jointly — sells $100,000 of long-held index fund shares in 2026 to fund a home renovation. They expect a 15% federal capital gains bill: $15,000. The actual bill is $18,800 because the 3.8% Net Investment Income Tax under IRC §1411 applies to every dollar of investment income once their MAGI crosses $250,000. That $3,800 surcharge has been catching more households each year since 2013, because the MAGI thresholds have never been adjusted for inflation. Here’s who owes it, what counts as net investment income, and four strategies that can reduce or eliminate the hit.
The 3.8% surtax most households don’t see coming
The Net Investment Income Tax is a flat 3.8% surtax on investment income for taxpayers above specific MAGI thresholds. It was created by the Affordable Care Act in 2010, took effect January 1, 2013, and is codified at IRC §1411. The revenue funds Medicare — but unlike Medicare payroll tax, NIIT applies to passive and investment income, not wages.
The part most people miss: the MAGI thresholds — $200,000 for single filers, $250,000 for married filing jointly, $125,000 for married filing separately — have never been adjusted for inflation. Not once since 2013. Federal income tax brackets move every year under IRC §1(f). NIIT thresholds don’t. In 2013, a $250,000 MFJ household was solidly upper-income. In 2026, that same nominal income buys roughly 22% less. Bracket creep is pulling more middle-upper-income households into NIIT exposure every single year.
Who owes it: the two-part test under IRC §1411
NIIT is calculated as 3.8% of the lesser of:
- Your net investment income (all investment income minus investment expenses), OR
- The amount by which your MAGI exceeds the threshold ($200K single / $250K MFJ / $125K MFS)
Both conditions must be met. If your MAGI is $300,000 (MFJ) and your net investment income is $80,000, the NIIT applies to the lesser of $80,000 or $50,000 (the $300K − $250K excess). You owe 3.8% × $50,000 = $1,900 — not 3.8% of the full $80,000.
This “lesser of” mechanic means NIIT can hit for as little as a few hundred dollars when you barely cross the threshold, then scales up as income grows.
What counts as net investment income — and what doesn’t
| Subject to NIIT (3.8%) | Exempt from NIIT |
|---|---|
| Interest (taxable bonds, savings, CDs) | Wages and salaries |
| Dividends (qualified and ordinary) | Self-employment income (active) |
| Short-term capital gains | Active S-corp distributions |
| Long-term capital gains | Social Security benefits |
| Rental income (passive) | Tax-exempt municipal bond interest |
| Royalties | Retirement plan distributions (401(k), IRA) |
| Passive business income (non-material participation) | Veterans’ benefits |
| Annuity income (non-qualified) | Qualified Roth IRA withdrawals |
The trap: wages and retirement distributions don’t count as investment income, but they DO count toward MAGI. A large Roth conversion or 401(k) distribution can push your MAGI above $250,000 (MFJ) and cause NIIT to apply to investment income that would otherwise have been untaxed at 3.8%.
Worked example: $250,000 in wages + $100,000 in stock gains
A Denver couple, both W-2 employees, married filing jointly. 2026 income:
- Combined wages: $250,000
- Long-term capital gains: $100,000 (sold index fund shares held 4 years)
- MAGI: $350,000
Step 1 — calculate the MAGI excess:
- $350,000 MAGI − $250,000 MFJ threshold = $100,000 excess
Step 2 — identify net investment income:
- $100,000 in long-term capital gains = $100,000 NII
Step 3 — NIIT = 3.8% × the lesser of $100,000 (NII) or $100,000 (excess):
| Tax component | Rate | Amount |
|---|---|---|
| Federal LTCG on $100,000 | 15% | $15,000 |
| NIIT on $100,000 | 3.8% | $3,800 |
| Total federal tax on the $100,000 gain | 18.8% | $18,800 |
Why 15% and not 20%: the couple’s taxable income after the $31,500 standard deduction (MFJ, 2026) is $318,500. The 20% LTCG rate doesn’t kick in until taxable income exceeds $600,050 (MFJ, 2026). They’re well below that threshold — so the gains are taxed at 15%, not 20%. But the NIIT applies regardless of which LTCG bracket they’re in.
If this same couple had $600,000 in wages and $100,000 in gains, they’d face the 20% LTCG rate plus 3.8% NIIT = 23.8% effective federal rate on capital gains. That’s the top combined federal rate on investment income in 2026.
How NIIT stacks with LTCG rates: the real effective rate table
Most tax discussions cite the 0%, 15%, or 20% LTCG rate. But for households above the NIIT threshold, the actual rate on capital gains is higher:
| LTCG bracket (MFJ taxable income, 2026) | LTCG rate | With NIIT (MAGI > $250K) |
|---|---|---|
| $0 – $96,700 | 0% | 3.8% |
| $96,701 – $600,050 | 15% | 18.8% |
| $600,051+ | 20% | 23.8% |
The 3.8% add-on is flat — it doesn’t phase in or phase out. Once your MAGI crosses $250,000 (MFJ), every additional dollar of net investment income is taxed at 3.8% on top of whatever LTCG bracket applies, until either your NII or your MAGI excess runs out.
The bracket-creep problem: why NIIT catches more people every year
When Congress set the NIIT thresholds in 2010, $250,000 MFJ was roughly the 95th percentile of household income. In 2026, that same $250,000 is closer to the 90th percentile — and the gap widens every year. A dual-income tech couple in Denver, a mid-career attorney in Houston, a small business owner in Phoenix who sells a piece of equipment — these households weren’t the target in 2013. They are now.
Federal income tax brackets are indexed annually under IRC §1(f) — the 22% bracket starts at $96,951 (MFJ) in 2026, up from $83,551 in 2022. The NIIT threshold stays at $250,000. Every year, more households cross it without any real increase in purchasing power.
Strategy 1: tax-loss harvesting — offset gains dollar-for-dollar
The most direct way to reduce NIIT exposure is to reduce net investment income. Capital losses offset capital gains on Schedule D — and every dollar of net gain you eliminate is a dollar that escapes both the LTCG rate and the 3.8% NIIT.
For the Denver couple: if they have $40,000 of unrealized losses in their taxable brokerage (a position in an international fund that’s underperformed), they can harvest those losses in the same year as their $100,000 gain. Net capital gains drop to $60,000. NIIT drops from $3,800 to $2,280 — a $1,520 savings from a portfolio move they may have planned anyway.
Watch the wash sale rule: under IRC §1091, buying a “substantially identical” security within 30 days before or after the sale disallows the loss. Replace with a different fund in the same asset class (e.g., switch from one S&P 500 index fund to another provider’s total market fund) to stay compliant. Note: as of 2026, the wash sale rule does NOT apply to cryptocurrency — a quirk that makes crypto loss harvesting uniquely flexible.
Strategy 2: shift taxable bonds to municipal bonds
Tax-exempt municipal bond interest is excluded from net investment income. If you hold $500,000 in taxable bonds generating $20,000/year of interest, that $20,000 is subject to ordinary income tax AND counts as NII for NIIT purposes. Shifting to a diversified muni bond fund generating $15,000/year in tax-exempt interest removes that income from both calculations.
The math for a household at the NIIT threshold: $20,000 of taxable bond interest at the 24% bracket + 3.8% NIIT = $5,560 in federal tax. $15,000 of muni interest at 0% = $0. Even though the muni yield is lower, the after-tax income is higher for anyone in the 22%+ bracket who’s also above the NIIT threshold.
This strategy works best for taxable brokerage accounts. Tax-advantaged accounts (401(k), IRA) are already tax-deferred or tax-free — holding munis there wastes the tax exemption. Keep taxable bonds in retirement accounts and muni bonds in taxable accounts for maximum efficiency.
Strategy 3: charitable remainder trust — defer the gain, fund a cause
A charitable remainder trust (CRT) lets you contribute appreciated assets before selling them. The trust sells the assets with no immediate capital gains tax, reinvests the full proceeds, and pays you an annual income stream for life (or a term of up to 20 years). The remainder goes to charity.
For NIIT purposes, the key benefit is timing. Instead of recognizing $100,000 of capital gains in one year (triggering $3,800 of NIIT), the CRT spreads income recognition across its payout period. If structured as a 5% charitable remainder unitrust paying over 20 years, each year’s income may be small enough to keep MAGI below the $250,000 threshold entirely.
The trade-off: the assets are irrevocably transferred to the trust. You get an income stream and an upfront charitable deduction, but you cannot access the principal. CRTs make sense for households with concentrated positions they’d like to diversify, a charitable intent, and a long enough time horizon to benefit from the spread.
Strategy 4: timing asset sales across calendar years
NIIT is calculated annually. If you plan to sell $200,000 of appreciated stock, selling $100,000 in December 2026 and $100,000 in January 2027 splits the gain across two tax years. In each year, your MAGI excess is smaller — and the NIIT bill on each $100,000 tranche may be lower than the NIIT on $200,000 in a single year.
For the Denver couple with $250,000 in wages:
| Scenario | MAGI | NII | NIIT |
|---|---|---|---|
| Sell $200K in one year | $450,000 | $200,000 | $7,600 |
| Split: $100K in 2026, $100K in 2027 | $350,000 each year | $100,000 each year | $3,800 × 2 = $7,600 |
In this specific case, splitting doesn’t reduce NIIT because both years land at the same excess. But consider a different scenario: a household with $220,000 in wages and $150,000 in gains. Selling all at once: MAGI $370,000, excess $120,000, NIIT = $4,560. Splitting $75,000 per year: MAGI $295,000 each year, excess $45,000, NIIT = $1,710 × 2 = $3,420. Savings: $1,140.
The strategy works best when wages are below the threshold and investment income is the variable pushing you over. It’s less effective when wages alone exceed $250,000 — because the MAGI excess is locked in regardless of when you sell.
Cross-border note: NIIT and the Canada–US Tax Treaty
For Canadian residents with US-source investment income — US rental property, US stocks held in a non-registered account, or US partnership income — the NIIT creates a widely misunderstood problem.
The misconception: the Canada–US Tax Treaty eliminates double taxation, so NIIT paid to the IRS should generate a full foreign tax credit on your CRA return. The reality: the treaty does NOT specifically address NIIT. The CRA has historically treated NIIT as a tax “in lieu of” income tax, and its eligibility for the Canadian foreign tax credit depends on whether CRA classifies it as an income tax under the treaty. In practice, most cross-border CPAs treat NIIT as creditable, but the IRS and CRA have never issued a joint ruling confirming this treatment.
A GTA-based investor with $100,000 of US-source capital gains faces: 15% US LTCG + 3.8% NIIT = 18.8% to the IRS, plus Ontario provincial tax on the same gains (Ontario inclusion rate and combined federal/provincial marginal rate can push the Canadian side to 26.7% on eligible capital gains). If the FTC fully offsets the US tax, the net cost is the Ontario rate alone. If it doesn’t, the combined bill exceeds what either country would charge independently. Have a cross-border CPA who works both sides model this before selling.
NIIT and Roth conversions: the hidden interaction
Roth conversions are not net investment income — they’re ordinary income from retirement account distributions. But they count toward MAGI. A retiree with $40,000 in dividends and $50,000 in wages who converts $200,000 from a Traditional IRA to Roth has a MAGI of $290,000.
The NIIT calculation: 3.8% × lesser of $40,000 (NII) or $40,000 ($290K − $250K excess) = $1,520. Without the Roth conversion, MAGI would be $90,000 — well below the $250,000 threshold, and NIIT would be $0.
This doesn’t mean you should avoid Roth conversions. It means you should model the NIIT cost as part of the conversion decision. Converting $150,000 instead of $200,000 might keep MAGI at $240,000 — below the threshold — and save the full $1,520. The IRMAA coordination logic applies here too: target your conversion amount to stay below whichever cliff — NIIT at $250K or IRMAA at $206K — produces the larger savings.
How to report NIIT: Form 8960
NIIT is calculated and reported on Form 8960, filed with your Form 1040. The form walks through:
- Total investment income (interest, dividends, capital gains, rental, royalties, passive business income)
- Investment expenses properly allocable to investment income
- Net investment income (line 1 minus line 2)
- MAGI threshold comparison
- 3.8% of the lesser amount
The NIIT is added to your regular income tax and reported on Schedule 2, line 18 of Form 1040. It is not subject to estimated tax penalty safe harbors separately — but if you don’t account for it in your quarterly estimates, you’ll face an underpayment penalty in April.
The numbers for 2026
The NIIT isn’t new, and it isn’t going away. It was designed as a permanent funding mechanism for Medicare, with no sunset provision. The frozen thresholds mean it captures a wider slice of households every year — an estimated 6–7 million returns now owe NIIT, up from roughly 3.5 million when it launched.
For the Denver couple: the $3,800 NIIT on their $100,000 gain is 25% of what they budgeted for their entire federal capital gains bill. It shows up on Form 8960, gets added to their 1040, and hits as a surprise for households that planned around the 15% LTCG rate without modeling the surtax.
Before realizing a large capital gain, run the full NIIT calculation: MAGI minus threshold, compared to net investment income, times 3.8%. Then decide whether harvesting losses, shifting to munis, splitting the sale across years, or converting to a charitable remainder trust brings the number down. The 3.8% is small enough to ignore on a $10,000 gain. On $100,000 or more, it’s $3,800+ that belongs in the model.
Join the 2026 tax newsletter
Decision checklists + key 2026 federal/state numbers. Free, one click.
Frequently asked
No. Wages, salaries, self-employment income from an active trade or business, and active S-corp distributions are explicitly excluded from net investment income under IRC §1411(c)(1). The NIIT only applies to passive and investment income — dividends, interest, capital gains, rental income, royalties, and passive business income. However, wages DO count toward MAGI, which determines whether you exceed the $200,000 (single) or $250,000 (MFJ) threshold. So high wages push you over the threshold, and then your investment income gets hit with the 3.8% surtax.
As of 2026, no. The thresholds set by the Affordable Care Act in 2010 (effective 2013) are statutory — fixed at $200,000 single, $250,000 MFJ, and $125,000 married filing separately. Unlike federal income tax brackets, which are indexed annually under IRC §1(f), the NIIT thresholds have no inflation adjustment provision. This means bracket creep has been pulling more taxpayers into NIIT exposure every year since 2013. A household earning $250,000 in 2013 dollars would need roughly $320,000+ in 2026 to maintain the same purchasing power — but the threshold hasn’t moved.
No. Tax-exempt interest from municipal bonds is excluded from both gross income and net investment income. This is one of the reasons shifting from taxable bonds to municipal bonds is an effective NIIT reduction strategy — it removes the income from both the regular income tax and the 3.8% surtax calculation. However, private activity bond interest that triggers AMT is still excluded from NIIT. The exemption applies to the bonds themselves, not to capital gains from selling muni bond funds, which are subject to NIIT.
They operate independently. A married couple with $96,700 or less in taxable income (2026) qualifies for the 0% LTCG rate. But if their MAGI exceeds $250,000 (MFJ), the 3.8% NIIT still applies to their net investment income. In practice, it’s rare for someone with MAGI above $250,000 to have taxable income low enough for the 0% bracket — but it can happen in specific situations like large capital losses carried forward, heavy itemized deductions, or one-time income spikes in an otherwise low-income year.
No. Qualified Roth IRA distributions are tax-free and excluded from both gross income and net investment income. Traditional 401(k) and IRA distributions are taxed as ordinary income, not as investment income, so they’re excluded from net investment income under IRC §1411(c)(5). However, like wages, these distributions DO count toward your MAGI — meaning a large 401(k) withdrawal or Roth conversion can push your MAGI above the threshold and cause NIIT to apply to any investment income you have in that year.
Generally yes. Net rental income is classified as net investment income unless the taxpayer is a real estate professional under IRC §469(c)(7) who materially participates in the rental activity. Meeting the real estate professional test requires spending more than 750 hours per year in real property trades or businesses AND more than half of your personal services must be in real property activities. If you qualify, rental income is treated as non-passive and excluded from NIIT. For most W-2 earners with a rental property or two, rental income is passive and fully subject to the 3.8% surtax.
Related guides
3.8% NIIT on a $500K Capital Gain: The Extra $19,000 Surprise Bill
A deeper worked example on larger gains — how NIIT stacks with the 20% LTCG rate to create an effective 23.8% federal rate on high-income capital gains.
IRMAA Cliff at $103K: Roth Conversion Targeting Below the Bracket
The IRMAA cliffs interact with the same MAGI that triggers NIIT — coordinating Roth conversions below both thresholds simultaneously.
Charitable Remainder Trust at $10M Sale: Defer Gain Plus Income Stream
How a CRT defers capital gain recognition and eliminates NIIT on the contributed assets in the year of sale.
Tax-Loss Harvesting for Crypto in 2026
Harvesting losses to offset gains is one of the most direct NIIT reduction strategies — crypto losses offset stock gains dollar-for-dollar on Schedule D.
Roth Conversion Ladder on an $800K Traditional IRA
Converting pre-tax balances to Roth during low-income years can shift future investment income out of NIIT exposure permanently.
Join the Life Money USA newsletter
Decision checklists, 2026 federal + state numbers, and our glossary. One click, free.
Join the newsletter