Do you pay taxes when you sell a business?
Short answer: almost always, yes. The longer answer is where the money is. Two owners can sell for the same headline price and walk away with very different amounts, and most of the difference comes down to how the deal is taxed. Here's a plain-English look at how it works, so you can ask your CPA the right questions before you sign.
This article is general information, not tax advice. Tax law changes and every situation is different. Nothing here is a substitute for a CPA or tax advisor reviewing your specific deal.
Yes, a sale is a taxable event
When you sell your business, the IRS generally treats the gain as income. The gain, broadly, is what you receive above your tax basis: roughly what you put in and what you've already been allowed to write off. That gain gets taxed. How much you owe is not a single number you can look up, because a business sale isn't one transaction in the eyes of the tax code. It's often many smaller transactions bundled together, and each piece can be taxed differently.
That's the part that surprises owners. You don't pay one flat rate on the sale price. You pay based on how the price is divided, what kind of income each slice produces, and how and when you receive the money. Get the structure right and you keep more. Get it wrong and a chunk you assumed was yours goes to tax. None of it is guesswork, but it does take planning, which is why this is a conversation to have early, not the week before closing.
Capital gains vs. ordinary income
The first thing to understand is the difference between two buckets of income. Capital gains come from selling something you've held, like the goodwill you built or your ownership stake. Long-term capital gains are generally taxed at lower rates than your regular paycheck. Ordinary income is taxed at the higher rates that apply to wages. A sale usually produces some of each.
Why does the split matter? Because the more of your proceeds that fall into the capital-gains bucket, the lower your effective tax tends to be. Some items in a sale almost always land in ordinary income. One common example is depreciation recapture: if you wrote off equipment over the years, the portion of the price tied to that equipment can be taxed as ordinary income rather than capital gain. Knowing in advance which slices go where is half the battle.
Why asset sale vs. stock sale changes the bill
Most business sales are structured one of two ways, and the choice has real tax consequences.
- Asset sale. The buyer purchases the individual assets of the company: equipment, inventory, customer relationships, goodwill, and so on. The price is split across those assets, and each piece is taxed according to what it is. This tends to produce a blend of capital gains and ordinary income for the seller. Buyers usually like asset sales because they can step up the value of what they bought and limit the liabilities they inherit.
- Stock or equity sale. You sell your ownership interest in the company itself, and the buyer steps into your shoes. For the seller, this more often produces a single capital gain, which is frequently the friendlier outcome. Buyers are often warier here because they take on the company's history along with its assets.
You can see the tension. What's better for the buyer is frequently worse for the seller, and the other way around. This is one of the most negotiated points in any deal, and it's a big reason having an advisor and a CPA in the room matters. The way deal structure interacts with valuation is something we cover alongside the common business valuation methods, because price and structure are two halves of the same conversation.
How the purchase price gets allocated
In an asset sale, the buyer and seller agree on how to divide the total price across the different categories of assets. This is called purchase price allocation, and it's not just paperwork. Each category carries its own tax treatment, so where the dollars land directly affects what you owe.
Buyers and sellers don't always want the same allocation. A buyer may prefer to assign more value to items they can write off quickly. A seller may prefer to assign more value to categories that produce capital gains rather than ordinary income. Because the allocation is reported by both sides, it has to be consistent, so it gets negotiated. Going in without a view on allocation is leaving money on the table. Going in with your CPA's input is how you protect your net.
The role of goodwill
For a lot of healthy businesses, the single largest slice of the price isn't the trucks or the equipment. It's goodwill: the value of the brand, the customer relationships, the reputation, the fact that the phone keeps ringing. Goodwill is intangible, and the gain on it is often treated as a capital gain, which is generally the more favorable side of the line.
That's part of why two businesses with similar hard assets can have very different tax outcomes. The one with a strong, transferable base of customer goodwill may see more of its price taxed at capital-gains rates. There are nuances here, including how goodwill is characterized and whether any of it is treated as personal to the owner, so it's worth flagging early with your advisor rather than discovering it during diligence.
Installment sales and earnouts can spread the tax
You don't always get the full price at closing, and that can actually help on the tax side. With an installment sale, you receive payments over several years. Instead of recognizing all of your gain in the year you close, you may be able to report it as the money comes in. Spreading the income across multiple years can keep you out of the very top of the brackets in any single year and change which surtaxes apply.
Earnouts are related. Part of your price depends on how the business performs after the sale, so some of your proceeds arrive later and aren't fully known up front. That timing creates its own questions about when and how the income is taxed. These tools can be useful, but the rules are detailed and easy to get wrong, so this is exactly the kind of thing to model with a tax advisor before you agree to terms, not after.
Don't forget state tax
Federal tax is only part of the picture. Your state usually wants a share too, and the rules vary widely. Some states tax capital gains as ordinary income. A handful have no individual income tax at all. A few have special rules that apply to business sales specifically. If you've operated in more than one state, more than one state may have a claim on part of your gain.
State tax can swing your net proceeds by a meaningful amount, so it belongs in the plan from the start, not as an afterthought once the deal is done. Where you live, where the business operates, and where you might live when the money arrives can all factor in. A CPA who knows your states is the right person to map this out.
A quick map of where the money goes
None of these are rates or rules to rely on. They're a rough mental model of how the pieces of a sale tend to behave, so you can have a sharper conversation with your advisor.
| Piece of the deal | How it often behaves |
|---|---|
| Goodwill | Often capital gain |
| Your ownership stake (equity sale) | Often capital gain |
| Depreciated equipment | Recapture can be ordinary |
| Inventory | Often ordinary income |
| Consulting or non-compete paid to you | Often ordinary income |
Directional only. Characterization depends on your facts and current law. Confirm everything with a CPA before relying on it.
The takeaway
Taxes don't have to eat into your sale the way owners fear, but they reward planning and punish improvisation. The levers that matter most are the ones you set before closing: how the deal is structured, how the price is allocated, how much of your value sits in goodwill, and how the money is paid out over time. Decide those well, with the right people advising you, and you protect more of what you built.
Two people belong in that conversation early. A CPA or tax advisor models your specific tax picture and keeps you out of the traps. An M&A advisor runs the sale itself: valuation, finding the right buyers, and negotiating structure in your favor. If you're starting to think about a sale, the broader guide to selling your business walks through the full process, and you can read up on how a business broker differs from an M&A advisor to figure out who you actually need.
Taxes and selling: common questions
Do you pay taxes when you sell a business?
In most cases, yes. A sale is generally a taxable event. What you owe depends on how much of the price is above your tax basis, how the price is split across what you're selling, and whether each piece is taxed as a capital gain or as ordinary income. Structure changes the answer a lot. This is general information, not tax advice. Have a CPA run your specific numbers before you sign.
Is a business sale taxed as capital gains or ordinary income?
Usually a mix. Goodwill and your ownership stake often produce capital gains, generally taxed at lower rates. Other pieces, like depreciation recapture on equipment or amounts treated as consulting pay to you, can be ordinary income. Because one sale can create several kinds of income at once, two deals with the same price can net very differently. A tax advisor can model it for your case.
What's the tax difference between an asset sale and a stock sale?
In an asset sale, the buyer buys the individual assets and the price is allocated across them, which can blend capital gains and ordinary income. In a stock or equity sale, you sell your ownership interest itself, which more often produces a single capital gain. Buyers usually prefer asset sales; sellers often prefer equity sales, so structure gets negotiated. Your CPA should walk you through both.
Can an installment sale or earnout lower my tax?
They can change the timing. An installment sale lets you report gain as payments arrive instead of all at closing, which can keep you out of the top of the brackets in any single year. Earnouts tie part of your price to future performance and raise their own timing questions. The rules are detailed and fact-specific, so model these with a tax advisor before agreeing to terms.
Do I owe state taxes when I sell my business?
Often, yes, and it depends on where you live and operate. Some states tax capital gains as regular income, some have no income tax, and a few have special rules for business sales. Operate in more than one state and more than one may want a share. State tax can move your net meaningfully, so plan for it early and confirm your exposure with a CPA who knows your states.
Keep going
Business valuation methods: how buyers and advisors actually arrive at a price.
What's my business worth? Run your numbers through the valuation calculator.
Build value before you sell: moves that lift your price before you go to market.
Types of business buyers: who's buying, and why it changes your deal.
Get the structure right from the start.
Talk to your CPA about taxes, then let us match you with a vetted M&A advisor who negotiates structure in your favor and runs the whole sale. Free to sellers, including no-retainer, success-only options. No obligation to find out what your business could be worth.
Tania leads ProCloser's network of vetted M&A advisory firms and works with business owners every week on valuation, deal structure, and getting matched to the right advisor to sell. ProCloser does not provide tax advice. Get matched free.