How to Minimize Taxes When Selling a Business

The tax on a business sale is shaped mostly by decisions made before closing: whether the deal is a stock sale or an asset sale, how the price is allocated, whether the shares qualify for the Section 1202 exclusion, how payments are timed, and whether gifts or charitable transfers happen before the sale is binding. Planning one to three years ahead keeps the most options open. No strategy guarantees a particular tax result.

Schedule a CallPrefer to talk it through? A 30-minute conversation, no obligation.

For most owners, the sale of the company is the largest taxable event of their lives, and most of the tax outcome is decided before the purchase agreement is signed. Once a deal is binding, the entity type, the holding period of the shares, and the ownership of those shares are fixed. What remains is reporting.

At the federal level, long-term capital gain is taxed at a top rate of 20%, and a further 3.8% net investment income tax can apply depending on how involved the owner is in the business. Parts of the price can be taxed as ordinary income instead, at rates up to 37%. The planning question is how much of the price lands in each category, in which year, and on whose return.

The levers below are established provisions of the tax code, not promoted schemes. Each has conditions and a cost, and several work against each other, so they are weighed together and coordinated with your CPA and your deal attorney.

Who this is for

Who this is for
  • Owners who expect to sell, recapitalize, or transition a business in the next one to three years
  • Founders holding C corporation shares who have not confirmed whether Section 1202 applies
  • Owners who want the after-tax result of two or three deal structures modeled before they negotiate
  • Households with $2 million or more in investable assets, or a sale that would put them there
Who this is not for
  • Owners whose sale has already closed; most of these choices are no longer available
  • Anyone looking for an aggressive or promoted tax shelter
  • Someone who needs a tax return prepared rather than a plan built
  • Sellers who want tax to drive the deal ahead of price, terms, and certainty of closing

Eight levers that shape the tax on a sale

LeverHow it can lower the taxConditions and tradeoffs
Stock sale vs. asset sale, and price allocationIn a stock sale, the gain is generally long-term capital gain. In an asset sale, the price is allocated across the assets, and the share allocated to equipment and other depreciated property can be taxed as ordinary income through depreciation recapture.Buyers often prefer an asset purchase for the stepped-up basis. Both sides report the allocation to the IRS on Form 8594, so it is negotiated. A C corporation that sells its assets can face tax at both the corporate and the shareholder level.
Qualified small business stock (Section 1202)Gain on qualifying C corporation stock can be partly or fully excluded from federal income tax. For stock issued after July 4, 2025, the exclusion is 50% after three years, 75% after four, and 100% after five, up to the greater of $15 million or ten times basis per issuer.The stock must be acquired at original issuance from a domestic C corporation under the gross-asset limit ($75 million for stock issued after July 4, 2025; $50 million before). Stock issued earlier follows the prior rules: more than five years, and $10 million or ten times basis. Many service businesses are excluded, and state treatment varies.
Installment sale (Section 453)When part of the price is paid in later years, the gain can be reported as the payments are received, which can spread it across tax years.Depreciation recapture is taxed in the year of sale regardless. An interest charge can apply when installment obligations from the year exceed $5 million, and pledging the note can accelerate the gain. You also carry the buyer's credit risk.
Charitable gift of shares before the saleGiving appreciated shares to a public charity, a donor-advised fund, or a charitable remainder trust before the sale is binding can keep that gain off your return and support an income tax deduction.The gift has to be complete before the sale is practically certain, or the gain can still be taxed to you. Deductions for appreciated stock given to a public charity are generally limited to 30% of adjusted gross income, with a five-year carryforward. Starting in 2026, itemized charitable gifts are deductible only above 0.5% of income, and the value of itemized deductions is reduced for taxpayers in the 37% bracket. The gift is irrevocable.
Gifts to family or trusts before value risesTransferring shares before a higher valuation is established moves the later growth out of your taxable estate. The federal estate and gift exemption is $15 million per person in 2026.This is estate and gift tax planning, not income tax savings: the recipient generally takes your basis and owes tax on the gain. Transfers are irrevocable, valuations can be examined, and there is no guarantee Congress will not reduce the exemption through future legislation.
Reinvestment in a Qualified Opportunity FundCapital gain reinvested within 180 days can be deferred. For investments made after December 31, 2026, the deferred gain is recognized five years after the investment with a 10% basis increase (30% for a qualified rural fund), and growth in the fund can be excluded after a ten-year hold.These are illiquid, long-dated investments that carry real investment risk, and the tax benefit does not make a weak investment a good one. Investments made before 2027 follow the earlier rules, under which deferred gain is recognized on December 31, 2026.
Sale to an employee stock ownership plan (Section 1042)An owner of a closely held C corporation who sells to an ESOP that owns at least 30% of the company afterward can elect to defer the gain by reinvesting in qualified replacement property within a window that runs from three months before to twelve months after the sale.The shares must have been held at least three years. An ESOP is a regulated retirement plan with ongoing cost, valuation, and fiduciary requirements, and it changes who owns and governs the company.
State of residence and where the business operatesTexas does not tax individual income, so a Texas resident generally owes no state income tax on the gain to Texas.Other states where you live, or where the business operates, may tax part of the gain. A change of residence has to be genuine and established well before a sale; states examine moves made close to a transaction.

Federal rules as of October 2026, reflecting the 2025 tax act (Public Law 119-21). General education only; which levers apply depends on your entity, your holding period, and your deal.

Why Whitwell

Why owners plan the tax on a sale with Whitwell & Co.

The tax result of a sale is decided across entity, deal, estate, and investment decisions that usually sit with different professionals. Our job is to make them one plan.

  • Fee-only, with no product to sell

    We are paid only by our clients and earn no commissions, so a strategy is recommended because it fits your plan, not because it carries a product.

  • After-tax proceeds modeled before you negotiate

    Our Exit Planning Readiness Sprint models net proceeds under two to three deal structures, with the assumptions documented, so you can see the tax difference before terms are set.

  • Coordinated with your CPA and deal attorney

    We build and coordinate the plan around the professionals who file the return and draft the documents. We do not replace them.

  • Established strategies, not promoted schemes

    We rely on well-documented provisions of the tax code and avoid aggressive or promoted arrangements that invite audit risk or penalties.

Risks and things to weigh

No tax strategy guarantees a result. Each lever above depends on facts that have to be documented, several are irrevocable, and some trade a lower tax bill for less liquidity, more complexity, or added investment risk. The tax outcome should serve the sale, not drive it: a slightly higher tax on a better price and cleaner terms is often the better result.

Tax law changes. The figures here reflect federal law as of October 2026, after the 2025 tax act, and Congress can change rates, exclusions, and exemptions through future legislation. State tax rules differ and are not covered in detail here.

This page is educational and is not individualized tax, legal, or investment advice. Whitwell & Co. provides financial planning and investment advice as an SEC-registered, fee-only fiduciary; it does not prepare tax returns or draft legal documents. Tax and accounting services are offered through Whitwell Tax & Ledger Co., a separate firm under common leadership, or through the tax professional you already use.

Tracy Dibble

Written by: Tracy Dibble, EA, MST

Reviewed by: Stefan Whitwell, CFA, CIPM

Last updated:

Sources (verified):

  • Internal Revenue Code Sections 1202, 453, 453A, 1060, 1042, 1374, 1411, 1400Z-2, 170, and 68, as amended by Public Law 119-21 (2025)
  • Internal Revenue Service, Topic No. 409, Capital Gains and Losses
  • Internal Revenue Service, Instructions for Form 8594, Asset Acquisition Statement
  • Internal Revenue Service, Questions and Answers on the Net Investment Income Tax
Selling in the next few years?

Schedule a complimentary introductory call to talk through where you are and which decisions are still open. The purpose is clarity, not pressure.

Schedule a Call

Frequently asked questions

How is the sale of a business taxed?
It depends on what is sold and by whom. Gain on stock or a partnership interest held more than a year is generally long-term capital gain, taxed federally at up to 20%. In an asset sale, the price is allocated across the assets, and amounts allocated to depreciated equipment, inventory, and some other items can be taxed as ordinary income at rates up to 37%. A 3.8% net investment income tax can also apply.
Does the 3.8% net investment income tax apply when I sell my company?
It can. The tax applies to net investment income for taxpayers whose modified adjusted gross income exceeds $200,000, or $250,000 on a joint return. For an owner who materially participates in a partnership or S corporation, the gain on the sale is generally counted only to the extent it comes from the entity's investment-type assets rather than its operating business. Passive owners are generally subject to it. The determination is fact-specific and belongs with your tax professional.
When should tax planning for a sale begin?
Ideally one to three years before you expect to sell, and no later than when a letter of intent is on the table. Holding periods under Section 1202, entity structure, and gifts ahead of a valuation increase all need time, and some choices close once a sale becomes practically certain.
Can I convert my company to a different entity type before selling?
Sometimes, but rarely at the last minute. A C corporation that elects S corporation status remains subject to a corporate-level tax on built-in gains for five years after the election. Converting an LLC or partnership to a C corporation to pursue the Section 1202 exclusion starts a new holding period for the stock, and the exclusion has its own requirements. Entity changes are best evaluated years ahead with your CPA and attorney.
Does Whitwell & Co. prepare the tax return for the sale?
No. Whitwell & Co. builds and coordinates the plan, and your CPA or tax preparer files the return. We work alongside your existing tax professional and your deal attorney so that entity, deal, estate, and investment decisions reflect the same strategy.