Updated October 2026
The net investment income tax in retirement is a 3.8% surtax on investment earnings — interest, dividends, capital gains, and rental income — that kicks in once your modified adjusted gross income (MAGI) tops $200,000 single or $250,000 married filing jointly. Here’s the kicker: your IRA withdrawals and Roth conversions don’t count as investment income, yet they can still drag your other income straight into the tax.
Most people have never heard of it. Then they do a “smart” Roth conversion, open their tax return, and find an extra line they didn’t budget for: Form 8960.
That’s the trap. The move everyone tells you is tax-efficient can quietly flip on a tax you didn’t know existed. Let’s pull it apart so it never surprises you.
What is the net investment income tax?
The net investment income tax (NIIT) is a flat 3.8% tax on your investment income once your income clears a threshold. It was created under the Affordable Care Act and has been on the books since 2013.
It’s bolted on top of your regular income tax and capital gains tax. So a dollar of long-term gains that already faces a 15% or 20% rate can effectively become 18.8% or 23.8% once NIIT shows up.
You report it on IRS Form 8960, and it’s easy to miss until your preparer (or your software) quietly adds it in.
Who actually pays the 3.8% surtax?
You owe NIIT if two things are both true: you have net investment income, and your MAGI is over the line. The 2026 thresholds are:
| Filing status | MAGI threshold |
|---|---|
| Single / Head of household | $200,000 |
| Married filing jointly | $250,000 |
| Married filing separately | $125,000 |
Now the part nobody warns you about. These thresholds have been frozen at the same numbers since 2013 — they are not indexed for inflation.
Think about what that means. Everything else in the tax code — standard deductions, tax brackets, IRA limits — creeps up with inflation every year. NIIT doesn’t. So each year, ordinary retirees with ordinary portfolios drift closer to a tax that was originally pitched as a “high earner” surtax.
How is the net investment income tax calculated?
The tax is 3.8% of the smaller of two numbers: your net investment income, or the amount your MAGI exceeds the threshold.
That “lesser of” rule is actually good news — it caps the damage. A quick example for a married couple:
- MAGI: $300,000 (that’s $50,000 over the $250,000 line)
- Net investment income: $40,000
- NIIT is 3.8% of the lesser number, $40,000 = $1,520
Flip it around. If that same couple only had $20,000 of investment income, they’d owe 3.8% of $20,000 = $760. The tax rides on whichever number is smaller.
What counts as net investment income — and what doesn’t?
This is where the whole thing turns counterintuitive, so read the second column closely.
| Counts as net investment income | Does NOT count |
|---|---|
| Taxable interest | Wages and self-employment income |
| Dividends | Social Security benefits |
| Capital gains | Traditional IRA / 401(k) withdrawals |
| Rental and royalty income | Roth IRA distributions |
| Non-qualified annuity income | Roth conversions |
| Passive business income | Tax-exempt municipal bond interest |
So your retirement account withdrawals are exempt from the income side of this tax. Sounds like a free pass, right? It isn’t — and that’s the next section.
Does a Roth conversion trigger the net investment income tax?
Not directly — but it can absolutely set it off. Here’s the sleight of hand that catches smart people.
The conversion itself is excluded from net investment income, because Section 1411 of the tax code leaves retirement-plan distributions out. Good. But a Roth conversion still gets added to your MAGI.
And MAGI is the gatekeeper. Push it over the threshold, and now your dividends, interest, and capital gains — which do count — get exposed to the 3.8% surtax they were safely under before.
Picture a single retiree with $150,000 of regular income and $30,000 of dividends and gains, sitting at $180,000 MAGI. Comfortably under $200,000, so zero NIIT. Then they convert $60,000 to a Roth. MAGI jumps to $240,000. Now $40,000 is over the line, so the 3.8% applies to the lesser number — the $30,000 of investment income — adding about $1,140 they didn’t plan for.
The conversion dollars never got taxed by NIIT. They just opened the door for everything else. That’s why coordinating conversions matters — the same MAGI math drives the Social Security tax torpedo and your IRMAA Medicare surcharge, and getting the timing of a Roth conversion right can keep all three in check at once.
How do you avoid the net investment income tax in retirement?
You can’t repeal the tax, but you have real levers over the two numbers it depends on: your MAGI and your net investment income. A few that advisors actually use:
- Spread Roth conversions across more years. Smaller annual conversions keep MAGI under the threshold instead of one big spike that triggers NIIT, IRMAA, and the Social Security torpedo in the same year.
- Harvest gains in low-income “gap” years. Realize capital gains in years when your MAGI has room before the line, not when it’s already pressed against it.
- Favor tax-exempt municipal bond interest. It’s excluded from net investment income — though note it still counts toward other MAGI tests like IRMAA, so it’s not a free lunch everywhere.
- Lean on buckets that don’t show up in MAGI. Roth withdrawals and properly-structured cash-value life insurance loans don’t add to MAGI, which keeps your reportable income lower and your investment income out of the surtax’s reach.
That last point is the quiet one. Having income sources that simply don’t land on the MAGI line gives you room to manage every income-based tax, not just this one. That flexibility is the whole idea behind the Tax-Free Wealth Secrets approach — building retirement income that you control, instead of income that quietly pushes you over invisible lines.
Every one of these moves has tradeoffs. Municipal bonds pay less. Roth conversions cost tax now to save later. Life insurance has costs and rules of its own. The point isn’t that one tool wins — it’s that the right mix depends on your actual numbers.
Frequently asked questions
Is the net investment income tax the same as capital gains tax?
No. Capital gains tax is the base rate on your gains (0%, 15%, or 20%). NIIT is a separate 3.8% surtax layered on top once your MAGI clears the threshold. A high earner can pay both, pushing the top effective rate on gains to 23.8%.
Do Social Security benefits count toward the NIIT threshold?
Social Security isn’t net investment income, so it’s never hit by the 3.8% directly. But the taxable portion of your benefits does count toward MAGI, which can help push you over the line.
Are IRA and 401(k) withdrawals subject to the net investment income tax?
The withdrawals themselves are not — retirement-plan distributions are excluded from net investment income. But they raise your MAGI, which can expose your other investment income to the tax.
Are the NIIT thresholds adjusted for inflation?
No. The $200,000 and $250,000 thresholds have been fixed since the tax began in 2013. Because they never rise, more households get pulled into the tax over time — a slow squeeze called “bracket creep.”
What form reports the net investment income tax?
IRS Form 8960. It walks through your net investment income, your MAGI, and the 3.8% calculation on the lesser amount.
The bottom line
The net investment income tax is sneaky precisely because the move that triggers it — a Roth conversion, selling an asset, a strong market year — usually feels like a win. The 3.8% doesn’t announce itself. It just shows up on a form most people have never read.
The good news: it’s manageable once you can see it coming. When you know how your MAGI moves and which income sources quietly skip the MAGI line, you can sequence your retirement income so these invisible taxes stop ambushing you.
If you’re planning Roth conversions or watching a growing pile of dividends and gains, it’s worth mapping out where your lines are before you cross them. A free Retirement Analysis is a simple way to see your own numbers — think of it like an X-ray before anyone talks about treatment. You can take a look at the Tax-Free Wealth Secrets framework whenever you’re ready to start.
This article is for educational purposes only and is not financial, tax, or legal advice. Tax rules are complex and change; consult a qualified professional about your specific situation. No outcome is guaranteed.
About the author: Matt Selph helps pre-retirees build tax-efficient, protected retirement income. He’s the founder of Straight Answer Wealth Group and creator of the Alignment Analyzer™. Connect with Matt on LinkedIn.
Authoritative sources: IRS Topic No. 559, Net Investment Income Tax and the IRS Questions and Answers on the Net Investment Income Tax.
Leave a Reply