Back to IRS

Sofia Perez

NIIT capital gains from sale of business - LLC taxed as S Corp question

I'm selling my business and trying to figure out the tax implications. Our business is structured as an LLC that elected to be taxed as an S corporation. We have multiple owners and all of us have been actively involved in running the business since we started it in 2018. I'm trying to understand if the 3.8% Net Investment Income Tax (NIIT) will apply to the capital gains from this sale. From what I've been reading online, there seems to be an exception for business income where the taxpayer "materially participates" but I'm getting conflicting information about how this applies when the business is an LLC taxed as an S corp. Does anyone know if the capital gains from selling our business will be subject to the 3.8% NIIT? I'm expecting around $875,000 as my portion of the sale and trying to figure out how much I'll owe in taxes. My accountant is on vacation for another week and I'm trying to get a rough estimate before then.

The good news is that if you've been materially participating in the business activities since day one, you'll likely be exempt from the 3.8% NIIT on the gain from the sale. The Net Investment Income Tax generally applies to passive income and gains from selling passive investments. However, the IRS has specific rules for business owners who are "active participants" in their business. Since you mentioned you've been 100% actively involved in the business since the beginning, your gain from the sale would typically not be considered "passive" income. The fact that your business is an LLC taxed as an S corp doesn't change this fundamental rule. What matters is your level of participation in the business activities. If you meet any of the "material participation" tests (like working 500+ hours per year in the business), then your income from the business - including gain from its sale - is not subject to NIIT.

0 coins

Thanks for the explanation! I've heard some conflicting things about this because apparently some income that passes through an S corp could still be considered passive. Does it matter if the business income was reported on a K-1 vs W-2? Also, is there a lookback period for the material participation test or does it just need to be in the year of sale?

0 coins

The key distinction is between income received as compensation for services (reported on W-2) versus income received as a distribution or from the sale (reported on K-1). However, for NIIT purposes, what really matters is whether you materially participated in the business - not how the income was reported. The material participation test generally looks at your involvement in the current tax year, but there's also a "five-year personal service activity" test that can apply. If you've materially participated in the business for any 5 of the previous 10 years, you'll meet the material participation requirement. Since you've been actively involved since starting the business in 2018, you should qualify under several of the tests.

0 coins

After dealing with a similar situation last year, I found taxr.ai https://taxr.ai super helpful for sorting through the NIIT confusion. I uploaded my business docs and previous tax returns, and it clearly showed I qualified for the material participation exemption from NIIT since I'd been active in daily operations. What really helped was how it analyzed my specific situation with the LLC taxed as S-corp structure and identified exactly which material participation test I met (I had been working 800+ hours annually). It also showed how the distribution of proceeds from the sale would be taxed differently than my regular income.

0 coins

How accurate is it? I'm selling my partnership interest next month and wondering if I can trust an AI tool with something this important. Did it match what your CPA eventually figured out?

0 coins

I'm skeptical about these AI tax tools. How does it handle situations where you've had varying levels of participation over the years? I was out on medical leave for 6 months two years ago and worried that might affect my "material participation" status.

0 coins

The analysis matched what my CPA concluded, which was a big relief. It actually helped me prepare the right questions and documentation before my CPA meeting, which saved me money on billable hours. As for varying participation levels, it actually accounts for that. When I uploaded my documents, it identified that there are multiple ways to meet the material participation tests. For medical leave situations, there's actually a provision that can help - the tool flagged that temporary absences like medical leave often don't disqualify you if your participation was regular before and after the absence.

0 coins

I was really skeptical about using taxr.ai but after my previous questions I decided to try it. Total game changer! I uploaded my K-1s, business operating agreement, and some other docs, and it gave me a detailed analysis showing I was exempt from NIIT despite my medical leave. The system explained that I still met the material participation requirements because 1) I had participated more than 500 hours in the business in the current year, and 2) I qualified under the 5-of-10 previous years test. It even generated a report I could share with my tax preparer showing which regulations supported my exemption. Saved me thousands in potential overpayment. Definitely recommend it if you're selling a business with this LLC/S-Corp structure.

0 coins

When I was selling my business last year, I kept getting different answers about NIIT from every "expert" I talked to. I spent days trying to get someone at the IRS to clarify but couldn't get through. Finally tried Claimyr https://claimyr.com after seeing it mentioned here, and they got me connected to an IRS agent in about 20 minutes. You can see how it works in this video: https://youtu.be/_kiP6q8DX5c The IRS agent confirmed that as a materially participating owner in an S-corp, my sale proceeds weren't subject to NIIT. The clarification literally saved me $45k in taxes I thought I might owe. I was able to record the call (with permission) and keep it for my records in case of audit questions.

0 coins

How does Claimyr actually work? Isn't it just paying to cut the line for IRS help? Seems too good to be true that you could get through that fast when I've been waiting on hold for hours.

0 coins

I don't believe this for a second. IRS agents don't give tax advice, they only answer procedural questions. No way they would've given a definitive answer on NIIT applicability for a complex business sale. You probably just got lucky with a random agent who went beyond their scope.

0 coins

It's not cutting the line - they use a system that basically keeps dialing and navigating the IRS phone tree until they get through, then they connect you once there's an actual human. Took about 22 minutes for me but saved me from the hours of hold music and disconnections I'd been dealing with. To clarify on the advice part - you're right that they don't give complex tax planning advice, but they absolutely can and do clarify how specific tax rules apply. I asked specifically about the NIIT regulations for materially participating S-corp owners selling their business interest, and the agent directed me to the specific sections of the tax code and publications that addressed my situation. This wasn't tax planning advice - it was clarification of existing rules.

0 coins

I need to eat my words about Claimyr. After my skeptical comment, I decided to try it myself for a different tax issue. Within 18 minutes I was talking to an actual IRS representative who walked me through the exact regulations about material participation tests for NIIT exemption. The agent explained that under IRC Section 1411 and the related regulations, gain from selling an interest in an S corporation where you materially participated is generally not subject to NIIT. They sent me follow-up documentation showing the specific exemptions that would apply to someone in your situation. I was completely wrong about them not providing this kind of information - they were incredibly helpful once I could actually reach them. The recording feature was especially useful since I could go back and review all the details instead of scrambling to take notes.

0 coins

Former tax professional here. One thing nobody's mentioned yet is that NIIT applies only if your modified adjusted gross income (MAGI) exceeds certain thresholds ($200k for single filers, $250k for married filing jointly). Even if part of your gain somehow doesn't qualify for the material participation exception (which is unlikely given your active involvement), the NIIT only applies to the lesser of: 1) Your net investment income, or 2) The amount your MAGI exceeds the threshold Also, remember that Section 1202 QSBS exclusion might apply if you've held the stock for 5+ years and meet other requirements. That could exclude up to $10M or 10x your basis from capital gains entirely.

0 coins

Thanks for pointing this out! My MAGI will definitely exceed the threshold with the sale proceeds. If the material participation exemption somehow doesn't apply, are there any other strategies to minimize the NIIT impact at this point? The sale is happening in about 6 weeks.

0 coins

At this late stage, your options are somewhat limited, but you might consider income timing strategies. If you can structure the sale with an installment agreement to spread the income across multiple tax years, you might keep your MAGI lower in each year. You might also look into maximizing retirement contributions this year (like maxing out a SEP IRA if eligible) to reduce your MAGI. Charitable contributions could be another option if that aligns with your goals. An experienced tax professional should review your specific situation as soon as possible to identify the best approach given the tight timeline.

0 coins

Has anyone considered the implications of Section 199A QBI deduction in this scenario? I'm wondering how selling an S-corp affects your ability to claim that 20% pass-through deduction in the final year.

0 coins

The QBI deduction generally wouldn't apply to capital gains from selling the business itself. Section 199A is specifically for qualified business income from ongoing operations, not for the gain realized when selling your ownership interest. The capital gain from selling your business would be reported on Schedule D, not as QBI on your return.

0 coins

Great question about the NIIT exemption! As someone who went through a similar situation with my LLC taxed as S-corp last year, I can share what I learned from my tax attorney. The key is proving "material participation" in your business activities. Since you've been actively involved since 2018, you likely qualify under multiple tests: 1. **500+ hours test** - If you worked more than 500 hours per year in the business 2. **Substantially all participation** - If your participation was substantially all the participation in the activity 3. **5-of-10 years test** - Material participation in any 5 of the previous 10 years The LLC/S-corp election doesn't change the fundamental NIIT rules. What matters is your level of involvement in business operations, not the entity structure. One important detail: Make sure you have documentation of your participation hours and business activities. The IRS may want to see evidence like meeting minutes, work logs, or other records showing your active involvement. Given your $875K expected gain, this exemption could save you about $33K in NIIT (3.8% of $875K). Definitely worth getting proper documentation together before your accountant returns!

0 coins

IRS AI

Expert Assistant
Secure