Free · Nonprofit · Education only · Retirement Literacy Foundation reviewed

Selling a business: the tax, and the five ways to change it

More than a quarter of a business sale can go to tax if nothing is planned. The structure, the allocation and the closing date decide most of it, and all three are set before you sign.

By , founder, Retirement Literacy Foundation · Updated
Admitted to practice before the IRS.

Short answerMore than a quarter of a business sale can go to tax if nothing is planned. In this page's 2026 example, a California couple selling a company for $2,000,000 owes about $562,800 (28%) if they worked in the business, or about $629,300 (31%) if they were passive owners (IRS Rev. Proc. 2025-32; FTB 2026 schedules; last reviewed October 10, 2026).

Free Big Sale Tax Worksheet

One page that shows every tax layer on your sale: federal capital gains, depreciation recapture, the 3.8% net investment income tax, and state tax.

Free education from a 501(c)(3) nonprofit. Nothing is sold.

The number

What does selling a business cost in tax?

A $2,000,000 asset sale of a company started from scratch, married couple, California, 2026

LayerRate (source below)Amount
Federal long-term capital gain on goodwill0% / 15% / 20%about $348,000
Net investment income tax3.8% above $250,000 MAGI, only if you were a passive owner (IRC 1411(c))$0 if you worked in the business; about $66,500 if passive
Equipment recapture (Sec. 1245)ordinary, up to 37%what was written off
California1% to 13.3%, whole gainabout $214,800
Totalabout $562,800 (28%) if you worked in the business; about $629,300 (31%) if passive

Rounded, illustrative, assumes no other income and no selling costs in the year of sale. Federal: 2026 brackets and $32,200 standard deduction (IRS Rev. Proc. 2025-32); California: 2026 FTB rate schedules (FTB Tax News, October 2026). See Sources and review at the bottom of the page.

The options, in plain language

How can you pay less tax or spread it out?

  1. Pay it, in the right year. Close January 2, not December 31. Retire first, defer the bonus, harvest losses. Cheapest option below about $500K of gain.
  2. Section 453 installment sale. Spread the goodwill gain over 3 to 10 years; each year can stay under the 20% and 3.8% lines. In a structured version the buyer pays cash at closing and a third party makes the payments. Equipment recapture still lands in year one.
  3. Stock sale + QSBS (Sec. 1202). C corporation stock issued after July 4, 2025: 50% of the gain excluded after 3 years, 75% after 4, 100% after 5, up to $15M per company (IRC 1202). Older stock: 5 years, $10M. S corps and LLCs cannot; conversion planning takes years.
  4. Charitable remainder trust. Give a slice of the company to a CRT before the LOI; that slice sells untaxed, pays you income for life, and gives a deduction now. Only if you would give anyway.
  5. 1031 exchange. Real estate only. Exchange the building, not the business. Goodwill, equipment and the practice do not qualify.
Who this is written for: people who have owned the asset for years, often decades, and are selling once, usually around retirement. If you are buying and selling frequently, different rules (dealer status, ordinary income) apply and this page is not for you.

Six questions to bring to your CPA

  1. Asset sale or stock sale, and what does the buyer's LOI assume?
  2. Show me the Form 8594 allocation: goodwill vs equipment vs non-compete vs consulting.
  3. What is my basis, and how much equipment recapture is ordinary income?
  4. If we take 40% at closing and 60% over 5 years, what is the year-one and total tax?
  5. Does a January closing change the bracket, NIIT or state?
  6. Is any of it QSBS, and if not, is a C-corp conversion worth 5 years?

The deadlines that decide it

  • Allocation and installment terms: in the purchase agreement, not after.
  • CRT funding: before a binding agreement to sell (pre-arranged sale rule).
  • Estimated tax: 110% safe harbor or the Q4 payment on a big gain.
  • Form 6252 every year you receive installment payments.

Common questions

Straight answers

Can I 1031 my business?

No. Section 1031 is real property only since 2018. The building can be exchanged; the business cannot.

Is the earn-out taxed now or later?

Usually as installment income when received, if the agreement is written that way. Get it in the contract.

What about the buyer's non-compete payment?

Ordinary income to you, not capital gain. Every dollar moved into it costs the spread between 20% and 37%.

Does my state matter?

California taxes the whole gain at ordinary rates up to 13.3%. Texas, Florida and Nevada tax none of it. Washington taxes long-term gains on a business or stock sale above a yearly standard deduction, but not real estate.

Audit trail

Sources and review

Reviewed for the Retirement Literacy Foundation, a 501(c)(3) education nonprofit. Prepared by Hans Goldstein, EA, retirement educator. Admitted to practice before the IRS. Informational only. Not tax, legal or investment advice. Every figure below cites its source so your CPA or attorney can check it.

Figures are 2026 federal and 2026 California amounts unless stated. Examples are illustrative, rounded, and assume no other income; your numbers will differ. Last reviewed October 10, 2026.

Get the one-page cheat sheet + a seat at the workshop

The cheat sheet for this exact situation lands in your inbox now. The live Zoom class is Thursday, October 22, 2026, 4:00 PM PT / 7:00 PM ET. Free, nonprofit, nothing sold.

We use your contact information to send the cheat sheet, the Zoom link and the recording. The Foundation does not sell your information and does not sell products.

Related: Asset sale vs stock sale: taxes for the seller

Hans Goldstein is an Enrolled Agent, admitted to practice before the Internal Revenue Service. Not affiliated with or endorsed by the IRS.