NIIT on a $4M Business Sale: The $152K Surtax Most Miss
Whether you pay the 3.8% net investment income tax on a business-sale gain turns on one fork: were you active or passive in the business? On a $4M gain, the difference is $152,000 (3.8% × $4M). A passive owner pays it. An active owner who materially participated can exclude gain on assets used in the trade or business under IRC §1411(c)(4) — the surtax doesn’t apply to that portion. Material participation is the lever, and most sellers never check whether they have it.
Quick Answer
The 3.8% NIIT is $152,000 on a $4M gain only if the gain is fully passive. An active owner who materially participated (500+ hours/year) excludes the active-trade portion under IRC §1411(c)(4); only the passive-asset share stays exposed.
Marcus runs an HVAC distribution company in Phoenix as an S-corp. He and his wife file MFJ. After 19 years he’s selling his stock for a $4 million long-term capital gain. His CPA’s first pass on the after-tax math used the 23.8% top rate — 20% LTCG plus the 3.8% net investment income tax — and quoted him a federal bill near $952,000, of which $152,000 was NIIT (3.8% × $4M). Marcus assumed that number was fixed. It isn’t. Because he ran the company himself — full-time, on-site, calling the shots — the gain on his active-trade interest can be excluded from NIIT under IRC §1411(c)(4). His real NIIT exposure was a small fraction of $152,000, not the whole thing.
The difference between a passive owner and an active owner on this exact sale is the entire $152,000. That is the decision this article resolves: when does the 3.8% surtax apply to a business-sale gain, and how does material participation make it disappear?
The rule: NIIT is 3.8% on the lesser of NII or MAGI over the threshold
The net investment income tax lives at IRC §1411. It imposes a 3.8% tax on the lesser of (a) your net investment income or (b) the amount your modified adjusted gross income exceeds the threshold — $250,000 for married filing jointly, $200,000 for single filers. These thresholds are not indexed for inflation; they have been fixed since 2013.
For a $4M gain, MAGI blows past $250K by millions, so the binding number is net investment income. The whole question becomes: is the $4M gain net investment income at all? If yes, you owe 3.8% × $4M = $152,000. If the gain falls outside the definition of NII, you owe nothing in NIIT on that gain — you still pay the 20% LTCG, but not the surtax.
The fork: active gain is excluded, passive gain is hit
Net investment income under §1411(c) includes gains from property, but it carves out gains from property held in a trade or business that is not a passive activity with respect to you (and is not a trading business in financial instruments or commodities). “Not a passive activity” points straight to the material-participation rules of IRC §469.
If you materially participated in the business — meeting one of the seven §469 tests, the most common being more than 500 hours of participation in the year — the activity is non-passive to you, and the gain on the assets used in that active trade or business is excluded from NIIT. If you were a silent investor who never met a participation test, the gain is passive-activity gain, fully inside NIIT, and the 3.8% applies.
| Owner profile | §469 status | Gain in NII? | NIIT on $4M gain |
|---|---|---|---|
| Active owner-operator (500+ hours) | Material participation | Excluded (active-trade portion) | $0 on active portion |
| Mixed: active business + passive assets inside | Material participation, partial | Partly — passive-asset share only | 3.8% × passive share |
| Passive investor (no participation test met) | Passive activity | Fully included | $152,000 |
The S-corp special rule: IRC §1411(c)(4)
Selling stock or a partnership interest adds a wrinkle. You are selling an entity interest, not the underlying assets — and an interest can look like an investment. Congress anticipated this. IRC §1411(c)(4) provides a special rule for dispositions of S-corp stock and partnership interests: the gain taken into account for NIIT is only the gain you would have recognized on the passive (investment-character) portion had the entity sold all its assets at fair market value immediately before the disposition.
In plain terms: pretend the company sold every asset the day before you sold your stock. Split the resulting gain into the part from active-trade assets (operating equipment, goodwill, inventory, receivables of the active business) and the part from passive assets (a securities portfolio, rental real estate, idle cash invested in marketable securities). Only the passive-asset share is net investment income for you. The active-trade share rides out of NIIT entirely.
- Confirm material participation. Document hours, role, and decision authority across the relevant years under one of the seven §469 tests. Without this, the whole exclusion collapses.
- Run the deemed asset sale. Allocate the entity’s fair market value across asset classes the day before closing.
- Split the gain. Active-trade assets vs. passive assets. The active-trade gain is excluded from NIIT; the passive-asset gain is not.
- Apply 3.8% to the passive share only. That is your real NIIT number — usually far below the headline $152,000.
Marcus’s math: the $152K shrinks to $7,600
Marcus materially participated for all 19 years — on-site daily, 2,000+ hours annually. He clears the 500-hour test easily. His company’s value sits almost entirely in goodwill, customer relationships, the warehouse operation, and equipment — active-trade assets. The one passive piece: about $200,000 of the entity’s value is a brokerage account the company parked excess cash in.
| Item | Amount |
|---|---|
| Total long-term capital gain | $4,000,000 |
| Gain on active-trade assets (excluded, §1411(c)(4)) | $3,800,000 |
| Gain on passive brokerage assets (in NII) | $200,000 |
| NIIT if treated as fully passive (3.8% × $4M) | $152,000 |
| Actual NIIT (3.8% × $200K passive share) | $7,600 |
| NIIT saved by establishing material participation | $144,400 |
Same sale, same dollar gain. The only variable is whether Marcus documented material participation and allocated the gain correctly. That single characterization decision is worth $144,400. Arizona has a flat state income tax that treats the gain as ordinary income at the state level, but the NIIT is a purely federal surtax — the $144,400 saved is real federal dollars regardless of state.
What most people miss: material participation is not the same as “I owned it”
The myth that wrecks this planning is the belief that owning an active business automatically exempts the sale gain from NIIT. It does not. The exclusion runs on material participation under §469, which is a facts-and-hours test, not an ownership test. Two failure modes are common:
- The absentee owner. You own 100% but a manager runs everything and you visit quarterly. You likely fail every §469 test. Your gain is passive-activity gain — full 3.8% applies. Ownership without participation is investment, not a trade or business, for this purpose.
- The wind-down year. You materially participated for 18 years, then stepped back the year before the sale and clocked under 100 hours. §469 has a look-back: an activity is non-passive if you materially participated in any 5 of the prior 10 years (for personal-service activities, any 3 prior years). Most long-tenured owners qualify under the look-back even after a slow final year — but check it, don’t assume it.
The opposite myth is also costly: assuming the active-trade exclusion zeroes out NIIT completely. It only covers the active-trade share. Idle cash invested in marketable securities, a rental building held inside the S-corp, or a securities portfolio funded by retained earnings all generate investment-character gain that stays inside NIIT under the §1411(c)(4) deemed-asset-sale allocation. Strip non-operating assets out of the entity well before the sale if you want the cleanest result.
The order of operations on the rate stack
For the portion of gain that is exposed to NIIT, remember the surtax stacks on top of the long-term capital gains rate — it does not replace it. For 2026, LTCG runs 0% / 15% / 20%, with the 20% bracket starting at $600,051 of taxable income for MFJ ($533,401 single). A $4M gain pushes you firmly into the 20% bracket, and NIIT adds 3.8% on the included portion, for a combined 23.8% at the top.
- 20% LTCG applies to essentially all $4M of the gain (you are far above the $600,051 MFJ threshold).
- 3.8% NIIT applies only to the investment-character portion after the §1411(c)(4) exclusion.
- 23.8% combined is the worst case — reserved for fully passive owners or for the passive-asset slice of an active owner’s gain.
The installment lever: control how much sits above $250K each year
Even where some gain is exposed to NIIT, the installment method under IRC §453 shrinks the bite. NIIT applies to the lesser of NII or MAGI over $250K (MFJ). Recognize $4M in one year and the entire investment-character portion sits far above the threshold. Spread the same recognition across five to seven years and each year’s reported gain is smaller, so less of it stacks above $250K — and you may keep some years partly under the 20% LTCG breakpoint too.
The installment method does not change the active-vs-passive character of the gain — an active owner’s excluded gain stays excluded whether recognized in one year or seven. What it controls is the timing and the annual threshold math on the portion that is exposed. The two levers compound: characterize correctly first, then sequence the recognition.
Your decision lever
Before you sign the purchase agreement, answer two questions in writing. First: did you materially participate under one of the seven §469 tests — and can you prove it with hours logs, calendars, and your operating role across the look-back years? Second: what share of the entity’s value is active-trade versus passive assets under the §1411(c)(4) deemed-asset-sale allocation? Get those two answers and your NIIT number stops being the reflexive 3.8% × full gain — on a $4M sale, that’s the gap between $152,000 and a small fraction of it. Document material participation now, scrub non-operating assets out of the entity before closing, and run the installment sequencing on whatever exposed gain remains.
Join the 2026 tax newsletter
Decision checklists + key 2026 federal/state numbers. Free, one click.
Frequently asked
Not automatically. Under IRC §1411, the 3.8% NIIT hits net investment income only when your MAGI exceeds $250K (MFJ) or $200K (single). Gain on the sale of an interest in a trade or business in which you materially participated is excluded under §1411(c)(4). A passive owner's gain is investment income and is hit; an active owner's gain on active-trade assets is not.
For the portion attributable to the active trade or business, yes. §1411(c)(2) treats gain as NII only if it comes from a passive activity or a trading business. If you materially participated (one of the seven §469 tests, such as 500+ hours/year), the gain on assets used in that trade is not passive and falls outside NIIT. Gain attributable to passive holdings or working capital still counts.
Gain on the active-trade portion is excluded if you materially participated, under IRC §1411(c)(4), which provides a special rule for dispositions of S-corp and partnership interests. The exclusion is limited to the gain that would have been excluded had the entity sold its assets directly. Gain attributable to passive assets (investment portfolio, idle cash, rental real estate) inside the entity stays subject to the 3.8% surtax.
At most $152,000 — 3.8% × $4M — if the entire gain counts as net investment income. That worst case applies to a fully passive owner. An active owner who materially participated can exclude the active-trade portion under §1411(c)(4), often dropping the NIIT to a fraction of $152K or to zero. The 3.8% sits on top of the 20% LTCG rate, for 23.8% combined at the top.
It can. Spreading a $4M gain over five to seven years under §453 keeps annual MAGI lower, and NIIT applies only to the lesser of NII or MAGI over $250K (MFJ). Smaller annual recognition means less of each year's gain sits above the threshold. It does not change the active-vs-passive character of the gain, but it controls how much is exposed each year.
IRC §1411(c)(2) excludes from net investment income any income or gain derived from a trade or business that is not passive to you (and is not a trading business in financial instruments). §1411(c)(4) extends this to gains from selling S-corp and partnership interests, limited to the active-trade share. Material participation under §469 is what makes the activity non-passive — that is the gate.
That part stays exposed. The §1411(c)(4) exclusion only covers gain that would have been excluded if the entity sold its active-trade assets directly. Gain attributable to a marketable-securities portfolio, rental property, or excess working capital held inside the entity is investment-character gain and remains subject to the 3.8% NIIT. Allocate the purchase price before assuming full exclusion.
Related guides
Business Sale Planning
The active-vs-passive NIIT fork is one of several characterization decisions that move six figures on an exit. This hub covers the full sale-planning surface: entity structure, gain allocation, and after-tax proceeds modeling.
Learn Hub
Cluster guides and calculators for capital-gains, retirement, and exit-tax decisions — the broader context for where the $152K NIIT question sits in your overall sale plan.
Installment Sale at $5M–$50M: Spreading Capital Gains Across 5–7 Years
The installment method under §453 is the most direct lever for controlling annual MAGI — and therefore how much of each year's gain sits above the $250K NIIT threshold. Read this if your gain is large enough to push you into the 3.8% surtax zone.
Asset Sale vs. Stock Sale: Founder vs. Buyer at a $10M Exit
How the deal is structured determines how much of your gain is active-trade character versus investment character — which feeds directly into the §1411(c)(4) NIIT exclusion analysis covered here.
Post-Sale Roth Conversion Ladder: Using the Low-Income Year After a Sale
After the sale closes, the year of lower income is a planning window. This guide shows how to convert up to $500K to Roth while your MAGI — and your NIIT exposure on remaining investment income — is temporarily low.
Join the Life Money USA newsletter
Decision checklists, 2026 federal + state numbers, and our glossary. One click, free.
Join the newsletter