The tax treatment of goodwill when selling a business turns on three things: whether the deal is structured as an asset sale or a stock sale, what type of entity is being sold, and how the purchase price gets allocated between goodwill and everything else. In a typical asset sale by a pass-through entity, the seller’s gain on goodwill is taxed at long-term capital gains rates through Section 1231, with a federal ceiling around 23.8% once the Net Investment Income Tax is added. In a C-corporation asset sale, the same dollar of goodwill can be taxed twice unless part of it qualifies as personal goodwill.
Goodwill is the residual: the slice of the purchase price left after every identifiable asset (cash, inventory, equipment, real estate, patents, trademarks, customer lists, software) has been assigned a fair market value. The IRS defines it as value rooted in earning capacity, meaning the ability to generate profits above a normal return on tangible assets.1The Tax Adviser. Goodwill as Part of a Corporate Asset Sale In many deals it is the single largest component of the price, which is why the allocation fight matters so much.
How the Goodwill Number Gets Set
Under Section 1060, both buyer and seller in an asset acquisition must allocate the total purchase price across seven asset classes using the residual method.2Office of the Law Revision Counsel. 26 USC 1060 Special Allocation Rules for Certain Asset Acquisitions Cash and near-cash items come first, then inventory, then tangible assets, then identifiable intangibles. Whatever price remains after all of those get their fair market values becomes goodwill.3Internal Revenue Service. Notice of Proposed Rulemaking – Purchase Price Allocations in Deemed Actual Asset Acquisitions If a business sells for $10 million and identifiable assets are worth $7 million, goodwill is $3 million. There is no independent appraisal of goodwill’s “true” value.
The parties formalize the allocation in a written agreement, which is binding on both. Neither side can later argue for a different split on their return unless the IRS determines the agreed values are inappropriate.2Office of the Law Revision Counsel. 26 USC 1060 Special Allocation Rules for Certain Asset Acquisitions Both sides report the allocation on Form 8594, attached to the return for the year the sale closes.4Internal Revenue Service. Instructions for Form 8594 Inconsistent filings between buyer and seller are the classic audit trigger, and failing to file or filing incorrectly can bring penalties under Sections 6721 through 6724.6Internal Revenue Service. Instructions for Form 8594
Seller’s Tax Treatment in an Asset Sale
Goodwill that has been amortized under Section 197 is classified as Section 1231 property, meaning depreciable property used in a trade or business.5Internal 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.7Office 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 reach 37%.8Internal Revenue Service. Topic No. 409 Capital Gains and Losses On a multi-million-dollar goodwill component, the gap between 20% and 37% is why sellers push to maximize the goodwill allocation.
Two things narrow that advantage. First, the five-year lookback rule: 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.7Office of the Law Revision Counsel. 26 USC 1231 Property Used in the Trade or Business and Involuntary Conversions Second, sellers with modified adjusted gross income above $200,000 (single) or $250,000 (married filing jointly) owe an additional 3.8% Net Investment Income Tax on the gain.9Internal Revenue Service. Topic No. 559 Net Investment Income Tax Those thresholds are not indexed for inflation. For a high-income seller, the effective federal rate on goodwill can reach 23.8%.
The sale of goodwill and other business assets is reported on Form 4797 after the allocation is determined on Form 8594.10Internal Revenue Service. Instructions for Form 4797 (2025)
Why the Buyer Cares About the Allocation
Purchased goodwill is amortized by the buyer on a straight-line basis over 15 years under Section 197, starting in the month of acquisition.11Office of the Law Revision Counsel. 26 USC 197 Amortization of Goodwill and Certain Other Intangibles Pay $3 million for goodwill and you deduct $200,000 per year for 15 years. The 15-year period is fixed regardless of the goodwill’s actual useful life.
That fixed schedule is slower than the recovery period for many tangible assets, so buyers sometimes prefer allocating value to equipment or shorter-lived intangibles instead of goodwill. This is the tension the seller runs into: the seller wants goodwill maximized for capital gains treatment, and the buyer may push back to accelerate its own deductions.
Stock Sale vs. Asset Sale
In a stock sale, the shareholder sells ownership interests rather than the company selling assets. Goodwill never gets separately identified. It is baked into the stock price, and the seller reports the entire gain on Schedule D and Form 8949 as a long-term capital gain if the shares were held more than a year.8Internal Revenue Service. Topic No. 409 Capital Gains and Losses
The buyer takes the loss on that structure. A straight stock purchase gives the buyer the corporate entity with its existing asset basis. There is no step-up, and no Section 197 amortization on the goodwill embedded in the price.
A Section 338(h)(10) election bridges the gap when both parties agree. It treats a qualifying stock purchase as an asset sale for tax purposes: the buyer gets stepped-up basis and 15-year amortization on goodwill, and the target is deemed to have sold all its assets in a single transaction.12Office of the Law Revision Counsel. 26 USC 338 Certain Stock Purchases Treated as Asset Acquisitions Because it requires both sides, the resulting tax benefit is usually negotiated into the price.
Entity Type Changes the Math
C-Corporation Asset Sales and Personal Goodwill
When a C-corporation sells its assets, the corporation pays tax on the gain at the corporate rate. The remaining proceeds distributed to shareholders as a liquidating distribution trigger a second layer of tax at the shareholder level. 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 is the workaround. Courts have distinguished enterprise goodwill (tied to the company’s brand, workforce, systems, and market position) from personal goodwill (tied to an individual owner’s relationships, reputation, and expertise). The landmark case establishing the distinction held that a shareholder’s personal customer relationships 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 show that some goodwill belongs to them personally, the owner can sell that personal goodwill directly to the buyer alongside the corporate transaction. The payment flows 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 these claims. The strongest cases involve owners with no employment agreement or non-compete with their own corporation, showing the 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 have only one level of tax. Gain from selling goodwill flows to the owners’ individual returns and is generally taxed at long-term capital gains rates through the Section 1231 framework. The personal goodwill strategy is less relevant because there is no double tax to avoid.
One wrinkle 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 conversion. Goodwill worth zero on the books at the S-election but worth millions at sale can trigger this additional layer.
The Non-Compete Trap
Most business sales include a covenant not to compete signed by the seller. The buyer amortizes the payment for that covenant over 15 years under Section 197, the same schedule as goodwill.11Office of the Law Revision Counsel. 26 USC 197 Amortization of Goodwill and Certain Other Intangibles For the buyer, allocating a dollar to goodwill or to the non-compete looks about the same.
For the seller, it is not the same at all. Payments for a non-compete are treated as ordinary income because the seller is being compensated for agreeing not to work in the industry. Payments for goodwill flow through Section 1231 and are taxed at capital gains rates. On a $500,000 allocation, the difference between a 20% capital gains rate and a 37% ordinary income rate is $85,000 in federal tax alone.
The IRS can challenge an allocation that does not reflect economic reality. A non-compete valued at $50,000 when the seller is the only person with the industry relationships and could open a competing firm the next day will draw questions. So will a nominal non-compete when the seller is central to the business.
Spreading the Tax With an Installment Sale
Goodwill qualifies for installment sale reporting under Section 453, which lets the seller recognize gain proportionally as payments come in rather than all at once in the year of sale.13Internal Revenue Service. Publication 537 (2025) Installment Sales
You calculate a gross profit percentage for the goodwill portion by dividing the goodwill gain by the total selling price allocated to goodwill. Each year, you multiply that percentage by the principal payments received that year. Only that amount is taxable that year.13Internal Revenue Service. Publication 537 (2025) Installment Sales
Spreading the gain 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 on the note, you have deferred the tax but may never collect the full price. Interest on the installment note is taxed as ordinary income regardless of the installment election.
What to Watch in the Allocation
The allocation negotiation is where the real money moves. Sellers want goodwill maximized for the capital gains rate. Buyers will often accept a large goodwill allocation because they still get the 15-year deduction, but they push back when faster depreciation on equipment or shorter-lived intangibles would produce a better present-value tax outcome. Every dollar shifted out of goodwill changes the after-tax result for one side or the other.
State taxes add a layer. Most states tax capital gains and ordinary income at the same rate, which dulls the federal allocation advantage. A few states have no income tax at all. The combined federal and state picture varies enough that the optimal allocation for a seller in one state may look different in another.
Form 8594 is the IRS’s primary tool for policing these deals. If the buyer reports $2 million in goodwill and the seller reports $500,000, the mismatch is visible on both returns. Getting the allocation right, documenting the valuation methodology, and filing consistent forms is the unglamorous work that keeps an audit years later from unraveling the deal.