The difference between a smart exit and a tax disaster can be hundreds of thousands of dollars. Here is what happens on closing day and how to protect your profits.
A client called me after the deal closed. Sold his business for $2.8 million. Felt like he won. Two months later, the tax bill landed in his inbox. $840,000 to federal and state. The celebration stopped. He had calculated his after-tax proceeds on a cocktail napkin. Did not consult a CPA until it was too late.
This is more common than you think. Most business owners have never paid tax on a nine-figure transaction. They estimate. They guess. They hope the accountant will sort it out later. And by then, it is already sorted. The money is gone.
Here is what actually happens when you sell your business.
When you sell your business for more than you paid for it (or paid to build it), the profit is a capital gain. That gain is taxed at federal capital gains rates. Long-term capital gains are taxed more favorably than ordinary income, and the rate depends on your total income and filing status.
The federal rate brackets for 2026 are:
But here is the trap. A $2 million business sale throws the entire $2 million gain into your taxable income for that year. If your ordinary business income was $400K and your gain is $2M, your total taxable income is $2.4M. That pushes you firmly into the 20% bracket. And it gets worse.
State taxes are not optional. California charges 13% on capital gains. New York charges 10.9%. Texas charges zero. Where you live when the deal closes matters enormously. Some owners strategically relocate to low-tax states months before closing to save hundreds of thousands.
You may also owe the 3.8% Net Investment Income Tax (NIIT) if your modified adjusted gross income exceeds $250K (single) or $500K (married). This applies to business sales and adds another significant layer.
Total potential tax burden: 20% federal plus 0-13% state plus 3.8% NIIT equals 23.8% to 36.8%. And that is just the income tax. You may also owe self-employment tax or depreciation recapture.
"Most business owners discover the true tax cost of their exit after the deal closes. By then the money is already moved and the tax is unavoidable. The time to plan is 12 months before you talk to a buyer."
There are two ways to structure the sale of a business. Asset sale or stock sale. The difference is huge for taxes.
In a stock sale, you sell the entire company (your shares) to the buyer. From a tax perspective, this is simple. You have one capital gain: the sale price minus your basis. A single tax event. The buyer inherits all the company's assets, contracts, and liabilities.
Advantage for seller: Single tax event. No depreciation recapture. No double taxation.
Disadvantage for buyer: They inherit unknown liabilities. They get no step-up in basis on assets. They cannot immediately deduct goodwill.
In an asset sale, you sell the assets one by one: equipment, inventory, customer contracts, trade name, goodwill, and a non-compete agreement. The buyer gets a fresh start. Each asset gets revalued on the buyer's balance sheet.
Advantage for buyer: Step-up in basis. Ability to immediately amortize goodwill and intangibles. Clear liabilities sheet.
Disadvantage for seller: Potential double taxation. Depreciated assets trigger depreciation recapture at 25%. Goodwill is taxed as long-term capital gain.
Stock Sale: One capital gain = sale price minus basis. Taxed at long-term capital gains rate. No recapture.
Asset Sale: Multiple gains on different assets. Equipment may trigger 25% recapture. Goodwill taxed at 20%. Intangibles amortized. More complex, potentially higher tax.
Bottom line: Stock sales are usually better for sellers. Buyers demand asset sales. The compromise is the buyer pays a premium (3-7%) for the asset sale structure.
In practice, most deals split the difference. The buyer wants an asset sale. The seller wants a stock sale. The buyer offers a higher price to compensate the seller for the extra tax hit. You should model both scenarios with your CPA before negotiating.
If your business is taxed as a C-corporation (not an S-corp or LLC), an asset sale creates double taxation. The corporation pays tax on the gain. Then you pay tax again on the distribution of proceeds. This can eat 40-50% of your gain. Work with a tax attorney to see if an S-corp election, LLC conversion, or other structure can avoid this before sale.
Instead of receiving the entire purchase price on closing day, what if the buyer paid you over three, five, or seven years via an installment note? Section 453 of the IRS code allows you to recognize the gain as payments are received, not all at once.
In a standard sale, you recognize the entire gain in year one. With an installment sale, you recognize your pro-rata gain for each year's payment. This has two benefits:
| Sale Structure | Year 1 Gain | Your Tax Bracket | Estimated Federal Tax |
|---|---|---|---|
| Lump sum (all at close) | $2,000,000 | 20% | $400,000 |
| 2-year installment | $1,000,000 | 20% | $200,000 Yr1 |
| 5-year installment | $400,000 | 15% | $60,000 Yr1 |
| 7-year installment | $285,714 | 15% | $42,857 Yr1 |
Important: The buyer must be creditworthy. You are essentially lending them the purchase price. If they default, you have recourse, but the business is gone. Most sellers use installment sales only when the buyer is a strong, established company or when the seller finances the sale intentionally (as part of the deal strategy).
A seller note can also help with deal economics. If the buyer cannot pay the full price in cash, a seller note bridges the gap. You may offer below-market interest rates in exchange for flexibility in the valuation.
The window for tax planning is 12 to 24 months before you sell. Once you sign the purchase agreement, most strategies are closed off. Here is what smart owners do.
If you held C-corp stock for more than five years and meet other criteria, you may be able to exclude up to $10 million of gain from capital gains tax entirely. Or up to 10 times your original investment, whichever is higher. This is one of the most powerful tax tools available to entrepreneurs. Most owners do not know it exists.
Requirements: Your company must be a C-corp, you must have held the stock for 5+ years, the business must have under $50M in assets when you acquired the stock, and the business must operate an active trade or business. If you qualify, the tax savings are staggering. A $5M gain could be entirely tax-free under QSBS.
If you sell your business and reinvest the proceeds in another small business within 60 days, you may be able to defer the capital gains tax indefinitely. This is Section 1045. You do not eliminate the tax, but you push it to the future, allowing your money to compound.
If you reinvest your gain in a qualified Opportunity Zone investment within 180 days, you can defer capital gains tax for up to 15 years. The investment must be in real estate or business operating in a designated Opportunity Zone (usually lower-income areas). The tax deferral is valuable, especially if you plan to reinvest in real estate.
If you own appreciated assets that are hard to sell (real estate held in the business, for example), consider donating them to a charitable organization before the sale. You get a full deduction for the appreciated value, avoiding capital gains tax entirely on that portion of the business. This works best for appreciated real estate or other non-cash assets.
Some sellers close the deal in late December and receive payment in January of the following year. This spreads the gain across two tax years and may lower the total tax bill if your ordinary income is lower in year two. Your CPA can model this.
In an asset sale, the purchase price is not one number. It is allocated across multiple categories: equipment, inventory, real estate, customer contracts, trade name, goodwill, and non-compete agreements. How that allocation is structured has enormous tax implications.
The buyer and seller must agree on how much of the purchase price goes to each asset. This allocation is binding on the IRS. The different categories are taxed differently:
Strategic allocation: A good tax advisor will negotiate the PPA to shift more value to preferentially-taxed categories. For example, if $500K can be allocated to goodwill instead of depreciated equipment, you save 5% per $500K (the difference between 20% capital gains and 25% recapture). On a large sale, this is tens of thousands of dollars.
Most buyers require the seller to sign a non-compete and non-solicitation agreement. The IRS allows the buyer to amortize the cost of this agreement over 15 years. You, as the seller, get the proceeds taxed as ordinary income. Some deals include consulting agreements or retention bonuses for the owner, which are also taxed as ordinary income (and subject to self-employment tax). A good deal structure minimizes these and maximizes capital gains treatment.
Same sale, $2M purchase price, but allocated differently:
On a $10M+ deal, strategic allocation can save $100K or more. This is not tax evasion. It is tax optimization within the law, and every seller should do it.
Possibly. If you live in California (13%), New York (10.9%), or another high-tax state, relocating to a no-income-tax state (Texas, Florida, Nevada) before closing can save significant money. But the IRS requires you to genuinely move. You cannot close in Texas on Friday and move back Monday. You need to establish residency, update your driver's license, vote there, etc. Most CPAs recommend establishing residency 6-12 months before the sale. Consult a tax attorney, because the tax savings ($100K+) are often worth the lifestyle adjustment.
Capital gains from a business sale are generally not subject to self-employment tax (15.3% Social Security and Medicare tax). However, if part of the sale price is allocated to consulting fees, employment taxes apply. This is another reason to allocate more to capital gains and less to ordinary income. Confirm with your CPA, but most well-structured sales avoid self-employment tax on the gain itself.
Yes. Investment banking fees, legal fees, accounting fees, and other selling expenses reduce your taxable gain. These are capitalized and netted against the sale price. Keep all receipts. If you spent $150K on advisors, that reduces your gain by $150K, saving roughly $30K in taxes (at 20% rate). Many owners do not realize this and fail to track and document their selling expenses.
LLCs and partnerships are pass-through entities. The sale is not a taxable event at the entity level. Instead, you (as a member or partner) recognize the gain on your personal return. This is actually better than C-corp treatment (avoids double taxation). But you still owe federal, state, and possibly self-employment taxes on your personal gain. Consult your CPA about whether an S-corp election or other structure could reduce self-employment tax before the sale.
Your basis is typically zero (or the original capital you invested). So the entire sale price (minus documented selling expenses) is your gain. This is common and not a disaster, but it means the entire sale is taxable. This is why owners sometimes use strategies like QSBS, installment sales, or opportunity zones to manage the full tax impact.
The difference between a tax-smart exit and a tax disaster is usually 12 months of planning and one good CPA conversation. Do not leave hundreds of thousands on the table.