📊

Net Investment Income Tax (NIIT) Guide 2026: 3.8% Surtax on Investment Income

Quick Answer: The Net Investment Income Tax (NIIT) is a 3.8% federal surtax on investment income for high earners. It applies when your Modified Adjusted Gross Income (MAGI) exceeds $200,000 (single) or $250,000 (married filing jointly). Investment income subject to NIIT includes interest, dividends, capital gains, rental income, and passive business income. The surtax is applied to the lesser of your net investment income or the amount by which your MAGI exceeds the threshold. NIIT does not have a state-level equivalent in most states.
By Daniel, founder of CountryTaxCalc.com

Last Updated: April 2026

Key Facts

NIIT Rate
3.8% on net investment income (or the amount MAGI exceeds the threshold — whichever is less)
Income Thresholds
$200,000 for single filers; $250,000 for married filing jointly; $125,000 for married filing separately (NOT indexed for inflation)
Subject to NIIT
Interest, dividends, capital gains (including stock sales, real estate gains, crypto), rental income, passive business income, annuity income
NOT Subject to NIIT
Wages and self-employment income, active business income (not passive), Social Security, pensions, IRA/401(k) distributions, tax-exempt bond interest, QOZ exclusion gains
Form 8960
NIIT is calculated on Form 8960 and reported on your Form 1040 Line 17. The 3.8% applies to net investment income (after deductible expenses)
NIIT + Capital Gains
High-income taxpayers in the top bracket pay: 20% long-term capital gains + 3.8% NIIT = 23.8% federal rate on long-term gains (plus state)

The Net Investment Income Tax (NIIT) was introduced by the Affordable Care Act in 2013. It is a 3.8% surtax on top of regular income tax, applying to investment income for taxpayers above income thresholds. On a $500,000 capital gain, NIIT adds $19,000 in tax on top of the federal capital gains rate. Understanding what triggers NIIT — and what planning strategies reduce it — is critical for high-income investors, real estate owners, and business sellers.

What Is Included in Net Investment Income

Net Investment Income (NII) includes income from passive sources and investment assets. The IRS groups NII into three categories:

Category 1: Interest, Dividends, and Annuities

All taxable interest income (savings accounts, bonds, CDs), qualified and non-qualified dividends, and annuity income is included in NII. Tax-exempt municipal bond interest is specifically excluded — this is one reason high-MAGI investors favor municipal bonds.

Category 2: Gross Income from Passive Activities

Rental income and income from passive business activities (businesses where you do not materially participate) are included in NII. If you own a rental property and do not qualify as a Real Estate Professional (750+ hours/year), all rental net income is passive and therefore subject to NIIT. If you own a passive interest in a partnership or S-corporation, the income flowing through to you is subject to NIIT.

Category 3: Net Gain from Disposition of Property

Capital gains from selling investment property are included: stock gains, bond gains, real estate gains (unless excluded by §121 exclusion on primary residence), capital gain distributions from mutual funds, crypto gains, and gains from selling passive business interests. The §121 exclusion ($250K/$500K gain excluded on primary residence sale) specifically reduces NIIT — the excluded gain does not count in NII. However, any gain above the §121 limit IS subject to NIIT.

What Is Excluded from NII

The following do NOT count as NII and are not subject to the 3.8% surtax:

NIIT Planning Strategies

Several strategies reduce exposure to the 3.8% NIIT:

1. Manage MAGI Below the Threshold

NIIT applies to the lesser of NII or (MAGI minus threshold). Strategies to reduce MAGI: maximize pre-tax 401(k) contributions (reduces MAGI by up to $23,000 in 2024, or $30,500 if 50+), contribute to an HSA (reduces MAGI), take available above-the-line deductions (student loan interest, alimony in legacy situations, self-employed health insurance). If MAGI is only slightly above the threshold, reducing it below can eliminate the NIIT entirely.

2. Convert Passive to Active Income

Active business income does not trigger NIIT. If you are a passive partner in a business, increasing your material participation to meet the 500-hour test converts income from passive (NIIT subject) to active (not NIIT subject). For real estate investors, qualifying as a Real Estate Professional (IRS §469) removes rental income from passive status, eliminating NIIT on rental income (though this requires 750+ hours/year in real estate activities and it exceeding 50% of your work time).

3. Invest in Municipal Bonds

Tax-exempt bond interest is excluded from both regular income tax and NIIT. For investors in the 37% bracket with NIIT exposure, the after-tax yield comparison of munis vs taxable bonds: a 5% taxable bond yield nets 5% × (1 - 37% - 3.8%) = 2.96% after-tax; a 3.2% muni bond yield nets 3.2% (tax-free). Munis win at these rates for NIIT-exposed investors.

4. Maximize Retirement Account Contributions

Roth IRA distributions are not included in MAGI or NII — they are completely invisible for NIIT purposes. Converting traditional IRA to Roth creates income in the conversion year (increasing MAGI and potentially triggering NIIT), but permanently removes future growth from NIIT exposure. SEP-IRA contributions (up to $69,000 in 2024 for self-employed) reduce MAGI substantially.

5. Installment Sales for Property Gains

Instead of recognizing a large capital gain in one year (pushing MAGI far above the threshold and triggering NIIT on the full gain), spreading a business or real estate sale over multiple years via installment reporting keeps each year's MAGI closer to the threshold. NIIT on $100K/year over 5 years may be less than NIIT on a $500K lump gain in year 1.

6. Qualified Opportunity Zone (QOZ) Investments

Gains invested in a QOZ fund are deferred; gains on QOF appreciation held 10 years are excluded from income entirely — excluding them from NII and NIIT. The December 31, 2026 QOZ deadline creates urgency for investors with large deferred gains who want NIIT exposure managed.

Rental Income NIIT: The Real Estate Professional Exception

Rental income is passive income subject to NIIT by default. However, if you qualify as a Real Estate Professional and make a grouping election for your rental activities, the rental income is treated as non-passive — removing it from NII. Requirements: 750+ hours in real property trades or businesses; more than 50% of your total working time. Spouses can combine hours on a jointly owned rental for the 750-hour test. This is one of the most valuable NIIT elections for landlords with significant rental income.

💡

CountryTaxCalc.com is reader-supported. When you use our partner links, we may earn a commission at no cost to you. Learn more about our affiliate partnerships

Investment Tax Specialist

TaxHub

★ 4.8 verified reviews  ·  3,758 reviews

NIIT planning requires income modelling, passive activity analysis, and investment structure review. TaxHub connects you with CPAs who specialise in investment income tax.

⚠ Not for simple single-state returns. Free filing is fine for straightforward W-2 situations.

Get NIIT Planning Help From a CPA →
US Expat Investment Tax

Greenback Expat Tax Services

★ 4.8 Trustpilot  ·  1,625 reviews

US expats with investment income face NIIT alongside FEIE, FTC, and treaty interactions. Greenback specialises in US expat investment tax compliance.

⚠ Not the cheapest option — best for complex situations and expats who want a dedicated CPA.

NIIT Help for US Expats →

Frequently Asked Questions

Q: Does NIIT apply to retirement account distributions?

No — Traditional IRA and 401(k) distributions are not included in net investment income (NII) for NIIT purposes. However, they do increase your Modified Adjusted Gross Income (MAGI), which is the other side of the NIIT equation. If IRA distributions push your MAGI above the $200K/$250K threshold, they can cause your OTHER investment income (capital gains, dividends) to become subject to NIIT. So IRA distributions don't pay NIIT themselves but can make other income subject to NIIT. Roth IRA distributions are completely excluded — they don't increase MAGI or NII.

Q: Does the $250,000 primary residence exclusion reduce NIIT?

Yes — the §121 exclusion for primary residence capital gains (up to $250,000 for single filers, $500,000 for married) specifically reduces both regular capital gains and NIIT. The gain excluded under §121 does not count as Net Investment Income on Form 8960. However, any gain above the §121 exclusion amount IS included in NII and subject to NIIT. Example: married couple sells primary residence for $800,000 gain. $500,000 is excluded under §121 (no regular tax, no NIIT). $300,000 is taxable as capital gain and, if MAGI exceeds $250,000, subject to the 3.8% NIIT ($11,400 additional tax).

Q: Is cryptocurrency subject to NIIT?

Yes — cryptocurrency gains (including Bitcoin, Ethereum, and other digital assets) are treated as capital gains from property sales, which are included in Net Investment Income. If your MAGI exceeds the $200K/$250K threshold and you have crypto gains, the 3.8% NIIT applies to those gains in addition to the regular capital gains rate. Short-term crypto gains (held less than 1 year) are taxed as ordinary income for regular tax purposes but are still classified as NII (investment income) for NIIT purposes.

Disclaimer: This guide provides general tax information for educational purposes only. NIIT rules are complex and interact with many other tax provisions. This is not tax advice. Consult a CPA for your specific investment income situation.

Related Guides

Capital Gains Tax by StateQualified Opportunity Zone Tax GuideShort-Term Rental Tax GuideRental Property Tax by StateRoth IRA Conversion Tax by State