Tax Implications of Selling a Business
In my years advising business owners through exits, the single most common regret I hear is: "I wish I had started tax planning sooner." The difference between a well-planned exit and an unplanned one can easily be $500,000 or more on a $3M sale — and I'm not talking about aggressive or questionable strategies. I'm talking about legitimate, well-established tax planning that simply requires time to implement.
This article covers the major tax considerations when selling a business. I'm not a tax attorney, and this isn't tax advice — you need a qualified CPA and tax counsel for your specific situation. But every seller needs to understand these concepts well enough to have an informed conversation with their advisors.
The Tax Rate Landscape
At the federal level, long-term capital gains (assets held over one year) are taxed at 0%, 15%, or 20% depending on your income. Most business sellers fall into the 20% bracket. On top of that, there's the 3.8% Net Investment Income Tax (NIIT) for individuals earning over $200K ($250K for married couples), bringing the effective federal rate to 23.8%.
Then add state taxes. California hits capital gains at ordinary income rates — up to 13.3%. New York maxes at 10.9%. Texas and Florida have no state income tax. The combined federal-plus-state rate ranges from 23.8% in zero-tax states to over 37% in California. On a $5M gain, that's a difference of over $660,000 in taxes based solely on where you live.
But here's what catches sellers off guard: not all of your sale proceeds are taxed as capital gains. The structure of your deal — particularly the allocation of purchase price in an asset sale — determines how much you keep.
Asset Sale vs Stock Sale: The Tax Battle
The tension between asset sales and stock sales is fundamentally a tax negotiation. Buyers almost always prefer asset sales because they get a stepped-up tax basis in the acquired assets, which means larger depreciation and amortization deductions going forward. Sellers typically prefer stock sales because the entire gain is taxed at capital gains rates.
In an asset sale, the purchase price gets allocated across different asset categories under IRS Section 1060, and each category has different tax treatment:
- Inventory: Taxed as ordinary income (up to 37% federal). If your business carries $200K in inventory, that portion is taxed at your highest marginal rate, not capital gains.
- Equipment and fixed assets: Gain up to original cost is taxed as ordinary income due to depreciation recapture (Section 1245). Gain above original cost is capital gains. That $300K CNC machine you fully depreciated? The IRS wants ordinary income rates on the full $300K.
- Real property: Section 1250 recapture applies to depreciation taken in excess of straight-line. Usually results in a mix of 25% and 20% rates.
- Goodwill and intangibles: Taxed at long-term capital gains rates (20% federal + 3.8% NIIT). This is the favorable category, and in most service businesses, goodwill represents the majority of the purchase price.
- Non-compete agreements: Taxed as ordinary income to the seller. Buyers love allocating here because they amortize it over 15 years. Sellers hate it because they pay ordinary income rates. This allocation is one of the most contested points in any purchase agreement.
- Consulting/transition agreements: Ordinary income, plus subject to self-employment tax (15.3%). The worst tax treatment possible for the seller.
The allocation negotiation is real money. On a $4M asset sale, shifting $200K from goodwill (23.8% rate) to non-compete (37% rate) costs the seller $26,400 in additional taxes. Shifting $150K from goodwill to a consulting agreement costs even more when you add self-employment tax. Your tax advisor needs to be at the table when the purchase price allocation is negotiated — not after it's signed.
Installment Sales: Spreading the Gain
If you're providing seller financing (which is common in small business sales), an installment sale under Section 453 lets you recognize gain proportionally as you receive payments rather than all at once. This can keep you in a lower tax bracket and defer taxes for years.
Example: you sell your business for $3M with $1.5M at closing and $1.5M in seller notes paid over 5 years. Instead of recognizing the full $3M gain in year one (pushing you deep into the highest brackets), you recognize roughly half the gain at closing and spread the rest over 5 years.
The catch: installment sale treatment doesn't apply to depreciation recapture — that's recognized in full in year one regardless of when you receive payment. And you're subject to interest charge rules if the sale price exceeds $5M. It's a powerful tool, but the mechanics are complex enough that you need a tax advisor who specializes in business sales.
QSBS: The $10 Million Exclusion
Section 1202 Qualified Small Business Stock (QSBS) is the single most powerful tax benefit available to business sellers, and it's shockingly underutilized. If you qualify, you can exclude up to $10 million (or 10x your cost basis, whichever is greater) in capital gains from federal tax. That's a potential tax savings of $2.38 million on a $10M exit.
The requirements are specific:
- The business must be a C corporation (not an S corp, LLC, or partnership).
- You must have acquired the stock at original issuance (not purchased on the secondary market).
- You must have held the stock for at least 5 years.
- The corporation must have had gross assets under $50M at the time you acquired the stock and at all times before.
- The business must be in a "qualified" trade or business — which excludes professional services (law, accounting, medicine, consulting), banking, insurance, hospitality, and real estate.
Here's where planning matters: if your business is currently an S corp or LLC, it can't qualify for QSBS. But if you convert to a C corporation and hold for 5 years before selling, you can access the exclusion. This is why I tell business owners that tax planning for a sale should start at least 5 years out if QSBS is a possibility — and at minimum 2 years out for other strategies.
Some states honor the federal QSBS exclusion (like New York), while others don't (California taxes QSBS gains in full). Know your state's treatment before relying on this strategy.
Opportunity Zone Investments
If you can't avoid recognizing a large capital gain, Qualified Opportunity Zone (QOZ) investments allow you to defer and potentially reduce the tax. By investing your capital gains into a QOZ fund within 180 days of the sale, you defer the tax until the earlier of when you sell the QOZ investment or December 31, 2026 (under current law).
More importantly, if you hold the QOZ investment for 10+ years, any appreciation on the QOZ investment itself is tax-free. For a seller who reinvests $2M of capital gains into a QOZ fund that doubles in value over 10 years, the $2M in appreciation is entirely excluded from tax.
The practical challenge is finding quality QOZ investments. Many QOZ funds invest in speculative real estate developments, and the tax tail shouldn't wag the investment dog. But for sellers with the right risk profile, it's a legitimate strategy worth exploring with your advisor.
Charitable Strategies for High-Value Exits
For sellers with philanthropic inclinations and exits above $5M, charitable remainder trusts (CRTs) can be powerful. You contribute appreciated business interests to the CRT before the sale, the trust sells the business tax-free (no capital gains to the trust), and you receive an income stream for life or a term of years. At the end of the trust term, the remaining assets go to your designated charity.
The benefits are significant: you get an immediate charitable deduction, avoid capital gains tax on the sale, and receive ongoing income. The trade-off is that the assets ultimately go to charity — you can't change your mind later.
Donor-advised funds (DAFs) are a simpler alternative for smaller amounts. Contributing appreciated stock or business interests to a DAF before the sale generates a charitable deduction at fair market value and avoids capital gains on the contributed amount. You then recommend grants from the DAF to charities over time.
State Tax Planning: The Relocation Question
I get asked about this in nearly every engagement with a seller in a high-tax state. "Should I move to Florida before I sell?" The answer is: it depends, and the execution matters enormously.
Moving states to avoid capital gains tax is legal, but you must genuinely change your domicile. California is particularly aggressive about this — they'll argue you're still a resident if you maintain a home there, if your spouse stays, if your kids are in California schools, or if you spend more than 9 months of the year there. The "safe harbor" period is generally 18-24 months of established residency in the new state before the sale.
On a $10M gain, the difference between California (13.3% state tax = $1.33M) and Florida (0% state tax) is massive. But it requires genuine relocation — changing voter registration, driver's license, bank accounts, professional affiliations, and actually living in the new state full-time. Fake relocations get caught and the penalties are severe.
The Earn-Out Tax Trap
Earn-outs create tax uncertainty because you don't know the final purchase price at closing. The IRS has specific rules for reporting earn-out payments, and the treatment depends on whether the earn-out is classified as additional purchase price (capital gains) or compensation for services (ordinary income).
Buyers have an incentive to classify earn-outs as compensation — it's deductible to them. Sellers want capital gains treatment. The structure of the earn-out agreement matters: if payments are contingent on the seller continuing to work in the business, the IRS is more likely to treat them as compensation. If payments are based purely on business metrics regardless of the seller's involvement, capital gains treatment is stronger.
Having worked through numerous earn-out structures, my advice is to have your tax attorney review the earn-out language before you sign the purchase agreement. A few words in the contract can determine whether your earn-out payments are taxed at 23.8% or 37%+ — and that's before state taxes.
When to Start Planning
Here's the timeline I recommend for tax planning before a business sale:
- 5+ years out:Evaluate QSBS eligibility. If you're an S corp or LLC, discuss C corp conversion with your advisor. The 5-year holding period starts at conversion.
- 2-3 years out: Engage a tax advisor who specializes in business sales (not your regular CPA who does your annual return). Model different scenarios: asset sale vs stock sale, installment sale, QSBS, state relocation. Understand the numbers before you make structural decisions.
- 12-18 months out: Implement your chosen strategy. If relocating, move now. If using charitable vehicles, establish the trust. If restructuring entity type, do it with enough time for the change to be respected.
- At LOI stage: Your tax advisor should review the purchase agreement, particularly the purchase price allocation and earn-out structure. These terms are much harder to change after the LOI is signed.
- At closing: Coordinate with your advisor on the Section 1060 allocation form, installment sale elections, and estimated tax payments. Missing estimated tax deadlines triggers penalties.
The Bottom Line
Taxes are the largest single expense in most business sales. A seller who plans well can keep 70-80 cents of every dollar; one who doesn't might keep only 55-60 cents. The strategies aren't complicated, but they require time — and that's the resource most sellers waste. Start early, hire specialists, and make tax planning a core part of your exit strategy, not an afterthought.
Want to see what your business is worth?
Institutional-quality estimates backed by 25,000+ real M&A transactions.
Get Your Valuation EstimateRelated Reading
How to Prepare Your Business for Sale
An 18-month timeline covering financials, operations, and legal preparation for a successful exit.
How to Sell Your Business to Private Equity
The PE acquisition process from initial outreach through closing — and what drives PE valuations.
Earn-Outs Explained: Bridging the Valuation Gap
How earn-outs work, when they make sense, and how to negotiate terms that protect you.