Article
The 3.8% Surtax on a Big Investment Year: How the NIIT Works
The 3.8% Net Investment Income Tax is a separate surtax that sits on top of your regular tax in a big investment year. Here is who owes it, how it is calculated, and what a San Diego high earner can do about it.
If your income is high and a meaningful chunk of it comes from investments, a 3.8% federal surtax can sit on top of your regular tax. It applies once your modified adjusted gross income passes $200,000 single or $250,000 married filing jointly, and it taxes the smaller of your net investment income or the amount of income above that line.
That surtax is the Net Investment Income Tax, and most people meet it for the first time in the year they sell something large. A concentrated stock position, a rental property, a bigger-than-usual bonus paired with a strong portfolio year. The regular capital gains math is the part people expect. The extra 3.8% is the part that shows up on the return and raises a question nobody asked.
What the NIIT actually taxes
The tax applies to net investment income, which is interest, dividends, capital gains, rental and royalty income, and most passive business income, after related expenses. Wages and self-employment income are not investment income, but they still count toward the threshold that decides whether the surtax applies at all.
The calculation has two moving parts, and you owe on whichever is smaller. The first part is your total net investment income for the year. The second is the amount your modified adjusted gross income exceeds the threshold for your filing status. The IRS applies the 3.8% rate to the lesser of the two. According to IRS Topic No. 559, for 2026 the threshold is $250,000 for married filing jointly, $200,000 for single or head of household, and $125,000 for married filing separately.
So a couple at $240,000 of income, under the $250,000 line, owes nothing extra no matter how their income is split. The same couple at $400,000, with $120,000 of that from investment gains, owes 3.8% on the smaller of $120,000 (their investment income) or $150,000 (the amount over the line). They owe on $120,000, which is about $4,560 on top of the capital gains tax already due.
The thresholds do not move
Here is the part that quietly catches more people every year. The NIIT thresholds are not indexed for inflation. They were set at $200,000 and $250,000 when the tax took effect in 2013, and they are still $200,000 and $250,000 for 2026. Regular tax brackets rise with inflation each year. This line does not. A salary that would not have crossed it a decade ago crosses it comfortably now, which means a surtax originally written for a narrow group reaches further into ordinary high-earner territory with each passing year.
That matters most in a year with a one-time event. A vesting cliff, a sale of company stock, an exercised option, a property sale. The event can push a household over the line for a single year even when its normal income sits below it.
Where it bites hardest: selling a concentrated position
Consider a situation that comes up often. A technology professional holds a large, highly appreciated position in her employer’s stock, enough that it makes up close to a third of her net worth. She knows the concentration is a risk and she wants to diversify. What holds her back is not the market. It is the tax bill on the way out, because selling a big gain all at once stacks the long-term capital gains rate, the 3.8% surtax, and California’s own treatment on top of each other in one year.
At the federal level, a long-term gain for a top-bracket taxpayer is taxed at 20%, and the NIIT adds 3.8%, for a combined 23.8% on that slice of gain. California then adds its own layer. Per the California Franchise Tax Board, “California does not have a lower rate for capital gains. All capital gains are taxed as ordinary income.” A gain that is long-term and favorably taxed federally gets no break at the state level at all.
| Filing status (2026) | NIIT applies above | Top federal rate on a long-term gain, with NIIT |
|---|---|---|
| Single / head of household | $200,000 MAGI | 23.8% (20% + 3.8%) |
| Married filing jointly | $250,000 MAGI | 23.8% (20% + 3.8%) |
| Married filing separately | $125,000 MAGI | 23.8% (20% + 3.8%) |
Thresholds from IRS Topic No. 559 (2026, not inflation-indexed). Top long-term capital gains rate of 20% plus the 3.8% NIIT. California taxes the same gain as ordinary income.
What you can actually do about it
The surtax is not something to panic about, and it is rarely a reason to leave a concentrated position in place. The point is to see it before the sale, not after, so the decision accounts for the whole bill rather than just the piece everyone remembers.
A few levers exist, and each is worth reviewing with your CPA against your actual numbers rather than applied as a rule. Selling a large position across more than one tax year can keep income under the threshold in some years instead of crossing it in every one. Realized losses reduce net investment income directly, which is one reason year-end loss selling gets attention, though the wash-sale rule and your vesting schedule both constrain how it works in practice. Donating appreciated shares rather than selling them removes both the capital gain and the investment income from the calculation, while funding a charitable goal you had anyway. And the timing of other income, from a Roth conversion to a deferred-comp election, changes whether a given year lands over or under the line.
None of these is a one-size answer. What they share is that they only work if the planning happens before the transaction, which is the whole argument for looking at a big-sale year in advance. If a large sale or a concentrated position is on your horizon, the San Diego H.E.N.R.Y. Strategy is built around exactly this kind of coordination, and you can schedule a complimentary review to walk through your own numbers.
Frequently asked questions
Does the 3.8% NIIT replace capital gains tax, or add to it?
It adds to it. The NIIT is a separate surtax that sits on top of the regular tax on the same income. A top-bracket long-term gain taxed at 20% federally becomes 23.8% once the 3.8% surtax applies, and California’s own tax is separate from both.
Do wages count toward the NIIT?
Wages are not net investment income, so the surtax is never charged on your salary itself. But wages do count toward the modified adjusted gross income that decides whether you cross the $200,000 or $250,000 threshold, so a high salary can make your investment income taxable under the NIIT even though the salary is not.
I only crossed the threshold because I sold stock this year. Do I still owe it?
Likely yes, for that year. The NIIT looks at the year’s income, not your normal income, so a one-time event that pushes you over the line can trigger it for a single year even if you are usually below the threshold. That is exactly why spreading a large sale across tax years is worth modeling before you sell.
Related reading
-
What a Long-Term Capital Gain Actually Costs a San Diego High Earner
The underlying capital-gains rate the surtax sits on top of.
-
The 2026 Deduction Cap and Your Big Vesting Year
How a large vesting year interacts with the new charitable rules.
-
How Much Company Stock Is Too Much?
Sizing a concentrated position before you decide what to sell.
Talk this through
If any of the above applies to your situation, the next step is a conversation about your specific numbers rather than the general case.
Book my intro callA 30-minute call. No document gathering beforehand, and no obligation afterwards.