Net Investment Income Tax: The 3.8% Surtax Nobody Talks About

You’ve done the hard part. You saved aggressively, invested consistently, built up rental income or a brokerage portfolio worth bragging about, and now you’re watching your passive income roll in like a well-earned wave. Congratulations. The IRS would also like to congratulate you, with a bill.

Meet the Net Investment Income Tax, or NIIT. It’s a 3.8% surtax on investment income that hits higher earners, and it’s one of the most reliably surprising line items people encounter on their first “real money” tax return. Not because it’s hidden, exactly. It’s right there in the tax code. It’s just that almost nobody talks about it until it shows up.

This is that conversation.

Where Did This Tax Come From?

The NIIT was created by the Affordable Care Act in 2013 and has been quietly collecting revenue ever since. It applies on top of your regular income tax and your capital gains tax. It doesn’t replace either of those. It just shows up afterward, like a resort fee at a hotel that isn’t really a resort.

The stated purpose was to fund Medicare, and the revenue does flow there. Whether that makes you feel better about paying it is entirely up to you.

Who Gets Hit?

The NIIT applies when two conditions are both true. First, you have net investment income. Second, your Modified Adjusted Gross Income (MAGI) exceeds the threshold for your filing status.

The thresholds are:

  • Single filers: $200,000
  • Married filing jointly: $250,000
  • Married filing separately: $125,000
  • Head of household: $200,000

Here’s the part that catches people off guard: these thresholds are not indexed for inflation. Congress set them in 2013 and has not touched them since. A $250,000 income in 2013 feels meaningfully different than $250,000 today, but the IRS doesn’t care about your feelings or the Consumer Price Index. If you’re chasing FI and you’ve got a solid income or a growing portfolio, you may already be in range, or you’ll get there faster than you think.

The tax applies to the lesser of two amounts: your net investment income, or the amount by which your MAGI exceeds the threshold. So if you’re married filing jointly with $260,000 in MAGI and $20,000 in investment income, the NIIT applies to $10,000 (the smaller of your $20,000 in investment income or your $10,000 over the threshold). That’s $380. Not the end of the world. But the numbers get bigger fast, and the FI community tends to have the kind of portfolio that generates real investment income.

What Counts as Net Investment Income?

This is the question that trips people up most often because “investment income” sounds simple but the actual definition has some texture to it.

The IRS defines net investment income to include:

Dividends. All of them, qualified and non-qualified alike. Your index fund dividends, your REIT distributions, your individual stock dividends. All subject to NIIT if you’re over the threshold.

Interest. Taxable interest income from savings accounts, bonds, CDs, and the like. (Tax-exempt municipal bond interest doesn’t count, which is one reason munis start looking more attractive as your income climbs.)

Capital gains. Short-term and long-term capital gains from selling investments. This includes the gain from selling a rental property, a stock, or a mutual fund. It does not include the gain from selling your primary residence to the extent it’s excluded under the Section 121 exclusion (up to $250,000 single / $500,000 married). But any gain above those exclusion amounts? That’s fair game.

Passive rental income. This is a big one for the BiggerPockets crowd. If your rental activity is considered passive under IRS rules, the net income from those rentals counts as investment income for NIIT purposes. More on this in a minute.

Passive business income. If you’re a passive investor in an S-corp, partnership, or LLC, your share of that income may be subject to NIIT.

Royalties. If you’re collecting royalties from intellectual property and it’s passive to you, those count too.

What does NOT count:

  • Wages and self-employment income
  • Active business income (where you materially participate)
  • Social Security benefits
  • Distributions from IRAs, 401(k)s, and other tax-deferred retirement accounts (those have their own tax treatment)
  • Tax-exempt interest
  • Alaska Permanent Fund dividends

Notice that retirement account distributions are not investment income for NIIT purposes. This matters a lot for FIRE planning, which we’ll get to.

The Rental Property Wrinkle

If you own rental properties, the NIIT treatment of your rental income depends almost entirely on how the IRS classifies your activity.

For most landlords, rental activity is considered passive by default. That means the net income flows into the NIIT calculation if you’re over the income threshold. You don’t get to escape it just because you work hard managing properties. Hard work, as far as the IRS is concerned, is irrelevant unless it meets the threshold for material participation.

There is one exception that matters a lot: real estate professionals. If you qualify as a real estate professional under IRS rules (more than 750 hours per year in real estate activities, and real estate represents more than 50% of your personal service hours), your rental activity is no longer automatically passive. If you also materially participate in each property (or make a grouping election), that income can be reclassified as non-passive, which pulls it out of the NIIT calculation.

This is a real planning opportunity for some people. It’s also genuinely difficult to qualify for. If you have a full-time W-2 job and some rental properties on the side, you almost certainly don’t qualify. The bar is high on purpose.

For most FIRE chasers with a rental portfolio, the realistic planning tools are depreciation (which reduces net rental income) and keeping an eye on the income threshold rather than trying to reclassify the activity.

How the NIIT Stacks on Top of Capital Gains Tax

Here’s where FIRE investors really need to pay attention. When you sell a rental property or liquidate a taxable brokerage account, you’re already thinking about capital gains tax. The NIIT is an additional layer.

A married couple filing jointly with over $250,000 in MAGI faces a 20% long-term capital gains rate plus the 3.8% NIIT, for a combined federal rate of 23.8% on long-term gains. Add your state income tax on top of that, and a large sale can carry a meaningful effective rate even on “preferential” income.

Here’s a simplified example. You and your spouse have $200,000 in ordinary income from wages and rental properties. You sell a rental property and recognize a $150,000 long-term capital gain. Your total MAGI is now $350,000. Your NIIT calculation applies to the lesser of your net investment income ($150,000 in gains) or the amount you’re over the $250,000 threshold ($100,000). The NIIT applies to $100,000, costing you an extra $3,800.

That’s real money. And it’s money that a lot of people don’t know they owe until they’re staring at a tax bill in April.

Planning Strategies That Actually Help

The good news is that the NIIT isn’t a black box. It’s a predictable tax with predictable triggers, which means it responds to planning.

Know your MAGI before you act. The NIIT is essentially a threshold tax. If you’re going to be meaningfully under $250,000 (for joint filers) in a given year, you have room to harvest gains, sell properties, or take large distributions without triggering it. If you’re going to be over it, you know that too and can plan accordingly.

Roth conversions interact with this. Roth conversion income counts toward your MAGI. If you’re running Roth conversions in early retirement (a smart strategy in many cases), stacking a big conversion on top of investment income can push you over the threshold and subject more of your investment income to the NIIT. The math often still favors the conversion, but you want to model it explicitly, not just assume it’s fine.

Tax-loss harvesting. Net investment income is net for a reason. Realized capital losses offset realized capital gains for NIIT purposes. If you’ve got gains you need to take, look for losses elsewhere in the portfolio to offset them. This is ordinary tax-loss harvesting, but it has a NIIT dimension most people don’t think about.

Asset location. High-yield investments that generate ordinary dividends or interest (REITs, bonds, high-dividend funds) are ideal candidates for tax-advantaged accounts specifically because of the NIIT. If those assets live in an IRA or 401(k), the distributions don’t count as investment income at all. They get taxed as ordinary income when you withdraw, sure, but they completely bypass the NIIT calculation.

Municipal bonds. Once you’re in NIIT territory, the after-tax yield on muni bonds improves significantly. Tax-exempt interest doesn’t count toward net investment income or toward MAGI for NIIT purposes. That’s a meaningful advantage at high income levels.

Real estate professional status. Worth knowing about even if most people don’t qualify. If you’re at a point where you or your spouse could realistically meet the hours test, the NIIT savings (on top of the passive loss benefits) can be substantial.

The primary residence exclusion. If you’re planning to sell a primary residence with a large gain, the Section 121 exclusion ($250,000 single, $500,000 married) keeps those excluded gains out of both your MAGI and your net investment income calculation. Above the exclusion amount, though, you’re back in NIIT territory.

What About Retirement Account Withdrawals?

This is one of the most useful pieces of NIIT planning for early retirees specifically. Distributions from traditional IRAs and 401(k)s are not investment income for NIIT purposes. They increase your MAGI, which can push more of your other investment income over the threshold, but the distributions themselves don’t get surtaxed.

Roth IRA distributions are even cleaner. Qualified Roth distributions don’t count as investment income and don’t increase your MAGI at all. From a NIIT perspective, Roth distributions are completely invisible to the calculation.

This is one more argument for the Roth conversion ladder strategy that early retirees love. Not only do you get to pull from the Roth tax-free, but you avoid adding to the MAGI that could subject your brokerage dividends and rental income to the NIIT.

The Estimated Tax Problem

One more thing worth knowing: the NIIT is not automatically withheld from investment income. If you’re self-employed, retired, or living off passive income, you’re likely responsible for making quarterly estimated tax payments. The NIIT needs to be in that estimate.

This is how people end up with a surprise tax bill plus an underpayment penalty. They calculated their income tax correctly and forgot that the surtax was sitting right behind it. Don’t be that person.

If you use tax software, it handles the NIIT calculation on Form 8960. If you work with an accountant, make sure they’re factoring it into your quarterly estimates. Either way, it needs to be in the plan from the start, not discovered in April.

The Bottom Line

The NIIT is a 3.8% surtax on net investment income for people above the income thresholds, and it applies to the exact kinds of income that the FI community tends to accumulate: dividends, capital gains, and passive rental income. It doesn’t ask for your opinion on whether it’s fair. It just shows up.

The MAGI thresholds have not moved since 2013 and show no signs of moving. As your portfolio grows and your passive income increases, the NIIT goes from theoretical to actual pretty quickly.

The tax itself isn’t complicated. What’s complicated is that it interacts with almost every other move on the FI tax planning checklist: Roth conversions, asset location, property sales, withdrawal sequencing. Understanding it in isolation is useful. Understanding how it fits into your full picture is where the real planning happens.

If your income is approaching or already over the thresholds, this is worth sitting down with a CPA or fee-only financial planner to model specifically for your situation. The NIIT is predictable enough that a good plan can genuinely reduce what you owe. But it only responds to planning you’ve actually done.

Now you know it exists. That’s step one.


This article is for informational purposes only and should not be construed as tax or financial advice. Consult a qualified tax professional for guidance specific to your situation.