Most of your gain from selling a business is usually taxed at long-term capital gains rates, which top out at 20% federally, plus a possible 3.8% surtax and state tax. But the sale is not taxed as one lump. The IRS treats it as a sale of each asset separately, so the deal structure and the price allocation decide how much of your proceeds is taxed at 15% to 20% and how much at ordinary rates up to 37%. At Captyx, we have sold over 225 businesses, and the owners who keep the most are the ones who plan structure before they sign a letter of intent.
TL;DR
- Goodwill and most long-term-held business value are taxed as long-term capital gain: 0%, 15% or 20% federally, depending on your taxable income and filing status.
- Inventory, depreciation recapture on equipment, and non-compete payments are generally taxed as ordinary income, up to 37%.
- Asset sale or stock sale, and how the price is allocated across assets, can move your after-tax number by more than a small change in the headline price.
- Installment sales, qualified small business stock (QSBS) and planning ahead can defer or reduce the tax, but each has limits.
- Have a CPA or tax attorney model the after-tax result before you accept a term sheet.
Table of Contents
- Do you pay capital gains tax when you sell a business?
- Federal capital gains rates for business sellers
- Where ordinary income sneaks in
- Asset sale vs. stock sale
- Why price allocation matters as much as price
- Ways to defer or reduce the tax
- What to bring your tax advisor before you sign
- Perspective
- Start with what your business is worth
- FAQ
- Sources
Do you pay capital gains tax when you sell a business?
Yes, in most cases. When you sell, you are taxed on the gain: what you receive minus your tax basis (roughly what you put in, adjusted for depreciation and other items). The IRS explains that a business sale is usually not a sale of one asset. Every asset is sold and classified separately as a capital asset, depreciable property, real property or inventory, and the gain or loss is figured for each.
That classification drives the tax character of each piece:
- Capital assets (goodwill is the big one) produce capital gain or loss.
- Real property and depreciable property used in the business and held longer than one year result in Section 1231 gain or loss, which is generally treated favorably when it is a gain.
- Inventory produces ordinary income or loss.
So the honest answer to “do I pay capital gains tax?” is: on part of it, yes. Part of it may be taxed as ordinary income instead.
Federal capital gains rates for business sellers
Long-term gain applies to assets held more than a year. Short-term gain, on assets held a year or less, is taxed as ordinary income at graduated rates.

For tax years beginning in 2025, the IRS says the 0% rate applies to taxable income up to $48,350 for single filers and $96,700 for married filing jointly. The 15% rate runs up to $533,400 (single) and $600,050 (married filing jointly), and 20% applies above that. These brackets are indexed for inflation and the IRS publishes new thresholds every year, so check the current table when you plan. Almost any business sale large enough to matter pushes at least part of the gain into the 15% or 20% bands.
Two more layers sit on top:
- Net investment income tax (NIIT). A further 3.8% can apply above income thresholds, which brings the top federal capital gain rate to 23.8% and the top ordinary rate to 40.8%. Whether it reaches your gain depends on whether you materially participate in the business and on the entity type, so this is a question for your tax advisor.
- State tax. Most states tax the gain too, at rates that differ widely. Some have no income tax. Your state of residence at the time of sale matters, and moving shortly before a sale draws scrutiny, so get advice before you act on it.
For context, gains on collectibles follow a separate track, and the 28% collectibles tax rules show how the IRS sorts gain into rate categories. Business sale proceeds are sorted by the asset-by-asset method above.
A $300,000 gain, worked through
A frequent question is how much tax a $300,000 gain costs. Here is a deliberately simple version: a single filer, a long-term gain of $300,000, no other income, no deductions, using the 2025 brackets above, and ignoring NIIT and state tax.
- The first $48,350 is taxed at 0%.
- The remaining $251,650 is taxed at 15%, about $37,750.
That is roughly 12.6% of the gain, federal only. Change the assumptions and the answer moves. Capital gains stack on top of your other income, so a seller with $500,000 of other taxable income pays far more on the same gain, because less of it falls into the 0% and 15% layers. Add NIIT and state tax, and the real figure is higher still. Treat any single-number answer you read online as a starting point.
Where ordinary income sneaks in
The bulk of a typical sale is capital gain. The parts that are not are where owners get surprised.
Depreciation recapture
Every year you deducted depreciation on equipment, vehicles or machinery, you lowered your basis. When you sell for more than that lowered basis, the IRS takes back the benefit. Under the IRS’s Form 4797 planning table, Section 1245 recapture applies to equipment and is taxed as ordinary income, while Section 1250 unrecaptured gain applies to real property. Per one CPA firm’s guide, Section 1250 straight-line depreciation on real property is taxed at a maximum 25%. Recapture applies regardless of holding period and is recognized in full in the year of sale, even if you take payments over time.
Inventory and non-competes
Inventory gain is ordinary income. So are payments for a covenant not to compete, the agreement that you will not start a rival business. The same IRS table notes that non-compete payments are ordinary income, though not subject to self-employment tax. Buyers often ask for a non-compete, and any price assigned to it is price not assigned to goodwill.
Consulting or employment payments after closing
Money paid to you for work after the sale is compensation, not sale proceeds. A post-sale consulting agreement can be a legitimate part of a transition, but how it is priced against the purchase price affects your tax result.
Asset sale vs. stock sale
This is the single largest lever in your after-tax result.
In a stock (or equity) sale, you sell your ownership interest. The gain is generally long-term capital gain if you held the shares more than a year, and Section 1202 can exclude some or all of it for qualifying C corporation stock. The buyer inherits the company’s existing tax basis with no step-up.
In an asset sale, the buyer purchases the company’s assets and receives a stepped-up basis, meaning larger future depreciation deductions. That is why buyers often prefer asset deals. The same source notes that an asset sale by a C corporation is generally taxed twice, once at the corporate level and again when proceeds reach shareholders, which is why C corporation sellers often favor stock sales. For S corporations, a Section 338(h)(10) or 336(e) election, or an F reorganization, can give the buyer asset treatment while the seller technically sells equity. The same article notes that private equity buyers commonly request the F reorganization.
| Asset sale | Stock sale | |
|---|---|---|
| What is sold | Individual assets | Ownership interest |
| Typical buyer preference | Preferred (basis step-up) | Less preferred |
| Seller’s tax character | Mixed: capital gain, recapture, ordinary income | Mostly long-term capital gain |
| Double tax risk | C corporations: yes | No |
| Negotiating note | Allocation of price is critical | Seller may trade a lower price for this structure |
We walk through the trade-offs in our guides on asset sale vs. stock sale and how to choose the right deal structure. For the wider picture of how terms interact, see deal structure in business sales.
Why price allocation matters as much as price
When you sell a business for one price, buyer and seller must divide that price among the assets. The IRS requires use of the residual method: both parties report the allocation on Form 8594 when goodwill or going concern value attaches. Under the American Bar Association’s summary, consideration goes first to Class I assets (cash), then through Classes II to VI generally at fair market value, with whatever remains landing in Class VII, which is goodwill and going concern value.

Here is an illustration from a tax firm’s example: a $3M service business sold as an asset deal might allocate $1.5M to goodwill, $800K to equipment, $500K to inventory and $200K to client lists. Goodwill and client lists produce long-term capital gain, equipment triggers recapture at ordinary rates, and inventory gain is ordinary income. Three different rates inside one transaction.
Practical consequences:
- A buyer wants more price on equipment (faster deductions). You want more on goodwill (lower rate). Your interests conflict, so allocation is negotiated, ideally in the letter of intent and not after.
- Both sides file Form 8594, and the IRS expects the numbers to match.
- Our guide to purchase price allocation covers what each side typically asks for.
Ways to defer or reduce the tax
Installment sale
An installment sale is one where at least one payment arrives after the tax year of the sale, per IRS Publication 537. You can spread the gain over the years you receive payments. Selling an entire business under one contract is not a single-asset sale: the price must be allocated among the assets, and some, like inventory, are ineligible for installment treatment. Depreciation recapture is also recognized in the year of sale regardless of when payments arrive. Seller financing and earnouts are common in smaller deals, so this often applies naturally, but a buyer’s ability to pay is a real risk you carry.
Qualified small business stock (QSBS)
If you hold stock in a qualifying C corporation, Section 1202 can exclude a large part of the gain. The 2025 tax law raised the exclusion cap to $15 million (indexed for inflation), or 10 times your basis if greater, for stock issued after July 4, 2025. Partial benefits now start at three or four years of holding. The corporation must run a qualified active business, and most sole proprietorships, LLCs taxed as partnerships and S corporations do not qualify. Confirm eligibility with a tax professional.
Planning ahead
The options with the biggest effect, such as entity type, structure and timing, usually need to be in place well before a buyer appears. We cover this in how tax planning affects exit proceeds, tax-efficient exit strategy options and why exit planning starts early.
What to bring your tax advisor before you sign
A term sheet is the moment to model your after-tax number, not just the buyer’s. Bring your CPA or tax attorney:
- The term sheet and proposed structure, including any rollover equity.
- Earnout mechanics and payment timing.
- Your cap table, and holding periods for each block of stock.
- Any employment, bonus or equity agreements that may trigger separate tax treatment.
- Your residency facts, if you are considering moving.
- A draft allocation of price across asset classes.
These items track the questions one advisory firm recommends sellers raise after a term sheet. Your CPA or tax attorney provides the tax advice. A broker’s role is making sure the structure you negotiate gives them something good to work with.
Perspective
Tax is the last thing most owners think about and one of the first things a buyer’s lawyer does. After selling over 225 businesses, including our own, we see the same pattern: the headline price gets all the attention, while structure, allocation and the quality of the financials decide what lands in the owner’s account.
Our approach is to prepare the business before it goes to market, using what real buyers say back to us. Clean books, a defensible valuation and a competitive process give you room to negotiate structure and allocation from strength instead of conceding them at the end. The Captyx Exit Program is built around that: improve what buyers will pay for, then sell.
Your CPA models the tax. We make sure there is a strong offer, and the right terms, for them to model.
Tucker
Start with what your business is worth
You cannot estimate your tax without a realistic sale price, and a number from a rule of thumb is a weak starting point. We have valued more than 1,500 companies, and our Free REAL Valuation gives you a grounded figure to bring to your CPA. If you are further out from a sale, The Captyx Exit Program is designed to improve the business’s value and readiness before it goes to market.

When you are ready to sell, our full-scope M&A advisory and brokerage services cover valuation, buyer outreach, LOI negotiation and diligence support.
FAQ
What is the capital gains tax rate on selling a business?
Federal long-term capital gains are taxed at 0%, 15% or 20% depending on your taxable income and filing status, with a possible 3.8% net investment income tax on top. Parts of the sale, such as inventory and depreciation recapture, are taxed as ordinary income at up to 37%. State tax is separate.
Can I avoid capital gains tax when I sell my business?
Not entirely in most cases, but you can defer or reduce it. An installment sale spreads the gain over the years you are paid, and QSBS can exclude a large portion of gain for qualifying C corporation stock. Both have strict rules, so plan with a CPA or tax attorney before you sign.
Is a stock sale better than an asset sale for the seller?
Often, because the gain is generally long-term capital gain, and C corporation owners avoid double taxation. Buyers usually prefer asset deals for the basis step-up, so structure becomes a negotiation. Which is better depends on your entity type and your numbers.
How is the sale price divided for tax purposes?
Buyer and seller allocate the price across asset classes using the residual method and report it on IRS Form 8594. Whatever is left after tangible and identifiable assets goes to goodwill. The split decides how much of your gain is capital gain and how much is ordinary income.
When should I start planning for the tax?
Before you go to market. Entity type, holding periods and structure are hard or impossible to change once a buyer is at the table. Start with a valuation, then bring your tax advisor in before the letter of intent.
Sources
- Sale of a business, IRS
- Topic no. 409, Capital gains and losses, IRS
- Form 4797 and allocation tax planning table, IRS
- Instructions for Form 8594, IRS
- Publication 537, Installment Sales, IRS
- Purchase Price Allocations: Tax and Contractual Aspects, American Bar Association
- Tax Questions to Ask After Receiving an M&A Term Sheet
- Capital Gains Tax on a Business Sale (2026)
- Selling a Business: Tax Guide for Owners
- Navigating Taxable Gains and Losses When Selling Assets
- IRC §453 Explained: Structured Installment Sales
- The One Big Beautiful Bill Breakdown: Qualified Small Business Stock Under Section 1202
- Five tax tips for selling your business, CNBC
- Avoid the 28% Collectibles Tax on Gold






