Selling a Business: How Structure Decides the Tax Bill in Advance
By MercConsulting · Published 2026-08-27 · Updated 2026-09-02
The tax on a business sale is set years before the offer: stock vs asset deal, QSBS tests, installment reporting, the F-reorganization, ESOPs and charitable trusts, and when each lever must be pulled.
The tax bill on the sale of a business is mostly decided before the buyer shows up. Your entity type, whether the deal is a stock sale or an asset sale, how long you have held your shares, and whether the structure allows installment reporting, a pre-sale reorganization, an employee stock ownership plan, or a charitable vehicle can change what you keep by a wide margin — and most of those levers require years of lead time. The letter of intent is the moment the options close, not the moment they open.
This guide covers the stock-versus-asset decision, the qualified small business stock exclusion, the installment method, the F-reorganization now standard in private-equity deals, ESOP sales, charitable trusts, and step-up planning — and ends with the timeline, because the timeline is the point.
"We had a great offer and a great lawyer. What we didn't have was three years of runway, which is what it would have taken to set the company up so the sale was taxed the way the offer assumed it would be."
Stock Sale Versus Asset Sale: Why the Two Sides Disagree
In a stock sale, the buyer purchases your ownership interests and takes the company as it is, with its history, contracts, and liabilities. In an asset sale, the company sells its assets to the buyer and the proceeds come out to you. The legal and diligence differences are covered in our primer on asset versus stock purchases; the tax difference is the subject here.
Sellers generally prefer stock sales because the gain on shares held more than a year is a single layer of long-term capital gain. Buyers generally prefer asset sales because they receive a stepped-up basis in the assets, which they depreciate and amortize, and because they can leave unknown liabilities behind. For a C-corp, an asset sale is punishing: the corporation pays tax on the gain, and the shareholders pay again when the proceeds are distributed. For an S-corp or partnership, an asset sale is a single layer, but the character is split — ordinary income on inventory, cash-basis receivables, and depreciation recapture, capital gain on goodwill and most other intangibles.
That split is negotiated. Under §1060, both parties must allocate the purchase price among asset classes and report the same allocation on Form 8594, so every dollar the buyer pushes toward equipment for faster write-offs is a dollar the seller reports as ordinary income.
Personal goodwill can be a separate asset. Where a business's value rests on the owner's relationships and reputation, and no employment or non-compete agreement has transferred that goodwill to the corporation, courts have recognized that the owner can sell personal goodwill directly, taxed once as capital gain. It is most valuable to C-corp owners facing double tax, and it requires documentation, a valuation, and lead time.
Qualified Small Business Stock Under §1202
The QSBS exclusion allows a non-corporate shareholder to exclude gain on the sale of qualifying C-corp stock up to a per-issuer cap. The tests are strict and most of them apply at issuance, which is why the planning starts years early:
- A domestic C-corp. Stock in an S-corp, an LLC, or a partnership does not qualify, though an LLC that converts to a C-corp can issue qualifying stock from the conversion forward.
- Original issuance. You must have acquired the stock directly from the corporation for money, property, or services, not from another shareholder.
- The gross-asset test. The corporation's gross assets must have been below the statutory ceiling at all times before and immediately after the issuance. When an LLC converts, the assets are counted at fair market value, so a valuable business can fail the test on the day it converts.
- The active-business requirement. Substantially all of the corporation's assets must be used in a qualified trade or business throughout the holding period. Health, law, accounting, consulting, financial services, hospitality, and several other fields are excluded.
- The holding period. Historically five years for the full exclusion. Legislation in 2025 introduced tiered partial exclusions for shorter holding periods and raised the caps for stock issued after mid-2025, so verify the current tiers and which rules apply to your issuance date.
QSBS is the strongest argument for a C-corp for a company that expects a large exit and is not in an excluded field, and it is the reason that an S-corp election or a lingering LLC structure can foreclose the exclusion entirely.
The Installment Method Under §453
When part of the price is paid over time by a buyer's note, the installment method lets you recognize gain as payments arrive rather than all in the year of sale. It spreads the tax, may keep income out of higher brackets, and is common when a seller finances part of the deal, a topic covered in our comparison of SBA and seller financing.
The limits matter. Depreciation recapture is recognized in full in the year of sale regardless of when cash arrives. Inventory and dealer property do not qualify. Large outstanding installment obligations can trigger an interest charge on the deferred tax above a threshold, and pledging the note as collateral can accelerate the gain. A note also carries credit risk: the deferred tax is only a benefit if the buyer pays.
The F-Reorganization: Why Private Equity Deals Look the Way They Do
When the target is an S-corp, buyers want an asset purchase for the basis step-up, sellers want stock-sale treatment, and both worry that a defect in the S election years earlier could unravel the deal. The pre-sale F-reorganization under §368(a)(1)(F) resolves all three. The shareholders form a new holding company, contribute their S-corp shares to it, and the original company becomes a qualified subchapter S subsidiary that then converts to an LLC under state law. The buyer purchases interests in the LLC, which is treated as an asset purchase for the buyer while the sellers report the sale through the holding company, retain the S election history at the parent, and can roll part of their equity into the buyer's structure on a tax-deferred basis.
The alternative — a §338(h)(10) or §336(e) election that treats a stock sale as an asset sale — remains available but depends on a valid S election and offers less flexibility for rollover. The F-reorganization takes counsel, state filings, and time, which is why the first call to M&A counsel should come before the letter of intent.
Selling to an ESOP Under §1042
An employee stock ownership plan is a qualified retirement plan that buys the owner's shares, usually financed by the company. A seller of C-corp stock who sells to an ESOP that owns a meaningful share of the company after the sale can defer the gain by reinvesting the proceeds in qualified replacement securities within the statutory window. An S-corp owned by an ESOP has a different benefit: the plan's share of company income is not subject to income tax at the trust level, which is why fully ESOP-owned S-corps are common.
ESOPs suit owners who want a gradual exit, a legacy for employees, and a buyer who already exists. They require an independent trustee, an annual valuation, ongoing administration, and a plan for the company's obligation to repurchase shares from departing employees.
Charitable Trusts and Step-Up Planning
A seller with charitable intent can contribute shares to a charitable remainder trust before the sale, take a partial deduction, have the trust sell the shares without immediate tax, and receive an income stream for life or a term of years, with the remainder passing to charity. The order of operations is everything: the contribution must occur before there is a binding obligation to sell, or the assignment-of-income doctrine taxes the seller anyway.
Step-up planning is the other end of the spectrum. Assets held until death receive a basis equal to fair market value under current law, so an older owner deciding between selling now and holding should weigh the tax that a lifetime sale triggers against the estate and succession consequences of holding.
Do not let a promoter drive the exit structure. Pre-sale schemes that promise to remove the gain through arrangements you still control in substance are the pattern the IRS targets, and several are listed transactions with their own disclosure penalties. Legitimate structures — QSBS, installment reporting, an F-reorganization, an ESOP, a charitable remainder trust — are all in the code and all involve giving something up: time, control, cash, or a real charitable gift.
The Timeline: When Each Lever Has to Be Pulled
- Five or more years out. Entity choice for QSBS; conversion of an LLC to a C-corp if the exclusion is the goal; personal goodwill documentation; beginning the clean financial history that supports the multiple described in our guide to valuation and SDE multiples.
- Two to three years out. S-election validity review; separating real estate and non-core assets into their own entities; owner residency decisions; cleaning up related-party arrangements.
- Twelve months out. Assemble M&A counsel, the CPA, and a wealth advisor; model stock versus asset outcomes; prepare for the F-reorganization; run our prepare-for-sale checklist.
- At the letter of intent. Negotiate the deal form, the purchase price allocation, rollover equity, earn-out treatment, and the note terms for any installment component.
Exit structure is the final chapter of minimizing taxation, and it rewards the owners who started writing it early. MercConsulting is a business consulting firm, not a law firm or CPA firm; strategies are general information, depend on your facts and current law, and are implemented with licensed tax and legal professionals — no tax outcome is guaranteed.
Frequently Asked Questions
Is a stock sale or an asset sale better for the seller?
Usually a stock sale, because the gain is a single layer of long-term capital gain. An asset sale gives the buyer a basis step-up but splits the seller's gain between ordinary income and capital gain, and for a C-corp it is taxed twice.
What is qualified small business stock?
QSBS is stock in a domestic C-corp acquired at original issuance while the corporation's gross assets were below the statutory ceiling, in a qualified trade or business, and held for the required period. Gain on its sale can be excluded up to a per-issuer cap. The holding-period tiers and caps changed in 2025, so verify the rules that apply to your issuance date.
What is an F-reorganization in a business sale?
A pre-sale restructuring in which the S-corp's shareholders form a new holding company, contribute their shares, and convert the original company into an LLC. The buyer purchases LLC interests treated as an asset purchase for tax while the sellers keep stock-sale-style treatment and can roll over equity tax-deferred. It is common in private-equity acquisitions of S-corps.
How does the installment method work when selling a business?
Under §453, gain attributable to payments received in later years is recognized in those years rather than all at closing. Depreciation recapture is recognized immediately, inventory does not qualify, large deferred balances can carry an interest charge, and the seller bears the buyer's credit risk on the note.
Can selling to an ESOP defer capital gains tax?
A seller of C-corp stock to an ESOP that owns a meaningful share of the company after the sale can defer gain under §1042 by reinvesting in qualified replacement securities within the statutory window. S-corp sellers do not get that deferral, but an ESOP-owned S-corp's share of income is not taxed at the plan level.
Start the exit plan before the buyer does. MercConsulting helps owners map entity, structure, and timing decisions against a realistic sale horizon, then coordinates M&A counsel, your CPA, and a wealth advisor so the deal is taxed the way the offer assumes.
Book a Free Discovery CallThis article is for educational purposes only and is not legal, tax, or investment advice. Consult qualified professionals about your specific situation.