Capital Gains Tax on a Business Sale
The decision that sets your tax bill happens before you sign, not at tax time. Here is the asset vs stock sale call, the 2026 rates, a worked example, and what has to be locked down and when.
A guide by Taxstra Tax & Accounting · CPA-led tax strategy for business owners
Written by Bryan Martin, CPA, Managing Partner and Founder of Taxstra. Last updated July 17, 2026.
The Decision and the Deadline
Structure, not the tax rate, is what you actually control
Once you sign a business sale, the tax outcome is mostly arithmetic. Before you sign, it is a series of decisions, and the biggest one is whether the deal is structured as an asset sale or a stock sale. That single choice determines whether depreciation recapture eats part of your gain, whether the Section 1202 QSBS exclusion is even on the table, and how much of the price lands in the favorable long-term capital gains rate versus ordinary income.
The deadline for that decision is the signed purchase agreement, not the closing date. Most buyers arrive already assuming an asset sale, because it gives them a depreciation step-up. If a stock sale matters to you, that has to be raised during negotiation, not during diligence after the letter of intent is signed.
Asset Sale vs Stock Sale: The Tax Difference
Buyers and sellers usually want opposite things, for good reason
In an asset sale, you sell the individual assets: equipment, inventory, customer lists, real estate, intellectual property, and goodwill. The buyer gets a step-up in basis for future depreciation, which is why buyers push for this structure. You recognize gain on each asset category at its own rate, some at favorable capital gains rates, some as ordinary income.
In a stock sale, the buyer purchases the entity itself. The buyer assumes the entity's liabilities and contracts, your entire gain is generally long-term capital gain if held more than a year, and if you hold qualifying C corporation stock, Section 1202 can exclude some or all of it. The buyer does not get a basis step-up, which is why sellers sometimes accept a modestly lower price to get this structure.
| Factor | Asset Sale | Stock Sale |
|---|---|---|
| Buyer perspective | Depreciation step-up, more future deductions | Assumes existing liabilities as-is |
| Seller tax impact | Higher blended tax (ordinary plus capital gain) | Single layer of long-term capital gain |
| Depreciation recapture | Section 1245/1250 recapture applies | Avoided at the shareholder level |
| Goodwill treatment | Buyer amortizes over 15 years (Section 197) | No amortization benefit for the buyer |
| QSBS (Section 1202) access | Not available | Available if C corp stock qualifies |
| Typical structure | Individual assets sold and titled separately | Entire equity interest purchased |
| Who usually wants it | Most buyers push for this structure | Sellers with QSBS or liability concerns |
| Post-closing liability | Seller entity retains existing liabilities | Buyer assumes entity liabilities |
A real-world pattern: a $3M service business sold as an asset deal might allocate $1.5M to goodwill, $800K to equipment, $500K to inventory, and $200K to client lists. Goodwill and client lists are long-term capital gain. The equipment triggers depreciation recapture at ordinary rates. The inventory gain is ordinary income. Three different rates inside one transaction, which is exactly why allocation (covered in Section 5) matters as much as the headline price.
The Sale Decision Timeline
What has to happen before you sign, and what is left for closing
Business sale tax planning works backward from the signing date, not the closing date. The structural decisions, entity type, QSBS eligibility, loss harvesting opportunities, need the most runway. The deal mechanics, allocation and installment terms, get negotiated in the final months. After signing, you are largely executing what was already agreed.
What Closes as the Sale Date Approaches
Entity conversion for QSBS, basis reconstruction, loss harvesting, valuation groundwork
Asset vs stock sale position, installment sale planning, QSBS holding period confirmed
Form 8594 negotiation with the buyer, installment note terms, Opportunity Zone or CRT setup
Purchase agreement locks structure and allocation; the tax bill is now mostly arithmetic
Illustrative. The exact windows vary by deal, but the direction never does: once you sign, the tax structure is set.
If you are inside six months of a signed deal already, skip to Sections 4 through 8: the worked example, allocation mechanics, and documentation checklist are still fully actionable. If you are 18 months or more out, the entity structure conversation in Section 6 deserves a real look before you talk to buyers.
Selling within the next 24 months?
A free initial consultation covers where you are on this timeline and which levers are still open for your specific deal.
Book a Free 30-Minute ConsultationWorked Dollar Example: $2M Business Sale
Same deal, structured two ways
Hypothetical, illustrative round numbers. You own a digital marketing agency, held eight years, and a larger firm offers $2M in cash.
Basis and gain
Federal tax, worst case, already in the 20 percent bracket
Net proceeds after federal tax: roughly $1,619,200. State tax is not included and varies widely by state, from zero to over 13 percent of the gain.
Selling a medical or dental practice runs the same math with its own allocation and entity quirks. See our dedicated guide to taxes on selling a medical practice.
Purchase Price Allocation and Form 8594
How the price gets divided among asset classes, and why it can swing your bill by six figures
In an asset sale, the buyer and seller must agree on how the total price is allocated among the acquired assets, and both report the same allocation to the IRS on Form 8594, the Asset Acquisition Statement required under Section 1060. The allocation follows a residual method across seven asset classes, from cash and marketable securities (Class I and II) through accounts receivable (Class III), inventory (Class IV), other tangible and intangible assets (Class V and VI), down to goodwill and going-concern value, which absorbs whatever price is left over (Class VII).
| Asset Class | Seller Tax Treatment |
|---|---|
| Inventory / receivables | Ordinary income |
| Equipment / furniture (Section 1245) | Depreciation recapture at ordinary rates, plus capital gain on any excess |
| Real estate (Section 1250) | Unrecaptured depreciation taxed at max 25 percent, plus capital gain on excess |
| Goodwill and customer lists (Class VII) | Long-term capital gain, the most favorable treatment |
| Trademarks / licenses | Long-term capital gain, most favorable treatment |
| Non-compete agreements | Ordinary income to the seller, avoid over-allocating here |
Your incentives and the buyer's often align more than you would expect: the buyer wants amortizable intangibles (15-year deductions under Section 197), and you want the same assets (capital gain rates). The disagreement usually centers on equipment and non-compete value, where the buyer's tax preference and yours diverge.
Installment Sales and QSBS Awareness
Two levers that only work if you plan for them early
Installment sales. Instead of collecting the full price at closing, you take payments over several years and recognize the gain proportionally as you receive them. This can keep you out of the top capital gains bracket in any single year, but it also means taking on buyer credit risk, charging at least the Applicable Federal Rate on the note, and accepting that depreciation recapture is still recognized in full in the year of sale regardless of the payment schedule. The mechanics, the AFR requirement, and when this structure makes sense are covered in full on our installment sale tax guide; this page just flags it as a lever to raise during negotiation.
QSBS awareness. Section 1202 lets eligible founders exclude up to $10M (or 10x basis, whichever is greater) of gain on Qualified Small Business Stock, and up to $15M for stock issued after July 4, 2025 under the 2025 tax law. This is a permanent exclusion, not a deferral, and excluded gain also escapes the 3.8 percent NIIT.
If your business is an LLC or S corp and your exit is five or more years away, converting to a C corporation can start the QSBS clock on newly issued stock. If your exit is sooner, this section is mostly a flag to raise with your CPA rather than a strategy you can implement mid-negotiation.
Documentation You Need
What your CPA will ask for, and why
Every piece below feeds a specific calculation: basis, QSBS eligibility, or the recapture exposure on your depreciation schedule. Missing documentation does not stop the sale, but it does mean your CPA is estimating instead of confirming, which is exactly where tax surprises come from.
Ownership and basis
- Original stock certificates or membership records
- Articles of incorporation or organization, with issue date
- Proof of paid-in capital and any capital contributions
- Prior tax returns, 3 to 5 years
Deal and asset documentation
- The buyer's offer or purchase agreement draft
- Current depreciation schedules by asset
- Any loans or liens against the company
- Distribution history for the trailing 2 to 3 years
If QSBS is on the table, add board minutes approving the original stock issuance and any records showing the company's gross assets at the time of issuance, since the $50M (pre-OBBBA) or $75M (post-OBBBA) test is measured at that point, not at sale.
Implementation Checklist
Match your action to how much time you actually have
Selling within 6 months
Schedule a CPA consultation this week. Confirm your basis, check Section 1202 eligibility if applicable, and model the tax liability under lump-sum vs installment scenarios before you sign anything.
Selling within 1 to 2 years
Lock in your structure position: asset vs stock sale, your target Form 8594 allocation, and whether installment terms make sense for your credit exposure and bracket management.
Selling in 2+ years
Confirm your entity type and, if QSBS could apply, your C corp issuance date against the 3, 4, and 5 year exclusion tiers. Start basis documentation now, while the records are easy to find.
During negotiation
Insist on a stock sale if Section 1202 eligible. If the buyer requires an asset sale, negotiate the price allocation toward goodwill and away from recapture-heavy equipment.
After closing
File your final business return, report the sale on Form 8949 and Schedule D, and if reinvesting in an Opportunity Zone, fund the QOF within 180 days.
Not sure who should run this playbook? Our guide to hiring a tax strategist covers what proactive sale planning costs and the questions to ask before you engage anyone.
Frequently Asked Questions
Capital gains tax on selling a business
Get the Structure Right Before You Sign
A free initial consultation covers asset vs stock structure, your Section 1202 eligibility, and a real estimate of your tax bill under each scenario.
Book a Free 30-Minute Consultation