Retirement & Tax Planning Answers

Selling Your Business Before Retirement: The Tax and Planning Decisions That Matter

Reviewed by Raman Singh, CFP® · Enrolled AgentUpdated
Tax Planning

Quick answer

The tax on a business sale is driven less by the headline price than by three choices: whether you sell assets or stock, how the price is allocated among goodwill, equipment and side agreements, and when the gain is recognized. Most of the planning that lowers the bill, including charitable gifts, retirement plan funding and estate moves, has to happen before you sign a letter of intent.

How to Prepare a Business Sale for Taxes Before Retirement

A sequence of planning steps for business owners in the two to five years before selling, coordinated with a CPA and M&A attorney.

  1. 1

    Confirm entity type and basis

    Know whether you own a C corporation, S corporation or partnership interest, what your basis is, and whether any C corporation history or QSBS status affects the sale.

  2. 2

    Model asset sale versus stock sale

    Have your CPA estimate after-tax proceeds under each structure so you know what a buyer's asset deal actually costs you.

  3. 3

    Fund retirement and charitable plans early

    Max out retirement plan contributions in the final years, consider a defined benefit plan, and fund a donor-advised fund with appreciated shares before any letter of intent.

  4. 4

    Complete estate and entity planning before the LOI

    Work with your attorney on trusts, gifting and entity cleanup while the business value is not yet fixed by a buyer's offer.

  5. 5

    Negotiate the purchase price allocation

    Push for price to land in goodwill rather than noncompete or consulting payments, and make sure the Form 8594 allocation is agreed in the contract.

  6. 6

    Decide on cash at closing versus installments

    Weigh tax spreading against buyer default risk, and secure any note with collateral and guarantees.

  7. 7

    Plan the post-sale tax years

    Map Roth conversions, IRMAA, Social Security timing and investment of the proceeds for the low-income years after the sale.

How Deal Structure Sets the Tax Bill

Start with asset sale versus stock sale. Buyers usually prefer to buy assets because they get a stepped-up basis they can depreciate and amortize, and they leave unknown liabilities behind. Sellers usually prefer to sell stock because the whole gain is generally capital gain. For a C corporation, an asset sale is the expensive version: the corporation pays tax on the gain, and you pay tax again when the proceeds come out as a liquidating distribution. For an S corporation or an LLC taxed as a partnership, gain generally passes through to your personal return once, so the asset versus stock gap is smaller, though an S corporation that converted from a C corporation within the last five years can still owe corporate-level built-in gains tax, and partnership sales can carry ordinary income for receivables and inventory.

In an asset sale, the purchase price allocation is where the real negotiation happens. Buyer and seller both report the allocation to the IRS on Form 8594, and it should match. Price allocated to goodwill is generally long-term capital gain for the seller. Price allocated to equipment and other depreciated property is taxed as ordinary income up to the depreciation you already took, which is depreciation recapture. Inventory and receivables produce ordinary income. A noncompete agreement is ordinary income to you, and a consulting or employment agreement is ordinary income that is usually also subject to payroll or self-employment tax. Buyers like those last items because they can deduct or amortize them, so expect pressure to shift dollars there.

An installment sale, where the buyer pays you over several years, lets you report the gain as payments arrive using Form 6252. That can keep more of the gain out of the top 20% capital gains bracket and spread state tax and Medicare surcharges across years. In 2027, the 20% long-term capital gains rate begins above $633,600 of taxable income for married couples filing jointly and $563,200 for single filers. The tradeoffs are real: depreciation recapture is taxed in the year of sale even if you have not received the cash, the interest the buyer pays you is ordinary income, very large installment balances can trigger an interest charge on the deferred tax, and you are now an unsecured or lightly secured lender to the person who bought your company. If the buyer stumbles, you can end up with an unpaid note and a business you no longer control.

The 3.8% net investment income tax applies above $250,000 of modified AGI for joint filers and $200,000 for single filers, and those thresholds are set by statute rather than indexed. If you owned an S corporation or partnership interest and materially participated in the business, gain on the sale is generally not net investment income to the extent it comes from the active business. A passive owner, such as a silent partner or a founder who stepped back years ago, can owe the 3.8% on top of capital gains tax. Gain on C corporation stock is generally net investment income regardless of how involved you were, and interest on an installment note is investment income too. For C corporation owners, Section 1202 qualified small business stock can exclude some or all of the gain if the stock was acquired at original issue, the company met the size and active business tests, and you held it long enough. A 2025 law added partial exclusions for stock issued after July 4, 2025 that is held at least three or four years, but most owners near retirement hold older stock that needs the full five-year holding period. QSBS qualification is technical and worth confirming with your CPA long before a sale.

Arizona adds a smaller layer. Arizona taxes income at a flat 2.5%, and Starting in tax year 2026, Arizona allows a subtraction equal to 25% of net long-term capital gain on all assets, regardless of when they were acquired (Arizona SB 1331 removed the old post-2011 acquisition-date limit), which brings the effective state rate on that gain to 1.875%. That includes goodwill you built over many years. Ordinary income from recapture, noncompete and consulting payments gets the full 2.5%. Medicare adds a delayed cost: IRMAA surcharges on Part B and Part D are set using your income from two years earlier, so a sale year can raise premiums two years later. In 2027, the first surcharge tier starts above $224,000 of modified AGI for joint filers and $112,000 for single filers, based on 2025 income.

Planning Around the Sale Year

The best tax moves happen before the deal is real. If you plan to give, consider funding a donor-advised fund with shares of the business, or with other appreciated stock, well before a letter of intent is signed. Once a sale is effectively locked in, the IRS can treat the gain as yours even if the shares went to charity. If you give in the sale year itself, the deduction lands in your highest-income year, which is usually where it is worth the most. The final years of ownership are also the time to max out retirement plan contributions and, if your income and staffing fit, consider a defined benefit or cash balance plan, which can allow much larger deductible contributions than a 401(k) alone. Entity cleanup and estate moves, such as gifting interests to a trust or to family before value is set by a buyer's offer, also belong in the years before the sale, not the months after.

The years after the sale often bring the opposite problem: very low taxable income. Once the business income stops and before Social Security and required minimum distributions begin, you may have a window to do Roth conversions at lower brackets than you paid while working. That window is one of the most valuable parts of a post-sale plan, and it is easy to waste by living on cash without a tax plan. Keep IRMAA in mind here too, since conversions count toward the same two-year lookback, and remember that if your income drops after you stop working, you can ask Social Security to use more recent income for IRMAA by filing a life-changing event form.

None of this works without coordination. Your M&A attorney negotiates the structure, your CPA models the tax on each allocation, and your financial planner connects the proceeds to retirement income, investment risk, Roth conversions and Medicare. The figures here are illustrative and not individual tax or legal advice. Run your own numbers with your CPA and attorney before you agree to a structure.

Common Mistakes

  • Signing a letter of intent before anyone has modeled the after-tax difference between an asset sale and a stock sale.
  • Letting the buyer shift price from goodwill into a noncompete or consulting agreement without pricing the extra ordinary income and payroll tax.
  • Taking an installment note for tax deferral without collateral, personal guarantees or a plan for what happens if the buyer defaults.
  • Waiting until after the deal is effectively agreed to give shares to a donor-advised fund, which can leave the gain taxed to you anyway.
  • Forgetting that a large sale year can raise Medicare premiums two years later and that the low-income years after the sale are a Roth conversion window.

Illustrative $3,000,000 Asset Sale: How Allocation Sets Tax Character

Hypothetical allocation for a pass-through business owner who materially participated. Assumes equipment is fully depreciated so its full allocation is recapture. Not a recommendation and not a tax calculation; actual treatment depends on your facts.

Allocated toAmountShare of priceFederal tax characterArizona treatment
Goodwill$2,100,00070.0%Long-term capital gainEffective 1.875% (2.5% after the 25% subtraction, tax year 2026 and later)
Equipment (fully depreciated)$450,00015.0%Ordinary income (depreciation recapture)Full 2.5% rate
Inventory and receivables$150,0005.0%Ordinary incomeFull 2.5% rate
Noncompete agreement$200,0006.7%Ordinary incomeFull 2.5% rate
Consulting agreement$100,0003.3%Ordinary income plus payroll or self-employment taxFull 2.5% rate
Total$3,000,000100%$2,100,000 capital (70%), $900,000 ordinary (30%)Mixed

Source: Singh PWM illustration based on IRS Form 8594 asset classes and general tax character rules · Verified

Sources

Authoritative references that back the claims on this page.

Continue exploring

Deeper resources on this topic: guides, calculators, and the planning process.

Run the numbers yourself

Free tools, no login required. Results delivered to your inbox.

Related Questions

Need a coordinated retirement tax strategy?

The decisions that set your after-tax proceeds are mostly made before the letter of intent, not at closing. If you want to talk through how this applies to your situation: Schedule a Strategic Fit Interview.