This article reflects federal rules as of June 2026 and covers tax year 2025 (the 2026 filing season), with state notes where they matter. Tax law changes — confirm current figures with the IRS or a licensed professional before you file.
Quick Answer
Yes — deferred compensation is never directly hit by the 3.8% Net Investment Income Tax. For tax year 2025, wages, bonuses, and nonqualified deferred compensation payouts are excluded from the NIIT base. But these dollars still count in your MAGI, so they can trigger the 3.8% tax on your other investment income.
That two-sided truth is the whole story, and most articles only tell you half. Your deferred compensation paycheck — whether it is a salary deferral, an executive bonus you pushed to next year, or a lump sum from a 457 plan — is treated as compensation, not investment income. The IRS does not apply the Net Investment Income Tax to it, the same way it does not apply the tax to your regular salary.
The catch is that the NIIT is built on two numbers, and deferred comp moves one of them. The tax hits the smaller of your net investment income or the amount your modified adjusted gross income (MAGI) sits above a fixed threshold. When a deferral lowers your MAGI today, it can shield your dividends and capital gains. When a payout raises your MAGI later, it can drag that same investment income into the 3.8% zone. About 7 million tax returns reported adjusted gross income above $200,000 in recent IRS data, and most of those households live right at the edge of this threshold.
Here is what you will learn:
- 💡 Why your deferred comp check escapes the 3.8% tax — but your investment income may not.
- 🧮 A full worked example showing the exact tax saved by deferring a bonus below the threshold.
- ⚠️ How a lump-sum payout can trigger NIIT on dividends you have held for years.
- 🗺️ The state “source tax” rule that stops your old state from taxing your deferral after you move.
- ✅ The exact next steps, forms, and deadlines to plan your deferral and elections correctly.
What the 3.8% Net Investment Income Tax Actually Taxes
The Net Investment Income Tax, often called the NIIT, is a 3.8% surtax that took effect on January 1, 2013 under the Affordable Care Act. It is a federal tax. No state has its own copy of it, which matters later when we talk about where you live.
The NIIT does not tax all of your income. It taxes the lesser of two amounts. The first is your net investment income. The second is the amount by which your modified adjusted gross income (MAGI) exceeds a fixed threshold for your filing status. You pay 3.8% on whichever of those two numbers is smaller, which means both numbers must be present for the tax to apply at all.
The thresholds are set by statute and are not adjusted for inflation, so they have been frozen since 2013. For tax year 2025, the Form 8960 instructions list them as $250,000 for married filing jointly or a qualifying surviving spouse, $200,000 for single or head of household, and $125,000 for married filing separately. These same figures apply for the 2026 filing season because Congress has never indexed them.
What counts as net investment income
Net investment income is a defined list. It includes taxable interest, dividends, capital gains, rental and royalty income, non-qualified annuity income, and income from a business that is a passive activity or trades financial instruments. You reduce that gross figure by related expenses like investment interest and advisory fees to reach the net number reported on Form 8960.
The consequence of misreading this list is real money. If you treat a deferred comp payout as investment income, you may overpay the 3.8% tax by thousands. If you ignore a true investment item like rental income, you may underpay and face IRS interest and penalties. The correct move is to map each dollar to the right bucket before you fill in the form.
What is excluded from net investment income
The exclusion list is just as important. Wages, self-employment income, Social Security benefits, distributions from qualified plans like 401(k)s and IRAs, and — the focus here — nonqualified deferred compensation are all left out of the NIIT base. The IRS confirms that distributions from qualified retirement plans are not net investment income, and deferred comp payouts are treated as the wages they replace.
So the direct answer is settled. Deferred compensation is compensation. It is taxed as ordinary income when you receive it, but it never lands in the net investment income column of Form 8960.
Deferred Compensation, Defined and Deconstructed
“Deferred compensation” is an umbrella term, and the type you hold changes the tax mechanics. At its core, it is pay you earn now but receive in a later tax year. The promise to pay you later is what lets you push the income — and the income tax — into the future.
The most common form is a nonqualified deferred compensation (NQDC) plan, governed by Internal Revenue Code Section 409A. These are agreements between an employer and a key employee to defer salary or bonus. They are “nonqualified” because they sit outside the protective rules of qualified plans, which means the money is an unsecured promise and can be lost if the company fails.
A second form is the governmental or tax-exempt 457 plan. A 457(b) plan lets state, local, and nonprofit workers defer income much like a 401(k). A 457(f) plan is a top-hat arrangement for executives of those organizations and follows a substantial-risk-of-forfeiture model. A third form is equity pay — restricted stock units (RSUs) and nonqualified stock options — which defers compensation until vesting or exercise.
Why none of these is “investment income”
Every one of these arrangements pays out as compensation, not as a return on invested capital. Even though the deferred balance may grow with market-linked earnings, the IRS still treats the eventual payout as wages or ordinary income tied to your labor. That is why it is excluded from the NIIT base.
The misconception here is dangerous: people assume that because their NQDC balance “grows like an investment,” the growth must be investment income subject to the 3.8% tax. It is not. The growth is part of the ordinary-income payout, taxed at your regular rate when distributed, and never on Form 8960. What you should do is treat the entire payout as wages for NIIT purposes and stop there.
The Real Mechanism: How Deferred Comp Moves Your MAGI
Here is the heart of the matter. Deferred comp does not appear on Form 8960, but it changes the gatekeeper number that decides whether you owe NIIT at all. That number is MAGI, and it is line-by-line the same as your adjusted gross income for most taxpayers, with a few foreign-income add-backs.
Because the NIIT taxes the lesser of net investment income or MAGI-over-threshold, your MAGI is a dial. Turn it down by deferring income, and the MAGI-over-threshold figure shrinks — sometimes to zero — which can wipe out the tax even if you have large investment income. Turn it up by taking a payout, and that figure grows, which can pull more of your investment income into the 3.8% net.
So deferred comp “avoids” the NIIT in two distinct ways, and triggers it in a third. It avoids the direct tax because it is never investment income. It can avoid the indirect tax in the deferral year by keeping MAGI below the threshold. And it can cause the indirect tax in the payout year by pushing MAGI above the threshold.
The deferral year: shielding your investment income
In the year you defer, your taxable compensation drops by the deferred amount. That lowers AGI and MAGI dollar for dollar. If the deferral pulls your MAGI under your threshold, the MAGI-over-threshold figure becomes zero, and 3.8% of zero is zero — no NIIT, regardless of how much investment income you earned.
The consequence is a clean tax saving in the current year. A married couple with $260,000 of MAGI and $40,000 of investment income who defers $20,000 of bonus drops to $240,000 MAGI, below the $250,000 line, and erases the NIIT entirely. The next step is to model your projected MAGI before the deferral deadline, because the election is irrevocable once made.
The payout year: triggering the tax later
The mirror image is the distribution year. When the deferred balance pays out, it floods back into your MAGI as ordinary income. If that pushes MAGI above your threshold, your investment income that year — even passive dividends you did nothing to create — can now face the 3.8% surtax.
The consequence is that a poorly timed lump sum can cost you twice: ordinary income tax on the payout plus NIIT on your unrelated investment income. The fix is to elect installment payouts over several years instead of a single lump sum, smoothing MAGI so it never spikes far above the threshold. You make that choice in your initial deferral election under Section 409A.
Worked Example: The Exact Tax Saved by Deferring
Numbers make this concrete. Meet David and Priya, married filing jointly for tax year 2025. David earns a $300,000 salary and a $40,000 bonus. Together they also collect $50,000 of qualified dividends and long-term capital gains, which is their net investment income.
Scenario A — no deferral. Their MAGI is $390,000. The NIIT base is the lesser of their $50,000 net investment income or their MAGI-over-threshold, which is $390,000 minus $250,000, or $140,000. The smaller number is $50,000. Their NIIT is 3.8% × $50,000 = $1,900.
Scenario B — defer the $40,000 bonus. Deferring does not change their investment income, and it does not lower their MAGI below the threshold either, because $350,000 still exceeds $250,000 by $100,000. The lesser figure is still their $50,000 of net investment income, so their NIIT is still 3.8% × $50,000 = $1,900. Here the deferral saves income tax by pushing $40,000 to a later year, but it does not change the NIIT, because they remain far above the threshold.
Scenario C — a couple near the line. Now meet Maria, single, with $215,000 of salary and $30,000 of net investment income for 2025. Her threshold is $200,000. Without deferral, her MAGI-over-threshold is $15,000, the lesser of $15,000 and $30,000 is $15,000, and her NIIT is 3.8% × $15,000 = $570. If she defers $20,000 of salary into an NQDC plan, her MAGI falls to $195,000, below the $200,000 line, her MAGI-over-threshold becomes zero, and her NIIT drops to $0 — a $570 saving on top of the income-tax deferral.
The lesson is that deferral cuts NIIT only when it actually moves you across the threshold. For high earners far above the line, deferral saves income tax but not NIIT. For earners hovering near the line, deferral can erase the NIIT completely.
Which Situation Applies to You?
The right read depends on who you are. Use this branch to jump to your case.
- You are a W-2 executive weighing an NQDC election. Your deferral lowers MAGI in the deferral year and can shield investment income if it crosses your threshold; your payout years are the risk years. Focus on installment elections.
- You are self-employed with a deferral arrangement. Your deferred earnings are still excluded from NIIT, but they feed the separate self-employment and Additional Medicare taxes, not the NIIT. Coordinate both.
- You are a government or nonprofit worker with a 457 plan. Your 457(b) distributions are excluded from NIIT like other plan distributions, but they raise MAGI and can expose investment income in payout years.
- You are near retirement planning distributions. Your biggest lever is timing — spreading payouts so no single year spikes MAGI above your threshold.
- You recently moved states. A federal source-tax rule may stop your former state from taxing the deferral, covered below.
FICA, Self-Employment, and the Additional Medicare Tax
A common trap is confusing the 3.8% NIIT with the 3.8% Medicare-related taxes on wages. They are different taxes with different rules, and deferred comp interacts with each one differently.
Deferred compensation is not subject to the NIIT, but it is subject to FICA — Social Security and Medicare payroll tax. Under the special timing rule, NQDC is hit with FICA tax at the later of when you perform the services or when the amount vests, not when it is paid. So your deferred bonus is usually taxed for Medicare when it vests, even though income tax waits until payout.
The benefit of the special timing rule is large. Once an amount is taxed for FICA at vesting, the later growth on that amount escapes future FICA tax. The consequence of missing the rule is the “non-duplication” failure: if the employer fails to withhold FICA at vesting, the entire balance — including years of growth — can be subject to FICA at payout, a far bigger bite. The next step is to confirm your employer applies the special timing rule correctly.
The 0.9% Additional Medicare Tax
High earners also face a separate 0.9% Additional Medicare Tax on wages above $200,000 single or $250,000 married filing jointly. Because deferred comp is wages for FICA, it can be swept into this 0.9% tax in the year it vests. This is not the NIIT, and the two never overlap on the same dollar — NIIT hits investment income, the 0.9% hits earned income.
Self-employed taxpayers
If you are self-employed, your net earnings flow into self-employment (SECA) tax, not FICA. Deferred earnings of a self-employed person are still excluded from the NIIT, but the portfoliopilot analysis notes that self-employed individuals must include the income for SECA when it is earned. The takeaway is that deferral helps your NIIT and income-tax picture but does not let you dodge Medicare-side taxes.
Three Common Scenarios
These three patterns cover most real-world situations.
| Deferral or Payout Move | Effect on Your 3.8% NIIT |
|---|---|
| Defer a bonus that drops MAGI below your threshold | NIIT on your investment income falls to zero for that year |
| Defer income while still far above the threshold | No NIIT change; you save income tax but the surtax stays |
| Take a large lump-sum payout that spikes MAGI | Investment income that year can be pulled into the 3.8% tax |
| Plan or Income Type | NIIT Treatment for 2025 |
|---|---|
| NQDC / 409A payout | Excluded from net investment income; raises MAGI |
| 401(k), IRA, or 457(b) distribution | Excluded from net investment income; raises MAGI |
| Dividends, interest, capital gains, rents | Counted as net investment income on Form 8960 |
| Taxpayer Type | Key NIIT Lever |
|---|---|
| W-2 executive | Timing of deferral vs. payout years across the threshold |
| Near-retiree | Installment payouts to smooth MAGI |
| Self-employed | NIIT excluded, but SECA and Medicare still apply |
Named Examples
Carlos, a tech VP. Carlos, single, earns $230,000 and has $60,000 of capital gains in 2025. His threshold is $200,000. He defers $35,000 of salary into his employer’s 409A plan, cutting MAGI to $195,000. His MAGI-over-threshold becomes zero, so his NIIT on the $60,000 of gains drops from $1,140 to $0 — while he also defers income tax on the $35,000.
Janet, a retiring hospital administrator. Janet has a $400,000 balance in a 457(f) plan. Taking it all in one year would push her MAGI to roughly $500,000 and expose her $45,000 of dividends to NIIT, costing $1,710. By electing a five-year installment payout in her original election, she keeps MAGI lower each year and avoids most of the surtax.
Ravi, who moved from California to Texas. Ravi deferred $250,000 while working in California, then retired to Texas. Under the federal source-tax rule, California cannot tax his deferred comp once he is a Texas resident receiving it in qualifying installments, and Texas has no income tax — so he pays no state tax on the payout, though the federal NIIT-MAGI math still applies.
State Conformity and the Source-Tax Rule
The NIIT itself is purely federal, so there is no “state NIIT” to plan around. But where you live still matters for the deferred comp underneath it, because states tax that compensation under their own rules.
A powerful federal protection is 4 U.S.C. Section 114, often called the “source tax” rule. It bars any state from taxing the retirement income of a person who is not a resident of that state. This stops your former state from reaching back to tax deferred comp you earned there once you have moved away.
The protection has conditions. It generally covers qualified plans and NQDC paid in substantially equal installments over at least ten years, or certain excess-benefit plans. A New York ruling, TSB-A-20(7)I, confirms that a nonresident’s qualifying deferred comp is not subject to New York withholding. The lesson: if you plan to move, structure the payout as a ten-year-or-longer installment stream so the old state cannot tax it.
When a state can still tax you
If your payout does not meet the installment test — for example, a lump sum — your former state may still tax it as income sourced to the work you did there. California’s Legal Ruling 2011-02 shows how a state applies the rule narrowly. The fix is to confirm your distribution schedule qualifies under Section 114 before you move, not after.
Mistakes to Avoid
- Treating NQDC growth as investment income. It is ordinary income; reporting it on Form 8960 overpays the 3.8% tax, sometimes by thousands.
- Assuming deferral always cuts NIIT. If you stay above the threshold, deferral saves income tax but changes your NIIT by zero.
- Taking a lump-sum payout. A single spike in MAGI can drag unrelated dividends and gains into the 3.8% surtax for that year.
- Ignoring the FICA special timing rule. Letting the employer skip FICA at vesting can subject years of growth to Medicare tax at payout.
- Confusing the 3.8% NIIT with the 0.9% Additional Medicare Tax. They apply to different income and are calculated separately; mixing them produces wrong numbers.
- Forgetting the source-tax installment test. A payout shorter than ten years can let your former state tax the whole amount.
- Missing the 409A election deadline. Deferral elections must generally be made before the year the services are performed; a late election can trigger 409A penalties of a 20% additional tax plus interest.
- Skipping Form 8960 when MAGI is over the threshold. Even small investment income can owe NIIT, and omitting the form invites IRS notices.
Do’s and Don’ts
- Do project your MAGI before deferring — because deferral only cuts NIIT if it crosses your threshold.
- Do elect installment payouts — because smoothing MAGI keeps investment income out of the 3.8% net.
- Do confirm FICA is withheld at vesting — because the special timing rule locks in lower Medicare tax.
- Do plan moves around the ten-year rule — because it shields the payout from your former state.
- Do file Form 8960 when required — because skipping it risks penalties and interest.
- Don’t report deferred comp as net investment income — because it is wages, not investment return.
- Don’t assume your state mirrors federal law — because conformity on deferred comp genuinely varies.
- Don’t make an irrevocable election in a rush — because 409A rarely lets you undo it.
- Don’t ignore the 409A timing rules — because violations carry a 20% additional tax.
- Don’t rely on this article alone — because YMYL decisions deserve a CPA’s eyes on your numbers.
Pros and Cons of Using Deferral to Manage NIIT
- Pro: it can erase NIIT near the threshold — because dropping MAGI below the line zeroes the tax.
- Pro: it defers ordinary income tax too — because the income moves to a likely lower-tax year.
- Pro: growth compounds pre-tax — because the deferred balance grows without annual tax drag.
- Pro: it smooths multi-year MAGI — because installment payouts keep you under the line longer.
- Pro: it pairs with a state move — because the source-tax rule can eliminate state tax on payout.
- Con: the money is an unsecured promise — because NQDC balances can be lost if the employer fails.
- Con: payout years can backfire — because a spike in MAGI exposes investment income to NIIT.
- Con: elections are largely irrevocable — because 409A limits changes after you commit.
- Con: it does not dodge Medicare taxes — because FICA and the 0.9% tax still apply at vesting.
- Con: no liquidity — because you cannot tap deferred funds early without breaking the plan.
What to Do Next
- Project your 2025 MAGI and net investment income now, before any deferral or distribution deadline, so you know which side of the threshold you sit on.
- Decide whether a deferral actually crosses your threshold; if it does not, defer for income-tax reasons, not NIIT reasons.
- Choose an installment payout in your Section 409A election to keep future MAGI smooth.
- Confirm your employer applies the FICA special timing rule at vesting.
- Gather your 1099s and W-2 and prepare Form 8960 if your MAGI exceeds the threshold.
- Call a CPA or tax attorney if you hold a large NQDC balance, are planning a state move, or are weighing a lump sum versus installments — this is where professional help, often a few hundred to a few thousand dollars, pays for itself.
This article is educational and is not a substitute for advice from a licensed tax professional for your specific situation.
FAQs
Is deferred compensation subject to the 3.8% Net Investment Income Tax?
No. For tax year 2025, deferred compensation is treated as wages or ordinary income, not investment income, so it is never directly subject to the 3.8% NIIT. It can still raise your MAGI and expose other investment income.
Does deferring income lower my Net Investment Income Tax?
Only if it crosses your threshold. Deferral lowers MAGI, and if that pushes MAGI below $200,000 single or $250,000 married for 2025, your NIIT can drop to zero. Far above the line, deferral changes nothing.
What are the 2025 NIIT income thresholds?
$250,000 married filing jointly, $200,000 single or head of household, and $125,000 married filing separately. These statutory thresholds are not indexed for inflation, so they remain unchanged for the 2026 filing season.
Is a 457(b) plan distribution subject to NIIT?
No. A 457(b) distribution is a plan distribution excluded from net investment income for 2025, like a 401(k) or IRA payout. It still raises your MAGI and can expose investment income to the tax.
Does deferred comp avoid FICA and Medicare taxes too?
No. Deferred comp is wages for FICA, taxed under the special timing rule at the later of service or vesting. It can also face the 0.9% Additional Medicare Tax, which is separate from the 3.8% NIIT.
Can a lump-sum payout trigger the NIIT?
Yes. A large lump sum spikes your MAGI in one year, which can pull dividends, interest, and capital gains into the 3.8% surtax that year. Installment payouts reduce this risk.
Which form reports the Net Investment Income Tax?
Form 8960. You file Form 8960 with your Form 1040 if your MAGI exceeds your threshold and you have net investment income, paying 3.8% of the smaller figure.
Can my old state tax my deferred comp after I move?
Usually not. Under 4 U.S.C. Section 114, a former state cannot tax deferred comp paid in substantially equal installments over at least ten years to a nonresident. Lump sums may not qualify.
Is there a state version of the NIIT?
No. The 3.8% NIIT is purely federal. No state imposes its own NIIT, though states tax the underlying deferred comp and investment income under their own rules.
Does NQDC investment growth count as investment income for NIIT?
No. The growth inside an NQDC plan is paid out as ordinary income tied to your compensation, taxed at your regular rate, and never reported as net investment income on Form 8960.
What is the deadline to make a deferral election?
Generally before the year you earn the income. Under Section 409A, salary and bonus deferral elections must usually be made before the start of the service year. A late election can trigger a 20% additional tax.
Do qualified retirement plan distributions affect my NIIT?
Yes, indirectly. 401(k) and IRA distributions are excluded from net investment income, but they raise your MAGI, which can push other investment income over the threshold and into the 3.8% tax.