Sale of S corporation stock to related party — how do I report this?

Hoping someone here has dealt with a sale of S corporation stock to related party because I'm stuck. My dad and I each own 50% of an S corp. He wants to sell his shares to me so he can retire. We agreed on a price based on a rough valuation we did ourselves. I already filed Form 7203 last year to track my basis but I'm not sure how his sale gets reported, whether the related-party rules change anything about the gain or loss he recognizes, and whether the S corp itself has to do anything on the 1120-S. We haven't closed the deal yet. I checked the 1120-S instructions and saw something about stock ownership changes but couldn't find anything that addressed whether his loss would be disallowed. What do I actually need to worry about here?

40 comments

Are you and your dad treating this as a straight stock sale, or is there any installment arrangement involved? That changes a few things about how the gain is reported on his side. But the related-party piece you're asking about — yes, it matters. Under IRC 267, a loss on a sale between certain related parties is disallowed. Father and son are on that list. So if your agreed price is below his stock basis and he'd otherwise have a loss, that loss gets disallowed on his return. Gain is still recognized normally though.

Matt C.

Author

It's going to be a lump sum, no installment. And the price we agreed on is actually above his basis so he'd have a gain, not a loss. Does the 267 disallowance still matter at all if there's no loss?

No, if he has a gain there's no 267 problem. The disallowance only applies to losses between related parties, not gains. His gain gets reported on Schedule D on his 1040 as a capital gain. Long or short term depends on how long he's held the shares.

What does your dad's basis in the shares actually look like? Before I dealt with something similar I uploaded my K-1s and the 1120-S to taxr.ai and had it pull together a year-by-year basis schedule so I could see exactly where I stood before the sale closed. Worth doing before you finalize any price. The basis affects whether he has a gain, how big, and the character of it. His Form 7203 from prior years is the starting point if he has one.

Matt C.

Author

He's never filed a 7203 because he never claimed a loss or took a distribution that required it. So his basis is basically what he paid originally plus his cumulative share of income minus distributions over the years. I have the K-1s going back to when we started the company.

Yes, reconstructing it from the K-1s is exactly right. Each year's box 1 ordinary income increases his stock basis, distributions in box 16 code D reduce it, and losses reduce it only to zero before moving to debt basis. The 1120-S instructions walk through the ordering rules if you need a refresher.

Does the S corp need to do anything after the transfer actually closes? Like does the 1120-S for the year of the sale have to show the ownership change?

Yes. The 1120-S has no yes/no box for a stock disposition, but page 1 asks for the number of shareholders during any part of the year, and the K-1s carry the change. The K-1s for the year have to reflect the actual ownership percentages for each part of the year — if the sale closes mid-year, you either do a pro-rata split or a closing-of-the-books election. Those two methods can produce very different income allocations so it's worth deciding before the year ends.

Didn't realize there was a choice there. What drives which method makes more sense?

Closing of the books makes sense when there's a lot of income or activity concentrated in one part of the year, so the buyer and seller each get allocated what actually happened on their watch. Pro-rata is simpler but can shift income in ways that feel arbitrary. The corporation and all affected shareholders (the seller and whoever receives the shares) have to consent to closing of the books — you can't just do it unilaterally.

How was the valuation done? You mentioned it was rough. For a related-party transaction the IRS can challenge the sales price if it doesn't reflect fair market value. That matters especially for gift tax — if you paid less than FMV, the difference could be treated as a gift from your dad to you, which has its own reporting on Form 709.

The S corp's 1120-S itself doesn't report the actual stock sale — that's purely a shareholder-level transaction. The corporation just keeps going; it's the shareholders whose returns change. What the 1120-S does have to get right is the ownership percentages and K-1 allocations for the year of the sale.

Matt C.

Author

That makes sense. So the S corp's EIN, the entity itself, nothing about its inside basis or assets changes just because the stock transfers between shareholders?

Correct. An S corp stock sale doesn't trigger a step-up in the corporation's asset basis the way an asset sale would. Inside basis stays the same. That's one reason buyers sometimes prefer asset deals — but that's a different conversation from what you're doing.

What state are you in? Some states have their own rules on related-party sales or additional filing requirements for ownership transfers in S corps. The federal treatment is one thing but the state K-1 and state return may need their own adjustments.

Matt C.

Author

We're in a state that conforms closely to federal S corp rules, so I don't think it's a big divergence, but I'll double-check the state return instructions.

Has your dad talked to a CPA about the gain on his side? The character of the gain matters — if the shares have been held more than a year it's long-term capital gain, and unlike a partnership interest, S corp stock doesn't have the unrealized-receivables recharacterization rule, so that piece isn't a worry here. I ran my own sale documents through Taxr and it flagged a line on my K-1 I'd overlooked that changed how I was thinking about the gain. Useful for a first-pass review before you sit down with someone.

Matt C.

Author

He's held his shares since we formed the company so definitely long-term. Good call on the CPA though — this is big enough that I think we both need one, especially for his side.

Yes, strongly agree. For a transaction this size with a related party involved, an enrolled agent or CPA who handles S corps regularly is worth it. The gift tax question the other member raised is real and Form 709 is a separate return, generally due April 15 alongside the income tax return.

What happens to the S corp election itself when ownership changes? Like does transferring shares to a related party trigger any check on whether the new ownership still qualifies?

Good question. An S corp can have no more than 100 shareholders, and certain types of entities can't be shareholders at all — trusts have their own rules, and nonresident aliens can't hold shares. Father-to-son within a family generally keeps the election intact, and family members can even be counted as a single shareholder in some cases. But you'd want to confirm nothing about the buyer disqualifies the S election.

Matt C.

Author

It's just me buying, I'm an individual US citizen. So no issue there.

Don't forget your own basis goes up when you buy his shares. Whatever you pay him becomes your starting stock basis in those shares, layered onto whatever basis you already had in your existing 50%. Going forward your Form 7203 will need to track both lots separately if the per-share basis differs.

Matt C.

Author

Oh that's a good point. I'd assumed I'd just combine them but tracking them separately makes sense if the basis per share is different.

Right. In practice many people blend them but if you ever sell a portion of your shares or have a loss year where basis matters, having the lots tracked accurately protects you. Keep the closing documents and the basis schedule together.

Is there any debt the S corp has that your dad personally guaranteed? When he sells the stock he'll want that guarantee released, and note a guarantee by itself never gave him debt basis — only direct loans from him or payments he made on the guarantee would — so you'd need to work through that before the sale.

Matt C.

Author

He does have a personal guarantee on a business line of credit. I hadn't thought about that at all. What's the issue exactly?

A guarantee alone doesn't create debt basis under the regulations — only if he actually paid on it or lent money directly — so if he took losses or distributions assuming guarantee basis, that can affect how they were treated. This is exactly the kind of wrinkle a CPA needs to look at before you close, not after.

Coming at this late but — the 1120-S is due March 15 for a calendar-year S corp, and Form 7004 gives a six-month extension if you need more time to get the year-of-sale return right. Worth knowing if the sale closes near year end and you're still sorting out the allocation method.

Matt C.

Author

The sale will likely close in the fall so we'll have some time before year end, but good to have that in the back of my head.

Has anyone mentioned the need for a purchase agreement that spells out exactly what's being sold and the agreed price? For a related-party deal the IRS scrutinizes the terms more carefully and having a written agreement with the fair market value documented is part of your paper trail if anything ever gets questioned.

Yes and get the valuation in writing too. Even a simple one from a business valuator is better than a number two family members agreed on over dinner. The gift tax exposure the other commenter mentioned is real if the price is below FMV.

Where does the gain show up on your dad's actual 1040? I've seen people confused about which schedule handles S corp stock sales.

Schedule D on his 1040, same as any other stock sale. He'll report the sale price, his adjusted basis, and the gain. The holding period determines long-term vs. short-term. No K-1 from the S corp reports it — the sale is entirely at the shareholder level.

Got it. So the S corp's K-1 for the final portion of the year just shows his share of income and deductions up to the sale date, and the stock sale itself is separate.

Exactly right. Two separate items on his return: the K-1 income for the stub period, and the Schedule D stock sale. They don't net together.

Does the agreed price include any amount for the goodwill of the business? In an S corp stock sale the buyer gets no step-up in assets, so the allocation of purchase price matters a lot less than in an asset deal — but if there's goodwill value baked into the price, that affects how reasonable the price looks relative to the book value of the shares.

Has the S corp had any built-in gains exposure? If the company converted from a C corp at some point, BIG tax can apply at the entity level during the recognition period. If it was always an S corp that's not an issue, but worth confirming.

Matt C.

Author

Always been an S corp from day one, so no C corp history. Good to know that's a thing though.

To recap what I'm reading in this thread: his gain goes on Schedule D, the 267 loss disallowance doesn't hurt you because he has a gain not a loss, the 1120-S K-1s need to reflect the ownership percentages and pick an allocation method, and your basis in the acquired shares is what you pay. The guarantee and the valuation questions are the two things that could surprise you. A CPA who does S corps regularly before you close is not optional on a deal like this.