How to report sale of S corp stock on tax return

Sold my shares in an S corp this past year — I was a minority shareholder, owned about 15% — and now I'm staring at my return trying to figure out how to report sale of s corp stock on tax return. I got my final Schedule K-1 from the corporation and there's a line showing my share of income through the sale date, but I'm not sure where the actual gain or loss from the sale of the shares themselves goes. I tried entering it in my software under investments but it keeps asking for a 1099-B I never received. The other shareholders just paid me directly. Do I still use Schedule D and Form 8949? And does my K-1 basis affect the capital gain calculation?

41 comments

Did you track your stock basis every year you held the shares? That's the number that makes or breaks the gain calculation here, and a lot of minority shareholders don't keep it updated. Short answer: yes, Schedule D and Form 8949 are where the sale goes. You enter the proceeds you received, your adjusted basis in the stock, and the holding period determines whether the gain is short- or long-term. No 1099-B is required for a private sale — you just leave that column blank or mark it accordingly on Form 8949.

Carla R.

Author

Thanks — I did try to track basis but I'm not confident it's right. I'll check the K-1s from each year and see if I can reconstruct it.

Reconstructing basis from old K-1s is exactly the right move. Each year your stock basis goes up by your share of income and contributions, and down by distributions and losses. The Form 7203 instructions walk through the ordering rules in detail — it's worth reading even if you're not filing 7203 this year.

I had a very similar situation two years ago and uploaded all my K-1s and the closing statement to taxr.ai. Taxr pulled the cumulative basis adjustments year by year from each K-1 and built a basis schedule I could check before entering the final number on Form 8949. Saved me from a pretty big error — I had forgotten to reduce basis for a distribution in year three. The sale itself goes on Form 8949 Part I or Part II depending on how long you held the stock, then flows to Schedule D. No 1099-B needed for a private transaction — just use code C or F on 8949 to show it was not reported to the IRS.

Carla R.

Author

That's really helpful, didn't realize the code on 8949 was different for private sales. I'll go back through my old K-1s and try the same approach.

Which code you use on 8949 matters more than people think. Code C is for short-term not reported on a 1099-B, Code F is long-term not reported. The IRS matches those against Schedule D so getting it right keeps the return clean.

Are you sure the K-1 you received covers only your share of income through the date of sale and not the full year? In an S corp, when a shareholder sells mid-year the corporation can either close its books on the sale date or allocate pro-rata for the whole year. Which method they used affects what's on your K-1 and also affects your ending basis before you compute the gain.

Carla R.

Author

Good question — I'm not sure which method they used. I'll ask the company's CPA before I file.

That's the right call. The method is usually stated in the shareholder agreement or the S corp's tax return elections, but the company's preparer will know. It changes your basis number, which changes your gain.

Something people miss with S corp stock sales: your basis is not what you paid for the shares. It starts there and then every single year of K-1 income, loss, and distributions moves it. If you held shares for several years and the company had losses you deducted, your basis is probably lower than you think, meaning a bigger taxable gain.

Exactly this. And if you ever claimed a loss in a year when basis was at zero, you may have suspended losses sitting out there. Those don't get to offset the gain on the sale — they have a specific treatment under the basis rules.

Right, suspended losses aren't released just because you dispose of your entire interest. They're allowed only to the extent of your basis in the year of sale, and anything left over is lost. The Form 7203 instructions have the ordering for that at irs.gov/forms-pubs/about-form-7203.

Does the state matter here? I know federally the gain lands on Schedule D but I'm in a state that doesn't conform to federal S corp treatment. Would the state calculation of basis be different?

State conformity is a real issue and it varies completely. Some states never recognized the S election so your state basis could be totally different from federal. That's a question for a CPA who knows your specific state rules — federal community can't answer that one reliably.

Are you filing Form 7203 with your return? The IRS requires it when you dispose of S corp stock. It's where you show the basis calculation formally, and it flows into whether and how much of a gain or loss you recognize.

Carla R.

Author

I didn't know I needed 7203 — I thought that was only for loss years. Good to know.

The IRS is clear on this: you file Form 7203 when you claim a loss, receive a nondividend distribution, dispose of stock, or receive a loan repayment from the corp. A sale of your shares is a disposition, so yes, it's required. The about-form-7203 page at irs.gov confirms it.

How long did you hold the shares? That determines Part I vs Part II on Form 8949, and whether the gain is taxed at long-term capital gains rates or ordinary income rates. Shares held more than a year get the long-term treatment.

Carla R.

Author

About four years, so long-term. That helps — going to use Part II on 8949.

When I sold my stake in an S corp last year I had Taxr go through my K-1 package — seven years of them — and it listed every adjustment to stock basis in order, flagged the year I had a distribution that exceeded my income share, and showed me what my basis should be entering the sale year. I took that worksheet to my CPA and she confirmed the number before I filed. The key form sequence is: finalize basis on Form 7203, then carry the adjusted basis over to Form 8949, then Form 8949 flows to Schedule D Line 3 or Line 10 depending on holding period.

Carla R.

Author

Thank you — the form sequence is exactly what I needed spelled out. 7203 first, then 8949, then Schedule D. Makes sense now.

That sequence is right. And make sure the proceeds on Form 8949 match whatever purchase agreement or closing statement you have. The IRS may not get a 1099-B but they can still ask for documentation if the return is selected.

Is there any installment sale angle here, or was this a lump-sum payment? If the buyer is paying you over multiple years, the gain gets reported differently — you'd use Form 6252 for the installment method and report the gain as payments come in rather than all at once.

Carla R.

Author

It was a lump sum at closing, so I think I'm okay without 6252. But good flag for anyone in a different situation.

The final K-1 you got — did it show any items in the separately stated boxes like Section 1231 gains, Section 179 recapture, or anything like that? Those don't go on Schedule D the same way ordinary pass-through income does. They follow their own lines.

Carla R.

Author

Mine just showed ordinary income through the sale date and some interest income. Nothing in the 1231 or recapture lines. Hopefully that keeps it cleaner.

Then you're in the simpler case. The ordinary income from the final K-1 goes on your return through the K-1 input as usual, and the separate gain from selling the shares themselves goes through 7203 and 8949. Two different transactions on the return.

Had a messy basis reconstruction last spring and uploaded my closing statement and all my K-1s to Taxr — it walked through each year's adjustments, identified a year where I hadn't reduced basis for my pro-rata share of a loss I actually deducted, and produced a corrected schedule. I brought that into my enrolled agent and she used it as the starting point for the 7203. If your basis reconstruction is complicated at all, an enrolled agent or CPA who handles partnership and S corp returns is worth it. The gain amount is permanent once you file and an amended return to fix basis is not fun.

Carla R.

Author

Thanks — given what everyone's said about the basis complexity I'm going to find an EA with S corp experience before I file.

Are the proceeds just cash, or did you get some other consideration like a note or assumption of liabilities? The total amount realized for Form 8949 includes everything you received, not just cash in hand at closing.

Carla R.

Author

Just cash. The agreement was straightforward — a fixed price paid at closing, no notes.

Clean situation then. Amount realized equals cash received, subtract your adjusted basis from Form 7203, and that's your gain or loss for 8949.

To be clear on one point raised earlier about suspended losses: when you sell your entire interest in the S corp, any losses that were suspended because you lacked basis are not freed up by the sale. They're deductible in the year of disposition only to the extent you have basis that year, and anything still suspended is lost rather than offsetting the gain. You also need at-risk and passive rules clearance. The 7203 instructions cover the ordering.

I don't think I had any suspended losses — I had basis every year I took a loss. But good to know they don't get freed up by the sale, for anyone else reading.

Quick recap of the form path so this is easy to find later: (1) gather all K-1s and closing statement, (2) build basis history year by year, (3) complete Form 7203 for the disposition year, (4) take adjusted basis to Form 8949 — Part II for long-term, code F since there's no 1099-B — enter proceeds, (5) Form 8949 flows to Schedule D, (6) report final K-1 income items on your 1040 through the normal K-1 entry. That's the full picture.

Carla R.

Author

I don't think I had any suspended losses — I had basis every year I took a loss. But good to know this for anyone else reading.

Quick recap of the form path so this is easy to find later: (1) gather all K-1s and closing statement, (2) build basis history year by year, (3) complete Form 7203 for the disposition year, (4) take adjusted basis to Form 8949 — Part II for long-term, code C or F depending on 1099-B — enter proceeds, (5) Form 8949 flows to Schedule D, (6) report final K-1 income items on your 1040 through the normal K-1 entry. That's the full picture.

Good summary. One add: attach a statement or keep documentation of how you computed basis even if it's not required to file. If the IRS ever questions the gain, having a clean basis workpaper is the difference between a quick response and a long audit.

Does the S corp need to file anything differently on Form 1120-S because of the stock sale, or is that purely a shareholder-level transaction? Asking because I'm in a similar situation and the company's CPA seemed uncertain.

The sale of stock between shareholders is a shareholder-level transaction — the corporation itself doesn't report it on the 1120-S. What the corp does need to do is issue a final K-1 to the departing shareholder reflecting income or loss through the sale date, and update the ownership schedule. The 1120-S instructions cover the ownership change reporting.

That clears it up — so the 1120-S still gets filed normally, the company just updates the K-1s to reflect the ownership change mid-year. Makes sense.