The net investment income tax is 3.8% on investment income once MAGI passes $250,000 joint or $200,000 single. Selling a business you run can avoid it.
The net investment income tax (NIIT) has applied since 2013. It sits on top of regular income tax and the capital gains rates. Most business owners first notice it in the year something big happens: a sale, a large Roth conversion or a concentrated stock position finally sold. Whether it applies depends on two tests, and both can be planned around.
What is the net investment income tax 3.8% rule?
Section 1411 of the tax code charges 3.8% on the lesser of two numbers: your net investment income for the year, or the amount by which your MAGI exceeds a threshold. If either number is zero, the tax is zero.
| Filing status | MAGI threshold, 2026 tax year |
|---|---|
| Married filing jointly or surviving spouse | $250,000 |
| Married filing separately | $125,000 |
| Single or head of household | $200,000 |
Because the thresholds are fixed in the statute, more households cross them every year as incomes rise. Other figures in this article, like the capital gains brackets, are adjusted annually, so confirm the current-year number before acting.
- Net investment income (NII)
- Interest, dividends, non-qualified annuities, royalties, rents, capital gains and income from passive businesses, minus expenses properly allocated to that income.
- Modified adjusted gross income (MAGI)
- For this tax, your adjusted gross income, with an add-back if you excluded foreign earned income. For most people it equals AGI.
- Material participation
- Being involved in a business on a regular, continuous and substantial basis, measured by IRS tests such as working in it more than 500 hours during the year.
- Passive activity
- A trade or business in which you do not materially participate. Rental activities are generally passive however involved you are, with a narrow exception for qualifying real estate professionals.
The 3.8% tax needs two things at once: investment income, and MAGI over the line. Take away either one and it is zero.
What counts as net investment income?
| Generally counts | Generally does not count |
|---|---|
| Interest and dividends | Wages and self-employment income |
| Capital gains on stocks, bonds and mutual funds | Operating income from a business you materially participate in (other than trading financial instruments or commodities) |
| Gain on investment real estate and second homes | Distributions from 401(k)s, 403(b)s, 457(b)s, traditional IRAs and Roth IRAs |
| Rents and royalties not earned in an active business | Social Security benefits and tax-exempt interest |
| Income from a business you own passively | Home sale gain excluded under section 121 ($250,000 single, $500,000 joint for the 2026 tax year) |
Capital losses offset gains for this tax too, so harvested losses lower NII.
Does selling a business trigger the 3.8% tax?
It depends on how you own the business and how involved you were. The statute excludes gain on property held in a trade or business that is not a passive activity for you, unless the business is trading financial instruments or commodities.
Asset sale or sale of an S corporation or partnership interest
If you materially participated, gain on the operating assets is generally not NII. When you sell S corporation stock or a partnership interest, a look-through rule applies: only the gain that would be NII if the company sold all of its assets at fair market value counts. Investments the company holds, including invested working capital, can still produce NII inside an otherwise active sale.
C corporation stock
The look-through rule covers partnership interests and S corporation stock only. Gain on C corporation shares gets no such exception and is generally NII, even if you ran the company for decades. The exception is gain excluded under section 1202 for qualified small business stock: excluded gain never enters taxable income, so it is outside both NII and MAGI.
Passive owners
An owner who did not materially participate, such as an outside investor, generally owes the tax on the gain. Material participation has seven tests. Working more than 500 hours in the year is one. Another treats you as active if you materially participated in any 5 of the 10 immediately preceding tax years, counting only years you qualified under one of the other tests. That can help a founder who has recently stepped back.
Here is a hypothetical married couple filing jointly with a $2,000,000 gain and $50,000 of dividends and interest, so MAGI is $2,050,000 and the excess over $250,000 is $1,800,000.
| How the business was owned | NII | 3.8% tax |
|---|---|---|
| S corporation, owner materially participated, only operating assets | $50,000 | $1,900 |
| S corporation, owner was passive | $2,050,000 | $68,400 |
| C corporation stock, no section 1202 exclusion | $2,050,000 | $68,400 |
Notice the first row. The active sale gain is outside the tax, but it still lifts MAGI far above $250,000, so the couple's $50,000 of portfolio income is taxed. If their MAGI is normally under $250,000, that income would not have been. Interest collected on a seller-financed note is also interest income, and is generally NII.
A sale can be outside the 3.8% tax and still be the reason the rest of your investment income is taxed that year.
For the broader pre-sale checklist, see tax strategy when selling a business.
Is a Roth conversion subject to the net investment income tax?
No. Distributions from IRAs, 401(k)s and the other plans listed in section 1411(c)(5) are not NII, and a conversion is a distribution from one of those plans. But the taxable part of a conversion is included in gross income, so it raises MAGI. Pretax money is fully taxable when converted; after-tax basis is not.
Take a hypothetical couple filing jointly with $190,000 of salary and active business income plus $40,000 of dividends and interest, converting pretax IRA money. MAGI is $230,000, so they have $20,000 of room under the threshold.
| Roth conversion | MAGI | Excess over $250,000 | 3.8% tax |
|---|---|---|---|
| $0 | $230,000 | $0 | $0 |
| $20,000 | $250,000 | $0 | $0 |
| $50,000 | $280,000 | $30,000 | $1,140 |
| $100,000 | $330,000 | $80,000 | $1,520 |
The tax stops growing at $1,520 because it can never exceed 3.8% of the $40,000 of NII. The regular income tax on the conversion is a separate and larger cost. So a conversion is sized against your brackets first, then checked against the NIIT line. Our guide to reducing taxes on IRA distributions covers the bracket side.
A Roth conversion is never taxed by the 3.8% tax. It can still be what triggers it.
How does the 0% capital gains bracket interact with the 3.8% tax?
They are separate tests. The 0% rate is based on taxable income. The 3.8% tax is based on MAGI. A gain taxed at 0% still counts as NII, but households whose income fits inside the 0% bracket are usually far below the NIIT thresholds, so the 3.8% rarely reaches those gains. The bracket limits are in our article on the 0% capital gains bracket. At the other end, the 3.8% stacks on top of the 15% or 20% rate. For the 2026 tax year the 20% rate applies above $613,700 of taxable income for joint filers.
What can you do before a sale or conversion year?
- Document participation. Any reasonable method can show your hours, such as a calendar, appointment book or narrative summary, but records kept as you go are the strongest support.
- Count the room. In a normal year, the gap between your MAGI and the threshold is how much income you can add before the 3.8% starts. In a sale year that room is usually gone, so all of that year's NII is exposed.
- Look at the balance sheet. Investment assets inside the company can create NII in an otherwise active sale.
- Consider the payment structure. An installment sale can spread qualifying gain, and MAGI, across years. Depreciation recapture is still taxed in the year of sale, inventory does not qualify, and interest on the note is generally NII.
- Plan estimated payments. The NIIT is subject to the estimated tax rules, so a large sale can create an underpayment if no one adjusts payments.
Anchor builds this forward look with your CPA under its Tax Mitigation Protocol: we model the sale or conversion year before it happens, and your CPA files the return.
Frequently asked questions
Are the net investment income tax thresholds adjusted for inflation?
No. For the 2026 tax year they are $250,000 for joint filers and surviving spouses, $125,000 for married filing separately and $200,000 for single and head of household filers, the same amounts section 1411 has set since 2013. The IRS notes they are not indexed.
Is a Roth conversion subject to the NIIT?
The converted amount is not net investment income. Its taxable portion does raise MAGI, so it can cause your other investment income to be taxed at 3.8%.
Do IRA and 401(k) withdrawals count as net investment income?
No. Distributions from plans described in sections 401(a), 403(a), 403(b), 408, 408A and 457(b) are excluded. Their taxable portions still count toward MAGI; qualified Roth IRA distributions are not taxable, so they add nothing.
Does the 3.8% tax apply to selling my home?
Not on gain excluded under section 121. Gain above the exclusion is NII and counts if your MAGI is over the threshold.
Does the NIIT apply to my S corporation profits?
Operating profits are generally not NII if you materially participate and the business is not trading financial instruments or commodities. Interest, dividends and gains the company earns on investments, including invested working capital, still pass through as NII. Passive owners generally include their share of the profits in NII.
Sources
- 26 U.S. Code § 1411(a)(1) (Cornell Legal Information Institute): the 3.8% rate, the lesser-of rule, the thresholds, the definition of net investment income, the partnership and S corporation look-through and the qualified plan exclusion.
- IRS, Questions and Answers on the Net Investment Income Tax: thresholds by filing status, no inflation indexing, the 2013 start date, what is and is not included, the home sale rule and estimated tax.
- IRS Topic No. 559, Net investment income tax: individual thresholds and the MAGI definition.
- IRS Instructions for Form 8960: treatment of dispositions of partnership interests and S corporation stock when the owner materially participated.
- IRS Publication 925, Passive Activity and At-Risk Rules: the seven material participation tests and how participation can be proved.
- 26 U.S. Code § 408A(d)(3) (Cornell Legal Information Institute): amounts converted to a Roth IRA are included in gross income.
- 26 U.S. Code § 1202 (Cornell Legal Information Institute): the exclusion of gain on qualified small business stock.
- 26 U.S. Code § 453 (Cornell Legal Information Institute): the installment method, the inventory exception and recapture in the year of sale.
- 26 U.S. Code § 469(c) (Cornell Legal Information Institute): passive activities, rental activities and the real estate professional rule.
- 26 U.S. Code Section 121, Cornell Law School Legal Information Institute: the home sale gain exclusion.
- IRS Revenue Procedure 2025-32, section 3.03 (Internal Revenue Bulletin 2025-45): 2026 capital gains rate thresholds.
This article is for educational purposes only and does not constitute financial, tax, or legal advice. Anchor Financial Group is a registered investment adviser; investing involves risk, including the possible loss of principal, and past performance does not guarantee future results. Consult a qualified advisor about your specific situation.




