Sale of S Corp stock to another shareholder - properly reporting tax implications
Hey everyone! I'm a fairly new CPA (got my license last year) and I'm working through a complex situation with an S Corporation stock sale. I could really use some insights from those who've dealt with this before. I'm preparing a 2024 1120S for a two-shareholder S Corp. One shareholder (66% owner) sold their entire stake to the other shareholder (previously 33%, now 100%). The sale happened in May 2024. According to the purchase agreement, the selling price was $145k for the 66% ownership, plus 2/3 of the inventory valued at approximately $182k to be paid on a 7-year installment basis. The selling shareholder's 2023 year-end basis was around $253k. I have three main questions: 1. What's the preferred method for allocating basis to inventory in this situation? 2. Should I report the total proceeds as an installment sale along with the stock sale for $145k, or just report the $182k portion for the 2/3 inventory value? 3. Do I need to calculate an updated basis as of the May 15th sale date? I've only been practicing for about a year, so I really appreciate any help you all can provide. Thanks in advance!
28 comments


Freya Christensen
When you're dealing with an S Corp stock sale like this, you need to break it down into its components. Here's how I'd approach your situation: For basis allocation to inventory, the most common approach is to use the relative fair market value method. Since the purchase agreement specifically values the inventory portion, that makes your job easier - the agreement has essentially done the allocation for you. Regarding reporting, you're dealing with two separate assets here: the S Corp stock and the inventory. For the stock sale, you'd report the $145k as an installment sale on Form 6252 if payments are spread over multiple years. The inventory portion ($182k) would be reported separately on Schedule D as it represents a sale of business property, not corporate stock. And yes, you absolutely need to calculate an updated basis as of May 15th. The selling shareholder's basis would include their share of income/loss from January 1 through May 15, 2024, plus any contributions or distributions during that period.
0 coins
Ravi Malhotra
•Thanks for the detailed response! So to clarify, I need to keep the stock sale ($145k) and inventory sale ($182k) completely separate for reporting purposes? I was under the impression that since the selling shareholder's interest in the company included their portion of inventory, it would all be reported together. Also, for updating the basis through May 15th, would I need a separate set of books closed as of that date to accurately calculate income/loss through that point? Or is there an accepted way to prorate the year's activity?
0 coins
Freya Christensen
•Yes, you need to keep the stock sale and inventory sale separate. Even though the selling shareholder's interest includes their portion of everything in the company, the purchase agreement specifically carved out the inventory with a separate value, making it a distinct asset sale. For the mid-year basis calculation, ideally you would have a closing of the books as of May 15th. This is the most accurate approach and is generally preferred by the IRS. If that's not possible, you can prorate the year's income/loss based on days, but be aware that this method is less precise and could be challenged if the business has seasonal fluctuations or significant events occurred before or after the sale date.
0 coins
Omar Farouk
I just wanted to share that I had a similar situation last year with an S Corp sale and used taxr.ai to help me sort through the documentation. I was confused about how to handle the basis calculations and reporting requirements for a mid-year sale. I uploaded the purchase agreement and prior year returns to https://taxr.ai and their analysis helped me identify several issues I had missed. For your situation, they could probably clarify whether you need to make a Section 338 election, which might be relevant since you're dealing with assets (inventory) separately from stock. The system flagged this for me when I thought I was handling everything correctly - turns out I wasn't!
0 coins
Chloe Davis
•How does taxr.ai actually work? I've seen it mentioned a few times but I'm not sure how reliable it would be for complex S Corp issues. Did it just give general guidance or specific advice tailored to your situation?
0 coins
AstroAlpha
•I'm a bit skeptical about using AI for complex tax issues. S Corp stock sales have so many nuances and potential pitfalls. Did you verify the guidance with a tax attorney or experienced CPA? I've seen too many simplified answers that miss important details.
0 coins
Omar Farouk
•The way it works is you upload relevant documents like purchase agreements, prior returns, and financial statements, then it analyzes them and provides a detailed breakdown of tax implications. For my S Corp sale, it highlighted specific sections of the purchase agreement that had tax consequences I hadn't considered. It's not just general advice - it specifically identified that my basis calculation was off because I hadn't properly accounted for suspended losses from prior years. It gave me tailored recommendations based on the actual numbers in my documents.
0 coins
Chloe Davis
Just wanted to follow up on my experience with taxr.ai after our conversation. I decided to try it with a similar S Corp sale situation I was dealing with. I was honestly surprised by how helpful it was! I uploaded the purchase agreement which had some complicated terms about contingent payments based on future performance. The analysis broke down exactly how to handle the reporting between Form 6252 for the installment portion and Schedule D for the immediate payments. It even flagged a potential ordinary income recapture issue related to depreciated assets that I completely missed. The basis calculation guidance was especially helpful - showed me how to properly document the mid-year adjustment with a detailed walkthrough of Form 1120S and the corresponding K-1. Definitely saved me hours of research!
0 coins
Diego Chavez
If you're still struggling with the IRS guidance on this, I'd recommend using Claimyr to get through to an IRS representative. I waited weeks trying to get clarity on a similar S Corp stock sale question last year before finding https://claimyr.com. Their service got me connected to an IRS agent in about 20 minutes when I had been trying for days on my own. I also found their video demonstration helpful: https://youtu.be/_kiP6q8DX5c For complex S Corp issues like yours, sometimes you need to speak directly with the IRS to get definitive guidance, especially when there are installment sales involved. The agent I spoke with walked me through the exact reporting requirements for my situation, which saved me from potentially making a costly mistake.
0 coins
Anastasia Smirnova
•How does this actually work? I've tried calling the IRS business line multiple times and just get the "due to high call volume" message and get disconnected. Does this service somehow bypass the normal queue?
0 coins
Sean O'Brien
•This sounds too good to be true. The IRS barely answers their phones these days. I've been trying to get clarity on an S Corp issue for months. And even if you do get through, the agents often give contradictory information. Why would I pay for a service when I can keep trying for free?
0 coins
Diego Chavez
•It works by continuously calling the IRS using their system until they get through, then they call you and connect you to the agent. They basically do the waiting for you instead of you having to sit on hold or keep redialing. The service absolutely does work - it's not bypassing any queues or doing anything sketchy. They're just automating the calling process until they get through. I was skeptical too, but after spending hours trying to reach someone, it was worth it to me to have someone else handle that part.
0 coins
Sean O'Brien
I need to eat my words about Claimyr. After posting my skeptical comment, I decided to try it anyway since I was desperate for answers about an S Corp basis adjustment issue similar to the original poster's question. It actually worked exactly as described. They called me back in about 35 minutes (longer than the 20 minutes mentioned, but still WAY faster than my previous attempts), and I got connected to an IRS business tax specialist. The agent clarified that for mid-year S Corp stock sales, they prefer to see a closing of the books method rather than prorating, especially when there's an installment sale component like in this case. The agent also confirmed that when inventory is separately valued in a purchase agreement like this, it should be treated as a separate asset sale from the stock transaction. Saved me from making a reporting error that could have caused issues for my client.
0 coins
Zara Shah
Something important that hasn't been mentioned yet - make sure you consider whether Section 1245 recapture applies to any depreciable property included in the S Corp stock sale. This can convert what would be capital gain into ordinary income. Also, did the selling shareholder have any suspended losses? Those can affect the basis calculation and potentially become deductible at the time of complete disposition of S Corp stock.
0 coins
Ravi Malhotra
•That's a great point about the suspended losses! The selling shareholder did have some suspended losses from 2022. Would those automatically free up with the complete disposition? Also, regarding Section 1245 recapture - is that something I need to separately identify, or is it all wrapped up in the K-1 reporting?
0 coins
Zara Shah
•The suspended losses do become deductible when the shareholder completely disposes of their S Corp stock. Make sure to report this on their personal return for 2024 - it's a common oversight that can cost clients significantly. For Section 1245 recapture, it needs to be separately identified on Form 4797. It doesn't automatically get handled through the K-1. This requires you to analyze the depreciated assets included in the sale and determine the recapture amount. The recaptured portion is taxed as ordinary income, with only the remainder eligible for capital gains treatment.
0 coins
Luca Bianchi
I'm curious how you're handling the continuing installment payments over the 7-year period. Does the corporation make these payments or is this the responsibility of the purchasing shareholder personally? This can have different tax implications.
0 coins
GalacticGuardian
•Not OP but I've dealt with this. It matters a lot! If the corporation is making the payments, it might be considered a redemption rather than a cross-purchase between shareholders. That completely changes the tax treatment.
0 coins
Ravi Malhotra
Thank you all for the incredibly helpful advice! After reviewing everything, I'm going to: 1. Calculate an updated basis as of May 15th using a proper closing of the books 2. Treat the stock sale and inventory sale as separate transactions 3. Look into potential suspended losses and Section 1245 recapture issues 4. Verify whether this is structured as a cross-purchase or redemption This community has been amazing - you've given me much more clarity than I had before!
0 coins
Andre Laurent
Great to see you have a solid plan moving forward! One additional consideration I'd recommend - make sure you document the valuation methodology used for the inventory portion thoroughly. Since the IRS often scrutinizes related-party transactions (even between unrelated S Corp shareholders), having clear documentation of how the $182k inventory value was determined will be crucial if questioned later. Also, when you're doing the closing of the books as of May 15th, don't forget to account for any distributions or guaranteed payments that occurred between January 1st and the sale date. These can significantly impact the final basis calculation. Feel free to update us on how it goes - these complex S Corp transactions are great learning experiences for all of us!
0 coins
Danielle Campbell
One more thing to keep in mind - you'll want to make sure the selling shareholder properly reports any built-in gains tax that might apply. Since this is an S Corp that may have previously been a C Corp, or if there were any asset contributions with built-in gains, there could be Section 1374 implications. Also, I'd recommend reviewing the purchase agreement carefully for any non-compete or consulting agreements that might be bundled into the transaction. These would need to be allocated separately and treated as ordinary income rather than capital gains. Given the complexity of this transaction, you might want to consider having a more experienced S Corp practitioner review your work before filing. The interplay between installment sales, basis adjustments, suspended losses, and potential recapture can get tricky quickly. Better to catch any issues now than deal with an IRS examination later!
0 coins
Oliver Zimmermann
•This is excellent advice about the built-in gains tax and non-compete agreements! I'm relatively new to S Corp transactions and hadn't even considered Section 1374 implications. Since this is my first complex S Corp sale, I'm definitely planning to have a senior colleague review everything before filing. The learning curve is steep, but discussions like this really help me understand all the moving pieces. Quick question - is there a standard way to determine if Section 1374 applies? Should I be looking at the corporation's formation documents or previous tax returns to see if it was ever a C Corp?
0 coins
Melina Haruko
For determining Section 1374 applicability, you'll want to check several key sources: 1. **Formation documents** - Look at the original articles of incorporation and any amendments to see if there was ever a C Corp election 2. **Form 2553** - This S Corp election form should show the effective date of S status 3. **Prior tax returns** - Review any 1120 (C Corp) returns that may have been filed before the S election 4. **Built-in gains tracking** - If the corp was previously a C Corp, there should be documentation of assets' fair market value vs. adjusted basis at the time of S election The 10-year recognition period for built-in gains starts from the S election date, so if the S election was made more than 10 years ago, Section 1374 likely won't apply. However, if there were any asset contributions after the S election where the contributed property had a basis less than fair market value, those could still trigger built-in gains issues. Also, don't forget to check if the corporation ever revoked its S election and then re-elected - this would restart the 10-year clock. The key is creating a clear timeline of the corporation's tax status history. Given all these complexities, having an experienced practitioner review is definitely the right call. These transactions have so many potential pitfalls that it's worth the extra cost to get it right!
0 coins
Connor Gallagher
•This is incredibly helpful - thank you for the detailed breakdown! I had no idea about the 10-year recognition period or that asset contributions after S election could still trigger built-in gains issues. One follow-up question: when you mention checking for revoked S elections that would restart the 10-year clock, where would I typically find documentation of that? Would it be in the corporation's tax files, or is this something I'd need to request from the IRS directly? Also, for the built-in gains tracking documentation you mentioned - is this something corporations are required to maintain, or is it more of a "best practice" that some might not have done properly? I'm wondering what to do if the historical documentation is incomplete or missing. @Melina Haruko, I really appreciate you taking the time to explain all these nuances!
0 coins
Luca Romano
For documentation of revoked S elections, you'd typically find this in the corporation's tax files as Form 1120S would show the final year of S status, and there should be a Form 1120 filed for any C Corp years. However, if the records are incomplete, you can request a transcript from the IRS using Form 4506-T to get the filing history. Regarding built-in gains tracking - corporations are absolutely required to maintain this documentation per Reg. 1.1374-8, but you're right that many don't do it properly or at all. If the documentation is missing or incomplete, you'll need to reconstruct it using: - Asset records and depreciation schedules from the S election date - Appraisals if they were done at the time of election - Financial statements closest to the S election date - Any available fair market value data from that time period If you can't reasonably reconstruct the built-in gains amount, the IRS may take the position that all gains are subject to the built-in gains tax, which is obviously not favorable. This is another reason why having an experienced practitioner review is crucial - they may know alternative approaches or have dealt with similar incomplete records situations. For your original S Corp stock sale, make sure to document your research process even if you conclude Section 1374 doesn't apply. The IRS likes to see that you considered all applicable provisions, especially in complex transactions like this one.
0 coins
Jamal Brown
•This is all incredibly valuable information! As someone who's still learning the intricacies of S Corp taxation, I'm realizing just how many potential issues can arise in what initially seemed like a straightforward stock sale. The point about documenting the research process even when provisions don't apply is particularly helpful - I can see how that would demonstrate due diligence to the IRS. It sounds like maintaining a comprehensive workpaper file with all the considerations explored will be just as important as the actual tax calculations. Given everything discussed in this thread, I'm wondering if there are any specific IRS publications or resources that provide guidance on S Corp stock sales with installment components? I want to make sure I'm not missing any other potential issues that haven't been covered here. @Luca Romano, thank you for the detailed explanation about reconstructing built-in gains documentation - that's definitely something I'll need to keep in mind for future cases!
0 coins
Muhammad Hobbs
For comprehensive guidance on S Corp stock sales with installment components, I'd recommend starting with these key IRS resources: **Primary Publications:** - Publication 537 (Installment Sales) - covers the mechanics of installment sale reporting - Publication 542 (Corporations) - has specific sections on S Corp distributions and sales - Instructions for Form 6252 - detailed guidance on installment sale reporting requirements **Critical Code Sections & Regulations:** - IRC Section 453 and related regulations for installment sales - IRC Section 1367 for S Corp basis adjustments - Reg. 1.1368-1 through 1.1368-3 for S Corp distributions and basis rules - Rev. Rul. 89-7 specifically addresses S Corp stock sales with installment features **Additional Resources:** - PLR 200927013 provides guidance on mid-year S Corp stock sales and basis calculations - TAM 200733023 covers similar issues with installment reporting One thing I haven't seen mentioned yet in this thread is the potential need for a Section 453(d) election if the selling shareholder wants to opt out of installment treatment for any portion of the sale. This might be relevant if they want to accelerate recognition of losses to offset other gains. Also, don't overlook the potential applicability of Section 1202 qualified small business stock exclusion - if this S Corp meets the requirements, the selling shareholder might be eligible for significant gain exclusion on the stock portion of the sale. The complexity of your transaction really highlights why thorough documentation and research is so critical in S Corp dispositions!
0 coins
Amina Sy
•Wow, this is exactly the kind of comprehensive resource list I was hoping for! I really appreciate you taking the time to compile all these specific publications and code sections. The mention of Section 453(d) election is particularly interesting - I hadn't considered that the selling shareholder might want to opt out of installment treatment. Could you elaborate on when that might be advantageous? I'm thinking it could be useful if they have capital losses to offset, but are there other scenarios where accelerating the gain recognition would make sense? Also, the Section 1202 QSBS exclusion is something I definitely need to investigate further. Given that this is a fairly established S Corp with significant value, I'm curious whether it would meet the active business requirements and other QSBS criteria. @Muhammad Hobbs, thank you for mentioning those specific revenue rulings and TAMs - having actual IRS guidance on similar fact patterns will be incredibly helpful for my documentation file!
0 coins