Categories
Accounting, Taxes, 1031 Exchanges, Capital Gain Taxes

Net Investment Income Tax: What It Is and How to Minimize It

The 3.8% net investment income tax explained: thresholds, what income counts, a worked example, special situations and strategies to minimize the NIIT.

The net investment income tax (NIIT) is a 3.8% federal tax on investment income for higher-income households. It applies to the smaller of your net investment income or the amount by which your modified AGI exceeds $200,000 for single and head-of-household filers, $250,000 for married couples filing jointly, or $125,000 for married filing separately. These thresholds are set by law and are not adjusted for inflation, so more taxpayers owe the tax every year. It is figured on Form 8960.

Net Investment Income Tax at a Glance

ItemRule
Rate3.8%
MAGI threshold: single / head of household$200,000
MAGI threshold: married filing jointly / qualifying surviving spouse$250,000
MAGI threshold: married filing separately$125,000
Estates and trustsApply above the income level where the top trust bracket begins
Indexed for inflation?No
FormForm 8960, reported on Schedule 2

See the IRS net investment income tax page.

What Counts as Net Investment Income

IncludedNot included
Interest, dividends and annuity incomeWages and self-employment income
Capital gains on stocks, funds, crypto and investment real estateDistributions from IRAs, 401(k)s and pensions
Rental and royalty income (unless you are a qualifying real estate professional)Social Security benefits
Income from passive businessesTax-exempt municipal bond interest
Taxable gain on a home sale above the exclusionExcluded gain on your main home
Net gain from trading financial instrumentsIncome from a business you materially participate in

Investment expenses such as investment interest, state tax allocable to investment income and certain advisory fees can reduce net investment income on Form 8960.

Example: Calculating the Net Investment Income Tax

A married couple has $230,000 of wages and $60,000 of net investment income from dividends and a stock sale, for MAGI of $290,000. They are $40,000 over the $250,000 threshold. The NIIT applies to the smaller of $60,000 or $40,000, so they owe 3.8% of $40,000, or $1,520, on top of regular income tax.

Strategies to Minimize the NIIT

  • Lower MAGI: Maximize pre-tax 401(k), 403(b) and HSA contributions.
  • Choose tax-exempt income: Municipal bond interest is not net investment income; see municipal bond taxation.
  • Harvest losses: Offset gains to reduce net investment income; see tax-loss harvesting.
  • Time big gains: Use installment sales or spread sales over years.
  • Materially participate: Rental and business income can escape NIIT if you qualify as a real estate professional or actively run the business.
  • Give appreciated assets: Donate stock to charity instead of selling it.
  • Roth accounts: Qualified Roth withdrawals are not NIIT income and do not raise MAGI.

NIIT vs. the Additional Medicare Tax

FeatureNet investment income taxAdditional Medicare tax
Rate3.8%0.9%
Applies toInvestment incomeWages and self-employment income
Threshold (single / joint)$200,000 / $250,000 MAGI$200,000 / $250,000 of earnings
FormForm 8960Form 8959
Withheld by employer?NoYes, on wages above $200,000

A household with high wages and large investment income can owe both. Because neither tax is withheld fully, high earners often need estimated payments to avoid underpayment penalties.

Special Situations

  • Home sales: Only gain above the $250,000 or $500,000 exclusion is subject to NIIT.
  • S corporation owners: Pass-through income from a business you materially participate in is generally not NIIT income, whether or not it is distributed.
  • Trusts: Undistributed investment income in trusts can hit the NIIT at very low income levels.
  • Nonresident aliens: Generally exempt.

Frequently Asked Questions

What is the net investment income tax rate?

3.8% on the smaller of net investment income or MAGI above the threshold.

Are the NIIT thresholds indexed for inflation?

No. They have been $200,000 and $250,000 since the tax began in 2013.

Do IRA withdrawals count for the NIIT?

No, but they raise MAGI, which can push other investment income over the threshold.

Is rental income subject to the NIIT?

Usually, unless you qualify as a real estate professional who materially participates.

Final Thoughts

The net investment income tax reaches more households every year because its thresholds never rise. Plan the timing of gains, use tax-exempt and retirement accounts wisely, and check whether your rental or business income qualifies for an exception. For the high-earner Medicare tax on wages, see additional Medicare tax rules.

Have questions about how this applies to your situation? Book a free consultation with Aric and get answers from a CPA.

This article provides information only and should not be construed as advice. It is provided without warranty of any kind.

By Aric Taylor, CPA

Aric Taylor is a Certified Public Accountant based in Meridian, Idaho, and the founder of CPA Solutions, LLC. He has prepared taxes and handled bookkeeping for hundreds of clients, with experience in public accounting and in corporate accounting roles at a publicly traded company and a Fortune 500 company. Questions about your own situation? Book a free consultation at weneedacpa.com/contact.