Editorial note: This content is for informational purposes only and does not constitute tax, legal, or financial advice. Tax laws change frequently — verify details with a qualified tax professional before making decisions. Information is believed accurate as of publication but may not reflect the latest IRS guidance.

Verified accurate for 2026 tax year
Investments·8 min read

Net Investment Income Tax (NIIT): Who Pays the 3.8% Surtax

TaxPlanUpdate
Based on IRS publications and official sources
Published April 7, 2026Last updated April 12, 20268 min readInvestments

If you've been investing in stocks, bonds, or real estate, there's a hidden tax that might be lurking in your financial future: the Net Investment Income Tax, or NIIT. This 3.8% surtax can catch high earners off guard, adding thousands of dollars to their tax bill. The good news? Understanding how it works can help you plan ahead and potentially reduce its impact on your finances.

What is the Net Investment Income Tax (NIIT)?

The Net Investment Income Tax is a 3.8% tax that applies to certain types of investment income for high-income taxpayers. Think of it as an extra layer of tax on top of your regular income tax and capital gains tax. It was introduced as part of the Affordable Care Act in 2013 to help fund healthcare programs.

Based on IRS publications and official sources, the NIIT applies to the lesser of:

    • Your net investment income for the year, or
    • The amount by which your modified adjusted gross income (MAGI) exceeds certain thresholds

Here's the key point: you only pay this tax if both your investment income and your total income exceed specific limits. It's not just about how much you earn from investments—your overall income matters too.

Income Thresholds: Who Gets Hit with the 3.8% Tax?

The NIIT kicks in when your modified adjusted gross income exceeds these thresholds:

Filing Status MAGI Threshold
Married Filing Jointly $250,000
Married Filing Separately $125,000
Single $200,000
Head of Household $200,000
Qualifying Widow(er) $250,000

These thresholds aren't adjusted for inflation, which means more taxpayers may find themselves subject to this tax over time as incomes rise.

Types of Income Subject to NIIT

Not all investment income gets hit with the 3.8% surtax. Here's what counts as net investment income:

Income That's Subject to NIIT:

    • Interest income from bonds, CDs, and savings accounts
    • Dividend income from stocks and mutual funds
    • Capital gains from selling investments
    • Rental income (if you're not actively involved in managing the property)
    • Royalties from intellectual property
    • Annuity payments
    • Income from partnerships or S-corporations where you're not actively participating

Income That's NOT Subject to NIIT:

    • Wages and salary from your job
    • Self-employment income from active business participation
    • Social Security benefits
    • Pension and 401(k) distributions
    • Municipal bond interest (tax-exempt bonds)
    • Active rental income if you're a real estate professional

How the NIIT is Calculated: Real Examples

Let's walk through some real-world examples to see how this tax works in practice.

Example 1: Single Filer with Investment Income

For example, if you earned $180,000 in salary in 2024 and had $30,000 in investment income (dividends and capital gains), your modified AGI would be $210,000. As a single filer, you'd exceed the $200,000 threshold by $10,000.

Your NIIT would be calculated on the lesser of:

    • Your net investment income: $30,000, or
    • The amount over the threshold: $10,000

Since $10,000 is less than $30,000, you'd pay NIIT on $10,000. Your additional tax would be: $10,000 × 3.8% = $380

Example 2: Married Couple with Substantial Investments

Consider a married couple filing jointly with a combined salary of $200,000 and $75,000 in investment income. Their total MAGI is $275,000, which exceeds the $250,000 threshold by $25,000.

Their NIIT calculation:

    • Net investment income: $75,000
    • Amount over threshold: $25,000

They'd pay NIIT on the lesser amount: $25,000 × 3.8% = $950

Example 3: High-Income Earner with Modest Investments

Let's say a single professional earns $220,000 in salary but only has $5,000 in investment income. Their MAGI is $225,000, exceeding the threshold by $25,000.

The NIIT applies to the lesser of:

    • Net investment income: $5,000
    • Amount over threshold: $25,000

Result: $5,000 × 3.8% = $190 in additional tax

Special Considerations for Different Types of Investors

Real Estate Investors

Real estate can be tricky when it comes to NIIT. If you're a passive real estate investor who simply collects rent checks, that income generally counts toward the NIIT. However, if you qualify as a "real estate professional" under IRS rules and actively participate in your rental activities, the income might escape the surtax.

Business Owners and S-Corporation Shareholders

If you own part of a business but don't actively participate in its operations, your share of the income could be subject to NIIT. This often surprises silent partners or passive S-corporation shareholders who didn't realize their business income could be treated as investment income for tax purposes.

Trust and Estate Beneficiaries

Trusts and estates face their own NIIT rules with much lower thresholds. For 2024, the NIIT applies to trusts and estates when their AGI exceeds just $14,650. This can significantly impact wealthy families using trusts for estate planning.

Planning Strategies to Minimize NIIT

While you can't completely avoid the NIIT if you're a high-income investor, several strategies might help reduce its impact:

Income Timing Strategies

    • Harvest tax losses to offset gains and reduce net investment income
    • Time capital gains across multiple tax years to stay below thresholds
    • Consider installment sales to spread large gains over several years

Investment Structure Strategies

    • Invest in tax-exempt municipal bonds instead of taxable bonds
    • Focus on growth stocks that don't pay dividends
    • Use tax-deferred accounts like 401(k)s and IRAs when possible
    • Consider qualified opportunity zone investments for certain capital gains

Active vs. Passive Income Strategies

    • Increase active participation in rental real estate activities
    • Consider material participation in business investments

For complex situations involving multiple income sources, consider using our tax planning calculators or consulting with a qualified professional through our accountant directory.

How to Report and Pay NIIT

The NIIT is calculated and reported on Form 8960, which gets filed along with your regular tax return. The additional tax is added to your total tax liability and must be paid by the same deadlines as your regular income tax.

Based on IRS publications and official sources, you'll need to:

    • Calculate your modified adjusted gross income
    • Determine your net investment income
    • Apply the 3.8% rate to the lesser of the two amounts above your threshold
    • Add this amount to your regular tax liability

If you expect to owe NIIT, you may need to make quarterly estimated tax payments to avoid underpayment penalties.

State Tax Considerations

Most states don't have their own version of the NIIT, so this is primarily a federal tax concern. However, some states have their own investment income taxes or high-income surtaxes that could compound the effect.

For more information on tax terminology mentioned in this article, check our comprehensive tax glossary.

Frequently Asked Questions

Q: Does the NIIT apply to retirement account withdrawals like 401(k) or IRA distributions?

A: No, distributions from retirement accounts like 401(k)s, traditional IRAs, and Roth IRAs are not considered net investment income and aren't subject to the 3.8% NIIT. However, these withdrawals do count toward your modified AGI, which could push you over the income thresholds and subject other investment income to the tax.

Q: Can I deduct investment expenses to reduce my net investment income?

A: Yes, you can deduct certain investment-related expenses when calculating your net investment income for NIIT purposes. These might include investment advisory fees, custodial fees, and other expenses directly related to producing investment income. However, the rules can be complex, so professional guidance is often helpful.

Q: Are capital losses useful for reducing NIIT?

A: Absolutely. Capital losses can offset capital gains when calculating your net investment income, potentially reducing or eliminating your NIIT liability. You can also use up to $3,000 in excess capital losses to offset other types of investment income each year, with unused losses carrying forward to future years.

Q: Does the NIIT apply to municipal bond interest?

A: No, interest from tax-exempt municipal bonds is not subject to the NIIT, just as it's not subject to regular federal income tax. However, this tax-exempt interest may still be included in your modified AGI calculation, potentially affecting whether you exceed the income thresholds.

Q: If I'm married, can filing separately help me avoid NIIT?

A: It depends on your specific situation. The threshold for married filing separately is $125,000 compared to $250,000 for joint filers. If both spouses have significant income, filing separately could actually increase your NIIT liability. You'll want to calculate both scenarios or use professional tax software to determine the better option.

Moving Forward with NIIT Planning

Understanding the Net Investment Income Tax is crucial for anyone with substantial investment income or those approaching the income thresholds. While the 3.8% surtax adds complexity to tax planning, being aware of it allows you to make informed decisions about your investment strategy and timing.

The key is to plan ahead rather than being surprised at tax time. Consider reviewing your investment portfolio annually, especially if your income fluctuates or if you're approaching retirement and may have different income sources. For complex situations involving trusts, business ownership, or substantial real estate holdings, professional guidance can be invaluable in navigating these rules effectively.

Free Resource

Get the Investment Tax Cheat Sheet

Delivered straight to your inbox. Takes 30 seconds.

This article is for educational purposes only and is not tax advice. Tax situations vary — consult a qualified tax professional before making decisions based on this information. Based on IRS publications and official sources current at the time of writing.

Related Articles

Get weekly tax tips

Join thousands of taxpayers getting practical advice delivered every week.