How LLC Owners Save on Taxes in 2026

S corporation exit planning guideUpdated August 2026

Selling an S Corporation

Work through stock versus asset sale questions, S corporation history, shareholder basis, allocation, payment terms, and closing records before an S corporation transaction is finalized.

✓ Current official sources✓ Records before assumptions✓ Clear next decision

Selling an S Corporation: Tax Planning & Sale Strategy Guide

An S corporation sale can involve stock, corporate assets, or specialized elections. The relevant tax questions may depend on company history, shareholder records, purchase-price allocation, payment design, and the states connected to the business.

Planning note

Use this guide to organize the facts and records behind this tax question. It is federal or state tax education, not an individualized filing position or a substitute for current form instructions.

Confirm what the buyer proposes to acquire in an S corporation transaction

A direct way to begin a sale plan is to identify exactly what the buyer intends to acquire and how the deal will be documented. In S corporation sales, this usually comes down to two primary structures: a purchase of stock from the shareholders or a purchase of the business assets from the corporation. Each path can lead to very different federal income tax results, reporting, and timing. The IRS’s Sale of a Business page explains that when a business is sold, the parties often must allocate the total price among different asset types and that each asset category can produce different tax outcomes when sold. In a stock sale, however, the buyer typically acquires the shareholders’ stock rather than the corporation’s assets, so the allocation concept applies differently or not at all unless a specialized election is made.

Start by reviewing the buyer’s letter of intent and any draft purchase agreement for clarity about:

  • Whether the buyer wants to acquire stock or specific assets.
  • How liabilities, working capital, and cash are handled.
  • Whether contracts, permits, and licenses are being assigned.
  • Whether any real estate is included or will be retained and leased.
  • Whether the buyer is considering an election to treat a stock purchase as a deemed asset purchase for tax purposes.

Labels alone rarely settle the question. An agreement might use the words “stock” or “assets,” but the factual substance—what actually changes hands—drives the reporting. Align the letter of intent, the purchase agreement, and the closing statement with the actual “who sold what to whom” facts. The IRS materials emphasize that sale reporting follows the underlying transaction facts; parties may not rely only on document titles.

Where a buyer prefers to step up the basis of the underlying assets but also wants a stock acquisition from a legal standpoint, the parties may explore a Section 338(h)(10) election in situations where it is available. The IRS’s About Form 8023 page explains that Form 8023 is used to make this election and sets out who can make it and how to file. When a valid election is made, the stock deal is treated, for tax purposes, as if the target corporation sold its assets and then liquidated. In that case, the IRS’s Instructions for Form 8883 explain how parties report and allocate the deemed asset purchase price among the corporation’s assets for federal income tax purposes. Allocation affects the character of gains recognized by the corporation (and thus passed through to the shareholders on their Schedules K-1) and the buyer’s starting basis in the acquired assets.

When the buyer proposes an asset purchase without an election, the corporation is the seller. The corporation recognizes gain or loss on each asset sold, passes the results through to shareholders, and may need to consider whether any corporate-level taxes can apply in special situations described in the Instructions for Form 1120-S. If the buyer proposes a stock purchase without any specialized election, the shareholders are typically the sellers and may recognize gain or loss on their stock, which is informed by each shareholder’s basis. Early clarity about “what is being acquired” helps you anticipate which tax forms and schedules the IRS instructions say will be needed and which records you must assemble before closing.

A simple comparison can help organize your thinking:

Structure Who sells what Tax recognized by Where gain generally flows Buyer’s basis result Allocation statement
Stock sale Shareholders sell stock Shareholders Shareholders’ returns Buyer’s stock basis Not typically applicable
Asset sale Corporation sells assets Corporation (pass-through to shareholders) Corporate return and K-1s to shareholders Buyer’s asset basis by category Asset allocation schedule may be required
Stock sale with 338(h)(10) election Treated as corporation sold assets Corporation (pass-through to shareholders) Corporate return and K-1s; allocation on election forms Buyer’s stepped-up asset basis Form 8883 per instructions

Confirm which column your deal inhabits before negotiating price, escrow terms, or earnouts. The correct column depends on facts, election availability, and proper filing as described in the relevant IRS instructions.

Establish the S corporation’s history before treating the sale as simple

Before you assume your sale will be simple, pause to gather the S corporation’s history. The IRS’s Instructions for Form 1120-S provide a useful map of items that can affect an S corporation’s annual filing and, by extension, how a sale may be reported. From a sale-planning perspective, several historical facts can matter:

  • When the S election became effective and whether there were any periods when the corporation was taxed as a C corporation. The Instructions for Form 1120-S discuss corporate-level taxes that can apply in certain cases, including a tax on built-in gains. If the corporation had a prior C corporation period and owns appreciated assets, selling those assets (or being treated as selling them under a Section 338(h)(10) election) within a specified recognition period can lead to a corporate-level tax, separate from the pass-through items. This is a history-driven issue; it depends on when the S election took effect and the amount of appreciation that existed at conversion.
  • Whether the number and types of shareholders satisfied S corporation eligibility rules throughout the company’s life. While this is often a legal-entity housekeeping topic, the Instructions for Form 1120-S emphasize that eligibility affects status and reporting. A sale negotiation can be upended late in the process if historical records suggest questions about shareholder eligibility or S election continuity.
  • Whether the corporation had accumulated earnings and profits from a prior C corporation period. The Instructions for Form 1120-S discuss accounts such as the Accumulated Adjustments Account (AAA) and how distributions can be characterized when there is accumulated earnings and profits. Although a sale transaction may overshadow distributions, understanding these accounts can be important if the deal includes pre-closing or post-closing distributions, redemptions, or liquidating steps.
  • Whether the corporation engaged in acquisitions or asset transfers in prior years that affect tax basis, depreciation methods, or the character of gains. The IRS Sale of a Business page emphasizes that different asset classes can produce different kinds of income when sold. Understanding the corporation’s fixed asset records and intangible property history informs price allocation and potential gain character.
  • Whether any state-level filing footprint could affect returns for a short tax year or filings related to a final return after a sale. While state details vary and this guide does not cover state rules, the geographic footprint of operations can influence where follow-up filings may be needed.
  • Whether the company previously considered stock sales, redemptions, or elections that would intersect with a buyer’s request for a Section 338(h)(10) election. The IRS’s About Form 8023 page explains which acquisitions can be the basis for that election and the procedural mechanics. Only certain buyers and transaction types can use this election, and both sides need to prepare the required forms.

A practical workflow:

  1. Assemble formation documents, stock ledgers, S election filings or acceptance notices, and all recent federal returns with schedules and K-1s.
  2. Confirm whether there was ever a C corporation period. If there was, identify appreciated assets and the date the S election took effect to assess whether the built-in gains topic could be relevant under the 1120-S instructions.
  3. Gather depreciation schedules, intangible asset details, and inventory/cost records to prepare for allocation questions.
  4. Identify any shareholder trusts or entities and confirm their S corporation eligibility history because it can affect status and, in turn, how a sale can be structured.

This history step does not decide your structure by itself. But it frames your negotiation stance, highlights whether corporate-level taxes can apply in addition to shareholder-level consequences, and guides the records you will need to complete federal filings described in the IRS instructions after closing.

Review shareholder basis and previously taxed amounts as factual starting points

Regardless of whether a deal becomes a stock sale, asset sale, or a stock sale with a deemed asset election, shareholder stock and debt basis are foundational facts. The IRS’s Instructions for Form 1120-S explain that an S corporation’s income, deductions, and credits pass through to shareholders, who must keep track of basis in their stock and any loans they made directly to the corporation. Basis matters because it can affect:

  • The amount of gain or loss a shareholder recognizes on a stock sale.
  • The ability to deduct pass-through losses in the year of sale.
  • The taxability of distributions in proximity to closing.
  • The ordering of basis adjustments when the corporation sells assets and passes gain or loss through to shareholders.

Previously taxed amounts—such as undistributed income that increased basis in prior years—also influence these outcomes. The 1120-S instructions discuss how shareholders adjust basis annually for income, losses, deductions, and distributions. If the corporation sells assets (or is treated as doing so in a Section 338(h)(10) election), those pass-through gains generally increase shareholder basis before calculating the effect of distributions or liquidating steps during the year. That sequencing can change both the amount and character of what shareholders report.

A careful basis review typically includes:

  • A per-shareholder basis schedule reflecting stock basis over time, not just the most recent year. Reconcile the schedule to K-1 items reported historically, distributions made, and shareholder-level adjustments described in the instructions.
  • A record of any loans from each shareholder to the corporation (debt basis). The 1120-S instructions differentiate stock basis from basis in direct shareholder loans. Repayment of shareholder loans in connection with a sale can have different consequences than stock transactions and should be recorded correctly.
  • A summary of undistributed pass-through income in recent years and any losses limited by basis, at-risk, or other limitations. While those limitations can be complex, the presence of carryovers or losses affects how sale-year pass-through income can be used.

For stock sales without special elections, each shareholder’s gain or loss is generally measured against their adjusted stock basis at the time of sale. If there are pre-closing or post-closing cash movements or redemptions, the presence of accumulated adjustments and accumulated earnings and profits may affect the character of those distributions under the 1120-S instructions.

For asset sales or deemed asset sales, the corporation’s recognition of gain by asset category flows to shareholders’ K-1s. That pass-through can both change the shareholders’ stock basis during the year and influence whether the end-of-year distribution or liquidation steps have additional tax effects.

Working from accurate basis schedules reduces unpleasant surprises late in negotiations and supports consistent reporting between the closing statement, corporate return, and shareholder returns. Because basis can be affected by many years of pass-through activity, it may be worth reconciling basis well in advance of closing so that deal pricing and tax-sharing terms can reflect the likely pass-through outcomes. The IRS’s Sale of a Business page underscores that the character and allocation of price among assets can change tax results; shareholder basis is the lens through which those pass-through items are finally absorbed on individual returns.

Address purchase-price allocation and corporate assets

If the buyer acquires assets from the S corporation—or if the parties make a Section 338(h)(10) election so a stock purchase is treated as a deemed asset acquisition—purchase-price allocation becomes a central planning item. The IRS’s Sale of a Business page explains that the total consideration must often be allocated among the business’s assets and that different kinds of assets can produce different kinds of income or loss when sold. For instance, cash is not an income item, accounts receivable can yield ordinary income when collected or sold, inventory is typically treated differently from land, and many intangible assets, such as goodwill, are handled under specific rules. The way the price is spread across those categories can affect both the corporation’s recognized gain and the buyer’s future deductions.

In a straightforward asset sale, the seller and buyer commonly agree on an allocation schedule in the purchase agreement. The allocation then becomes the framework for reporting on the parties’ respective tax returns. The IRS may require the parties to use a consistent allocation and attach statements to their returns. While the IRS Sale of a Business page provides general guidance on allocating price among assets, it also emphasizes that the character of each asset determines how the sale is taxed. Consequently, the corporation needs detailed fixed asset and intangible property records, depreciation schedules, and support for any customer-based intangibles to ground the allocation in facts.

If the deal is structured as a stock sale with a valid Section 338(h)(10) election, the IRS treats the transaction, for tax purposes, as though the target S corporation sold all of its assets to a new corporation and then liquidated. In those cases, the IRS’s Instructions for Form 8883 explain how to report and allocate the deemed purchase price among the target’s assets. The allocation reported on Form 8883 should track the parties’ agreement and reflect the fair market values of asset categories. This allocation drives the corporation’s deemed gain by category (which passes through to the shareholders’ K-1s) and the buyer’s opening tax basis in the assets going forward.

Practical steps to prepare for allocation negotiations include:

  • Creating an up-to-date fixed asset rollforward, including cost, placed-in-service dates, and methods used for tax depreciation.
  • Documenting intangible property, such as trade names, customer lists, noncompete agreements, and goodwill. The IRS Sale of a Business page recognizes goodwill as an intangible that can be part of a business sale.
  • Segregating inventory and accounts receivable and identifying whether and how they will be transferred. In some deals, the buyer may exclude certain working capital items or adjust the price post-closing based on a working capital target.
  • Clarifying how assumed liabilities, transaction costs, escrow amounts, and any seller-financing features will be treated for allocation purposes. The total “amount realized” for the seller and the “cost” to the buyer can include more than just the headline cash price.

For a seller that was formerly a C corporation, allocating a meaningful portion of the price to appreciated assets can raise built-in gains considerations described in the Instructions for Form 1120-S. While this guide does not compute any amounts or periods, sellers in that situation often evaluate allocation choices with that corporate-level tax in mind.

The key is consistency. The allocation should be reflected consistently in the purchase agreement, any required tax allocation statements, the closing statement, the corporation’s federal return, and the shareholders’ returns. The IRS Sale of a Business page and Instructions for Form 8883, where applicable, provide the official framework for how to present and support the allocation.

Evaluate payment design and specialized election questions

How and when the seller receives the price can change what the seller reports for the year of sale. The IRS’s Sale of a Business page discusses installment sales and explains that, in some cases, sellers may be able to spread recognized gain over time as payments are received. Whether this method applies depends on the types of property involved and other factors. Some items may be ineligible for installment reporting, and special rules can apply to contract terms such as earnouts. The presence of stated interest or interest imputed by tax rules can also affect the timing and character of amounts recognized. Because payment design can alter the pattern of recognition, it is often negotiated alongside price and allocation.

Common payment designs include:

  • All-cash at closing with or without an escrow holdback.
  • Seller-financed notes with fixed payments over time.
  • Earnouts based on performance metrics after closing.
  • Working capital or other true-up mechanisms that adjust price post-closing.
  • Contingent consideration that depends on government or contractual approvals.

In a stock sale, installment reporting—where available—applies at the shareholder level. In an asset sale, the corporation is the seller, and any installment method generally applies to the corporation’s sale of eligible assets; the resulting income or loss then passes through to shareholders on their Schedules K-1. When the deal is a stock sale combined with a Section 338(h)(10) election, the tax law treats the transaction as a deemed asset sale for reporting purposes. The IRS’s About Form 8023 page explains the election mechanism, and the Instructions for Form 8883 explain how the parties report the allocation of the deemed purchase price among the assets. The election can change both the character and timing of the seller’s recognized income and the buyer’s future deductions.

When evaluating whether to consider an election, parties often weigh:

  • Whether the buyer is eligible and willing to make the election jointly with the S corporation shareholders, as described on the IRS’s About Form 8023 page.
  • How an election changes the character of the seller’s income by asset category compared with a straight stock sale outcome.
  • Whether the S corporation has a former C corporation history that can introduce built-in gains considerations described in the Instructions for Form 1120-S if the transaction is treated as an asset sale.
  • The reporting steps required after an election, including preparing and filing Form 8023 and, for the allocation, Form 8883 per the instructions.

From a cash-flow viewpoint, an installment note can appear attractive, but it may come with tradeoffs such as interest mechanics and complexities around contingent payments. The IRS Sale of a Business page cautions that not every part of a business sale is eligible for installment reporting, and the presence of different asset types changes the analysis. When negotiating payment terms, sellers can protect flexibility by spelling out how post-closing adjustments, earnouts, or escrows interact with installment reporting and the agreed allocation. That way, the closing statement, the corporation’s return, and the shareholders’ returns can report the same facts the same way, consistent with the IRS instructions.

Finally, pricing and payment choices should be consistent with the type of deal the buyer is pursuing. An asset deal handled entirely inside the corporation calls for corporate-level reporting and shareholder K-1s. A pure stock sale focuses on shareholder-level reporting. A stock sale with a Section 338(h)(10) election blends corporate reporting with stock-level mechanics for legal purposes. The right reporting path depends on the final structure, the parties’ elections, and the applicable IRS instructions.

### A narrow installment-obligation and recapture note

If an S corporation sells assets and the parties are considering a complete liquidation, do not assume that distributing a buyer note has the same result as distributing cash. Section 453(h) contains rules for particular qualifying liquidations in which a shareholder receives an installment obligation acquired by the corporation; the timing of the liquidation, the terms of the obligation, the assets sold, and the relationship of the parties can all matter. Special provisions can also apply where related persons and depreciable property are involved. Separately, the installment method does not move every item of income into later payment years: the Internal Revenue Code and the IRS explain that recapture income is recognized in the year of disposition. The purchase agreement, allocation schedule, note, liquidation documents, shareholder records, and expected reporting should therefore be reviewed together rather than treating a deferred-payment label as the answer. 26 U.S.C. § 453 and IRS Publication 537 provide the underlying framework.

Coordinate closing and post-closing tax records

Good records make sale-year filing smoother. The IRS’s Instructions for Form 1120-S outline annual reporting for S corporations, including special rules for short tax years and items that pass through to shareholders. The IRS Sale of a Business page underscores the need to allocate purchase price among assets when applicable. The IRS’s About Form 8023 and Instructions for Form 8883 provide the framework for specialized elections and allocation reporting in deemed asset sale situations. Using those sources as a checklist, assemble the following before closing:

  • Corporate governance: articles, bylaws, minute book, capitalization table, shareholder agreements, and evidence of the S election’s acceptance or prior filings.
  • Contracts and assets: customer agreements, vendor contracts, leases, intellectual property records, fixed asset ledgers with tax depreciation details, intangible property documentation, inventory listings, and accounts receivable summaries.
  • Financial and tax: recent federal S corporation returns (Form 1120-S) with all schedules and shareholder K-1s, basis schedules per shareholder, and workpapers supporting book-to-tax differences.
  • Allocation support: appraisals or analyses used to negotiate price allocation among tangible and intangible assets, and the agreed allocation exhibit from the purchase agreement.
  • Payment terms: executed financing notes, escrow instructions, earnout formulas, and working capital adjustment mechanics tied to the purchase price allocation.
  • Election materials: if a Section 338(h)(10) election is contemplated, drafts of Form 8023 and the information required to complete it, along with the asset allocation information to be reported on Form 8883 per its instructions.
  • State footprint: a summary of where the corporation filed returns and paid taxes, so short-year or final-year filings can be addressed. While this guide does not cover state rules, identifying the footprint helps plan follow-up filings.

After closing, align the closing statement, the purchase agreement allocation schedule, and your tax filings:

  • For a stock sale without special elections, shareholders will generally report stock gain or loss informed by each person’s adjusted stock basis. Confirm that any pre-closing or post-closing distributions are reflected and characterized consistently with the 1120-S instructions.
  • For an asset sale, prepare the corporate return reflecting the sale of each asset. The corporation’s income and losses pass through to shareholders on K-1s, which shareholders use for their returns. Maintain consistency between asset-level sale details, book gain/loss, and tax reporting.
  • For a stock sale with a Section 338(h)(10) election, confirm that Form 8023 is timely filed and that Form 8883 is prepared consistent with the agreed allocation. The deemed asset sale results are then included in the S corporation’s return and K-1s.

If the S corporation had a former C corporation period, coordinate with the Instructions for Form 1120-S on whether corporate-level taxes, such as the tax on built-in gains, may apply. This is a fact-dependent analysis tied to the timing of the S election and the appreciation in corporate assets. Ensure that any such items are computed and reported according to current instructions.

Finally, communicate with shareholders early about expected K-1 timing, especially when a short-year return is required because of a midyear closing. The 1120-S instructions explain filing for short years and the distribution of pass-through items. When sellers understand when and how their K-1s will arrive, they can prepare their own returns accordingly. If allocation statements or election forms are required, keep copies with the company’s permanent tax records to support consistent reporting in future years.

Selling an S Corporation: Tax Planning & Sale Strategy Guide FAQs

Official sources and next reads

Tax treatment can depend on activity, timing, records, filing year, and other facts. For a substantial balance, mixed activity, an issuer error, or a time-sensitive filing question, consider qualified tax advice before acting.