Tax Implications of Selling Your Small Business: Asset Sale vs Stock Sale
Selling a business is the largest taxable event most small business owners will ever experience. The tax treatment depends on the deal structure (asset sale vs. stock sale), the entity type (sole proprietorship, LLC, S-Corp, C-Corp), and the purchase price allocation across the seven asset classes under IRC 1060. A well-structured sale can save the seller $50,000-$200,000+ in taxes compared to a poorly structured sale of the same business at the same price.
Sale structure comparison:
Asset sale (buyer purchases individual assets):
- The buyer acquires specific assets: equipment, inventory, customer lists, trade name, goodwill, noncompete agreement.
- The purchase price is allocated across IRC 1060 asset classes (Class I through VII).
- Seller’s tax treatment by asset class:
- Equipment (Class V): ordinary income on depreciation recapture (IRC 1245), capital gain on any amount above original cost
- Inventory (Class IV): ordinary income (not capital gain)
- Accounts receivable (Class III): ordinary income on collection above basis
- Covenant not to compete (Class VI): ordinary income (generally not subject to self-employment tax, even for sole proprietors)
- Goodwill (Class VII): long-term capital gain (15-20%)
- Trade name (Class VI): long-term capital gain
- Buyer’s benefit: the buyer gets a stepped-up basis in all assets and can depreciate the purchase price (equipment over 5-7 years, goodwill over 15 years under IRC 197).
- The buyer almost always prefers an asset sale.
Stock sale (buyer purchases ownership interest):
- The buyer acquires the entity’s stock or membership interests.
- Seller’s tax treatment: the entire gain is long-term capital gain (15-20%) if the stock has been held for more than 1 year.
- No depreciation recapture at the seller level for corporate stock (recapture stays inside the entity); an LLC membership interest taxed as a partnership still carries its share of recapture as ordinary income.
- No self-employment tax on any portion.
- Buyer’s disadvantage: the buyer inherits the entity’s existing asset basis (no step-up) and cannot depreciate the purchase price.
- The seller almost always prefers a stock sale.
IRC 338(h)(10) election: allows a stock sale to be treated as an asset sale for tax purposes. Both parties must agree. The buyer gets the asset sale tax benefits (step-up, depreciation). The seller is taxed as if they sold assets (depreciation recapture, ordinary income on certain allocations). This is a compromise structure often used in M&A.
Purchase price allocation (Form 8594): Both buyer and seller file Form 8594 reporting the allocation. The allocations must match. Disagreements over allocation are common (the seller wants more allocated to goodwill for capital gains treatment; the buyer wants more allocated to equipment for faster depreciation).
How does the sale structure affect the seller’s tax bill?
What is the difference between short-term and long-term capital gains rates?
Assets held for one year or less generate short-term capital gains, taxed at your ordinary income tax rate (up to 37% federal). Assets held for more than one year qualify for long-term capital gains rates of 0%, 15%, or 20%, depending on your taxable income. High-income taxpayers may also owe the 3.8% net investment income tax (NIIT) under IRC 1411 on top of the capital gains rate. The holding period starts the day after you acquire the asset and includes the day you sell it. For business owners planning a sale, timing the disposition to cross the one-year threshold can save 15-20 percentage points in federal tax on the gain.
Can I offset capital gains with capital losses from other investments?
Yes. Capital losses first offset capital gains of the same type (short-term losses against short-term gains, long-term against long-term), then any remaining net loss offsets gains of the other type. If net capital losses exceed capital gains, you can deduct up to $3,000 of the excess against ordinary income ($1,500 if married filing separately). Unused losses carry forward indefinitely to future tax years, maintaining their character (short-term or long-term). The wash sale rule (IRC 1091) prevents you from claiming a loss if you repurchase substantially identical securities within 30 days before or after the sale. Tax-loss harvesting before year-end is a common strategy to realize losses that offset gains elsewhere in the portfolio.
Related guides:
Does the 3.8% NIIT apply to selling S-Corp stock?
It depends on whether you were active in the business. When you sell S corporation stock, the gain counts toward the net investment income tax only to the extent it would if the company sold all its assets at fair market value. Gain on assets used in an active, non-passive business is excluded, so an owner who works in the business may owe little or no NIIT on the stock sale.
Where it does apply, it’s 3.8% of the lesser of net investment income or modified AGI over $250,000 joint, $200,000 single or $125,000 married filing separately, and those thresholds aren’t indexed. The gain itself is long-term if you held the shares more than one year, taxed for 2025 at 15% up to $600,050 of joint taxable income and 20% above ($613,700 for 2026).
Start with a Diagnostic: a CPA licensed in the US and Canada reads your file and tells you in writing what's wrong and how to fix it, three to four business days after you finish the questions. The report is $250. If you hire us for any work after that, you get the $250 back as a discount on that work. Or send us your return or your letter and get a fixed price, free.
One or two plain-English guides a week on US-Canada tax. No spam, unsubscribe anytime.
Done. The next guide will land in your inbox.
Yarik Yarosh, CPA. "Tax Implications of Selling Your Small Business: Asset Sale vs Stock Sale." Blue Cloud CPA, September 5, 2026, updated September 23, 2026. https://bluecloudcpa.com/guides/small-business-tax-implications-selling-business
This guide is general information, not tax advice for your specific situation. Which points apply, and how, depends on your facts.