The single biggest factor in what you keep from selling your business is structure, not luck or negotiation skill. Business sale tax planning works best when you treat it as a 12 to 36 month runway project, not a closing-week scramble: structure the deal for single-layer capital gain treatment wherever you can, and start moving the pieces long before a letter of intent lands on your desk.
The levers that actually move the needle, in rough order of dollar impact, are:
- Deal structure: stock sale versus asset sale changes whether you pay capital gains rates or a mix of ordinary income and capital gains.
- QSBS eligibility: Section 1202 can wipe out federal tax on a meaningful chunk of gain if your entity and holding period qualify, potentially excluding up to $10 million or more.
- Purchase price allocation: how the deal documents divide value across asset classes determines your tax character, dollar for dollar.
- Installment timing: spreading payments can keep you out of higher brackets and reduce your Net Investment Income Tax exposure.
- State residency: where you live at closing can swing your total bill by hundreds of thousands of dollars.
- ESOP or charitable rollover structures: these defer or eliminate gain entirely for the right seller.
Pro Tip: Federal long-term capital gains rates plus the 3.8% Net Investment Income Tax push many sellers' effective federal rate to 23.8%. Add state tax and depreciation recapture, and the all-in bill on an unplanned sale often lands between 25% and 33%, sometimes higher.
Key Takeaways
Business sale tax planning succeeds when deal structure, purchase price allocation, and holding-period rules like QSBS are locked in 12 to 36 months before closing, not negotiated at the letter of intent.
| Point | Details |
|---|---|
| Structure first | Stock sales typically produce single-layer capital gain; asset sales often mix ordinary income and capital gains through depreciation recapture. |
| Control the allocation | Purchase price allocation under Section 1060 determines how much of your proceeds get capital gains versus ordinary income treatment. |
| Start the QSBS clock early | Section 1202 can exclude up to $10 million or 10 times basis, but requires a five-year holding period in a qualifying C-corp. |
| Use installment timing carefully | Section 453 spreads gain across years but requires recapture reported in year one and carries imputed interest rules. |
| Work with a runway-focused advisor | Thetaxrefinery provides subscription-based advisory built for sequencing structure, allocation, and residency decisions years before a sale closes. |
This article is general information, not a substitute for advice from a qualified financial advisor. Consult a qualified financial professional about your own circumstances before acting on anything here.
Table of Contents
- What Is the Right Approach to Business Sale Tax Planning?
- Asset Sale or Stock Sale: Which Costs You Less in Taxes?
- How Does Purchase Price Allocation Affect Your Tax Bill?
- Does Your Business Qualify for the QSBS Tax Exclusion?
- What Rollover Options Let You Defer or Avoid Capital Gains?
- When Does an Installment Sale Lower Your Effective Tax Rate?
- How Much Does State Residency Change Your Tax Bill?
- What Should You Lock In Before You Sign the LOI?
- Who Is Behind This Business Sale Tax Planning Guidance?
- How Can You Reduce AMT Exposure Around a Business Sale?
- How Do Passive Activity Loss Rules Affect a Business Sale?
- How Are Earnouts and Contingent Payments Taxed?
- What Records Do You Need to Keep After the Sale Closes?
- How Do NOLs and Basis Adjustments Change Your Taxable Gain?
- Why Most Sellers Leave Money on the Table
- Get a Tax Strategy Review Before You Go to Market
- Sources
What Is the Right Approach to Business Sale Tax Planning?
Business sale tax planning means deciding, well before you sign anything, how the transaction will be structured, taxed, and timed so the largest possible share of your proceeds lands in your pocket rather than the government's. It is not a single decision made at closing. It is a sequence of choices, some of which have to be made years in advance, that compound into a materially different after-tax outcome.
The framework that works: identify every lever that changes your tax character or timing, rank them by dollar impact, and work backward from your target sale date to figure out which ones still have runway. Some levers, like QSBS, require a five-year holding period that cannot be shortcut. Others, like purchase price allocation, only need to be locked down before you sign the letter of intent. Knowing the difference determines whether you are optimizing or just hoping.

Most sellers only start thinking about tax once a buyer shows real interest. By then, the entity structure is set, the holding period clock has been running (or not running) without anyone watching it, and residency has not been addressed at all. Practitioner guides that track sale outcomes consistently find that starting structured planning 12 to 24 months before a sale preserves access to the levers with the biggest dollar impact. Wait until the letter of intent stage, and several of the best options are already off the table.
Asset Sale or Stock Sale: Which Costs You Less in Taxes?
A stock sale usually saves the seller more in taxes, and an asset sale usually saves the buyer more. That tension defines nearly every negotiation over deal structure.
In a stock sale, you sell your ownership shares directly. The buyer takes over the entity as-is, and your gain is typically taxed entirely as long-term capital gain. In an asset sale, the buyer purchases specific assets and liabilities out of the business. That structure lets the buyer step up the tax basis of those assets going forward, which means bigger depreciation deductions for them later. For you, it usually means splitting your gain: part gets capital gains treatment, and part, especially anything tied to depreciation recapture on equipment or fixtures, gets taxed as ordinary income at your regular rate.
The gap between the two can be significant. A seller in the mixed asset-sale scenario can end up paying an effective rate several percentage points higher than a clean stock sale, once recapture and ordinary income brackets are factored in. There are exceptions worth knowing:
- S-corp and partnership sellers often already get asset-sale-like tax treatment regardless of legal structure.
- A Section 338(h)(10) election lets a stock sale be treated as an asset sale for tax purposes, sometimes benefiting both sides depending on entity type.
- Buyers will often pay a premium for a stock sale if it avoids re-signing customer contracts and licenses.
Pro Tip: If a buyer insists on an asset sale, ask for a gross-up: an increase to the purchase price calculated to offset your higher effective tax rate. It is a standard ask, and reasonable buyers expect it.
How Does Purchase Price Allocation Affect Your Tax Bill?
Purchase price allocation decides which parts of your sale proceeds get capital gains treatment and which parts get taxed as ordinary income, and it is one of the most negotiable, most overlooked parts of the deal.
Under IRC Section 1060, buyer and seller allocate the purchase price across seven statutory asset classes using the residual method, then report the agreed figures on Form 8594. The classes run from cash and cash equivalents, through securities, accounts receivable, inventory, and other tangible property, up to Section 1245 and 1250 property (equipment, buildings), and finally goodwill and going-concern value, which absorbs whatever is left.
That last class matters enormously to you. Goodwill typically gets capital gains treatment. Inventory and receivables are usually ordinary income. Equipment allocated above its depreciated basis triggers recapture, which is also ordinary income. Two deals with identical total price tags can produce very different tax bills depending purely on how that price gets divided across those seven buckets.
- Model your allocation before the letter of intent is signed, not after.
- Push for allocation language in the LOI itself, since buyers often have not thought about it and will accept reasonable terms early.
- Confirm both parties will file matching Form 8594 entries. Mismatched filings are a common audit trigger.
- Get a valuation professional involved if goodwill versus tangible asset value is contested.
Buyers generally want more allocated to depreciable assets because it lowers their future tax bill. You want more allocated to goodwill. That disagreement is negotiable, and the earlier you raise it, the more leverage you have.
Does Your Business Qualify for the QSBS Tax Exclusion?
Qualified Small Business Stock, under Section 1202, can eliminate federal tax on a large share of your gain, but only if your entity has been a C-corp from the start and you have held the stock for at least five years.

The exclusion caps at $10 million or 10 times your basis in the stock, whichever is greater, and the excluded portion is not subject to the Net Investment Income Tax either. For a founder with a low basis and a high sale price, that is not a minor perk. It can mean the difference between owing millions in federal tax and owing nothing on the excluded portion.
The rules that trip people up:
- The stock must be original issuance from the corporation, not purchased from another shareholder.
- The company must have had gross assets under $50 million at issuance and pass an active-business test.
- Certain service industries (law, accounting, health, financial services, among others) are excluded from qualifying entirely.
- S-corps and LLCs do not qualify, ever, regardless of how long you have held the interest. Conversion to a C-corp does not retroactively start the five-year clock.
If you are not yet at five years, a Section 1045 rollover lets you sell early and reinvest proceeds into new QSBS-eligible stock within 60 days, preserving your holding period. If you are considering converting an S-corp or LLC to a C-corp specifically to chase QSBS, run the math with a tax professional first. The five-year wait is real, and the qualified-trade exclusions catch more industries than most owners expect.
Pro Tip: Document your original issuance date and gross-asset test compliance the day the stock is issued, not years later when you need it for an exam. Reconstructing this history after the fact is one of the most common QSBS claim failures.
What Rollover Options Let You Defer or Avoid Capital Gains?
Selling to an Employee Stock Ownership Plan, giving stock to a charitable remainder trust, or reinvesting into a Qualified Opportunity Fund can defer or eliminate gain entirely, but each comes with real strings attached.
A Section 1042 ESOP rollover lets you defer gain if you sell at least 30% of your company to an ESOP structured as a domestic C-corp, and reinvest the proceeds into Qualified Replacement Property within 12 months. The tradeoff is real: ESOP transactions typically come with a lower headline sale price than a strategic buyer would pay, since the ESOP is financing the purchase through the company's own future cash flow.
A charitable remainder trust works differently. You donate appreciated stock (not cash proceeds after the sale) into the trust before the transaction closes, the trust sells the stock tax-free, and you receive an income stream for a term of years while getting an immediate charitable deduction. This only works if you fund the trust before the sale is finalized, since donating cash after the fact does not avoid the gain.
Qualified Opportunity Funds offer a narrower benefit: reinvesting capital gain into a QOF within 180 days defers recognition and can eliminate tax on the fund's own appreciation if held long enough. It does not eliminate tax on your original gain the way QSBS or a CRT can, but it is worth modeling if you are already planning to redeploy capital into real estate or a new venture.
When Does an Installment Sale Lower Your Effective Tax Rate?
An installment sale lowers your effective tax rate when spreading payments over multiple years keeps you out of the top capital gains bracket and reduces the portion of your income exposed to the Net Investment Income Tax in any single year.
Under Section 453, you report gain proportionally as you receive payments rather than all at once in the year of sale. That said, the mechanics carry real limits:
- Depreciation recapture is due in year one, regardless of when you actually receive the cash for that portion of the sale. You cannot spread recapture across the note.
- Imputed interest rules apply if your note does not charge an adequate stated interest rate, which the IRS will otherwise assign for you.
- Large deferred balances trigger special interest charges on the deferred tax liability itself once total installment obligations exceed statutory thresholds outlined in IRS Publication 537.
- Buyer default is your risk, not a hypothetical. A note that goes unpaid does not undo the gain you already reported.
Installment treatment tends to help most when your business income already pushes you into the top bracket in the sale year, and a multi-year note would keep subsequent years' recognized gain below the NIIT threshold.
Pro Tip: Negotiate a security interest or escrow holdback tied to the note, not just a personal guarantee from the buyer. If the deal sours, you want more than a promise standing between you and the balance owed.
How Much Does State Residency Change Your Tax Bill?
Where you live at closing can change your total tax bill by hundreds of thousands of dollars on a mid-market sale, sometimes more, depending on your state's capital gains treatment.
States without an income tax do not touch your sale gain at all. High-tax states can add a substantial percentage on top of your federal bill, and unlike federal rates, state treatment of capital gains varies widely rather than following one uniform schedule, a gap the Tax Foundation tracks closely across states each year. On a deal in the tens of millions, that gap alone can outweigh most other planning moves combined.
Changing residency to capture a lower state rate is legal, but it requires real, documented facts, not a mailing address change filed the week before closing. States examine physical presence, voter registration, driver's license location, where your doctor and accountant are, and where your primary home actually sits empty most of the year.
- Plan for a 12 to 24 month window of genuine domicile change before the sale closes.
- Keep records: utility bills, calendar days spent in-state, club memberships, and where your vehicles are registered.
- Expect your former state to scrutinize a move that coincides suspiciously with a large capital gain.
If you are considering a residency change purely for tax reasons, bring in a state tax specialist early. Aggressive moves that do not hold up under audit can cost more in penalties and interest than staying put would have cost in tax.
What Should You Lock In Before You Sign the LOI?
The letter of intent is your last real point of leverage on tax structure. Once it is signed, most of your negotiating power on allocation, structure, and terms evaporates.
12 to 36 months before your target sale date:
- Review your entity structure and decide whether a C-corp conversion for QSBS purposes makes sense, understanding the five-year clock starts fresh.
- Clean up your cap table and confirm original issuance documentation if QSBS is in play.
- Confirm clear ownership and title on all significant business assets, since unclear title slows diligence and weakens your negotiating position.
- Get a preliminary valuation done so you know roughly what allocation split you are aiming for before a buyer proposes their own.
- Begin residency planning steps if a state tax move is part of your strategy.
At the LOI stage, negotiate and document:
- Deal structure (stock, asset, or a 338(h)(10) election) and who bears the tax cost difference.
- Purchase price allocation language across the seven Section 1060 classes.
- Installment or earnout terms, including interest rate and security for any deferred balance.
- Escrow and holdback mechanics, and how tax indemnity claims get resolved.
Who to engage, and roughly when: bring in a transactional CPA and tax attorney 12 to 24 months out for structural planning, a valuation expert once you have a target sale window, and an M&A advisor when you are ready to go to market. Sequencing matters. A tax attorney who only sees the deal at LOI cannot undo a structure decision made two years earlier.
Pro Tip: Ask your CPA to build a one-page tax model showing your after-tax proceeds under at least three structures (stock sale, asset sale, and QSBS-qualified sale if applicable) before you engage an M&A advisor. It changes how you evaluate every offer that follows.
Who Is Behind This Business Sale Tax Planning Guidance?
Melissa Korber is an Enrolled Agent and the founder of Thetaxrefinery, a tax strategy and advisory firm serving business owners, real estate investors, and high-earning professionals across the Treasure Valley and beyond. The firm's focus areas include multi-entity structuring, S-corp planning, accountable plans, and depreciation strategy, the exact building blocks that determine how a sale gets taxed years before it happens.
Thetaxrefinery works with sellers through a subscription-based advisory model built for ongoing sequencing, not a single annual meeting. Typical deliverables for an exit-stage engagement include:
- After-tax proceeds modeling across deal structures
- LOI-stage tax sequencing and allocation review
- Coordination with transaction counsel and valuation professionals
The clients who benefit most are high-earning business owners netting $300,000 to $1,000,000 or more annually, multi-entity operators, and real estate investors who need a tax strategist involved well before a buyer shows up.
How Can You Reduce AMT Exposure Around a Business Sale?
The Alternative Minimum Tax rarely targets capital gains from a straightforward business sale directly, since long-term capital gains are treated similarly under both the regular and AMT systems. Where AMT exposure actually shows up is in the surrounding details: incentive stock options exercised in the same year as your sale, certain state and local tax preference items, and depreciation timing differences on business assets that get accelerated for regular tax purposes but recalculated under AMT rules.
The practical fix is timing. If you hold incentive stock options, consider exercising them in a separate tax year from your sale closing, rather than stacking both events into one return. Bunching two large preference items into a single year is what pushes many sellers from the regular tax system into AMT territory unexpectedly.
Depreciation recapture on Section 1245 or 1250 property can also interact with AMT adjustment calculations differently than straight capital gain does, particularly for sellers who used accelerated depreciation methods in earlier years. If your allocation negotiations (covered above) are shifting meaningful value into depreciated equipment, ask your tax preparer to run an AMT projection alongside your regular tax estimate before you finalize that allocation, not after you file. A projection run in November of the sale year still leaves room to adjust withholding or estimated payments; one run in April does not.
How Do Passive Activity Loss Rules Affect a Business Sale?
Passive activity loss rules matter most to sellers who have accumulated suspended losses from a business in which they did not materially participate, commonly a rental real estate operation or a business where an owner stepped back from day-to-day involvement.
Under the passive activity rules, losses that could not be deducted in prior years because they exceeded passive income get suspended and carried forward. The moment you sell your entire interest in that passive activity in a fully taxable transaction, those suspended losses become deductible in full against your other income, including the gain from the sale itself.
That timing detail is worth planning around deliberately. If you have suspended passive losses sitting on prior returns from a business you are now selling, confirm with your preparer that the sale will be structured as a complete disposition of your interest, not a partial sale that leaves some ownership stake behind. A partial disposition typically does not free up the suspended losses in the same way. For owners who materially participated in the business throughout ownership, passive loss rules generally do not apply at all, since the activity was never passive to begin with. The distinction hinges on your actual involvement, not just your ownership percentage.
How Are Earnouts and Contingent Payments Taxed?
Earnout payments are generally taxed as they are received, following the same character (capital gain or ordinary income) as the underlying sale, but the timing and structure of the earnout agreement determine how much flexibility you have.
An earnout ties part of your sale price to the business hitting future performance targets, revenue thresholds, or client retention benchmarks after closing. Tax treatment typically follows installment sale principles under Section 453 if the total sale price is not fixed at closing, meaning you report gain proportionally as earnout payments arrive rather than estimating and reporting the entire contingent amount upfront.
The complications sellers underestimate: if the earnout is structured as compensation for continued employment or consulting services rather than as additional purchase price, the IRS can recharacterize those payments as ordinary income and subject them to self-employment tax, even if everyone intended it as deferred sale proceeds. The drafting matters as much as the substance. Contract language that ties earnout payments explicitly to the value of the business transferred, rather than to your continued services, protects the capital gains character.
Contingent payments also complicate purchase price allocation, since the total consideration is not known at closing. Buyers and sellers often need to estimate a maximum earnout value for Form 8594 purposes and true up the allocation as payments are actually made, which is one more reason to get your allocation modeling done before the letter of intent, not after contingent terms are already locked into the purchase agreement.
What Records Do You Need to Keep After the Sale Closes?
The IRS expects sellers to substantiate their reported gain, allocation, and any special treatment (QSBS, installment sale, ESOP rollover) for years after the transaction closes, and the documentation burden falls on you, not the buyer.
At minimum, retain the signed purchase agreement, the final Form 8594 filed by both parties showing the agreed asset allocation, and your basis calculation showing how you arrived at the reported gain. If you claimed the QSBS exclusion, keep your original stock issuance records, corporate formation documents, and evidence supporting the gross-asset test at issuance indefinitely. If you used an installment sale, you will need to file Form 6252 for every year you receive a payment, not just the year of sale.
- Form 8594 (both your copy and confirmation the buyer's allocation matches)
- Form 6252 for each year of installment payments received
- Original stock issuance documentation if QSBS was claimed
- Records supporting any state residency change made in connection with the sale
Sellers who used a Section 1042 ESOP rollover need to retain proof of Qualified Replacement Property purchases within the 12-month reinvestment window, since that documentation is what preserves deferral if the IRS ever asks. A missing or informal record five years after closing is a far more expensive problem than the ten minutes it takes to file it properly the year it happens.
How Do NOLs and Basis Adjustments Change Your Taxable Gain?
Net operating losses and basis adjustments can meaningfully reduce your taxable gain, but only if they are tracked correctly leading up to the sale, since errors here directly understate or overstate what you owe.
If your business has accumulated net operating losses from prior years, those losses can offset ordinary income generated by the sale, most commonly depreciation recapture, which is taxed as ordinary income regardless of deal structure. NOLs generally cannot offset capital gain income directly, but they reduce your overall taxable income in the sale year, which matters when recapture and capital gain combine to push you into higher brackets.
Basis adjustments matter just as much and get overlooked more often. Your tax basis in the business, adjusted upward for capital contributions and certain retained earnings (in pass-through entities) and downward for distributions and prior depreciation deductions, directly determines your reported gain. A basis calculation that has not been maintained carefully through years of entity activity, ownership changes, or reinvested profits can produce a gain figure that is meaningfully wrong in either direction. Before you go to market, have your accountant reconstruct and confirm your basis calculation independently, rather than relying on a figure carried forward from returns prepared years apart by different preparers. This single reconciliation step catches more costly errors than almost any other pre-sale task.
Why Most Sellers Leave Money on the Table
The conventional advice on selling a business treats tax as a closing-week line item, something your CPA handles after the deal terms are already set. That is backward, and it is the single most expensive mistake I see repeated across deal after deal. By the time a letter of intent exists, your entity structure is fixed, your QSBS clock has either been running or has not, and your residency facts are whatever they happen to be. Tax planning at that stage is really just tax reporting with extra steps.
What the research actually supports is unambiguous: the sellers who keep the most money are the ones who treated their business as perpetually sale-ready, structuring entities, tracking basis, and documenting residency long before a buyer ever called. That is not paranoia. It is the only way to keep every lever, from QSBS to purchase price allocation, genuinely available when it counts.
If you take one thing from this guide, let it be this: stop waiting for a buyer to justify getting your structure right. The five-year QSBS clock does not care that you are not ready to sell yet.
— Melissa
Get a Tax Strategy Review Before You Go to Market
Thetaxrefinery exists for exactly this moment: the years before a sale, when structure decisions still have room to change your outcome. Unlike a transactional CPA brought in after the letter of intent, Thetaxrefinery works with sellers on a subscription advisory basis specifically to sequence entity conversions, QSBS documentation, purchase price allocation modeling, and residency planning while those levers are still open.

Services relevant to an upcoming exit include exit tax strategy modeling, entity conversion analysis for QSBS eligibility, LOI-stage allocation review, residency planning coordination, and ESOP or charitable rollover sequencing when they fit your situation. Engagement options range from ongoing subscription advisory for owners still years from a sale to project-based planning packages for those already in active deal conversations. The firm works best with high-earning business owners, multi-entity operators, and real estate investors who want a strategist involved before the numbers are locked in, not after.
If your sale is on the horizon, even a loose one, book a complimentary planning review and find out which levers are still available to you.
Sources
- Capital gains tax on business sale | Iconic — practitioner analysis
- Business sale tax planning checklist — CTAcquisitions
