Most of the tax outcome in a business sale is settled years before a buyer appears. The levers that matter most (entity structure, qualified small business stock holding periods, state residency, gifting runway) carry waiting periods measured in years, and nearly all of them close once a letter of intent is signed. The practical rule: begin pre-sale tax planning one to five years before you expect to go to market.
This article is an educational overview only. It is not tax, legal, estate, or investment advice, and nothing here is a recommendation to adopt any strategy. Rules change, facts differ, and every technique below has strict requirements and real downsides. Work through your own situation with a qualified CPA, tax attorney, and estate planning attorney before acting. Dollar figures reflect federal law as of 2026 and come from the IRS and professional sources listed at the end.
Why timing decides more than technique
Federal tax on a sale usually has two layers for an individual seller: long-term capital gains tax, plus the 3.8% net investment income tax for sellers whose modified adjusted gross income exceeds $200,000 (single) or $250,000 (married filing jointly). Under IRS guidance, gain from selling an interest in a partnership or S corporation is generally caught by that 3.8% surtax to the extent the owner was a passive investor, while operating income from a nonpassive business is not. State tax sits on top and varies widely.
None of that is exotic. What surprises owners is how little can be done about it late. The most valuable federal exclusion requires years of holding the right kind of stock. Residency changes need a genuine, documented move well before the gain year. Gifts of company interests need appraisals and time to season. And under long-standing assignment-of-income principles, once a sale is effectively certain, shifting the gain to a trust, a family member, or a charity generally stops working. Pre-sale tax planning is mostly a calendar problem.
A planning calendar
| Time before a likely sale | What is realistically still open |
|---|---|
| 5+ years | Entity conversion decisions, new stock issuances aimed at the full QSBS exclusion, long gifting programs, unhurried residency changes |
| 3 to 4 years | Partial QSBS exclusion tiers for stock acquired after July 4, 2025; trust funding and appraisals; residency changes with full tax years in the new state |
| 1 to 2 years | Charitable vehicles funded before a deal is certain, estate freezes at current value, financial cleanup and quality-of-earnings work |
| Under 1 year or post-LOI | Deal-structure items only: installment treatment, purchase price allocation, rollover equity mechanics, closing-date timing |
The main levers, at a high level
Entity structure and conversion consequences
The entity you sell from shapes both the tax bill and the buyer pool. A C corporation that sells its assets faces tax at the corporate level and again when proceeds reach shareholders. Pass-through owners generally face one level. Buyers often prefer asset deals for the basis step-up, so C corporation owners can get squeezed between the structure buyers want and the one that taxes them once.
Conversions run in both directions, and both take patience. A C corporation that elects S status keeps exposure to a corporate-level tax on gains that were built in at conversion if it sells during a statutory recognition period lasting years afterward. Going the other way, into C status, is sometimes examined specifically to build a QSBS position, but only stock issued while the company qualifies can benefit, and the clock starts at issuance. Either move made under two years before a sale tends to buy the cost without the benefit.
QSBS: the holding-period asset
Section 1202 allows noncorporate holders of qualified small business stock to exclude some or all of their gain from federal tax, subject to strict conditions: the issuer must be a domestic C corporation, its gross assets must sit under a ceiling, and the stock must be acquired at original issuance in exchange for cash, property, or services. For stock acquired after July 4, 2025, current law provides a tiered exclusion of 50% after a three-year hold, 75% after four years, and 100% after five, with excluded gain capped at the greater of $15 million (indexed for inflation after 2026) or ten times the holder's basis, and a gross asset ceiling of $75 million. Stock acquired before that date stays under the prior rules: a five-year minimum hold, a cap of $10 million or ten times basis, and a $50 million asset test.
For a qualifying company this can be the single largest number in the plan, which is exactly why it rewards owners who confirmed eligibility three to five years out and punishes those who first hear the acronym during diligence.
Installment treatment
When at least one payment arrives after the tax year of the sale, IRS rules generally let the seller report gain as payments are received rather than all at once, using Form 6252 (Publication 537 covers the details). Sellers can also elect out and report everything in the year of sale. Two caveats matter for business sellers: depreciation recapture is taxed in the year of sale even if the cash comes later, and interest on deferred payments is ordinary income. Installment treatment spreads tax; it does not shrink the gain, and it leaves the seller holding the buyer's credit risk until the note is paid. It is also the one lever on this list that remains fully available after the letter of intent, which is why seller notes and earnouts get modeled so carefully late in a process.
Charitable vehicles
Owners with genuine charitable intent sometimes evaluate a charitable remainder trust before a sale. Per IRS guidance, a CRT is an irrevocable trust that pays an income stream to the donor or other beneficiaries, with the remainder passing to qualified charities; annual payouts must run between 5% and 50% of trust value, and the charitable remainder must be worth at least 10% of the initial contribution. Contributing appreciated stock before a sale can defer income tax on the gain and produce a partial deduction equal to the present value of the remainder interest, with later distributions taxed to beneficiaries under ordering rules. The IRS examines these trusts closely and has flagged schemes that misuse them, so funding must happen well before a deal is effectively done and administration must be clean. Donor-advised funds offer a simpler route for owners whose goal is a deduction in the sale year rather than a lifetime income stream.
Estate freezes and the gifting runway
A sale often multiplies what an owner will eventually leave behind, so estate planning belongs in the pre-sale window too. For 2026, federal law allows a basic exclusion of $15,000,000 per person for combined lifetime gifts and estate transfers, plus an annual gift exclusion of $19,000 per recipient. The pre-sale opportunity is arithmetic: interests gifted or sold to trusts at today's appraised value move future appreciation, including the step-up a sale itself crystallizes, outside the taxable estate. Techniques advisors may evaluate include outright gifts, grantor retained annuity trusts, and sales to grantor trusts. All of them require independent appraisals and time to season before a transaction sets a hard price, which again pushes the work one to three years out.
State residency timing
State income tax on a sale can rival the federal surtaxes, and some owners consider establishing residency in a lower-tax state first. Two cautions apply. Domicile is a facts-and-circumstances question, and states audit residency changes that land in the same year as a large gain: home, family, days in state, licenses, and business ties all get examined. Separately, some states source gain from a business operating there to that state regardless of where the seller lives. A genuine move completed with full tax years of distance from the sale holds up far better than one made after the first buyer call.
Assembling the tax team early
None of this is do-it-yourself work, and the professionals involved are partners in the outcome rather than a cost line. A typical pre-sale tax team looks like this:
- CPA: often the quarterback. Entity analysis, projections of after-tax proceeds under different deal structures, and coordination with quality-of-earnings work.
- M&A tax attorney: deal structure, the tax provisions of the purchase agreement, and the fine print on elections and allocations.
- Estate planning attorney: trusts, gifting documents, and coordination of appraisals.
- Wealth advisor: models what the after-tax proceeds need to do for the family and stress-tests the plan against real spending.
The common failure mode is sequencing: the deal team gets hired first, and the personal tax team hears about the sale at LOI. Reversing that order costs little and preserves every option above. Platforms that run the transaction itself, Bankerly.ai among them, handle valuation, marketing materials, buyer outreach, and diligence, while personal tax planning stays where it belongs, with the owner's own CPA and attorneys.
What this looks like in practice
Consider an illustration, not a template. The owner of an S corporation earning around $4 million of EBITDA expects to sell in roughly four years. Year one: the CPA models an asset sale against an equity sale and reviews whether the entity still fits. Year two: an independent appraisal supports gifts of minority interests to trusts for the owner's children, using a slice of the federal exclusion while the company's value still reflects current earnings. Year three: the family completes a long-planned move, with a full tax year in the new state before any process starts. Year four: the company goes to market, and the remaining decisions are deal-structure ones: how much cash at close, whether a seller note makes sense under installment rules, and how the purchase price gets allocated.
Nothing about that sequence is aggressive. It is simply early. The tax code rewards decisions made before value is realized and largely ignores ones made after. If a sale is even a possibility on a three-to-five-year horizon, the cheapest planning step available is a conversation with your CPA this quarter.
Sources
Frequently asked questions
- How far in advance of selling my business should I start tax planning?
- Most practitioners suggest one to five years before a likely sale. The longest-lead items are entity structure decisions and QSBS holding periods, which can require three to five years, followed by gifting and trust funding, which need appraisals and time to season. Once a letter of intent is signed, installment structuring and purchase price allocation are among the few levers left.
- What is the QSBS 5-year rule for qualified small business stock?
- Section 1202 lets noncorporate holders of qualified small business stock exclude gain after a holding period. For stock acquired after July 4, 2025, federal law allows a 50% exclusion at three years, 75% at four, and 100% at five, capped at the greater of $15 million or ten times basis. Stock acquired earlier keeps a five-year minimum and a $10 million cap. Eligibility rules are strict, so confirm with a tax advisor.
- Can I avoid capital gains tax when I sell my business?
- Usually not entirely. Federal tools can reduce, defer, or spread the tax: QSBS exclusions, installment reporting, charitable remainder trusts, and lifetime gifting each address a piece of it. Higher-income sellers may also owe the 3.8% net investment income tax. Every tool carries strict requirements and trade-offs, so treat this as a question for your own CPA and tax attorney rather than a checklist.
- How does an installment sale reduce taxes on a business sale?
- It defers tax rather than reducing it. Under IRS rules, when at least one payment arrives after the year of sale, the seller generally recognizes gain as payments are received, which spreads income across years. Depreciation recapture is still taxed in the year of sale, interest on the note is ordinary income, and the seller carries the buyer's credit risk until fully paid.
- Should I move to a state with no income tax before selling my business?
- Sometimes it helps, but only with real lead time. Domicile is judged on facts, states audit residency changes that coincide with large gains, and some states tax business sale gain based on where the business operated regardless of where the seller lives. A move completed well before the sale year, with genuine ties in the new state, holds up far better. Ask your CPA and attorney first.
Considering a sale in the next few years? See what a prepared process looks like.
Keep reading