The structure of a business sale determines the tax bill as much as the price does. Choosing between an asset sale and a stock sale, qualifying for the QSBS exclusion, structuring installment payments, and allocating the purchase price across asset classes are decisions that can shift hundreds of thousands of dollars between what you owe the IRS and what you keep. Most of these decisions must be locked in before closing -- not after.
The purchase price allocation (Form 8594) must be agreed upon before closing, not after. If the purchase agreement is silent on allocation, the buyer will file their Form 8594 with allocations that favor their tax position. You will either accept a higher tax bill or file an inconsistent return that invites IRS scrutiny of both parties.
Every business sale is either an asset sale (the buyer purchases the company's individual assets) or a stock sale (the buyer purchases the owner's equity interest). This single structural choice determines almost everything else about how the transaction is taxed.
Buyers almost always prefer asset sales. When a buyer purchases assets, they get a stepped-up tax basis in everything they acquire. Equipment, real estate, and intangible assets all reset to their fair market value at the time of purchase. That means larger depreciation and amortization deductions going forward. A buyer acquiring $3 million in assets through an asset purchase can begin depreciating from that $3 million basis immediately. In a stock sale without a special election, the buyer inherits the company's existing (often much lower) basis in those same assets.
Sellers almost always prefer stock sales. In a stock sale, the entire gain is typically treated as long-term capital gain -- taxed at a maximum federal rate of 20%, plus the 3.8% net investment income tax (NIIT) for high earners, for a combined 23.8%. Technical detail
The dollar difference is substantial. A seller with $2 million in gain on a stock sale pays roughly $476,000 in federal tax (at 23.8%). The same $2 million gain in an asset sale, if $600,000 is allocated to inventory and depreciation recapture assets, could produce a federal bill closer to $550,000 -- an extra $74,000 -- because that $600,000 portion is taxed at ordinary rates up to 37% instead of the 20% capital gains rate.
C corporations face double taxation in asset sales. The corporation pays corporate tax on the gain from selling its assets, and then the shareholders pay tax again when they receive the liquidating distributions. This is why C corporation owners resist asset sales and why buyers sometimes offer a price premium to compensate. In contrast, S corporations, partnerships, and LLCs pass the gain through to owners on a single level, though the character of the gain still varies by asset class.
The Section 338(h)(10) election is a compromise that can work for both sides. It allows the parties to treat a stock sale as an asset sale for tax purposes. Technical detail
- $600,000 taxed as ordinary income at rates up to 37%
- Remaining $1.4 million taxed at capital gains rates (20% + 3.8% NIIT)
- C corporation owners face double taxation: corporate-level tax on asset gain, then shareholder-level tax on distribution
- Full $2 million taxed at 20% capital gains rate plus 3.8% NIIT
- No depreciation recapture layer
- Single level of tax for S corp, partnership, and LLC owners
If you founded a C corporation and held the stock for at least five years, you may be able to exclude a substantial portion of your gain from federal tax entirely under Section 1202, the Qualified Small Business Stock (QSBS) exclusion.
For stock issued before July 5, 2025, the exclusion allows you to exclude up to the greater of $10 million or 10 times your adjusted basis in the stock. If you invested $500,000 to start the company, your exclusion cap is $10 million (since 10x your basis is only $5 million, the $10 million floor applies). On a $12 million gain, the first $10 million is excluded from federal tax. You pay capital gains tax only on the remaining $2 million.
For stock issued after July 4, 2025, the One Big Beautiful Bill Act (OBBBA) increased the per-issuer gain cap to $15 million (indexed for inflation starting in 2027) and raised the gross asset threshold to $75 million. Technical detail
Qualification requirements are strict:
- The stock must be in a domestic C corporation (S corporations, LLCs, and partnerships do not qualify)
- You must have acquired the stock at original issuance (not purchased on a secondary market)
- The corporation's gross assets must not have exceeded $50 million (pre-OBBBA stock) or $75 million (post-OBBBA stock) at any time before and immediately after the stock was issued
- The corporation must be an active business -- at least 80% of its assets must be used in the active conduct of a qualified trade or business
- Certain industries are excluded: professional services (law, medicine, accounting, consulting, financial services), banking, insurance, farming, mining, and hospitality
The planning trap: QSBS is a C corporation benefit. Many small business owners operate as S corporations or LLCs. Converting to a C corporation shortly before a sale does not create QSBS -- the stock must have been held as QSBS for at least five years (or three years under the new tiered structure). This is a decision that needs to be made years before any exit.
Installment Sales: Spreading the Tax Bill Over Time
Under Section 453, if you receive at least one payment after the tax year of the sale, you can use the installment method to recognize gain proportionally as payments come in rather than all at once. This is automatic unless you elect out.
How it works: You calculate a gross profit ratio -- total expected gain divided by total contract price -- and apply that ratio to each payment received. If your gross profit ratio is 60%, then 60 cents of every dollar you receive is taxable gain. The rest is a tax-free return of your basis.
Example: You sell your business for $5 million with a basis of $2 million. Your gross profit ratio is 60% ($3 million gain / $5 million price). You receive $1 million at closing and $1 million per year for four years. In the year of closing, you recognize $600,000 in gain (60% of $1 million). Each subsequent year, you recognize another $600,000. Instead of a single-year tax bill on $3 million of gain, you spread the recognition across five years.
The interest charge threshold matters. If the face amount of your installment obligations outstanding at year-end exceeds $5 million, Section 453A requires you to pay an interest charge on the deferred tax liability. The interest rate is the IRS underpayment rate under Section 6621(a)(2) as of the last month of the taxpayer's tax year. This does not eliminate the benefit of deferral, but it reduces it. For large sales, model the Section 453A interest charge before committing to an installment structure.
Depreciation recapture cannot be deferred. Even if you use the installment method, all depreciation recapture under Sections 1245 and 1250 is recognized in the year of sale. Only the gain above the recapture amount is eligible for installment treatment.
The buyer must agree. An installment sale requires the buyer to structure payments over time, which means the buyer is effectively financing part of the purchase. Buyers may demand a lower price, require collateral, or simply refuse. The installment structure must be negotiated as part of the deal, not bolted on at the end.
Earnout Tax Treatment: Capital Gain or Ordinary Income?
Earnouts -- contingent payments tied to the business hitting future revenue or profit targets -- are common in deals where the buyer and seller disagree on valuation. The tax treatment depends entirely on whether the earnout is classified as additional purchase price or as compensation for services.
Purchase price treatment (capital gains): If the earnout is treated as part of the purchase price, payments are taxed at capital gains rates. The installment sale rules under Section 453 can apply, allowing gain recognition as payments are received. To qualify, the earnout should be tied to business performance metrics (revenue, EBITDA), paid to all shareholders proportionally based on ownership, and not contingent on any individual's continued employment.
Compensation treatment (ordinary income): If the earnout is linked to the seller's continued employment or consulting services, the IRS is likely to recharacterize it as compensation -- taxed at ordinary income rates up to 37% and subject to payroll taxes. The factors that push toward compensation treatment include: the earnout is conditioned on future services, the seller's employment term is aligned with the earnout period, and the earnout would not be paid if the seller leaves.
The structuring details matter enormously. A $1 million earnout taxed as long-term capital gain costs roughly $238,000 in federal tax. The same $1 million taxed as ordinary income and subject to self-employment or payroll taxes can cost $400,000 or more. The difference is in how the earnout agreement is drafted -- which means it must be addressed during deal negotiation, not at tax filing time.
Purchase Price Allocation Under Section 1060
In an asset sale, Section 1060 requires both the buyer and seller to allocate the total purchase price across seven asset classes using the "residual method." Both parties must file Form 8594 with their tax returns, and the allocations must be consistent. Technical detail
The seven asset classes, in allocation order:
- Class I -- Cash and cash equivalents
- Class II -- Actively traded securities and certificates of deposit
- Class III -- Accounts receivable, mortgages, credit card receivables
- Class IV -- Inventory
- Class V -- All other tangible and intangible assets not in another class (equipment, furniture, real estate, non-compete covenants, non-Section 197 intangibles)
- Class VI -- Section 197 intangibles other than goodwill and going concern value (patents, licenses, customer lists)
- Class VII -- Goodwill and going concern value (the residual -- whatever is left over)
The buyer-seller tension is predictable. Buyers want more allocated to equipment and short-lived assets because they can depreciate or expense those deductions faster -- 80% bonus depreciation is still available for qualifying property placed in service through 2025 under the current phase-down schedule. Sellers want more allocated to goodwill (Class VII) because goodwill generates long-term capital gain taxed at 20%. Amounts allocated to inventory produce ordinary income. Amounts allocated to equipment may trigger depreciation recapture at ordinary rates.
A concrete example: In a $4 million asset sale, if $1.5 million is allocated to equipment (which the seller had fully depreciated), that $1.5 million is depreciation recapture taxed at up to 37%. If instead $1.5 million more is allocated to goodwill, it is taxed at 20% capital gains rate. The difference to the seller: roughly $255,000 in additional federal tax on that $1.5 million alone. Buyers, meanwhile, prefer the equipment allocation because they can recover that cost through depreciation deductions much faster than the 15-year amortization period for goodwill.
Goodwill and Section 197 Amortization
From the buyer's perspective, goodwill and most other intangible assets acquired in connection with a business purchase are Section 197 intangibles, amortizable on a straight-line basis over 15 years. This applies to goodwill, going concern value, customer lists, patents, covenants not to compete, and most other intangibles acquired as part of a business purchase.
From the seller's perspective, goodwill is typically a capital asset, and the gain on its sale is taxed at long-term capital gains rates. This is why sellers generally prefer allocating more of the purchase price to goodwill -- it produces the most favorable tax rate. But the allocation must be supportable. The IRS can challenge allocations that are not consistent with the fair market values of the underlying assets. An independent appraisal of the business and its component assets is the strongest defense.
The Section 338(h)(10) election can bridge the gap between buyer and seller preferences. It treats a stock sale as an asset sale for tax purposes -- the buyer gets the stepped-up basis they want, while S corporation sellers pay only a single level of tax on the deemed asset sale. Both parties must jointly elect this treatment, and the purchase price allocation becomes a significant negotiation point.
Sellers who stay on after the sale -- whether as consultants, employees, or through a non-compete arrangement -- face different tax treatment on each type of payment.
Consulting fees are ordinary income subject to self-employment tax (15.3% on the first $168,600 in 2025 net self-employment earnings, then 2.9% Medicare tax on amounts above that, plus the 0.9% Additional Medicare Tax on earnings above $200,000/$250,000). A $300,000 consulting arrangement generates roughly $40,000 to $50,000 in combined self-employment and income taxes beyond what a capital gain of the same amount would produce.
Non-compete payments are ordinary income but generally not subject to self-employment tax, because the seller is being paid to refrain from activity rather than to perform services. However, if the non-compete is bundled with a consulting or employment arrangement, the IRS may recharacterize the entire package. Technical detail
The allocation between goodwill and non-compete is a perennial dispute. Sellers want more in goodwill (capital gain). Buyers are somewhat indifferent between non-compete and goodwill for amortization purposes since both are 15-year Section 197 intangibles. But the IRS pays close attention: an unreasonably large non-compete allocation can be recharacterized as goodwill, and vice versa.
State Tax Implications
Federal tax is only part of the picture. State taxes can add 0% to 13.3% on top, and the rules vary significantly.
States with no income tax (Texas, Florida, Wyoming, Nevada, South Dakota, Alaska, Washington, Tennessee, New Hampshire) impose no state-level tax on the gain. Sellers in these states keep more of the proceeds. Sellers in California (13.3% top rate), New York, New Jersey, or Oregon face a combined federal-plus-state rate that can exceed 37% on capital gains.
Residency and sourcing matter. Most states tax business sale gains based on the seller's state of residency. But if the business operates in multiple states, some states may claim the right to tax a portion of the gain based on the business's nexus in that state. Technical detail
Changing residency before the sale is a legitimate planning strategy, but states aggressively audit residency changes near large liquidity events. California, New York, and several other states apply "clawback" rules or sourcing arguments to reach gains on sales that occur shortly after a residency change. Any residency change must be genuine and well-documented, and should be established at least 12 months before closing.
Tax planning for a business sale is not a closing-week exercise. The decisions that save the most money require lead time.
12+ months before close:
- Evaluate entity structure. If QSBS qualification is possible but requires a C corporation election, you are already too late for the five-year holding period -- but the tiered exclusion for post-OBBBA stock may provide partial relief at three or four years
- If considering a residency change, begin establishing domicile in the new state with genuine ties (driver's license, voter registration, primary residence, social and professional connections)
- Review the company's books for depreciation recapture exposure. Knowing how much ordinary income an asset sale would generate informs the negotiation between asset sale and stock sale structures
6-9 months before close:
- Engage a CPA and M&A tax attorney. The cost of professional advice at this stage -- typically $15,000 to $50,000 for a mid-market deal -- is trivial compared to the tax dollars at stake
- Model the tax consequences of each deal structure: asset sale, stock sale, Section 338(h)(10) election, installment sale, earnout combinations
- Commission an independent valuation of intangible assets to support the purchase price allocation
- Identify state tax exposure and plan accordingly
3-6 months before close:
- Negotiate the purchase price allocation with the buyer. Get specific dollar amounts into the purchase agreement, not vague language
- Structure any earnout provisions to support capital gains treatment
- Finalize installment terms if applicable, including interest rate (to avoid imputed interest recharacterization)
- Draft consulting and non-compete agreements with clear separation between payment categories
At closing:
- Confirm that the purchase agreement and Form 8594 allocations are consistent
- Ensure all elections (Section 338(h)(10), installment method opt-out if desired) are properly documented
- Coordinate with your CPA on estimated tax payments -- the IRS expects payment in the quarter the gain is recognized, not at year-end filing
Negotiating price without modeling tax. A $5 million asset sale and a $5 million stock sale do not produce the same after-tax proceeds. Sellers who focus only on headline price without modeling the after-tax outcome leave money on the table. A stock sale at $4.8 million can net more after tax than an asset sale at $5 million depending on the allocation.
Ignoring the purchase price allocation until after closing. If the purchase agreement is silent on allocation, the buyer files their Form 8594 with allocations that favor their tax position. The seller is then left to either agree (and pay more tax) or file an inconsistent return (and invite IRS scrutiny of both parties).
Failing to separate earnouts from employment. Sellers who stay on as employees with earnout-like bonuses tied to their continued service will see those payments taxed as ordinary compensation. If capital gains treatment is the goal, the earnout must be structured as contingent purchase price, independent of employment.
Overlooking depreciation recapture. Sellers who have claimed accelerated depreciation on equipment and real property improvements often underestimate how much of the gain on those assets will be recaptured as ordinary income. In an asset sale, depreciation recapture is recognized in full in the year of sale, even if installment payments stretch over many years.
Missing the QSBS window. The Section 1202 exclusion can eliminate federal tax on up to $10 million (or $15 million for post-OBBBA stock) of gain -- but only if the stock was held for the required period in a qualifying C corporation. Founders who convert to S corporation status or do not meet the active business requirement lose eligibility permanently.
Not planning for state taxes. A seller in California who ignores state tax on a $5 million gain faces an additional $665,000 in state income tax. That is real money that should factor into the negotiation over deal structure and price.