What Happens to the Tax When a Business Is Sold
For a great many people the business is the retirement plan, and the sale is the single largest financial event of their life. The tax on it is not one calculation. A sale of a business is treated as a sale of each of its assets, and how the price is allocated among them decides how much of the proceeds is taxed at capital gain rates and how much at ordinary rates. That allocation is negotiated, not discovered.
- Asset by asset:: Each asset's gain is computed and characterised on its own.
- Recapture creates ordinary income:: Depreciation previously claimed comes back at ordinary rates.
- The allocation is negotiated:: Buyer and seller have opposing interests and must report consistently.
- Shares behave differently:: Selling shares in a corporation is one capital transaction rather than many.
Where the AI summary above gets this wrong
"Selling a business produces a capital gain taxed at long-term rates."
That's surface-true. Here's what it misses:
- Only part of it is a capital gain — The price is allocated across the assets sold, and gain on each is characterised separately. Depreciation previously claimed on equipment and improvements is recaptured as ordinary income, inventory produces ordinary income outright, and only the remainder reaches capital gain rates.
- The buyer wants the opposite allocation you do — A seller prefers value allocated to goodwill, which is a capital asset. A buyer prefers value allocated to equipment they can depreciate quickly. The allocation is a negotiating point in the contract, both sides must report it consistently, and a seller who leaves it to the buyer's accountant has given away real money.
- Selling shares is a different transaction entirely — Where the business is a corporation and the shares themselves are sold, the seller has one capital transaction and no asset-level characterisation. Buyers usually resist, because they inherit the company's history along with it, and the price gap between the two structures is the negotiation.
01 Why it is not one sale
A business is a collection of assets: equipment, premises or a lease, inventory, receivables, contracts, a name and a customer list. Selling the business sells all of them, and the tax code looks at each one.
The sale price is therefore allocated across the assets, and each allocation produces its own gain or loss with its own character. A single cheque becomes several separate tax outcomes.
Both parties file the allocation on the same statutory form and must agree. That is why the allocation belongs in the sale contract itself rather than being settled afterwards by two accountants working separately.
Shows: how a sale price splits between the part taxed at capital gain rates and the part taxed as ordinary income, which is what the allocation across assets decides. Ignores: the actual rates, state tax, the net investment income tax, and whether the sale is of assets or of shares.
Source: Sale of a business
02 Where the ordinary income comes from
Depreciation claimed over the years on equipment, vehicles and building improvements reduced ordinary income at the time. On sale, that benefit is recaptured: gain up to the depreciation previously taken is treated as ordinary income rather than capital gain.
Inventory sold with the business produces ordinary income directly. So do receivables in most cases, and a covenant not to compete, which is ordinary income to the seller even though it feels like part of the price.
Goodwill is the counterweight. It is a capital asset, so value allocated there is taxed at capital gain rates, which is precisely why buyer and seller pull in opposite directions over it.
03 The year the money arrives
A large gain in one year raises more than the tax on the gain itself. It can push other income into higher brackets, trigger the surcharge on investment income, and raise Medicare premiums two years later for a couple who by then have retired.
Spreading the proceeds across years through an instalment arrangement reduces that compression, at the cost of carrying the buyer's credit risk. Which matters more is a judgment about the buyer as much as about the tax.
The year of sale is also usually the last year of high income before a long stretch of low income, which makes the years immediately after it the cheapest window for conversions and for realising gains.
04 What to do before signing
Get the basis records together first. Basis in each asset drives every number that follows, and reconstructing it after the sale is far harder than pulling it from the depreciation schedules beforehand.
Model the allocation before negotiating rather than after. The difference between value in goodwill and value in equipment can be a large share of the after-tax proceeds on the same headline price.
And close the retirement plan question in the same conversation. A final-year contribution to a solo plan is deductible against a year of unusually high income, and the window for establishing one runs on the business's own calendar rather than the buyer's.
Source: Sale of a business
Negotiate the allocation, and do it with your own numbers in front of you. I have watched sellers argue for weeks over the last fifty thousand of the headline price and then hand the buyer the entire allocation schedule without comment. The allocation can move more after-tax money than the price negotiation did, it costs nothing to model in advance, and once the contract is signed it is settled for both of you.
FAQ
Is selling a business a capital gain?
Only partly. The price is allocated across the assets sold; depreciation recapture and inventory produce ordinary income, while goodwill and some other assets produce capital gain.
Why does the allocation matter?
It decides how much of the price is taxed at capital gain rates and how much at ordinary rates. Buyer and seller prefer opposite allocations and must report the same one.
Is selling shares different from selling assets?
Yes. A share sale is a single capital transaction for the seller with no asset-level characterisation, which is why sellers prefer it and buyers usually do not.
Sources
Regulator references
- Sale of a business · Internal Revenue Service · 2026Why a sale is treated as a sale of the individual assets rather than one thing.Last verified: 2026-09-07
- About Form 4797: Sales of business property · Internal Revenue Service · 2026Where the business asset gains and the depreciation recapture are reported.Last verified: 2026-09-07
- Topic 409: Capital gains and losses · Internal Revenue Service · 2026The rates that apply to the capital gain portion of the proceeds.Last verified: 2026-09-07
Calculator unit tests · the assertions this page's worked example is checked against, and their last result
Changelog
- 2026-09-07 — initial publish (new format)
Run this rule against your situation
See what this rule does to your own projection — month by month, to age 90.
Join the Waitlist