Selling an S corporation — what do I need to know before we close?

We are in the middle of selling an S corporation that my partner and I have owned for about six years. The buyer wants a stock sale, our attorney is pushing an asset sale, and I honestly don't know which one changes my tax picture more. I've got my Schedule K-1 from last year showing accumulated basis, and I pulled up Form 7203 to see where I stand on stock basis before the sale closes. The number on 7203 Part I surprised me — it's lower than I expected after some loss years early on. My question is whether the gain on the sale all runs through my personal 1040 as capital gain, or whether some piece of it gets recharacterized, and whether I need to do anything else on the S corp side before the final 1120-S is filed.

41 comments

Stock sale vs asset sale is probably the biggest decision here. Did your attorney explain what the buyer is trying to get with the asset sale? Buyers almost always want assets because they get a step-up in basis on what they buy. That benefits them, not you — you end up with ordinary income on certain assets instead of all long-term capital gain.

Greg N.

Author

Next step I'm on: figuring out exactly which assets would trigger ordinary income. The attorney mentioned depreciation recapture but didn't go deeper than that.

Depreciation recapture under Section 1245 is the main one — any personal property or equipment that was depreciated gets recaptured as ordinary income up to the amount of depreciation taken, even in an asset sale structured through an S corp. The gain above that is capital. Your old 1120-S depreciation schedules will tell you the numbers.

Are you treating your basis on Form 7203 as your starting point for the gain calculation? Because the gain on a stock sale is simply sale price minus your adjusted stock basis on 7203. I uploaded my own purchase agreement and K-1 history to taxr.ai last year when I sold shares, and it walked through which lines on 7203 fed into my gain number and flagged two years where my basis hadn't been reduced for losses I'd deducted — I hadn't caught that. Worth checking if your basis history is clean all the way back to formation.

Greg N.

Author

I could use that same check on my own basis history. I only have K-1s going back four years — the first two years I either lost them or they weren't issued correctly. Does a gap in K-1 history break the basis calculation?

A gap doesn't break it, but you have to reconstruct. Pull the original 1120-S filings for those years if you can — the preparer should have copies. The income and loss items on Schedule K flow to your basis, so you need those numbers even if the K-1 paper itself is missing.

What is the structure of the sale price — straight cash at close, or is there an earnout or seller note involved? That matters a lot because an installment sale treatment under Section 453 might spread your gain across the years you receive payments, which changes when you owe tax. Not every type of gain qualifies though.

Greg N.

Author

There is a seller note for about 20 percent of the price, payable over three years. So yes, an installment piece is in play.

Installment sale reporting goes on Form 6252. The gross profit percentage gets locked in at the sale year and applies to each payment as you receive it. Your attorney or a CPA should draft the note terms carefully — there are related-party and dealer rules that can disqualify installment treatment in some situations.

Don't forget the final 1120-S. The corporation still has to file for the short year ending on the closing date if the sale closes mid-year. That return picks up all income and loss through the sale date, and those items flow to your K-1 and affect your basis one last time before you calculate the gain.

Greg N.

Author

Short year return — hadn't thought about that. Does the due date change for a short year?

The due date is still the 15th day of the 3rd month after the tax year ends. So if the sale closes and the S corp's final year ends in, say, October, the return is due in January. Form 7004 extends that by 6 months if you need more time.

Has your basis ever gone negative on 7203 or did you have years where you suspended losses because basis hit zero? If you suspended losses, those don't free up at sale — once you sell all your stock they're gone for good and don't get factored into the sale-year calculation. A lot of people miss that.

Greg N.

Author

Two of the early years I could not deduct the full loss because basis was too low. So yes, suspended losses are sitting there somewhere.

Those suspended losses don't release in the year of disposition — when you sell all your stock they're lost, and they don't reduce your gain or increase your loss on the stock sale. They show up in the basis reconciliation on 7203. Make sure whoever prepares your final return knows they exist and where they came from.

Is there a buyer assuming any S corp liabilities? In a stock sale the buyer takes on whatever the corporation owes, but that doesn't add to your sale proceeds the way it would in a partnership deal — S corp shareholders don't get basis from entity-level debt the way partners do.

Greg N.

Author

There's a small equipment loan the buyer is assuming. Good to know that works differently than partnership debt.

The asset-vs-stock question also hits the buyer's willingness to pay. Buyers often pay less in a stock sale because they lose the step-up, so they want a price concession. When I was working through a similar deal I gave Taxr my draft asset purchase agreement and my 1120-S from the prior year, and it listed every asset class with the estimated ordinary income versus capital gain split — that gave me a real comparison to bring to the negotiation rather than just guessing. Helped me see the after-tax difference between structures clearly.

Allocation of purchase price in an asset sale is locked in by filing Form 8594 — both buyer and seller have to file it and the allocations have to match. The seven asset classes determine what gets ordinary treatment vs capital.

Form 8594 is due with the return for the year of sale. The asset classes in Section 1060 go in a specific priority order, and goodwill and going-concern value end up in Class VII, which is capital gain territory for most sellers.

What state are you in? Some states tax S corp gains differently from federal — a few don't even recognize the S election, so the corporation pays entity-level tax there. That can be a real surprise at close.

Greg N.

Author

We're in a state that conforms to the federal S election, so I think we're okay there, but I should double-check with a local CPA.

Conformity is the starting point but check whether the state has its own built-in gains tax or a separate holding-period rule. Some conforming states still layer on their own rules at the entity level.

If the S corp ever converted from a C corporation, the built-in gains tax under Section 1374 could apply to asset appreciation that existed at the conversion date, even though you've been an S corp for years. Is there any C corp history here?

Greg N.

Author

No C corp history — we made the S election on day one when we formed the entity. So no built-in gains issue to worry about, I think.

Correct, BIG tax only applies when there was a prior C period or when the S corp acquired assets from a C corporation in a carryover-basis transaction. You're in the clear on that one.

Reasonable compensation is another thing to settle before you close. If the IRS later questions whether you paid yourself enough salary as an owner-employee during the years you operated, they can reclassify distributions as wages, which reopens payroll tax. I had Taxr go through my W-2s alongside my K-1s for the sale year to check whether my salary looked defensible relative to what the business earned — it flagged the ratio and noted what documentation I should keep. Good thing to have in a file if the IRS ever looks at the sale year return.

Greg N.

Author

We did pay ourselves W-2 wages throughout, but I never formally benchmarked what 'reasonable' looks like for our industry. Is there a form that sets the standard?

No single form sets it — the IRS looks at comparable salaries for the services you performed, the corporation's earnings, and what an arm's-length employer would pay. Revenue Ruling 74-44 is the old authority. Document it with industry salary surveys now, before close, so you have something contemporaneous.

Are both shareholders selling at the same time or is one of you exiting first? A partial sale where only one shareholder sells can create an issue with how income is allocated for the short period — the per-share per-day method is the default, but you can elect the interim closing method to cut off income exactly at the sale date.

Greg N.

Author

We're both selling at the same time, so I don't think the partial exit issue applies here. Good to know it exists though.

The final K-1 from the closing-year 1120-S needs to be in your hands before you finalize your personal return. I've seen people file their 1040 before the final K-1 is ready and then have to amend. The income, deductions, and basis adjustments on that last K-1 are what you need to close out 7203 correctly.

Greg N.

Author

Makes sense to wait for it. Any issue with extending the personal return while we wait for the final 1120-S to be prepared?

Extending your 1040 on Form 4868 is exactly what that extension is for. The S corp return is due March 15 and you can extend it too on Form 7004 for 6 months. File both extensions if the timing is tight — just remember an extension to file is not an extension to pay, so estimate what you owe and pay it with the 4868.

Don't overlook the shareholder agreement when you're figuring out proceeds. Sometimes there are redemption clauses or buy-sell provisions that affect the actual amount you're treated as receiving, and those can interact with installment treatment in ways that aren't obvious.

You mentioned your basis number surprised you on 7203. Did you go back and check that the annual basis adjustments were applied in the right order? The order matters: you increase for income items first, then decrease for distributions, then decrease for losses and deductions. If a preparer applied losses before distributions in a loss year, the basis calc comes out wrong.

Greg N.

Author

I did not check the order — I assumed the preparer had it right. That might explain the lower number.

The ordering rules are in the Form 7203 instructions. Look at Part I, lines 1 through 15 — the structure walks you through the correct order. If your basis is off, correcting it now before sale is much easier than fighting it later.

Whoever prepares the final 1120-S and your personal 1040 should be the same person or at least talking to each other closely. The numbers have to tie — gain on the 1040, basis on 7203, proceeds on Schedule D, the final K-1. I'd strongly suggest a CPA who does both business and personal returns for closely held businesses if you don't already have one.

Greg N.

Author

We've used separate preparers for the business and personal returns, which I'm now realizing is probably a problem for a transaction like this.

Bring them together now before the sale closes. If that's not workable, hire one lead CPA to coordinate everything and have them supervise both filings. The cost of a mismatch between the K-1 and your 1040 is a lot higher than the cost of coordination up front.