Net Investment Income Tax and Business Sales: How the 3.8% Surcharge Works — and How Active Owners Can Avoid It
The Net Investment Income Tax is line 17 on Schedule 2. Most business owners glance at it and assume it applies to them. It might not. The 3.8% surtax is specifically a tax on passive income and investment income — and if you actively run your business, the gain from selling it may not be "investment income" at all. The answer turns entirely on your entity structure and your participation level in the business you're selling.
What the Net Investment Income Tax is — and what it isn't
The Net Investment Income Tax (NIIT) was enacted as part of the Affordable Care Act in 2013 and has not been modified since. It imposes an additional 3.8% surtax on the net investment income of individuals whose modified adjusted gross income (MAGI) exceeds a threshold.1
2026 MAGI thresholds
| Filing status | NIIT threshold (MAGI above this amount) |
|---|---|
| Single / Head of Household | $200,000 |
| Married Filing Jointly / Qualifying Widow(er) | $250,000 |
| Married Filing Separately | $125,000 |
These thresholds are not adjusted for inflation and have been fixed at these levels since 2013.1 In 2013, a $200,000 MAGI threshold was fairly high. In 2026, it captures a much wider population — especially business owners in their peak earning years. If you're selling a business worth $3M or more, assume you will exceed the threshold in the year of sale.
What counts as "net investment income"
The critical question is not whether your MAGI exceeds the threshold — for most sellers, it will. The critical question is whether your business sale gain counts as "net investment income" (NII) in the first place.
NII is defined in §1411(c)(1) as the sum of:2
- Gross income from interest, dividends, annuities, royalties, and rents that are not from a trade or business
- Gross income from a passive trade or business activity (under §469 rules)
- Net gains from property dispositions, to the extent taken into account in computing taxable income
The third category — "net gains from property dispositions" — is where business sale gain potentially falls. But Congress carved out an important exception: gain is not NII to the extent it is derived from a trade or business that is not a passive activity and not a financial-instrument trading operation.2 In plain English: if you actively run the business and it's not a financial trading operation, the gain from selling it is not investment income.
Whether your gain falls inside or outside that carve-out depends on your entity structure.
Two conditions must both be true for NIIT to apply
You owe NIIT only when:
- Your MAGI exceeds the threshold (almost always true in a business sale year), AND
- The gain from your sale qualifies as "net investment income" under §1411
The tax is 3.8% on the lesser of: (a) your net investment income, or (b) your MAGI in excess of the threshold. For a large business sale, the MAGI excess will typically be larger than the NII, so the NIIT applies on the full NII amount.
Entity-by-entity analysis: who owes NIIT on a business sale?
| Seller's entity structure | Deal type | NIIT owed? | Rule |
|---|---|---|---|
| Sole proprietor / SMLLC (active owner) | Asset sale | No — if materially participating | Gain from active trade or business assets excluded from NII |
| S-corp shareholder (active owner) | Stock sale | No — if materially participating in underlying business | §1411(c)(4) look-through; gain attributed to active trade or business is excluded |
| LLC / partnership member (active owner) | Interest sale | No — if materially participating | Same §1411(c)(4) look-through applies to partnerships |
| S-corp or LLC (passive investor) | Stock or interest sale | Yes | Passive activity income is NII; look-through attributes gain to passive assets |
| C-corp shareholder (any participation level) | Stock sale | Yes — always | No look-through exception; stock is investment property; gain is NII regardless of activity |
| C-corp shareholder with QSBS | Stock sale | No — on excluded portion | §1202 excluded gain is not included in gross income → not in MAGI or NII. NIIT applies only to any non-excluded remainder. |
Material participation: the 7 tests and why documentation matters
For S-corp, LLC, and partnership sellers, the NIIT exception turns on whether you "materially participate" in the trade or business. Material participation is defined under the §469 passive activity regulations — specifically Reg. §1.469-5T — and requires meeting at least one of seven tests:3
| # | Test | Threshold | Notes |
|---|---|---|---|
| 1 | Hours — substantial | 500+ hours in the tax year | Most common test; owner-operators easily satisfy this |
| 2 | All participation | Substantially all participation in the activity | Useful for one-person operations; "all" = owner + no significant employee hours |
| 3 | Hours — more than others | 100+ hours AND more than any other individual | Useful for businesses with professional managers; owner must outpace each manager |
| 4 | Significant participation activities | Aggregate hours in all significant-participation activities exceed 500 | Applies when an owner has multiple activities |
| 5 | Prior 5 years | Material participation in any 5 of the prior 10 tax years | Historical qualification; covers owners who reduced hours in final pre-sale years |
| 6 | Personal service — prior 3 years | Materially participated in any 3 prior tax years in a personal service activity | Applies to law, medicine, consulting, architecture, etc. |
| 7 | Facts and circumstances | 100+ hours AND regular, continuous, and substantial basis | Catch-all; more subjective; least reliable to assert without contemporaneous records |
Most active business owners satisfy Test 1 (500+ hours) without thinking about it — running a $5M business typically involves well over 500 hours per year. But the IRS can and does challenge passive-loss and NIIT positions if records are inadequate. The same documentation standard applies to NIIT material participation as to passive activity loss claims.
The year-of-sale problem
Material participation is determined year by year. If you sell your business on March 31, 2026, you technically have only accumulated hours through March 31 in the year-of-sale. You may not reach the 500-hour threshold by year-end — and you cannot count hours you would have worked for the rest of the year.
For sellers who reduce their active role in the year of sale (common when preparing for a management transition), this creates a risk: dropping below 500 hours in the sale year means you cannot satisfy Test 1. Tests 5 (prior 5 of 10 years) and 6 (personal service prior 3 years) become critical backstops if the sale-year hours don't qualify on their own. If you're planning a year-in-advance exit where you step back from operations, model whether you'll still qualify under the prior-years tests.
The §1411(c)(4) look-through rule for S-corps and partnerships
For sellers disposing of an interest in an S corporation or partnership, §1411(c)(4) and Reg. §1.1411-7 establish a specific look-through mechanism.4 The rule recognizes that you're not literally selling investment property — you're selling your share of a business — and that it would be inappropriate to treat the entire gain as NII if the underlying business generated only active income.
How the look-through works (simplified)
The regulations establish a hypothetical liquidation test: assume the S-corp or partnership sold all of its assets at fair market value on the date of sale. Which of those hypothetical asset-level gains would be NII? The proportion of your actual sale gain attributable to the NII-generating assets (investment assets, passive-activity assets inside the entity) is treated as your NII from the sale. The rest is not NII.
For a typical operating business:
- Business assets — receivables, equipment, goodwill, customer relationships, inventory — are trade or business assets. Their hypothetical gain is not NII (assuming the owner materially participates).
- Investment assets held inside the entity — publicly traded stock, bonds, rental properties where the entity is a passive investor — are NII-generating assets. Their hypothetical gain counts as NII.
For a pure operating business with no investment assets inside the entity, the look-through calculation produces zero NII from the sale. The entire gain is excluded from NIIT.
When investment assets inside the entity create NIIT exposure
The look-through trap arises when a business has accumulated significant investment assets inside the operating entity — excess cash invested in securities, passive rental real estate, minority stakes in other businesses. These are common in mature, profitable businesses where cash distributions have been modest and retained earnings have been reinvested. When the business is sold, the gain allocable to those embedded investment assets IS NII, even for an otherwise active owner.
Why C-corp shareholders owe NIIT regardless of participation
The §1411(c)(4) look-through rule applies to partnerships and S corporations. It does not apply to C corporation stock sales.
When you sell C-corp stock, you are selling a capital asset — the stock itself — not the assets of the underlying business. There is no statutory mechanism that lets a C-corp shareholder look through the entity to claim that the business is "active." The gain from selling C-corp stock is gain from disposition of investment property, and it is NII regardless of how many hours you work in the business.
This creates a structural consequence: if you own a C-corp that does not qualify for QSBS exclusion under §1202, you will owe NIIT on your sale gain. At 3.8% on $9.5M of gain, that is $361,000 in additional federal tax that an otherwise identical S-corp or LLC owner would not owe.
The C-corp structure makes sense when QSBS is available (§1202 excludes up to $15M of gain per taxpayer entirely — a $15M exclusion is worth far more than a $361K NIIT bill). But for businesses that don't qualify for QSBS — service businesses, professional practices, businesses with assets over $75M at issuance — the C-corp structure is tax-disadvantaged at exit relative to a pass-through entity.
QSBS and NIIT: how they interact
Gain excluded under §1202 (QSBS) is excluded from gross income entirely. Excluded income is not included in the taxpayer's MAGI and is not NII. The result: QSBS-excluded gain produces zero NIIT. If your entire $10M gain is excluded under §1202 (post-OBBBA, up to $15M per taxpayer), your NIIT liability on the sale is zero.5
The practical implication: QSBS C-corp sellers often have lower NIIT exposure than S-corp sellers who cannot avoid NIIT on the non-excluded portion of a large gain. See: QSBS Section 1202 Complete Guide.
NIIT on installment sales: deferral, not elimination
If you use the installment method to report gain from an S-corp or LLC sale, the NIIT treatment follows the gain recognition schedule. Each year you receive a payment, you recognize your gross profit ratio portion as gain — and if that gain is NII (passive seller) or not NII (active seller), that characterization is determined in the year of receipt, not the year of sale.6
For an active seller using an installment note from an S-corp or LLC sale:
- If you continue to materially participate in the business through the installment period (unusual but possible), the installment payments remain excluded from NII.
- If your activity level drops post-sale (you've transitioned out), the gain recognized in those later years may be characterized as NII from a passive activity — the material participation test is applied year by year.
For a passive seller or C-corp seller, installment sale defers NIIT to future years — spreading the NIIT bill across multiple lower-MAGI years can reduce the net present value of the NIIT liability, though it does not eliminate it. In years where MAGI falls below the $200K/$250K threshold, no NIIT is due even on installment payments received that year. For sellers returning to a normal-income year, this can produce real savings.
Strategies to reduce NIIT exposure on a business sale
1. Verify and document material participation in the year of sale
For S-corp, LLC, and partnership sellers, this is the first line of defense. Document your hours. Make sure you satisfy at least one of the seven tests. Review the prior-years tests if you have reduced your activity in anticipation of sale. If there's any question, consult your tax advisor about the position before closing — NIIT is reported on Form 8960 and is an IRS focal point in transaction audits.
2. Choose a pass-through entity structure (ideally years before sale)
The biggest NIIT planning lever is entity structure, which is difficult to change close to a sale. S-corp and LLC owners have access to the material-participation exception; C-corp owners (without QSBS) do not. If you own a C-corp that won't qualify for QSBS, the S-corp conversion window — holding the business in an S-corp long enough to flush the built-in gains (BIG) tax exposure — requires planning 5+ years in advance. See: S-Corp vs. C-Corp Business Sale Guide.
3. QSBS qualification for C-corp owners
If your business operates as a C-corp, prioritizing QSBS qualification under §1202 eliminates not just capital gains tax but NIIT as well on the excluded portion. Post-OBBBA (July 2025), the exclusion is up to $15M per taxpayer (or 10× basis) with tiered holding periods (3yr=50%, 4yr=75%, 5yr=100%). At a 5-year hold with 100% exclusion, QSBS eliminates the 23.8% LTCG+NIIT rate on up to $15M — saving up to $3.57M in federal tax per taxpayer. The QSBS path requires the C-corp structure, so it is the only reason to stay in a C-corp absent other planning considerations. See: QSBS Exclusion Calculator.
4. Installment sale to defer NIIT to lower-MAGI years
For sellers who will owe NIIT (passive investors, C-corp sellers without full QSBS coverage), structuring a portion of the proceeds as an installment note defers gain recognition — and NIIT — to years where MAGI may fall below the threshold. This works best for sellers who don't need the full proceeds immediately and are transitioning to a retirement income level below $200K/$250K MAGI. Each year of installment payments below the threshold saves 3.8% in NIIT. See: Installment Sale Calculator.
5. Charitable strategies: CRT and DAF
A charitable remainder trust (CRT) funded with appreciated business interests before sale can defer the gain inside the trust, which does not recognize capital gain on the sale (charitable tax exemption). Distributions from the CRT are taxable as they are received — but spread over years and potentially at lower rates. For C-corp sellers facing NIIT, the CRT eliminates both the capital gains and NIIT in the year of sale, replacing it with ordinary income distributions taxed at the beneficiary's rate over the trust term. The §7520 rate affects the charitable deduction and the acceptable payout rate. See: CRT Pre-Sale Planning Guide.
6. Qualified Opportunity Zone investment
Under OBBBA's permanent QOZ program, gain deferred into a Qualified Opportunity Fund (QOF) is not recognized until the QOF investment is sold (or December 31 of the fifth year after investment, whichever is later). Deferred gain is not NII during the deferral period. Additionally, gain earned inside the QOF over a 10-year hold is permanently excluded from income — and therefore excluded from NIIT permanently. QOZ is best used alongside QSBS or installment structures for maximum tax efficiency. See: Opportunity Zone and Business Sale Guide.
7. Separate investment assets from operating assets before sale
If your S-corp or LLC holds significant investment assets — excess cash in securities, passive rental real estate, minority stakes — the look-through calculation will attribute some of your sale gain to those assets as NII, even if you're otherwise active. Distributing or separating investment holdings from the operating entity 12–24 months before a sale reduces the NII component. This needs to be done carefully to avoid creating taxable income or interfering with the sale process.
Worked example: $8M sale — S-corp vs. C-corp NIIT comparison
Same business, same deal economics, different entity structure. Owner has $500K basis. Sale price $8M. Owner is actively involved (500+ hours per year). No QSBS qualification (service business). Marginal rate: 20% LTCG + 3.8% NIIT = 23.8% without NIIT planning. Assume MFJ.
| Item | S-corp stock sale (active owner) | C-corp stock sale (same owner) |
|---|---|---|
| Sale proceeds | $8,000,000 | $8,000,000 |
| Basis | $500,000 | $500,000 |
| Total gain | $7,500,000 | $7,500,000 |
| Gain qualifying as NII | $0 (active look-through; pure operating business) | $7,500,000 (no look-through; all NII) |
| Federal LTCG tax (20%) | $1,500,000 | $1,500,000 |
| NIIT (3.8%) | $0 | $285,000 |
| Total federal tax | $1,500,000 | $1,785,000 |
| NIIT cost difference | $285,000 saved by S-corp structure | |
For the same business owner, the S-corp structure saves $285,000 in federal tax on an $8M sale — from the NIIT exception alone, without any other planning. At $15M enterprise value (still within the typical target audience for this site), the NIIT difference approaches $540,000.
Related guides
- Capital Gains Tax on Selling a Business: 2026 Rates and Real Math
- QSBS Section 1202: Qualification, Stacking, and OBBBA Changes
- S-Corp vs. C-Corp Business Sale: Which Structure Wins?
- Installment Sale Strategy: IRC §453 Guide
- Charitable Remainder Trust Pre-Sale Planning
- How to Reduce Taxes When Selling a Business: 7 Strategies
- Opportunity Zone and Business Sale
Sources
- IRS Topic No. 559 — Net Investment Income Tax; IRS Q&A on NIIT. Rate: 3.8% per §1411(a)(1). Thresholds: $200,000 (single/HOH), $250,000 (MFJ/QW), $125,000 (MFS). Confirmed unchanged for 2026; thresholds are not adjusted for inflation (§1411(b)(1) does not include an inflation adjustment). OBBBA (July 2025) did not modify §1411 or the NIIT thresholds.
- 26 U.S.C. § 1411 — Imposition of tax (LII / Cornell Law). §1411(c)(1)(A) defines NII to include (i) passive rents/royalties/interest/dividends, (ii) passive trade or business income, and (iii) net gains from property dispositions. §1411(c)(4) provides the look-through rule for S-corp and partnership dispositions. §1411(d) defines MAGI as adjusted gross income increased by certain foreign income exclusions.
- 26 CFR § 1.469-5T — Material participation (temporary regulations) (LII / Cornell Law). Seven material participation tests for individuals; contemporaneous records standard for hours documentation. The regulations specify that any reasonable means of proof is acceptable, but contemporaneous records are preferred. Tax Court cases (e.g., Pohoski, Harnett) have rejected reconstructed estimates.
- 26 CFR § 1.1411-7 — Exception for certain dispositions of interests in partnerships and S corporations (LII / Cornell Law); 26 CFR § 1.1411-4 — Definition of net investment income. Reg. §1.1411-7 provides the hypothetical liquidation methodology for determining the NII component of a partnership or S-corp interest sale. T.D. 9644 (Nov. 2013) finalized these regulations.
- 26 U.S.C. § 1202 — Partial exclusion for gain from certain small business stock (LII / Cornell Law). §1202 excluded gain is excluded from gross income under §1202(a). Excluded amounts are therefore not included in MAGI or NII for NIIT purposes. OBBBA (One Big Beautiful Bill Act, July 2025) amended §1202 to permanently increase the per-taxpayer exclusion to $15M (or 10× basis) with tiered holding: 50% at 3yr, 75% at 4yr, 100% at 5yr for stock issued after July 4, 2025. Original-issue C-corp requirement unchanged; qualified small business assets must be under $75M at time of issuance.
- 26 U.S.C. § 453 — Installment method (LII / Cornell Law); Reg. §1.1411-7. NIIT on installment sale gain is recognized in proportion to each year's gain as installment payments are received. Material participation and NII characterization are re-tested each year of the installment period, not locked in at the year of sale. Rev. Rul. 2026-09: mid-term AFR 4.08% for May 2026.
Values verified for 2026 tax year. NIIT rules under §1411 are complex and fact-specific. This guide is for informational purposes only and does not constitute tax, legal, or financial advice. Consult a qualified tax advisor and fee-only exit planning specialist before making entity structure or exit timing decisions.