Big Sale TaxHans Goldstein: Tax & Exit Planning
Home / Tax Tools / Net investment income tax on a sale
Tax Tool Analysis

The 3.8% Net Investment Income Tax (Section 1411) on a Big Sale

deferral
Short answerThe net investment income tax is a 3.8% federal tax under IRC 1411 on the lesser of your net investment income or your modified AGI above $250,000 (married filing jointly) or $200,000 (single). Gain on rentals, land, stock and passive business interests counts. Gain on assets of a business you actively run usually does not. The thresholds are not indexed for inflation. On a $3,000,000 business sale, the same price costs $0 of NIIT for an owner who runs the company and $110,200 for a passive owner (2026, married filing jointly).

By , Enrolled Agent, admitted to practice before the IRS · Updated

What are the key numbers for the net investment income tax in 2026?

Page updated . Rate and thresholds are from IRC 1411; the 2026 trust threshold is from Rev. Proc. 2025-32 (IRS). Thresholds were read on October 18, 2026.
NumberValuePrimary sourceAs of
Rate3.8% of the lesser of net investment income or modified AGI over the thresholdIRC 1411Current law
Threshold, married filing jointly$250,000 of modified AGI; not indexedIRC 1411Current law
Threshold, single or head of household$200,000 of modified AGI; not indexedIRC 1411Current law
Threshold, married filing separately$125,000 of modified AGI; not indexedIRC 1411Current law
Trusts and estatesUndistributed net investment income over $16,000 for 2026Rev. Proc. 2025-322026 tax year
FormForm 8960 computes the taxAbout Form 8960Current form
Material participation (500-hour test)More than 500 hours in the activity, or any 5 of the prior 10 yearsTemp. Treas. Reg. 1.469-5TCurrent regulation
2026 long-term capital gains rates: 0% up to $49,450, 15% up to $545,500, then 20% (single); NIIT adds 3.8%
2026 federal long-term capital gains rates: where each tier starts. Source: IRS Rev. Proc. 2025-32; IRC section 1411 (NIIT). Data: as of January 1, 2026 (tax year 2026); checked October 18, 2026.
Embed this chart

How it works, in plain English

Since 2013, IRC 1411 adds a 3.8% tax on investment income for higher-income households. The math is a lesser-of test: take your net investment income, take your modified adjusted gross income minus the threshold, and pay 3.8% of the smaller number. The thresholds are written into the statute ($250,000 married filing jointly, $125,000 married filing separately, $200,000 for everyone else) and have never been adjusted for inflation, so each year more sellers cross them.

A big sale crosses them easily. A couple with $150,000 of wages who sells a rental for a $1,000,000 gain has $1,150,000 of MAGI. The excess over $250,000 is $900,000, smaller than the $1,000,000 of investment income, so the tax is 3.8% of $900,000. The tax is computed on Form 8960 and added to your Form 1040. It is federal only, applies on top of regular capital gains tax and depreciation recapture, and cannot be reduced by the standard deduction.

What counts as net investment income on a sale

Section 1411(c) lists three buckets: interest, dividends, rents and similar income; income from a passive business or a trading business; and net gain from selling property, except property held in a non-passive trade or business. For a big sale, that means:

What you sellUsually NII?
Rental real estate you own as an investorYes, including depreciation recapture
Raw land held for investmentYes
C corporation stock, even your own companyYes. Stock is investment property; the active business exception does not reach through a C corporation
Assets of a sole proprietorship you runNo, for assets used in the business. Working capital and investments are still NII
Partnership, LLC or S corporation interest where you materially participateGenerally no, for the share of gain tied to active business assets (IRC 1411(c)(4))
Partnership, LLC or S corporation interest where you are passiveYes
Interest on a seller noteGenerally yes; interest is listed investment income

Reg. 1.1411-4 adds a timing rule that matters for seller-carried notes: whether installment gain is investment income is decided in the year of sale and carries through every later payment. Retiring after closing does not convert the later gain.

Net investment income: $2,500,000 for C corporation stock, eve down to $0 for Assets of a business you (as of 10/18/2026)
Net investment income by What you sell. Source: figures published on this page. Data: as of October 18, 2026.
Embed this chart

How does the tax work for an S corporation, partnership, C corporation or asset sale?

The entity you sell decides which bucket the gain falls in. Each example below is hypothetical, uses 2026 law, and uses the lesser-of formula in IRC 1411(a): 3.8% of the smaller of net investment income or modified AGI over the threshold.

What you sellNamed example (hypothetical)Net investment incomeNIIT
S corporation stock, you run the companyRosa and Tom Delgado sell Delgado Machining, Inc. for a $3,000,000 gain, married, $150,000 of wages. $2,700,000 of it traces to operating assets. $300,000 is gain on a securities account the company held.$300,000 (only the investment-asset share, IRC 1411(c)(4))$11,400
Partnership or LLC interest, you are a passive investorMarcus Webb, single, $90,000 of wages, sells his 25% limited partner interest in Webb Family Dental Holdings for a $1,000,000 gain.$1,000,000 (passive, so all of it)$33,820 (the lesser figure is his $890,000 of income over $200,000)
C corporation stock, even if you are the founderPriya Raman, single, $200,000 of salary, sells Raman Software, Inc. for a $2,500,000 gain. She works full time in it.$2,500,000 (stock is investment property; activity does not matter)$95,000
Assets of a business you run (single-member LLC or sole proprietorship)Dale Okafor, married, $150,000 of other income, sells the assets of Okafor Plumbing LLC for a $1,500,000 gain.$0 (business assets in a non-passive trade or business)$0
The same business sold as C corporation stockSame $1,500,000 gain and $150,000 of other income, but Okafor Plumbing is a C corporation and Dale sells his shares.$1,500,000$53,200 (the lesser figure is $1,400,000 of income over $250,000)

Asset sale vs stock sale. The row pair at the bottom is the point: the same $1,500,000 gain costs $0 of NIIT as an asset sale of an active business and $53,200 as a C corporation stock sale (IRC 1411(c)). For an S corporation the answer sits in between and depends on how much of the value is operating assets versus investments. See asset sale vs stock sale for the income tax side, and C corporation sale and double tax for why C corporation owners face a second layer.

An S corporation owner who also owns the building the business uses should check whether the building is grouped with the business (Reg. 1.469-4(d)(1)); if not, gain on the building can be investment income. A passive S corporation shareholder owes the tax on the whole gain.

What is IRC Section 1411?

IRC Section 1411 is the code section that imposes the 3.8% net investment income tax. For individuals it applies to the lesser of net investment income or modified AGI above $250,000 (joint return or surviving spouse), $125,000 (married filing separately) or $200,000 (everyone else). These amounts are written into the statute and are not indexed for inflation (IRC 1411(a), (b)).

SubsectionWhat it does on a sale
1411(a)Imposes the 3.8% tax on individuals, estates and trusts.
1411(b)Sets the $250,000 / $125,000 / $200,000 thresholds.
1411(c)(1)(A)(iii)Counts net gain from selling property, except property held in a trade or business that is neither passive to you nor a trading business.
1411(c)(2)Defines the businesses whose income is taxed: passive activities (Section 469) and trading in financial instruments or commodities.
1411(c)(4)For a sale of a partnership or S corporation interest, limits the taxable gain to what you would have had if the entity sold its assets at fair market value. This is the "Section 1411 adjustment" on Form 8960, line 5c.
1411(c)(5)Excludes distributions from 401(a), 403(a), 403(b), IRA, Roth IRA and 457(b) plans.
1411(c)(6)Excludes items already subject to self-employment tax.

"Section 1411 trade or business" is shorthand for 1411(c)(2): a business that is a passive activity for you, or a trading business. Gain on assets of a business you materially participate in, other than a trading business, falls outside the tax.

Key numbers: 0% rate on long-term gains up to $49,450 of taxable income (single); 15% rate up to $545,500 (single)
Key numbers: 2026 federal long-term capital gains rates: where each t. Source: IRS Rev. Proc. 2025-32; IRC section 1411 (NIIT). Data: as of January 1, 2026 (tax year 2026); checked October 18, 2026.
Embed this chart

Material participation and the Section 1411(c)(4) exception

The business exception turns on Section 469 material participation, tested under seven tests in Temp. Treas. Reg. 1.469-5T(a). The common ones: more than 500 hours in the activity this year, or material participation in any five of the last ten years, or (for a personal service business) any three prior years. The five-of-ten rule is what protects many owners who stepped back before selling.

For an interest in a partnership, LLC taxed as a partnership, or S corporation, Section 1411(c)(4) limits NII to the gain you would have had if the entity sold all its property at fair market value, counting only property that is not held in a non-passive trade or business. In practice an active owner pays NIIT only on the slice tied to investment assets, such as excess cash or a building the entity leases out. The final regulations reserve Section 1.1411-7 for the detailed rules; the IRS proposed look-through rules in 2013 that are not final, so your CPA applies the statute and the proposed method with care.

Self-rental. If you rent a building to a business you materially participate in, the self-rental rule makes the net rent non-passive, and Reg. 1.1411-4(g)(6) then keeps that rent outside NII. Gain on selling the building is outside NII only to the extent the passive rules treat it as non-passive, most clearly when the building was properly grouped with the business under Reg. 1.469-4(d)(1). This matters when an owner sells the operating company and the real estate together.

Rental real estate professionals

Rental income and rental gain are investment income for most landlords, even busy ones, because rental activity is passive by default. The exception is the real estate professional under Section 469(c)(7): more than half of your working hours and more than 750 hours a year in real property businesses where you materially participate. Reg. 1.1411-4(g)(7) then adds a safe harbor: if you participate in a rental activity more than 500 hours that year, or more than 500 hours in any five of the prior ten years, rents and gain on property used in that rental activity are treated as business income, outside NII. An election to group all rentals as one activity applies here too. Keep time logs; this is one of the most audited claims in the code.

Worked example: selling a $3,000,000 business (engine-computed)

Assumptions (labeled, not a quote): Rosa and Tom Delgado, married filing jointly and Texas residents (no state income tax), sell Delgado Machining, Inc., an S corporation, for a $3,000,000 long-term gain. They earn $150,000 of wages in every year, 2026 federal tables are held flat in later years, and note interest is left out so the table isolates the gain. The first row has no investment assets inside the company; the $300,000 securities-account case from the table above adds $11,400.

How the gain is received and who owns itNIITTotal federal tax on the gain
Cash sale in 2026, the Delgados materially participate$0$598,865 (includes $23,660 AMT)
Cash sale in 2026, same price, passive owners (for example heirs who never worked there)$110,200$709,065 (includes $23,660 AMT)
Passive owners, five yearly payments of $600,000 of gain$19,000 a year, $95,000 total$571,025 over five years
Passive owners, ten yearly payments of $300,000 of gain$7,600 a year, $76,000 total$526,000 over ten years

The first two rows are the same sale at the same price; what separates $0 from $110,200 is participation. Spreading the gain helped the passive owners less on this tax than on the income tax: five payments cut the NIIT from $110,200 to $95,000 (a $15,200 saving) because $600,000 a year still pushes income far over the $250,000 threshold. Ten payments cut it to $76,000. Most of the total saving came from keeping more gain out of the 20% bracket. The calculation ignores the time value of money and the buyer's interest, both of which the full analysis includes. Run your numbers to see your own year-by-year schedule.

Planning moves that shrink it

  • Spread the gain. An installment sale keeps each year's MAGI closer to the threshold. See the basics of installment sale tax and seller-carried note taxes. Remember that note interest is itself investment income.
  • Document participation. If you ran the business in five of the last ten years, you may already be outside NII on an active entity interest.
  • Check the real estate. A building rented to your own active business, and grouped with it, can be outside NII; a pure investment property is not.
  • Use losses. Capital losses, suspended passive losses released on the sale (Section 469(g)) and properly allocable deductions reduce net investment income. See tax-loss harvesting.
  • Time the year. A year with low wages or a closing split across December and January can keep MAGI down. See year-end timing.
  • Defer it entirely. A 1031 exchange defers the gain, so there is nothing to subject to NIIT that year.

What mistakes should you avoid when selling a business?

  • Assuming an active owner owes nothing. The exclusion reaches gain on operating assets only. Securities, excess cash invested for gain, and a building not grouped with the business can still be investment income (IRC 1411(c)(4)).
  • Treating a C corporation sale like a pass-through sale. C corporation stock is investment property however hard you worked, so the founder in our Raman example owes $95,000 on a $2,500,000 gain. Qualified small business stock under IRC 1202 is the main way out, because excluded gain is not income.
  • Relying on five-of-ten participation without records. Keep calendars, emails and payroll that show more than 500 hours in the years you count (Temp. Treas. Reg. 1.469-5T).
  • Expecting an installment sale to erase the tax. It only lowers the amount over the threshold each year. In the Delgado passive example five payments saved $15,200 of the $110,200.
  • Forgetting note interest. Interest on a seller note is investment income each year even if the gain was not.
  • Letting the allocation or the election change the answer unnoticed. A Section 338(h)(10) election turns an S corporation stock sale into a deemed asset sale, which moves ordinary income and recapture around. See Section 338(h)(10) and ask your CPA to model Form 8960 before you agree.
  • Missing the Form 8960 adjustment. An S corporation or partnership interest needs the Section 1411(c)(4) computation on the form. A return that reports the whole gain, or none of it, is a common error.

For the full list of ways to lower the bill on a business sale, see how to avoid capital gains tax when selling a business.

Trusts hit the threshold almost immediately

A non-grantor trust or estate pays NIIT on the lesser of its undistributed net investment income or its AGI over the dollar amount where the top trust bracket begins (IRC 1411(a)(2)). For 2026 that is $16,000 (Rev. Proc. 2025-32). A trust that keeps a large capital gain pays 3.8% on almost all of it. Distributions to beneficiaries can move NII to their returns, where their own $200,000 or $250,000 threshold applies, but capital gains usually stay in the trust unless the trust document or local law allows them to be distributed. A grantor trust, including a revocable living trust, is ignored: the grantor reports the sale. See grantor vs non-grantor trust.

IRS stance, costs, and how it compares with a Section 453 installment sale

The IRS treats NIIT as settled: final regulations since 2013, Form 8960 every year, and frequent exam focus on material participation, real estate professional claims and grouping elections. There are no special fees; the cost is CPA time to document participation and allocate gain. An installment sale does not change whether gain is investment income (that is fixed in the year of sale), but it can lower how much is taxed, by keeping more years at or under the threshold. The trade is waiting for your money and carrying buyer credit risk, managed with a solid down payment, security and strong note terms. Get the full Big Sale Tax Analysis to see NIIT modeled year by year next to a cash sale, a 1031 and the other paths.

What to know

The 3.8% tax is easy to miss because it is not in the capital gains rate tables. Whether a sale is investment income depends on how you held and ran the asset, and C corporation stock is investment income no matter how active you were. Spreading a gain lowers NIIT only to the extent each year's income stays nearer the threshold, and the interest you earn on a note adds investment income. Participation and real estate professional claims need records; your CPA should review them before you count on the exception.

Get the full Big Sale Tax Analysis

Free PDF sheet

Long-Term vs Short-Term Capital Gains (2026)

The one-year holding rule, the 2026 0/15/20% thresholds for every filing status, NIIT, recapture, the state layer and a worked $200,000 example: 11 months vs 13 months, and what spreading the gain can save.

Hans Goldstein
Enrolled Agent, admitted to practice before the IRS

By entering your email you agree to receive this sheet and occasional educational emails from Hans Goldstein: Tax & Exit Planning. Unsubscribe anytime.

Installment sale + 1031 + ILIT: when is it a slam dunk?

For a large estate, a 1031 exchange, an installment sale and a trust-owned life insurance policy (an ILIT) can work together. It tends to win when most of these are true (2026 figures: the federal estate tax exemption is $15,000,000 per person, $30,000,000 for a married couple):

  1. Your estate is clearly over the line: a projected estate tax bill of $10,000,000 or more.
  2. You are married, age 50 to 60, in preferred health or better. At 75 or older, single, or in a rated health class it usually does not win.
  3. One separate property has stuck (suspended) passive losses at least as big as its gain.
  4. That property earns little: low cap rate, slow growth.
  5. You would sell or borrow anyway, or you do not have the cash on hand to pay the premiums.

Four or five true? Run the numbers. Enter your own estate and ages below, or open the full calculator. Estimates from published rates, not a quote or advice; your CPA and attorney decide.

Open the calculator on this page

Frequently asked questions

Does a passive owner pay the net investment income tax on the whole gain from selling a business?
Generally yes. If you are passive in a partnership, LLC or S corporation, your whole gain counts as net investment income, so the 3.8% applies to the lesser of that gain or your modified AGI over the threshold. Active owners are treated differently under IRC 1411(c)(4), where only the share tied to investment assets, such as excess cash or a leased building, is taxed.
Does the 3.8% net investment income tax apply to the sale of a business?
It depends on how you owned it. Gain on assets of a business you materially participate in, held directly or through a partnership or S corporation, is generally excluded. Gain on C corporation stock, on a passive interest, and on investment assets inside the business is included.
What are the NIIT thresholds for 2026?
$250,000 married filing jointly and qualifying surviving spouse, $125,000 married filing separately, $200,000 single and head of household. They are set in IRC 1411(b) and are not indexed. Trusts and estates use $16,000 for 2026.
Is depreciation recapture subject to NIIT?
Yes, when the property is a passive rental or investment property. Section 1245 recapture and unrecaptured Section 1250 gain are part of the gain. Recapture on assets of an active, non-passive business is excluded along with the rest of that gain.
Is interest on an installment note subject to NIIT?
Generally yes. Interest is listed investment income under IRC 1411(c)(1)(A)(i), and seller-note interest is rarely earned in the ordinary course of an active business.
Does an installment sale avoid the net investment income tax?
It does not change the character of the gain, but it can reduce the tax. NIIT is figured on income over the threshold each year, so spreading a gain can keep more of it at or below $250,000 or $200,000 of MAGI.
Can a real estate professional avoid NIIT on a rental sale?
Often. If you qualify under Section 469(c)(7) and meet the 500-hour safe harbor in Reg. 1.1411-4(g)(7) for the rental activity, gain on property used in that activity is treated as business gain outside NII.
Do states charge the 3.8% tax?
No. NIIT is a federal tax only. States tax the gain under their own rules.
What is a Section 1411 trade or business?
Section 1411(c)(2) treats income as net investment income when it comes from a trade or business that is a passive activity under Section 469 or a business of trading financial instruments or commodities. A business you materially participate in is not a passive Section 1411 trade or business, so its operating income and gain on its assets usually fall outside the 3.8% tax. Checked October 15, 2026.
Is gain on selling rental real estate subject to the net investment income tax?
Usually yes. Rental activity is passive by default, so net rental income and gain on selling the property are investment income unless you qualify as a real estate professional or meet the Reg. 1.1411-4(g)(7) rental safe harbor. Gain above the $250,000 joint or $200,000 single modified AGI threshold is where the 3.8% starts.
What is the Section 1411 adjustment when selling an S corporation or partnership interest?
On Form 8960 (Part I, line 5d) you adjust the gain or loss on the interest to the amount that would have been investment income if the entity had sold all its property at fair market value, counting only property not held in a non-passive trade or business (IRC 1411(c)(4)). The detailed regulation, Section 1.1411-7, is still only proposed, so your CPA applies the statute and the proposed method. Checked October 15, 2026.
Does a Section 338(h)(10) election change the net investment income tax on an S corporation sale?
It can. The election treats the stock sale as a sale of the company's assets followed by a liquidation. For an owner who materially participates, gain on operating assets stays outside NII under IRC 1411(c)(4), while gain on investment assets and any interest is still NII. Ordinary income such as depreciation recapture is taxed at ordinary rates but is not NII for an active owner. A passive shareholder owes the 3.8% on the whole pass-through gain. Ask your CPA to model Form 8960 both ways before you agree to the election.
Is the 338(h)(10) election available for a C corporation?
Only when a corporate buyer buys a subsidiary from a consolidated group or an S corporation. A standalone C corporation owner cannot make it. Section 336(e) gives similar results when the buyer is not a corporation. See Section 338(h)(10) for the mechanics.
Do I owe the 3.8% tax if I sell my C corporation stock?
Yes. Stock of a C corporation is investment property under IRC 1411(c), so the gain is investment income however active you were. In our hypothetical a founder with a $2,500,000 gain and $200,000 of salary owes $95,000. Gain excluded under Section 1202 is not income and is not taxed.
Does the net investment income tax apply to an asset sale of my business?
Generally not if you materially participate and the assets are used in the business. In our hypothetical a plumbing LLC owner with a $1,500,000 gain owes $0, against $53,200 on the same gain from a C corporation stock sale. Investment assets inside the business, such as a securities account, are the exception.
Is a partner's gain on selling a partnership interest subject to NIIT?
If you are passive, all of it. If you materially participate, only the share tied to investment assets under IRC 1411(c)(4). Our hypothetical passive limited partner with a $1,000,000 gain owes $33,820.
Is Section 1231 gain subject to the net investment income tax?
It depends on the activity, not on the 1231 label. Section 1231 gain on property used in a business you materially participate in is generally excluded under IRC 1411(c)(1)(A)(iii). Section 1231 gain on a rental or other passive activity is net investment income. Depreciation recapture on the same sale follows the same rule.
Is the sale of rental property subject to NIIT?
Usually yes, because rental activity is generally passive under Section 469. The main exception is a real estate professional under Section 469(c)(7) who participates in the rental activity more than 500 hours in the year, or in any 5 of the prior 10 years. Under the safe harbor in Treas. Reg. 1.1411-4(g)(7), gain on that rental property is treated as business gain and excluded.
Is the sale of a partnership interest subject to NIIT?
A passive partner's gain is net investment income. An active partner gets the IRC 1411(c)(4) look-through: only the share of gain tied to assets not used in a non-passive business, such as excess cash or investment property, is taxed. The computation is reported as an adjustment on Form 8960.
How Hans helps: the Big Sale Tax Analysis models this path side by side with every other option for your sale and ends with a written recommendation. See the analysis.
Next step

Know your number before you sign.

Start with a free scope call: a short call to see whether the Big Sale Tax Analysis is worth it for your sale. No obligation.

Prefer email? Request the analysis by email.

You talk to Hans Goldstein. Enrolled Agent, admitted to practice before the IRS.

Call Hans: 213-340-2018Book a time