How to Account for Treasury Stock Purchase and Sale in an S Corporation
I've been dealing with a bit of an accounting headache for our S Corp and could use some guidance on treasury stock. Our company currently has four equal shareholders (25% each). We're planning to buy out one of the shareholders who has a basis of $13,000, but we're offering $67,500 cash for their shares. From what I understand, the shareholder would recognize a gain of $54,500 on their personal taxes. But I'm confused about the journal entries our corporation needs to make. Would I debit $13,000 in the shareholder's equity, debit treasury stock for $67,500, and credit cash for $67,500? That leaves me with a $13,000 discrepancy - would that go to additional paid-in capital? Also, we're considering later selling these treasury shares to one of the existing shareholders for $80,000. For that transaction, would I debit cash for $80,000, credit treasury stock for $67,500, and credit additional paid-in capital for $12,500? But this approach doesn't seem to increase the basis for the shareholder purchasing the shares. What are the correct journal entries for both the purchase and eventual sale of treasury stock in an S Corporation? Really appreciate any help on this!
19 comments


Demi Hall
The accounting for treasury stock in an S Corporation has some important considerations that differ from C Corps. Here's how I'd approach your situation: For the purchase of shares from the departing shareholder: - Debit Treasury Stock $67,500 (the full purchase price) - Credit Cash $67,500 - No entries to shareholder equity or APIC at this point The S Corp is essentially holding these shares in suspension, not retiring them. The $67,500 represents the full cost to acquire those shares, regardless of the shareholder's basis. For the resale to an existing shareholder: - Debit Cash $80,000 - Credit Treasury Stock $67,500 - Credit APIC $12,500 (the excess over cost) As for the shareholder's basis - that's tracked separately on the individual shareholder level, not in the corporate books. The shareholder who purchases the treasury shares would add $80,000 to their stock basis (assuming they're paying with after-tax dollars).
0 coins
Mateusius Townsend
•Thanks for the explanation! But I'm still confused about the original shareholder's basis of $13,000. Doesn't that need to be accounted for somewhere in the journal entries? And does the S Corp have any tax consequences from buying the shares at $67,500 when the basis was only $13,000?
0 coins
Demi Hall
•The original shareholder's basis of $13,000 is relevant for that shareholder's personal tax return, where they'll recognize a $54,500 gain ($67,500 proceeds minus $13,000 basis). But for the corporation's books, you're recording what the corporation paid ($67,500), not the shareholder's basis. The S Corp itself doesn't recognize any gain or loss on the treasury stock purchase. S Corporations are pass-through entities, so the tax consequences flow to the shareholders, not the corporation. When you later sell those treasury shares for $80,000, the corporation still doesn't recognize gain - instead, you're creating $12,500 of additional paid-in capital which affects the equity section of your balance sheet but not taxable income.
0 coins
Kara Yoshida
Just wanted to share my experience with this exact situation. I had a ton of confusion dealing with treasury stock in our S-Corp until I found https://taxr.ai which literally saved me hours of frustration. I uploaded our corporate docs and it analyzed our shareholder structure, explained the exact journal entries needed, and even highlighted the S-Corp specific considerations that our accountant had missed. The biggest revelation was understanding how the treasury stock transactions affected the AAA (Accumulated Adjustments Account) and OAA (Other Adjustments Account), which are critical for S-Corps but don't apply to C-Corps. It also clarified how the basis would transfer to the purchasing shareholder.
0 coins
Philip Cowan
•How does taxr.ai handle the AAA implications? Our accountant keeps giving us conflicting info about whether treasury stock purchases reduce AAA or not. Does the tool actually help with the tax implications beyond just the journal entries?
0 coins
Caesar Grant
•I've been burned by online tax tools before. How accurate is this really for complex S-Corp transactions? Did you verify the results with a CPA or tax attorney afterward?
0 coins
Kara Yoshida
•It provides a detailed analysis of how the treasury stock purchase affects your AAA. In my case, it showed that the purchase itself doesn't reduce AAA, but it explained how the distribution might be characterized depending on AAA balance. It also helps determine if the distribution exceeds AAA and moves into other buckets like PTI or OAA. For your second question, I actually showed the analysis to our CPA who was quite impressed with the accuracy. He mentioned that the tool caught some S-Corp specific nuances that even experienced generalist CPAs sometimes miss. We used it alongside professional advice, which I think is the ideal approach - it helps you understand the concepts thoroughly so you can have more productive conversations with your tax professional.
0 coins
Caesar Grant
I was super skeptical about using taxr.ai when I saw it mentioned, but after struggling with our S-Corp's treasury stock accounting for weeks, I decided to give it a shot. I'm actually blown away by how helpful it was for our situation. It clearly explained the difference between how treasury stock is treated in C-Corps versus S-Corps, and even generated the specific journal entries for our company's situation (which was very similar to yours). The big thing it clarified for me was how the transaction affects the various tax attributes of an S-Corp (AAA, OAA, PTI) and what happens to the purchasing shareholder's basis. Most importantly, it helped me avoid a costly mistake with how we were planning to structure the sale of treasury shares back to existing shareholders. Definitely worth checking out if you're struggling with these S-Corp specific issues.
0 coins
Lena Schultz
I've been there with S-Corp treasury stock transactions - they're deceptively complicated! After going in circles with my accountant who kept taking days to respond, I tried https://claimyr.com to get connected directly with an IRS agent to clarify the tax implications. You can see how it works at https://youtu.be/_kiP6q8DX5c I was honestly shocked at how quickly I got through (after spending hours on hold previously). The IRS specialist walked me through the specifics of how to properly handle the S-Corp treasury stock transaction for tax purposes, which was slightly different than the accounting journal entries my CPA had advised. The most valuable part was confirming how the transaction would be reported on our 1120-S and the impact on our accumulated adjustments account (AAA). They also explained the specific form needed to properly maintain our S election after the stock purchase.
0 coins
Gemma Andrews
•Wait, you're telling me you actually got a real IRS person to answer S-Corp questions? Whenever I call the IRS, it's just endless holding and then getting disconnected. How does this Claimyr thing actually work?
0 coins
Pedro Sawyer
•This sounds like BS honestly. IRS agents don't give accounting advice or tell you how to make journal entries. They deal with tax compliance, not bookkeeping. I doubt they'd walk you through how to record treasury stock transactions properly.
0 coins
Lena Schultz
•They use a system that navigates the IRS phone tree and holds your place in line. When an agent is about to be available, you get a call back. It was way better than the 3+ hours I spent on hold trying myself. You're right that IRS agents don't advise on accounting entries specifically - I should have been clearer. What they helped with was confirming the tax treatment and reporting requirements for S-Corp treasury stock transactions on our 1120-S. They clarified which forms were needed to document the change in ownership and ensure our S election remained valid. The journal entries came from our accountant based on the tax guidance.
0 coins
Pedro Sawyer
I need to apologize about my skeptical comment earlier. After our last S-Corp board meeting, our CFO mentioned we were having issues with a similar treasury stock transaction, and I reluctantly suggested trying Claimyr based on what I'd read here. To my surprise, it actually worked exactly as described. We got through to an IRS representative who specifically handles S-Corporation matters. They clarified the reporting requirements for our treasury stock transaction and confirmed the specifics of how it would affect our AAA and accumulated E&P from our C-Corp days. Most importantly, they pointed out a potential issue with our planned transaction that could have inadvertently created a second class of stock and jeopardized our S election. Definitely saved us from a potential disaster, and I'm eating humble pie now for my skepticism.
0 coins
Mae Bennett
I think people are overlooking an important S-Corp specific issue here. When you buy back the shares at $67,500, that transaction is essentially a distribution to the departing shareholder, and S-Corp distributions have ordering rules. It first comes from AAA, then from any previously taxed income (PTI), then from accumulated earnings & profits (if you were previously a C-Corp), and finally as a return of capital. If your S-Corp doesn't have enough AAA to cover the $67,500, part of the distribution might be taxed differently to the departing shareholder. The journal entries themselves might be straightforward, but the tax implications can get complicated depending on your specific AAA balance and history.
0 coins
Beatrice Marshall
•This is such a good point! Our company did something similar last year and didn't consider the AAA balance. It created a huge headache when our accountant pointed out that part of the distribution was actually taxable as a dividend because it exceeded AAA. Is there a specific form that should be filed to report the buyback transaction to the IRS?
0 coins
Mae Bennett
•You're exactly right to ask about forms. The S corporation should report the stock redemption on Form 1099-DIV if any portion is treated as a dividend (which happens if you exhaust AAA and have accumulated E&P from C corporation years). Additionally, you'll want to carefully document the transaction on Schedule K and K-1 for the departing shareholder. There's no specific form just for the redemption itself, but it's crucial to maintain accurate records of your AAA and other tax attributes on the S corporation's books, as these will be examined if you're ever audited. Also, ensure you maintain your shareholder count and properly document ownership changes with your state's Secretary of State office.
0 coins
Melina Haruko
Dumb question maybe but doesn't buying treasury stock and then reselling it potentially risk your S Corp status? I thought S Corps can only have one class of stock and I'm worried that if we do something similar, we might accidentally create a second class somehow. Anyone know if there are safe harbor rules or something to avoid this risk?
0 coins
Dallas Villalobos
•Not a dumb question at all! Treasury stock itself doesn't create a second class of stock, but you do need to be careful when you resell it. The key is making sure all shares have identical rights to distributions and liquidation proceeds. Where companies get in trouble is if they sell the treasury shares with different voting rights or distribution preferences. As long as the shares you sell have identical rights to the existing shares, you should be fine. But definitely document everything carefully and consider getting a letter ruling if the transaction is particularly complex.
0 coins
Nia Thompson
Great question about S-Corp treasury stock! I went through this exact scenario last year and learned some hard lessons. The journal entries everyone mentioned are correct, but there's a critical timing issue nobody's addressed yet. When you buy back shares for $67,500, that's considered a distribution for S-Corp purposes, which means it reduces your AAA immediately. But here's the kicker - if you don't have sufficient AAA to cover the full $67,500, the excess becomes taxable to the departing shareholder as a dividend (if you have accumulated E&P from C-Corp days) or as capital gains. Also, make sure you're not accidentally triggering the "second class of stock" trap. If the departing shareholder has any unpaid loans to the corporation or guaranteed corporate debt, the redemption could be recharacterized as a taxable dividend rather than a stock sale. My advice: calculate your current AAA balance before proceeding, and consider whether you need to make an S-Corp distribution to other shareholders to avoid preferential treatment issues. Document everything meticulously because the IRS scrutinizes these transactions closely during audits.
0 coins