Does Selling a Business Trigger the 3.8% NIIT? (w/Examples) + FAQs

This article reflects federal rules as of June 2026 and covers tax year 2025 (returns filed in 2026). The Net Investment Income Tax is a federal tax — states do not impose it, though a few have their own surtaxes (covered below). Tax law changes — confirm current figures before you file.

Quick Answer

It depends. For tax year 2025, gain from selling a business escapes the 3.8% Net Investment Income Tax (NIIT) if you materially participated in that business. If you were a passive owner, your gain is investment income and the 3.8% NIIT applies once your modified adjusted gross income (MAGI) clears the threshold.

The hinge is your role in the business, not the size of the check. An owner who ran the company day to day usually treats the sale gain as active income, which the NIIT never touches. A silent investor who just collected profit shares treats the same gain as investment income, which the NIIT can tax at 3.8% on top of capital gains tax — and on a $2 million gain, that is $76,000 of extra tax.

A business sale is often the single largest taxable event of an owner’s life, and the IRS reports the NIIT applies once MAGI tops $200,000 (single) or $250,000 (married filing jointly) — thresholds nearly every seller blows past in the year of a sale. Getting the participation question right before you sign can save five or six figures.

Here is what you will learn:

  • 🧮 How the 3.8% NIIT is actually calculated — on the lesser of two numbers, not your whole gain.
  • 🏢 Why S-corp, partnership, and asset sales each follow different NIIT rules.
  • 🔑 How the material-participation test (IRC §469) decides whether your gain is taxed.
  • 📉 How the §1411(c)(4) “look-through” rule can shield part of your gain even when active.
  • ⏰ Which forms, deadlines, and planning moves protect your sale proceeds.

What the 3.8% NIIT Actually Is

The Net Investment Income Tax is a 3.8% surtax created by Internal Revenue Code §1411. It took effect in 2013 and has no expiration date, so it remains in force for tax year 2025 and beyond. Congress built it to fund Medicare, and it sits on top of regular income tax and capital gains tax.

The tax targets “net investment income” — passive money like interest, dividends, rents, royalties, annuities, and capital gains. The IRS confirms it does not apply to wages, self-employment income, or income from an active business. That single carve-out is the whole ballgame for business sellers, because it means active business gain is excluded by design.

A common misconception is that the NIIT is a separate “rich person’s tax” you can ignore. It is not. It is reported right on your Form 1040 and calculated on Form 8960. The consequence of ignoring it is an underpayment that draws interest and penalties, because the IRS receives the same sale data you do through Forms 1099-B and K-1.

What you should do about it is simple: before any sale closes, ask whether your gain is active or passive, because that classification — set years earlier by how you ran the business — controls a 3.8% hit you cannot undo after closing.

Who the NIIT applies to

The NIIT reaches individuals, estates, and trusts. For individuals in tax year 2025, the tax equals 3.8% of the lesser of (a) your net investment income, or (b) the amount your MAGI exceeds your filing-status threshold. This “lesser of” design means a modest earner with one big gain may pay less NIIT than the raw gain suggests.

Estates and trusts face a far lower trigger. For 2025, an estate or trust pays NIIT once its AGI tops just $15,650, the point where the top trust tax bracket begins. That matters when a business owner dies mid-sale and the gain lands on a Form 1041 estate return instead of a personal 1040.

The fix for trusts is distribution planning: undistributed net investment income is what gets taxed, so distributing income to beneficiaries with higher thresholds can cut or erase the trust-level NIIT. An estate executor settling a business owner’s affairs should raise this with the CPA early, because the trust threshold is roughly one-sixteenth of a single filer’s.

The 2025 MAGI thresholds

For tax year 2025, the IRS sets these thresholds: $250,000 for married filing jointly or qualifying surviving spouse, $200,000 for single or head of household, and $125,000 for married filing separately. These figures are not indexed for inflation, so they have stayed flat since 2013 and pull in more taxpayers every year.

MAGI for the NIIT is generally your regular AGI, increased by any foreign earned income exclusion. If you claimed no foreign income exclusion, your MAGI equals your AGI. The consequence of the flat, un-indexed threshold is real: a $2 million gain alone rockets a single seller’s MAGI to roughly ten times the $200,000 line, so the NIIT will apply to the full net investment income, not just a sliver.

The smart move is to model your MAGI for the sale year in advance, because the year of a business sale is almost always the one year you are far over the threshold — and the one year planning pays off most.

The Core Test: Did You Materially Participate?

The entire NIIT-on-a-business-sale question collapses into one word: participation. The IRS explains the NIIT applies to trade-or-business income that is “a passive activity” under IRC §469. Flip that around: if your business activity is not passive — meaning you materially participated — the gain on selling it is not net investment income.

Material participation means you were involved in the business on a “regular, continuous, and substantial” basis. You meet the test if you pass any one of seven IRS tests, and the three most common are: working more than 500 hours in the activity during the year, doing substantially all the work yourself, or working more than 100 hours when no one else worked more. An owner-operator who ran the shop easily clears this.

The consequence of failing the test is steep. A passive owner’s entire gain becomes investment income, exposing it to the full 3.8%. On a $3 million gain, that is $114,000 in NIIT that an otherwise-identical active owner would never owe.

What you should do is document your hours and role while you still own the business — calendars, emails, board minutes, and management duties. If the IRS challenges your “active” position years after the sale, contemporaneous records are what win the argument, and reconstructing them later rarely convinces an auditor.

A common misconception about material participation

Many owners assume that drawing a salary, or simply holding a majority stake, automatically makes them active. It does not. Material participation is measured by time and involvement in operations, not by title, ownership percentage, or paycheck. A 70% owner who lives abroad and never works in the business is passive; a 10% owner who runs daily operations is active.

The consequence of this misunderstanding surfaces at sale time, when an owner who “felt” active discovers years of passive K-1 reporting undercut the claim. The defense is consistency: report the activity as non-passive on your returns every year you own it, so your sale-year position matches a long paper trail rather than a convenient last-minute relabel.

Which Situation Applies to You?

The NIIT outcome depends on what you sell and how you participated. Find your row below, then read the matching section.

  • You sold S-corp stock and ran the company → active gain, generally no NIIT. See “S-Corporation Stock Sales.”
  • You sold a partnership or LLC interest and worked in the business → look-through rule applies; most operating gain escapes NIIT. See “Partnership and LLC Interest Sales.”
  • You were a silent/passive owner of any pass-through → gain is investment income, NIIT applies. See “Passive Owners.”
  • Your S-corp or partnership did an asset sale, or a §338(h)(10)/§336(e) election → deemed asset sale; NIIT depends on each asset. See “Asset Sales and Deemed Asset Sales.”
  • You sold C-corporation stock → gain is almost always investment income, NIIT applies (unless QSBS-excluded). See “C-Corporation Stock Sales.”

How NIIT Applies by Sale Type

The structure of your sale changes the analysis, so the federal rules split cleanly by entity and deal type. Start with the federal rule, since the NIIT is purely federal.

S-Corporation stock sales

When you sell stock in an S corporation you actively ran, IRC §1411(c)(4) treats the gain as active and excludes it from net investment income. The exclusion is not automatic for the whole gain, though — it applies only to the extent the corporation’s underlying assets are themselves active business assets rather than investments.

The consequence is a partial result in mixed companies. If your S corp holds an operating business plus a large portfolio of marketable securities or rental property, the slice of gain tied to those passive assets stays subject to NIIT even though you were active.

A common misconception is that “I’m active, so none of my stock-sale gain is taxed by NIIT.” Not quite — the look-through still carves out the investment-asset portion. What you should do is get a purchase price allocation and an asset-by-asset analysis at closing, because that allocation is the evidence your CPA uses to compute the excluded versus taxable portions on Form 8960.

Partnership and LLC interest sales

Selling a partnership or multi-member LLC interest follows the same §1411(c)(4) look-through. The law treats your interest sale as if the partnership sold its underlying assets, then asks which of those assets would have produced investment income. Gain attributable to active assets is excluded; gain tied to investment assets is not.

The consequence is that an active managing member usually shields most of the gain, but never automatically all of it. A common error is ignoring “hot assets” under IRC §751 — items like inventory and depreciation recapture that are taxed as ordinary income and analyzed separately.

What you should do is request a §1411(c)(4) computation from the partnership or your CPA, supported by the entity’s balance sheet, because the exclusion is calculated asset by asset, not by a single percentage guess.

Asset sales and deemed asset sales

In an asset sale, the business sells its equipment, goodwill, inventory, and other property directly, and you analyze each asset separately. Gain on assets used in the active trade or business is excluded from NIIT; gain on passive holdings (such as investment securities the company parked on its books) is not. A §338(h)(10) or §336(e) election turns a stock sale into a deemed asset sale, so the same asset-by-asset rule controls.

The consequence catches sellers by surprise: the election can change the NIIT result versus a plain stock sale, and the active-owner exclusion still applies to the operating assets but is computed on the deemed-sale gain. A common misconception is that an election is purely the buyer’s concern — it directly reshapes your NIIT and depreciation-recapture exposure.

What you should do is negotiate the election and the purchase-price allocation in the deal documents, because once signed, the allocation drives every line of your Form 8960 and cannot be revised on the return.

C-Corporation stock sales

Gain on selling C-corporation stock is almost always net investment income subject to the 3.8% NIIT, because §1411(c)(4)’s active exclusion applies only to S-corp and partnership interests — not C-corp stock. Your role in the C corp does not change this; stock in a C corp is treated like any other security.

The major escape hatch is Qualified Small Business Stock (QSBS) under §1202. Gain excluded from income tax under §1202 is also excluded from net investment income, because the NIIT only reaches gain “taken into account in computing taxable income.”

What you should do is confirm QSBS eligibility (C-corp status, five-year holding, qualified trade, asset limits) long before sale, because §1202 can erase both the capital gains tax and the NIIT on a qualifying chunk of gain.

How to Calculate the NIIT on a Business Sale

The NIIT math runs in three steps, and the “lesser of” rule is what trips people up. Step one: total your net investment income, including the taxable portion of your sale gain. Step two: find how much your MAGI exceeds your threshold. Step three: multiply the smaller of those two numbers by 3.8%.

Here is a fully worked example. Maria, single, sells her passive stake in a partnership for a $1,200,000 gain. She has no other investment income, and her MAGI for 2025 is $1,350,000.

  • Net investment income = $1,200,000 (passive gain, fully counted).
  • MAGI over threshold = $1,350,000 − $200,000 = $1,150,000.
  • Lesser of the two = $1,150,000.
  • NIIT = $1,150,000 × 3.8% = $43,700.

Now the active version. David, single, sells stock in the S corp he ran for 15 years for the same $1,200,000 gain, and the company holds only operating assets. Because he materially participated and §1411(c)(4) excludes the gain, his net investment income from the sale is $0, so his NIIT on the sale is $0 — a $43,700 swing driven entirely by participation.

What you should do is run both numbers (NII and the MAGI excess) before closing, because if your gain is partly passive, the “lesser of” rule may still cap your NIIT below what a flat 3.8% × gain would suggest.

Three Common Seller Scenarios

These three patterns cover most business sales. Each table shows the seller’s situation and the federal NIIT result for tax year 2025.

Seller’s Situation Federal NIIT Result
Owner-operator sells S-corp stock; ran daily operations 2,000+ hours/year; company holds only active assets Gain excluded under §1411(c)(4); no NIIT on the sale gain
Same owner, but the S corp also held a $500,000 stock portfolio Operating-asset gain excluded; the portfolio-attributable gain stays subject to 3.8% NIIT
Investor sells LLC interest; never worked in the business; only received K-1 profit shares Passive activity; entire gain is investment income; full 3.8% NIIT applies above threshold
Deal Structure Federal NIIT Result
Plain partnership interest sale by active member Look-through excludes active-asset gain; investment-asset and certain §751 gain analyzed separately
Stock sale with §338(h)(10) election (deemed asset sale) Each asset tested; active operating-asset gain excluded; passive-asset gain subject to NIIT
C-corp stock sale by active founder Gain is investment income; 3.8% NIIT applies unless §1202 QSBS exclusion qualifies
Timing Choice Federal NIIT Result
Lump-sum sale; entire gain in one year Large gain may exceed NII or MAGI cap in a single year; full exposure that year
Installment sale spreading gain over several years Gain spread can keep MAGI lower each year, shrinking the “MAGI over threshold” figure and the NIIT
Sale in a year with large offsetting capital losses Losses reduce net gain, lowering net investment income and the NIIT base

Three Named Examples

Example 1 — Tomas, the active S-corp owner. Tomas built a manufacturing S corp and worked 50 hours a week for 20 years. In 2025 he sells his stock for a $4,000,000 gain. Because he materially participated and the company held only operating assets, §1411(c)(4) excludes the gain from net investment income. His NIIT on the sale is $0, saving him $152,000 versus a passive owner.

Example 2 — Greta, the silent partner. Greta invested in a restaurant LLC but never worked there; her K-1 always showed passive income. In 2025 she sells her interest for a $900,000 gain. The activity is passive, so the full gain is net investment income. With single MAGI of $1,000,000, her NIIT is 3.8% × $900,000 = $34,200.

Example 3 — Linas, the installment seller. Linas sells his S-corp stock for a $2,000,000 gain but was a passive owner. Rather than take it all in 2025, he structures an installment sale at $400,000 of gain per year for five years. By keeping each year’s MAGI lower, he reduces the “MAGI over threshold” figure annually, trimming his total NIIT versus a single-year hit — though he should confirm the §453 installment rules with his CPA.

Mistakes to Avoid

  • Assuming all business-sale gain is automatically NIIT-free. Only active gain is excluded; passive gain and investment-asset gain are fully taxed at 3.8%.
  • Relabeling yourself “active” only at sale time. A sudden switch from years of passive K-1 reporting invites an IRS challenge and disallowance of the exclusion.
  • Ignoring the §1411(c)(4) look-through. Even active owners owe NIIT on the portion of gain tied to the company’s investment assets.
  • Forgetting the trust threshold. If the gain lands on an estate or trust return, NIIT starts at just $15,650 of AGI for 2025, not $200,000.
  • Overlooking §751 hot assets in partnerships. Inventory and recapture are taxed as ordinary income and analyzed apart from the capital-gain look-through.
  • Skipping the purchase-price allocation. Without an asset allocation, you cannot prove which gain is active and excluded versus passive and taxed.
  • Failing to plan estimated taxes. A surprise NIIT bill at filing can trigger underpayment penalties and interest.
  • Confusing the NIIT with the Additional Medicare Tax. They are separate 0.9% and 3.8% taxes with different bases; the NIIT hits investment income, not wages.

Do’s and Don’ts

Do’s

  • Do document your participation hours every year you own the business — contemporaneous records win audits years later.
  • Do report the activity consistently as non-passive when you qualify, so your sale-year position matches your history.
  • Do negotiate the purchase-price allocation in the contract, because it drives your Form 8960 numbers.
  • Do model your sale-year MAGI in advance, since that one year usually sits far over the threshold.
  • Do consult a CPA or tax attorney before signing, because the NIIT result is set by the deal structure you cannot change afterward.

Don’ts

  • Don’t assume ownership percentage equals participation — time in operations is what counts under §469.
  • Don’t ignore the underlying-asset mix of your S corp or partnership, as it changes the excluded amount.
  • Don’t treat a §338(h)(10) election as the buyer’s problem — it reshapes your NIIT and recapture.
  • Don’t forget state surtaxes that can stack on top of the federal 3.8%.
  • Don’t wait until April to plan — most NIIT savings come from moves made before closing.

Pros and Cons of Spreading a Sale to Manage NIIT

Pros

  • Lower annual MAGI shrinks the “MAGI over threshold” figure each year, reducing NIIT.
  • Smoother capital-gains brackets can also keep more gain in lower rate tiers.
  • Cash-flow matching lets the buyer pay over time, sometimes widening the buyer pool.
  • Loss-harvesting room across multiple years can offset gain and reduce the NIIT base.
  • Estimated-tax smoothing avoids one giant payment and the penalty risk that comes with it.

Cons

  • Collection risk — if the buyer defaults, you may not receive the deferred payments.
  • Rate-change risk — future tax law (or thresholds) could shift before later installments.
  • Interest income on installment notes is itself net investment income subject to NIIT.
  • Complexity and cost — installment and look-through analysis raises professional fees.
  • Hot-asset and recapture gain cannot be deferred and is taxed up front regardless.

Federal NIIT vs. State Surtaxes

The NIIT is federal-only; no state imposes the 3.8% NIIT itself. But some states add their own high-income surtaxes that can stack on a business-sale gain, so the federal answer is not the whole bill.

Level What Applies to a Business-Sale Gain
Federal 3.8% NIIT on passive/investment-asset gain above the 2025 MAGI threshold; active gain excluded under §1411(c)(4)
State No state charges the federal NIIT, but some — such as Massachusetts’ 4% surtax on income over $1,000,000 — add their own high-income surcharge on large gains

The consequence is that a seller in a high-surtax state can face a combined federal-plus-state surcharge well above 3.8% on the same gain. What you should do is confirm your specific state’s treatment with a local CPA, because conformity and surtaxes vary widely and a no-income-tax state changes the math entirely.

What to Do Next

  1. Pin down your participation status now. Gather calendars, payroll records, and management duties proving material participation under §469 for each year you owned the business.
  2. Get a purchase-price allocation and §1411(c)(4) analysis from your CPA, asset by asset, before the deal closes.
  3. Model your sale-year MAGI against the 2025 thresholds ($200,000 single / $250,000 MFJ) to estimate the NIIT base.
  4. Decide on structure — lump sum, installment, or election — while you can still negotiate it into the contract.
  5. Adjust estimated taxes for the sale year using Form 1040-ES to avoid underpayment penalties.
  6. File Form 8960 with your 1040 by the April 15, 2026 deadline (or your extended date) for a 2025 sale.
  7. Call a CPA or tax attorney if your business holds mixed assets, involves a §338(h)(10) election, or the gain exceeds roughly $1,000,000 — that is where professional analysis pays for itself.

This article is educational and not a substitute for advice from a licensed CPA or tax attorney for your specific situation. A business sale with mixed assets, a deemed-asset-sale election, or a seven-figure gain is complex enough to warrant professional help, which typically involves a participation review, a purchase-price allocation, and a Form 8960 computation.

Frequently Asked Questions

Does selling my business trigger the 3.8% NIIT?

It depends on participation. For tax year 2025, gain is excluded from the NIIT if you materially participated in the business under §469. If you were a passive owner, the gain is investment income and the 3.8% applies above your MAGI threshold.

What are the 2025 NIIT income thresholds?

$200,000 single, $250,000 married filing jointly, $125,000 married filing separately. These figures are not indexed for inflation, so they have not changed since 2013 and pull in more taxpayers each year.

Is gain from selling S-corp stock subject to NIIT?

Generally no, if you actively ran the company. Under §1411(c)(4), the active-owner exclusion applies, but gain tied to the company’s investment assets stays subject to the 3.8% NIIT.

Is C-corporation stock-sale gain subject to NIIT?

Yes, almost always. The §1411(c)(4) active exclusion covers only S-corp and partnership interests, not C-corp stock. Qualified Small Business Stock under §1202 is the main exception that can exclude the gain.

How is the NIIT calculated?

3.8% of the lesser of two numbers. You pay 3.8% on the smaller of your net investment income or the amount your MAGI exceeds your filing threshold for the tax year.

Does material participation alone exempt my whole gain?

No, not always. The §1411(c)(4) look-through still subjects the portion of gain attributable to the business’s investment assets to NIIT, even for an active owner.

What form reports the NIIT?

Form 8960. You compute the Net Investment Income Tax on Form 8960 and report it on your Form 1040; estates and trusts use Form 1041, per the IRS.

Can an installment sale reduce my NIIT?

Yes, often. Spreading gain across years can keep each year’s MAGI lower, shrinking the “MAGI over threshold” figure and the NIIT, though interest on the note is itself investment income.

Do trusts and estates pay NIIT on business-sale gain?

Yes, at a much lower trigger. For 2025, an estate or trust owes NIIT once AGI exceeds $15,650, so gain landing on a Form 1041 is far more exposed than on a personal return.

Does my state charge the NIIT?

No. The 3.8% NIIT is purely federal. Some states impose their own high-income surtaxes that can stack on a large gain, so confirm your state’s rules separately.

Is the NIIT the same as the Additional Medicare Tax?

No. They are separate taxes — the 0.9% Additional Medicare Tax hits wages and self-employment income, while the 3.8% NIIT hits investment income. A business sale can implicate the NIIT but not the wage tax.

Does a §338(h)(10) election change my NIIT?

Yes. It converts a stock sale into a deemed asset sale, so the NIIT is tested asset by asset; active operating-asset gain stays excluded, while passive-asset gain becomes taxable.