Net Investment Income Tax (NIIT): How to Reduce or Avoid the 3.8% Surtax on Investment Income in 2026
Learn how the 3.8% Net Investment Income Tax (NIIT) works, who owes it, and proven strategies to reduce or avoid it in 2026. Covers MAGI thresholds, investment income types, Roth conversions, tax-exempt bonds, real estate professional status, and more.
title: "Net Investment Income Tax (NIIT): How to Reduce or Avoid the 3.8% Surtax on Investment Income in 2026" description: "Learn how the 3.8% Net Investment Income Tax (NIIT) works, who owes it, and proven strategies to reduce or avoid it in 2026. Covers MAGI thresholds, investment income types, Roth conversions, tax-exempt bonds, real estate professional status, and more." publishedAt: "2026-06-03" author: "AI Finance Brief" tags: ["net investment income tax", "NIIT 3.8% surtax", "reduce investment taxes", "MAGI thresholds 2026", "investment tax planning", "passive income tax strategies", "high earner tax reduction"] readingTime: "11 min read"
Net Investment Income Tax: The 3.8% Surtax Most Investors Don't Plan Around
There is a tax that silently takes 3.8% of your investment gains, rental income, dividends, and interest — on top of whatever capital gains or income tax rate you already owe. It has been in effect since 2013, it hits millions of households every year, and most people either don't know it exists or have never been told they can do anything about it.
It's called the Net Investment Income Tax (NIIT), sometimes referred to as the Medicare surtax or the Obamacare investment tax. If your modified adjusted gross income (MAGI) exceeds $200,000 as a single filer or $250,000 as a married couple filing jointly, you owe 3.8% on the lesser of your net investment income or the amount by which your MAGI exceeds the threshold.
That 3.8% can quietly erode tens of thousands of dollars over a career of investing. On a $500,000 long-term capital gain from selling a business or investment property, it's an extra $19,000 — on top of the 20% capital gains rate you're already paying at that income level. Combined, your effective federal rate on that gain is 23.8%, not 20%.
The good news: with deliberate planning, you can reduce — and in some cases eliminate — your exposure to the NIIT. This guide breaks down exactly how.
Key Takeaways
- The NIIT is a flat 3.8% surtax on the lesser of your net investment income or the amount your MAGI exceeds the threshold ($200,000 single / $250,000 married filing jointly).
- These thresholds are not indexed to inflation — they haven't changed since 2013, meaning more households are pulled in every year as wages and asset values rise.
- Investment income includes capital gains, dividends, interest, rental income, royalties, passive business income, and annuity distributions — but not wages, self-employment income from active businesses, retirement account distributions, or municipal bond interest.
- The two levers for reducing NIIT are lowering your MAGI below the threshold or converting investment income into types that are exempt from the tax.
- Strategies range from simple (holding municipal bonds, maximizing retirement contributions) to advanced (qualifying as a real estate professional, installment sales, Qualified Opportunity Zone deferrals, charitable remainder trusts).
How the NIIT Calculation Actually Works
Understanding the math is the first step to reducing the tax. The NIIT is calculated on IRS Form 8960, and the formula is straightforward:
NIIT = 3.8% × the lesser of:
- Your net investment income, OR
- The amount by which your MAGI exceeds the threshold
2026 MAGI Thresholds (Unchanged Since 2013)
| Filing Status | MAGI Threshold | |---------------|---------------| | Single | $200,000 | | Married Filing Jointly | $250,000 | | Married Filing Separately | $125,000 | | Head of Household | $200,000 | | Qualifying Surviving Spouse | $250,000 |
Here's why this matters more in 2026 than it did in 2013: the thresholds are not adjusted for inflation. When the NIIT was enacted, a $250,000 household income put you roughly in the top 5% of earners. Thirteen years later, with cumulative inflation exceeding 40%, that same threshold captures a much larger slice of dual-income professional households. A couple where each spouse earns $130,000 — solidly upper-middle-class, not wealthy — now owes NIIT on every dollar of investment income they earn.
A Concrete Example
Sarah and James are married, filing jointly. Their combined W-2 income is $280,000. They also have:
- $15,000 in qualified dividends
- $8,000 in interest income
- $25,000 in long-term capital gains from selling ETF shares
Step 1: Calculate MAGI. $280,000 + $15,000 + $8,000 + $25,000 = $328,000.
Step 2: Calculate excess MAGI. $328,000 − $250,000 = $78,000.
Step 3: Calculate net investment income. $15,000 + $8,000 + $25,000 = $48,000.
Step 4: NIIT = 3.8% × lesser of $48,000 or $78,000. The lesser amount is $48,000, so NIIT = $1,824.
That $1,824 is on top of the $7,200 they owe in capital gains tax (15% × $48,000) and their regular income tax on wages. Without any planning, they have no way to avoid it. With planning, they have several.
What Counts as Net Investment Income (And What Doesn't)
Getting the classification right is half the battle, because income that falls outside the definition of "net investment income" is completely exempt from the NIIT — even if your MAGI is well above the threshold.
Subject to NIIT
- Interest income (savings accounts, CDs, corporate bonds, Treasury bonds)
- Dividends (qualified and non-qualified)
- Capital gains (short-term and long-term)
- Rental and royalty income (when you're a passive investor)
- Passive business income (from partnerships, S-corps, or LLCs where you don't materially participate)
- Annuity distributions (the taxable portion)
- Income from trading financial instruments or commodities
Exempt from NIIT
- Wages and salaries
- Self-employment income from a business in which you materially participate
- Distributions from IRAs, 401(k)s, and other qualified retirement plans
- Municipal bond interest
- Income from tax-exempt organizations
- Gains on the sale of an active business interest (if you materially participated)
- Social Security benefits
- Alimony
- Veterans' benefits
The exempt list is where the strategy lives. Every dollar of investment income you can shift into an exempt category — or every dollar of MAGI you can reduce below the threshold — eliminates 3.8 cents of NIIT.
9 Strategies to Reduce or Avoid the NIIT
1. Maximize Tax-Deferred Retirement Contributions
The most accessible strategy for W-2 employees. Every dollar contributed to a traditional 401(k), 403(b), or 457(b) plan reduces your MAGI dollar-for-dollar. In 2026, the employee contribution limit is $23,500 ($31,000 if you're 50 or older). If both spouses max out, a married couple can reduce MAGI by $47,000–$62,000 — potentially dropping below the $250,000 threshold entirely.
HSA contributions ($4,300 individual / $8,550 family in 2026) further reduce MAGI. So do traditional IRA contributions if you qualify for the deduction. Stack all of these before considering more complex strategies.
2. Hold Municipal Bonds Instead of Taxable Bonds
Municipal bond interest is excluded from both regular income tax (for in-state bonds) and the NIIT calculation. This is a double benefit: it reduces your net investment income and, because muni interest is also excluded from MAGI for NIIT purposes, it lowers the excess above the threshold.
If you're in the NIIT zone and holding significant positions in corporate bonds, Treasury bonds, or high-yield savings accounts, the after-tax yield comparison often favors munis. A municipal bond yielding 3.5% tax-free is equivalent to roughly 5.8% pre-tax for a household in the 32% bracket plus NIIT.
3. Use Roth Accounts Strategically
Roth IRA and Roth 401(k) distributions are not counted as investment income, and qualified distributions aren't included in MAGI. While Roth contributions don't reduce your current-year MAGI (they're after-tax), the long-term benefit is significant: decades of investment growth inside a Roth account will never trigger the NIIT.
For high earners already above the threshold, backdoor Roth IRA contributions and mega backdoor Roth 401(k) contributions let you funnel money into a permanently NIIT-exempt vehicle. The upfront tax cost is the price of permanent exemption.
4. Harvest Capital Losses to Offset Gains
Tax-loss harvesting directly reduces net investment income. If you realize $40,000 in capital gains but also harvest $25,000 in losses, your net capital gain drops to $15,000 — cutting your NIIT exposure by $950 (3.8% × $25,000).
This strategy stacks with the capital gains tax benefit, giving you a combined savings rate of 18.8% on harvested losses if you're in the 15% capital gains bracket plus NIIT, or 23.8% if you're in the 20% bracket.
5. Qualify as a Real Estate Professional
This is the most powerful NIIT strategy for investors with significant rental income — and the most scrutinized by the IRS. Under normal rules, rental income is passive and subject to NIIT. But if you qualify as a real estate professional under IRC Section 469, your rental activities are recharacterized as non-passive. Non-passive income from a trade or business is exempt from NIIT.
The requirements are strict: you must spend more than 750 hours per year in real property trades or businesses, and that time must represent more than half of your total working hours. One spouse can qualify if they meet both tests individually.
For a couple where one spouse works full-time in real estate and they own multiple rental properties generating $80,000 in annual rental income, this reclassification eliminates $3,040 per year in NIIT — indefinitely.
6. Use Installment Sales to Spread Gains Across Years
If you're selling a large asset — a business, rental property, or concentrated stock position — taking the full proceeds in one year can create a massive NIIT spike. An installment sale under IRC Section 453 lets you spread the capital gain recognition over multiple years, potentially keeping your MAGI closer to the threshold in each year.
For example, selling a $2 million property with $800,000 in capital gains in a single year produces $30,400 in NIIT (assuming MAGI already exceeds the threshold). Spreading the same gain over five years at $160,000 per year may keep some years below the threshold entirely, reducing total NIIT significantly.
7. Invest in Qualified Opportunity Zone Funds
Qualified Opportunity Zone (QOZ) investments offer a unique NIIT benefit. Capital gains invested in a QOZ fund within 180 days are deferred from income — reducing both MAGI and net investment income in the year of the original sale. If the QOZ investment is held for at least 10 years, any appreciation on the QOZ investment itself is permanently excluded from income, including for NIIT purposes.
This creates a double benefit: immediate NIIT reduction through deferral, and permanent NIIT elimination on the new investment's growth.
8. Time Income and Deductions Strategically
If your MAGI hovers near the threshold, the timing of income recognition and deductions can determine whether you owe NIIT at all. Consider:
- Bunching deductions into a single year (especially charitable contributions) to drop MAGI below the threshold in that year
- Deferring bonuses or freelance income to a year when you expect lower base income
- Accelerating business deductions (equipment purchases, prepaid expenses) into high-income years to reduce MAGI
- Using donor-advised funds to front-load charitable giving — take a large deduction this year while distributing grants over future years
The key insight is that the NIIT threshold creates a binary cliff: $1 below the threshold means zero NIIT, while $1 above means 3.8% on all investment income up to that excess. Near the boundary, small MAGI adjustments produce outsized savings.
9. Consider a Charitable Remainder Trust (CRT)
For investors with large concentrated positions, a charitable remainder trust can reduce NIIT exposure while providing lifetime income. You contribute appreciated assets to a CRT, which sells them without triggering immediate capital gains or NIIT. The trust then pays you an income stream over your lifetime, with each payment partially consisting of capital gains, ordinary income, and tax-free return of principal.
Because the gain is spread across decades of distributions rather than recognized in a single year, the annual NIIT impact is dramatically reduced. Additionally, you receive an upfront charitable deduction that further reduces MAGI.
Common Mistakes to Avoid
Ignoring the NIIT in Tax Projections
Many investors calculate their expected capital gains tax at 15% or 20% without adding the 3.8% NIIT. This leads to underestimating the true cost of selling appreciated assets by thousands of dollars. Always use 18.8% or 23.8% as your effective long-term capital gains rate when your MAGI exceeds the threshold.
Assuming Retirement Distributions Trigger NIIT
Traditional IRA and 401(k) distributions are included in MAGI (which can push you over the threshold), but the distributions themselves are not classified as net investment income. This means retirement distributions can cause you to owe NIIT on your other investment income without being directly subject to it — a common source of confusion.
Overlooking State-Level Surtaxes
Several states impose their own investment income surtaxes that stack with the federal NIIT. California's top rate of 13.3% on capital gains, combined with the federal 20% rate and 3.8% NIIT, produces a combined marginal rate of 37.1% on long-term capital gains. Factor in state taxes when evaluating NIIT reduction strategies.
Failing to Account for the Inflation Bracket Creep
Because the NIIT thresholds aren't indexed, your risk of exposure increases every year. If your household income grows at 3% annually, a couple earning $230,000 today will cross the $250,000 threshold within three years — and stay above it permanently. Start planning before you cross the threshold, not after.
Who Should Prioritize NIIT Planning?
The NIIT disproportionately impacts three groups:
Dual-income professional households earning $250,000–$500,000 combined. You're above the threshold but not so far above it that reducing MAGI is impossible. Retirement contributions, muni bonds, and timing strategies can meaningfully reduce or eliminate the tax.
Business owners and real estate investors with significant passive income. Reclassifying passive to active income through material participation, or using installment sales and QOZ investments, can save tens of thousands over a career.
Pre-retirees and retirees with large taxable portfolios. As RMDs begin and inflate MAGI, the NIIT hits investment income that was previously below the threshold. Roth conversions before RMDs begin, combined with municipal bond allocations, are the primary defense.
The Bottom Line
The NIIT is one of those taxes that rewards people who plan and punishes people who don't. At 3.8%, it seems small enough to ignore — until you multiply it across decades of investment income, capital gains from real estate sales, and retirement portfolio distributions. For a household with $100,000 in annual investment income above the threshold, it's $3,800 per year, every year.
The strategies outlined here aren't exotic or aggressive. Maximizing retirement contributions, holding municipal bonds, harvesting losses, and timing income recognition are mainstream planning moves. The difference is applying them with the NIIT specifically in mind, rather than treating the surtax as an unavoidable cost of earning investment income.
Work with a tax professional to model your specific situation, especially if you're considering real estate professional status or charitable remainder trusts. The NIIT threshold is a fixed target, and with the right approach, you can stay on the right side of it.
Get Your Daily Brief
AI-powered market analysis delivered to your inbox every morning. Free during beta.
Start FreeThis content is for informational purposes only and does not constitute financial advice. Always do your own research before making investment decisions.