Selling Your Business

Tax Implications of Selling a Business:
What Owners Need to Know

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.

Written by Eric Skeldon 11 min read Updated April 2026

Capital Gains Tax on Business Sales

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.

How Federal Capital Gains Tax Works

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.

0%, 15%, 20%
federal long-term capital gains tax rates (depending on income level)
0% to 13%
state capital gains tax (varies by state)
30-40%
typical combined federal and state tax on a business sale

The federal rate brackets for 2026 are:

  • 0% rate: Single filers with income up to $47,025, married filing jointly up to $94,050
  • 15% rate: Single $47,026 to $518,900, married $94,051 to $583,750
  • 20% rate: Single income over $518,900, married over $583,750

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.

Add State Taxes and Net Investment Income Tax

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."

Asset Sale vs. Stock Sale, The Tax Difference

There are two ways to structure the sale of a business. Asset sale or stock sale. The difference is huge for taxes.

Stock Sale (Selling Your Shares)

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.

Asset Sale (Selling the Business Assets)

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.

Asset vs Stock Sale: Tax Impact Comparison

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.

The C-Corporation Trap

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.

Installment Sales, Spreading the Tax Hit

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.

How Section 453 Works

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:

  • Lower income each year means lower tax bracket. A $2M gain over five years ($400K/year) may avoid pushing you into the 20% bracket entirely.
  • Spread income across multiple years while you have lower ordinary income, potentially keeping more of your gain in the 15% bracket.
Sale Structure Year 1 Gain Your Tax Bracket Estimated Federal Tax
Lump sum (all at close)$2,000,00020%$400,000
2-year installment$1,000,00020%$200,000 Yr1
5-year installment$400,00015%$60,000 Yr1
7-year installment$285,71415%$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.

Tax Strategies Smart Sellers Use Before Closing

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.

Qualified Small Business Stock Exclusion (QSBS)

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.

Section 1045 Rollover

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.

Opportunity Zones

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.

Charitable Giving Before Sale

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.

Timing the Sale Across Tax Years

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.

Tax Strategy Checklist
  • Investigate QSBS eligibility (saves up to $10M tax-free)
  • Consider Section 1045 rollover if reinvesting
  • Explore Opportunity Zone investment for 15-year deferral
  • Donate appreciated assets to charity if applicable
  • Model sale timing across two calendar years
  • Consult CPA 12+ months before going to market

How Deal Structure Affects Your Tax Bill

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 Purchase Price Allocation (PPA)

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:

  • Equipment and tangible assets may be depreciated by the buyer. If you previously depreciated them, you may owe depreciation recapture at 25% rates.
  • Goodwill and intangible assets are taxed as long-term capital gains (20% for most sellers).
  • Non-compete agreements are amortized over 15 years by the buyer. But on your return, the proceeds are typically taxed as capital gains.
  • Real estate held within the business (not on your personal balance sheet) may be subject to additional tax layers if held in a corporation.

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.

Non-Compete Agreements

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.

Example: $2M Sale with Strategic PPA

Same sale, $2M purchase price, but allocated differently:

  • Generic allocation: $1.2M goodwill (capital gains), $400K equipment (recapture), $200K real estate (capital gains), $200K non-compete (ordinary income). Tax = $210K federal (25% blended).
  • Strategic allocation: $1.5M goodwill, $300K equipment, $200K real estate, $0 non-compete (worked as consultant instead). Tax = $185K federal. Saves $25K on federal taxes alone.

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.

Frequently Asked Questions

Should I relocate before I sell to reduce state taxes?

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.

What about self-employment tax on the sale proceeds?

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.

Can I deduct my business sale expenses from my gain?

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.

What if my business is in an LLC or partnership? How is it taxed differently?

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.

What if I do not have a cost basis in my business? I started it from scratch.

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.

Ready to Sell Your Business?

Start With a Tax Plan, Not a Listing

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.

Get Your Free Valuation Talk to an Advisor
This article is educational, not tax advice. Consult a CPA or tax attorney before selling your business.

Related Reading