What Happens to Goodwill When You Sell a Business: Tax Treatment

When you sell your business, the portion of the price that counts as goodwill is generally taxed to you at long-term capital gains rates, while your buyer writes it off over 15 years. That is the short version of goodwill tax treatment when selling a business, and for most sellers it is the best-taxed slice of the deal. The longer version depends on three things: what kind of entity you are selling, whether the deal is structured as an asset sale or a stock sale, and how the purchase price gets allocated among the assets on paper.

What Goodwill Is, for Tax Purposes

Goodwill is the residual: the part of the purchase price left over after every identifiable asset (cash, inventory, equipment, real estate, patents, trademarks, customer lists, software) has been assigned a fair market value. If a business sells for $10 million and the identifiable assets are worth $7 million, the remaining $3 million is goodwill. The IRS has long defined it as value rooted in earning capacity, the ability of a business to generate profits above a normal return on its tangible assets.1The Tax Adviser. Goodwill as Part of a Corporate Asset Sale

The residual method is not optional. In an asset acquisition, both buyer and seller must allocate the purchase price across seven asset classes under Section 1060, with goodwill sitting at the bottom of the stack.2Office of the Law Revision Counsel. 26 USC 1060 Special Allocation Rules for Certain Asset Acquisitions Whatever the two sides agree to in writing is binding on both of them unless the IRS finds the values inappropriate.

How the Seller Is Taxed on Goodwill

Goodwill that has been amortized under Section 197 is classified as Section 1231 property.3Internal Revenue Service. Publication 544 (2025) Sales and Other Dispositions of Assets When your total Section 1231 gains for the year exceed your Section 1231 losses, the net gain is taxed at long-term capital gains rates.4Office of the Law Revision Counsel. 26 USC 1231 Property Used in the Trade or Business and Involuntary Conversions Those rates top out at 20% for high-income taxpayers, compared with ordinary rates that can reach 37%.5Internal Revenue Service. Topic No. 409 Capital Gains and Losses

Add the Net Investment Income Tax on top. Sellers with modified adjusted gross income above $200,000 (single) or $250,000 (married filing jointly) owe an additional 3.8% on the gain.6Internal Revenue Service. Topic No. 559 Net Investment Income Tax Those thresholds are not indexed for inflation. For a high-income business owner, the effective federal rate on goodwill can reach 23.8%.

There is a trap worth knowing about. A five-year lookback applies to Section 1231 gains. If you reported net Section 1231 losses in any of the five preceding tax years, your current-year gain is recharacterized as ordinary income to the extent of those prior losses.4Office of the Law Revision Counsel. 26 USC 1231 Property Used in the Trade or Business and Involuntary Conversions Sellers who took ordinary loss deductions in recent years can lose some of the capital-gains benefit on their goodwill.

You report the sale of goodwill and other business assets on Form 4797, after the allocation is set on Form 8594.7Internal Revenue Service. Instructions for Form 4797 (2025)

What the Buyer Gets, and Why It Matters to You

The buyer amortizes purchased goodwill on a straight-line basis over 15 years under Section 197, starting in the month of acquisition.8Office of the Law Revision Counsel. 26 USC 197 Amortization of Goodwill and Certain Other Intangibles Pay $3 million for goodwill and deduct $200,000 a year for 15 years. The 15-year schedule is fixed regardless of the goodwill’s actual useful life.

This matters to the seller because it shapes the buyer’s willingness to negotiate on allocation. Buyers can sometimes deduct tangible assets and certain shorter-lived intangibles faster than goodwill, so shifting dollars away from goodwill produces a better present-value outcome for them. That is the natural tension in every asset-sale allocation: you want more goodwill, they may want less.

Entity Type Changes the Math

C-Corporation Asset Sales

When a C-corporation sells its assets, the corporation itself pays tax on the goodwill gain at the corporate rate. The remaining proceeds are then distributed to shareholders as a liquidating distribution, triggering a second layer of tax at the shareholder level. This double taxation can consume a punishing share of the goodwill value. A dollar of goodwill gain might yield roughly 50 cents after both layers, compared with roughly 76 to 80 cents in a pass-through entity.

Personal Goodwill: The C-Corp Workaround

Courts have recognized a distinction between enterprise goodwill (tied to the company’s brand, workforce, systems, and market position) and personal goodwill (the relationships, reputation, and expertise an individual owner brings). The landmark case establishing the distinction held that a shareholder’s personal relationships with customers were not corporate assets when no employment agreement or non-compete existed between the shareholder and the corporation.1The Tax Adviser. Goodwill as Part of a Corporate Asset Sale

If a C-corp owner can demonstrate that some of the goodwill belongs to them personally, the owner sells that personal goodwill directly to the buyer outside the corporate transaction. The payment flows straight to the shareholder, taxed once at long-term capital gains rates, bypassing the corporate-level tax entirely.1The Tax Adviser. Goodwill as Part of a Corporate Asset Sale

The IRS scrutinizes personal goodwill claims. The strongest cases involve owners who had no employment agreement or non-compete with their own corporation, making it clear the customer relationships were never transferred to the entity. If you are a C-corp owner considering a sale, this needs to be established well before the transaction, not constructed after the fact.

S-Corporations and Partnerships

Pass-through entities avoid the double-tax problem. The gain from selling goodwill flows directly to owners’ individual returns and is generally taxed at long-term capital gains rates through the Section 1231 framework. Personal goodwill is less relevant here because there is no corporate tax to escape.

One caveat for S-corporations: if the company converted from C-corp status within the past five years, a built-in gains tax may apply at the corporate level on appreciation that existed at the time of conversion. Goodwill that was worth zero on the books at conversion but is worth millions at the sale can trigger this extra layer.

Asset Sale vs. Stock Sale

In a stock sale, the shareholder sells their ownership interest, not the underlying assets. Goodwill never gets separately identified. The entire gain is reported on Schedule D and Form 8949 as a long-term capital gain, assuming the shares were held more than a year.5Internal Revenue Service. Topic No. 409 Capital Gains and Losses

The buyer takes the hit. In a straight stock purchase, there is no step-up in basis and no Section 197 amortization on the goodwill embedded in the price. Buyers usually pay less for a stock deal, or push for a Section 338(h)(10) election. That election, which both sides must agree to, treats a qualifying stock purchase as an asset sale for tax purposes.9Office of the Law Revision Counsel. 26 USC 338 Certain Stock Purchases Treated as Asset Acquisitions The buyer gets stepped-up basis and 15-year goodwill amortization; the target is treated as having sold all its assets in a deemed transaction. Because it changes the seller’s tax bill, the election typically comes with a negotiation over sharing the resulting benefit.

Goodwill vs. Non-Compete: Where the Allocation Fight Happens

In most business sales, the buyer asks the seller to sign a covenant not to compete. The buyer amortizes the non-compete over the same 15 years as goodwill under Section 197, so the buyer is often indifferent between the two.8Office of the Law Revision Counsel. 26 USC 197 Amortization of Goodwill and Certain Other Intangibles For the seller, the difference is significant.

Non-compete payments are ordinary income. The IRS treats them as compensation for agreeing not to work in the industry. Goodwill flows through Section 1231 at capital gains rates. On a $500,000 allocation, the difference between a 20% capital gains rate and a 37% ordinary rate is $85,000 in federal tax alone.

Push for the smallest defensible non-compete number. The IRS can challenge an allocation that does not reflect economic reality, so a $50,000 non-compete on a seller who is the only person with industry relationships and could easily open a competing firm the next day invites questions. Document why the number is what it is.

Spreading the Tax With Installment Payments

If the buyer is paying you over multiple years through a promissory note, goodwill qualifies for installment sale reporting under Section 453. You recognize gain proportionally as payments come in, rather than all at once in the year of sale.10Internal Revenue Service. Publication 537 (2025) Installment Sales

The mechanics: calculate a gross profit percentage for the goodwill portion by dividing the goodwill gain by the total selling price allocated to goodwill. Each year, multiply that percentage by the principal payments received. Only that amount is taxable for the year.10Internal Revenue Service. Publication 537 (2025) Installment Sales

Installment reporting can keep you in a lower capital gains bracket and, in some years, below the NIIT threshold. The trade-off is collection risk: if the buyer defaults, you have deferred the tax but may never collect the full price. Interest on the note is taxed as ordinary income regardless of the installment election.

Form 8594 and Consistent Reporting

Both sides report the purchase price allocation to the IRS on Form 8594, attached to the return for the year the sale closes. If the allocation is later adjusted, the affected party files an updated Form 8594 for the year the adjustment is recognized. Failing to file, or filing incorrect information, can trigger penalties under Sections 6721 through 6724.11Internal Revenue Service. Instructions for Form 8594

The IRS cross-references the buyer’s and seller’s filings. If the buyer reports $2 million in goodwill and the seller reports $500,000, the mismatch is visible and invites scrutiny. Agree on the allocation in writing before closing, document the valuation methodology, and file consistent forms on both sides. That is the unglamorous work that keeps an audit from unraveling the deal years later.