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.
26 comments


Dmitry Smirnov
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
ElectricDreamer
•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
Dmitry Smirnov
•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
Ava Johnson
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
Miguel Diaz
•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
Zainab Ahmed
•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
Ava Johnson
•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
Zainab Ahmed
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
Connor Byrne
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
Yara Abboud
•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
PixelPioneer
•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
Connor Byrne
•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
PixelPioneer
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
Keisha Williams
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
Sofia Perez
•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
Keisha Williams
•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
Paolo Rizzo
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
Amina Sy
•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
Diego Rojas
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
Yara Khoury
•This is really helpful documentation advice! I'm curious - what kind of work logs or records would be most convincing to the IRS if they ever questioned material participation? I've been keeping general business records but haven't specifically tracked my hours. Would things like email records, calendar entries, or travel receipts for business meetings count as sufficient evidence of active involvement?
0 coins
Justin Trejo
•Email records, calendar entries, and business travel receipts are definitely helpful supporting evidence! The IRS generally accepts contemporaneous records that show regular business involvement. Here are some specific types of documentation that work well: **Strong evidence:** - Email chains showing business decisions and day-to-day involvement - Calendar entries for business meetings, calls, and work activities - Travel records for business trips (receipts, itineraries) - Bank records showing business transactions you handled - Contracts or agreements you signed on behalf of the business - Board meeting minutes showing your participation **Also useful:** - Phone records showing business calls - Business expense receipts you personally incurred - Time tracking apps or calendars (even if started recently) - Witness statements from employees, partners, or clients The key is showing a pattern of regular, substantial involvement in business operations. Even if you don't have perfect hour-by-hour logs, multiple types of evidence that demonstrate consistent participation throughout the years can be very convincing. Since your sale is in 6 weeks, I'd recommend gathering these documents now. Create a simple timeline showing your major business activities, decisions, and involvement over the years - this can help paint a clear picture of material participation for both your accountant and potential IRS review.
0 coins
Sophia Miller
One additional consideration that might be helpful - make sure to review your S-corp election timing and any potential Section 1202 Qualified Small Business Stock (QSBS) benefits. If your LLC made the S-corp election early enough and you've held your interest for at least 5 years, you might qualify for the QSBS exclusion which could eliminate federal taxes on up to $10 million of the gain (or 10x your basis, whichever is greater). This would be even better than just avoiding the 3.8% NIIT - it could potentially eliminate the entire federal capital gains tax on your $875K gain. The QSBS rules are complex and have specific requirements around when the election was made, the type of business, and how the stock was acquired, but it's definitely worth having your accountant review this when they return. Also, since you mentioned multiple owners, each owner can potentially claim their own $10M QSBS exclusion, so the total benefit for your group could be substantial. This is one of those situations where the entity structure (LLC electing S-corp treatment) might actually work in your favor for tax planning purposes.
0 coins
Charlee Coleman
•This is excellent advice about QSBS! I hadn't even considered this possibility. Since we started the business in 2018 and made the S-corp election pretty early on, we might actually qualify for the 5-year holding period requirement by the time of sale. The potential to exclude the entire $875K from federal capital gains tax would be incredible - that could save me around $131K in federal taxes (15% or 20% capital gains rate) plus avoid the 3.8% NIIT entirely. Even if we only partially qualify, any QSBS exclusion would be huge. I'm definitely going to have my accountant dive deep into this when they get back. Do you know if there are any specific documentation requirements we should be gathering now to support a QSBS claim? I want to make sure we have everything ready since the sale timeline is tight.
0 coins
Fatima Al-Farsi
•For QSBS documentation, you'll want to gather several key items before your accountant returns: **Essential QSBS Documentation:** - Your LLC operating agreement and all amendments - The S-corp election form (Form 2553) and the date it was filed - Documentation showing when you acquired your ownership interest (original investment records, partnership agreements, etc.) - Business formation documents (Articles of Organization, EIN application) - Financial records showing the business had gross assets under $50M when you acquired your interest and when the S-corp election was made **Business Activity Verification:** - Records showing the business qualifies as an "active business" (not just passive investments) - Documentation that it's not in an excluded industry (hotels, restaurants, farms, mining, etc.) - Financial statements or tax returns showing business operations **Timing Documentation:** - Any stock certificates or membership interest documentation with dates - Capital contribution records with timestamps - Bank records showing when investments were made The 5-year holding period is calculated from when you first acquired the interest, not from the S-corp election date, so if you were a founding member in 2018, you're likely well past the 5-year requirement by now. Given the potential tax savings, it's worth having your accountant expedite this analysis even if it means paying for rush service. The QSBS exclusion could dwarf any costs associated with getting professional guidance quickly.
0 coins
Harper Hill
Looking at your situation, you're in a really strong position to avoid the 3.8% NIIT on your $875K gain. Since you've been actively involved in running the business since 2018, you almost certainly meet the material participation requirements that exempt you from NIIT. A few key points based on the great discussion above: **Material Participation** - With 6+ years of active involvement, you likely qualify under multiple tests (500+ hours annually, substantially all participation, or the 5-of-10 years test). The LLC/S-corp structure doesn't change this fundamental exemption. **Documentation Priority** - Start gathering evidence of your participation NOW: emails showing business decisions, calendar entries, meeting minutes, travel records, contracts you signed, etc. Even without perfect hour logs, multiple types of evidence showing consistent involvement will be convincing. **QSBS Potential** - This could be huge! If your LLC made the S-corp election early and you've held your interest since 2018, you might qualify for Section 1202 QSBS exclusion. This could eliminate federal taxes on your entire $875K gain (not just the 3.8% NIIT). Given the potential $131K+ in tax savings, consider having your accountant prioritize this analysis even if they're on vacation. **Next Steps** - Gather all formation documents, S-corp election paperwork, and ownership records. Document your business activities timeline. If QSBS doesn't apply, the material participation exemption alone should save you about $33K in NIIT. With the sale in 6 weeks, time is critical but you have multiple strong paths to significant tax savings. This is definitely worth expediting professional review!
0 coins
Giovanni Colombo
•This is such a comprehensive summary - thank you! I'm feeling much more confident about avoiding the NIIT now. I've already started gathering documentation and found tons of emails, calendar entries, and meeting records that clearly show my active involvement throughout the years. One quick follow-up question: If we do qualify for QSBS treatment, does that completely eliminate both federal capital gains tax AND the NIIT, or would there still be some portion subject to regular capital gains rates? With multiple owners potentially each claiming their own $10M exclusion, I want to make sure I understand how this stacks with the material participation exemption. I'm definitely going to contact my accountant tomorrow to see if they can prioritize this analysis remotely. The potential savings are too significant to wait, especially with the tight timeline. Thanks again to everyone who contributed - this community has been incredibly helpful!
0 coins