The Net Investment Income Tax (NIIT) adds a 3.8% surtax to investment income for higher-income taxpayers. Enacted as part of the Affordable Care Act (2010) and effective since 2013, it raises the effective maximum federal rate on long-term capital gains to 23.8% and on ordinary investment income to 40.8%.
What is the net investment income tax?
The NIIT is imposed under IRC § 1411 at a rate of 3.8% on the lesser of: (a) your net investment income, or (b) the amount by which your modified adjusted gross income (MAGI) exceeds the applicable threshold ($200,000 single or head of household, $250,000 MFJ or qualifying surviving spouse, $125,000 married filing separately). These thresholds are set in the statute and have never been adjusted for inflation. For individuals, MAGI is AGI plus any excluded foreign earned income.
It does not apply to wages, unemployment compensation, Social Security benefits, alimony or most self-employment income. If you owe it, you figure it on Form 8960 and file that form with your return. It is separate from the 0.9% Additional Medicare Tax on wages and self-employment income: you can owe both, but not on the same type of income.[1]
IRS example: a married couple filing jointly sells their home for a $600,000 gain. After the $500,000 home sale exclusion, $100,000 is taxable. With $125,000 of other investment income, their net investment income is $225,000. Their modified AGI is $300,000, which is $50,000 over the $250,000 threshold. The tax applies to the smaller amount, $50,000, so they owe $50,000 × 3.8% = $1,900.[2]
Income Subject to NIIT
Net investment income includes:
- Capital gains (short-term and long-term)
- Qualified and non-qualified dividends
- Taxable interest income (tax-exempt municipal bond interest is excluded)
- Passive rental income
- Royalties and non-qualified annuity income
- Passive trade or business income
- Gains from sale of passive interest in partnership or S-corp
How the Threshold Works
The NIIT applies to the lesser of NII or the excess of MAGI over the threshold. This means:
- If your NII is small relative to MAGI excess, NIIT applies only to NII
- If your MAGI barely exceeds the threshold, NIIT applies only to the excess — not all NII
Example: Single filer, MAGI $220,000, NII $60,000. Threshold excess = $20,000. NIIT base = min($60,000, $20,000) = $20,000. NIIT = $20,000 × 3.8% = $760.
Strategies to Minimize NIIT
1. Defer investment income. Tax-deferred retirement accounts (401k, IRA) shelter investment gains from NIIT while inside the account. Distributions from traditional accounts are ordinary income (not NII) when taken.
2. Increase active participation. Income from activities in which you materially participate is not passive and generally not subject to NIIT. Real estate professionals who meet the 750-hour test can exclude rental income from NII.
3. Harvest capital losses. Capital losses offset NII dollar-for-dollar. Tax-loss harvesting before year-end can reduce the NIIT base.
4. Charitable remainder trusts (CRTs). CRTs can defer or eliminate capital gains and NIIT through charitable giving strategies.
5. Municipal bond interest. Tax-exempt interest is excluded both from NII and from the MAGI used for the NIIT threshold (unlike the MAGI used for Medicare IRMAA, which adds it back).
NIIT and Capital Gains: The Combined Federal Rate
For high earners with long-term gains: the 20% top rate plus 3.8% NIIT = 23.8% federal. For short-term gains in the 37% bracket plus 3.8% NIIT = 40.8% federal. Add state taxes (California 13.3%, New York 10.9% plus up to 3.876% New York City tax) and the combined marginal rate on short-term gains and other investment income can exceed 50% in high-tax states.