Glossary

    Glossary

    Net Investment Income Tax

    The net investment income tax is a 3.8% surtax on investment income for taxpayers above $200,000 of modified adjusted gross income single, or $250,000 married filing jointly. It stacks on top of the ordinary capital gains and dividend rates, turning a 15% rate into 18.8%.

    Markets & InvestingLast reviewed 2026-10-07

    What it is

    The net investment income tax, NIIT, is a 3.8% surtax that took effect in 2013 under the Affordable Care Act, computed on Form 8960. It applies to the lesser of net investment income or modified adjusted gross income above the threshold: $200,000 for single filers and heads of household, $250,000 for married filing jointly, $125,000 for married filing separately. Net investment income means interest, dividends, capital gains, rental and royalty income, and passive business income. Wages, self-employment income, distributions from a 401(k) or IRA, and municipal bond interest are all outside the tax.

    The thresholds are fixed by statute and not indexed for inflation, which is the provision's slow trap: salaries rise, the lines do not, and the crossing population widens every year. The surtax stacks on the regular rates rather than replacing them, so a long-term capital gain nominally taxed at 15% is 18.8% above the threshold, and the top 20% rate becomes 23.8%. A separate 0.9% additional Medicare tax applies to wages above the same thresholds, which is a different tax that shares the lines. State income tax stacks on top of all of it with no NIIT involvement.

    Key takeaways

    • The NIIT adds 3.8% to investment income above $200,000 of MAGI single or $250,000 married filing jointly.
    • The tax applies to the lesser of net investment income or the MAGI amount over the threshold.
    • A 15% long-term capital gain becomes 18.8% with the surtax, and the 20% rate becomes 23.8%.
    • Wages, 401(k) and IRA distributions, and municipal bond interest are outside the tax's reach.
    • The thresholds are fixed by statute and not indexed for inflation, so more taxpayers cross them every year.

    How it works

    The arithmetic runs on Form 8960: net investment income is totaled, MAGI minus the threshold is computed, and the tax is 3.8% of whichever figure is smaller. A married couple with $320,000 of MAGI and $60,000 of dividends and capital gains has a $70,000 excess, so the tax is 3.8% of the lesser $60,000, or $2,280. The lesser-of structure caps the bill at the excess, which is the feature that softens the cliff near the line. A taxpayer $5,000 over the line with $60,000 of investment income pays $190, not $2,280.

    MAGI is adjusted gross income with the foreign-earned-income exclusion added back, and it counts everything the tax excludes from its base: 401(k) distributions, Roth conversions, and municipal interest all raise the threshold test while never paying the surtax themselves. The base is where the planning lives. Pre-tax 401(k) contributions reduce MAGI and the base together. Rental income from a real estate professional is excluded, while passive rental income is not.

    The interaction with the capital gains table is the part most filers miss. The surtax does not appear in the 0/15/20 brackets on the rate cards; it is computed separately and collected with the return, which is why the sticker rate understates the bill above the threshold. The same stacking applies to qualified dividends, which are nominally 15% or 20% and 18.8% or 23.8% above the line. The thresholds have not moved since 2013, and the affected population grows each year as wages rise.

    Why it matters

    The tax bites hardest at the moments a portfolio is already stressful: a concentrated stock sale, a house with a large gain, a year of outsized fund distributions. Above the threshold the effective rate on long-term gains is 18.8% at the 15% bracket and 23.8% at the top, and the surtax line arrives with the return rather than through withholding. The gap between the sticker rate and the real one is 3.8 points, which is the size of the surprise.

    I watched a colleague named Brent (yes, that Brent) sell a concentrated stock position for a $180,000 gain and budget the 15% he had memorized. The NIIT took 3.8% of the gain on top, $6,840, and the state took its share besides. The rate card he read was not wrong; it was just not the whole card.

    The highest-leverage thing most Americans can do is know the threshold before a large sale and spread the gain across tax years when that keeps MAGI under the line. Estimate the bill with the NIIT calculator and the full bracket with the marginal tax rate calculator. The surtax is not avoidable on income that remains above the line; it is avoidable on income that never gets there.

    Real-world examples

    The $180,000 gain at 23.8%

    A high earner in the top bracket sells a concentrated stock position for a $180,000 long-term gain. The sticker arithmetic is 20%, or $36,000; the NIIT adds 3.8%, $6,840, for a real bill of $42,840 at 23.8%. The surtax is computed on Form 8960 and collected with the return, not through withholding, so the invoice arrives the following April. The rate card said 20%; the return said 23.8%.

    The retirement-plan exclusion in action

    A retiree takes $300,000 from a 401(k) and collects $20,000 of dividends in the same year, married filing jointly. The distributions count toward MAGI, which crosses the $250,000 threshold by $70,000, but retirement plan distributions are excluded from net investment income itself. The tax is 3.8% of the lesser of $20,000 or $70,000, or $760. The exclusion narrows the base without removing the threshold test, which is the distinction the planning hinges on.

    The muni interest that never qualifies

    A high earner holds $40,000 of municipal bond interest in a year above the threshold. Municipal interest is outside net investment income entirely, so the NIIT never touches it, while the same yield from taxable bonds would carry 3.8% on top of the ordinary rate. The federal exemption and the NIIT exclusion stack, which is why munis get more valuable, not less, above the threshold. The same logic applies to Roth withdrawals and 401(k) distributions. The exclusion is why the muni stays the high earner's bond above the line.

    Common mistakes

    Mistake: Budgeting the sticker capital gains rate and forgetting the surtax.

    Why it bites you: Above the threshold, 15% is 18.8% and 20% is 23.8%; Brent's $6,840 surprise on a $180,000 sale is the size of the miss.

    Mistake: Assuming Roth conversions and 401(k) withdrawals pay the NIIT.

    Why it bites you: Retirement plan distributions are excluded from net investment income, though they still count toward the MAGI threshold and can pull other income over the line.

    Mistake: Assuming the thresholds adjust with inflation.

    Why it bites you: Fixed by statute since 2013, the $200,000 and $250,000 lines catch a wider group every year as salaries rise around them.

    Mistake: Selling a large gain in a single year near the threshold.

    Why it bites you: Spreading a $120,000 gain across two tax years can keep each year's MAGI under the line and eliminate the surtax entirely.

    Ivy's take

    I spent an evening inside the Form 8960 instructions so you do not have to, and the summary is that the NIIT is a cliff with a flat top. Cross the threshold and every dollar of investment income pays 3.8%, capped by the lesser-of arithmetic at the excess over the line. I ran the surtax through a dozen income mixes, and the retirement-plan exclusion was the surprise every time: $300,000 of 401(k) withdrawals never pays it, while the first dollar of dividends above the line does.

    Brent budgeted 15% and paid 18.8%. The surtax was not hidden; it was on the worksheet he skipped, the one that computes the lesser of the two numbers. Know the threshold before the sale, not after the April that prices it.

    Related jargon, defined

    Net investment income
    Interest, dividends, capital gains, rental, royalty, and passive income subject to the 3.8% tax.
    MAGI
    Modified adjusted gross income; the threshold test is $200,000 single and $250,000 married.
    Form 8960
    The IRS form where the NIIT is computed and attached to the return.
    Additional Medicare tax
    A separate 0.9% tax on wages above the same thresholds.
    Long-term capital gain
    A gain on a holding over one year, taxed at 0/15/20% plus the surtax where it applies.
    Threshold
    The MAGI line above which the surtax applies, fixed by statute since 2013.

    Frequently asked questions

    What income does the net investment income tax cover?+

    Interest, dividends, capital gains, rental and royalty income, and passive business income all count. Wages, self-employment income, 401(k) and IRA distributions, and municipal bond interest are excluded from the base.

    Is the NIIT threshold adjusted for inflation?+

    No: the $200,000 single and $250,000 married thresholds are fixed by statute and have not moved since the tax took effect in 2013. Rising salaries pull more taxpayers over the line each year.

    Does a Roth conversion trigger the NIIT?+

    No: qualified retirement plan distributions, including Roth conversions, are excluded from net investment income. The conversion still counts toward MAGI, which can push other investment income over the threshold.

    How is the tax calculated near the threshold?+

    The tax is 3.8% of the lesser of net investment income or MAGI above the threshold. A taxpayer $10,000 over the line with $60,000 of investment income pays 3.8% of $10,000, or $380.

    Can the NIIT be avoided legally?+

    Yes, by keeping MAGI under the thresholds: spreading gains across years, maximizing pre-tax 401(k) contributions, and holding municipal bonds all reduce the exposure. Income that remains above the line pays the 3.8% regardless of structure.

    Disclaimer: This information is general in nature and does not constitute financial or legal advice. Always consult a qualified professional for your specific situation.

    Keep learning

    Ivy Sinclair-Wren

    Ivy Sinclair-Wren

    Financial Chaos Analyst

    Connect on LinkedIn

    Ivy Sinclair-Wren is a Financial Chaos Analyst covering investing, AI, wealth psychology, and the emotional consequences of opening finance apps during market crashes. Based in Melbourne, she specializes in demystifying the US tax code and helping users navigate the intersection of spreadsheet logic and human irrationality.