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!
20 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
AuthorThanks 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
AuthorThat'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