What Is the Capital Gains Tax Rate on Goodwill When Selling a Business?
When you sell a business and allocate a portion of the purchase price to goodwill, the IRS classifies that goodwill as a Section 1231 asset. Gains are taxed at long-term capital gains rates, currently 0%, 15%, or 20% at the federal level, provided you held the asset for more than one year. Add the 3.8% net investment income tax and the effective federal ceiling reaches 23.8%. For most FatFIRE sellers, that ceiling is the floor.
If you are selling a business worth $5M or more, you are almost certainly in the top bracket. For 2024, the 20% long-term rate applies to single filers with taxable income above $518,900 and married filers above $583,750. The gap between that treatment and ordinary income rates (up to 37%) can represent millions of dollars on a single transaction. Getting the classification right is not a detail. It is the transaction.
How Goodwill Is Classified and Valued for Tax Purposes
The IRS does not let buyers and sellers allocate purchase price however they like. Under IRC Section 1060, any applicable asset acquisition requires both parties to use the residual method, distributing purchase price across seven asset classes in a prescribed order. Goodwill and going-concern value fall into Class VII, the last class to receive allocation. Whatever purchase price remains after all other assets are valued lands in Class VII.
That sequencing matters because it directly determines your taxable gain. If a buyer's appraiser loads value into tangible assets or covenants not to compete (which are taxed as ordinary income), your goodwill allocation shrinks. If your advisors push value toward goodwill, you capture capital gains treatment on a larger number.
Valuation methods vary. Business appraisers commonly use the excess earnings method, which estimates the portion of earnings attributable to goodwill after applying a fair return on tangible assets. The residual approach simply subtracts the fair market value of all identifiable assets from the total enterprise value. Both methods are defensible, but they can produce meaningfully different numbers, and the IRS will scrutinize allocations that appear to favor one party's tax position without economic substance.
Both buyer and seller must file Form 8594 with their respective tax returns to report the agreed-upon allocation. Inconsistent filings between parties are a known IRS audit trigger. Align the allocation in the purchase agreement and make sure both sides file consistently.
How Goodwill Is Taxed Differently in an Asset Sale Versus a Stock Sale
This is where entity structure and deal structure intersect, and where the largest tax differentials live.
In a straight asset sale, the seller transfers individual assets to the buyer. Goodwill gains flow through at capital gains rates for pass-through entities. For C-corporations, the corporation pays 21% corporate tax on the goodwill gain first, and then shareholders pay tax again when proceeds are distributed as dividends. The combined federal rate can exceed 39% before state taxes touch it.
In a stock sale, the seller transfers ownership interests rather than assets. The entire gain is typically a capital gain at the shareholder level. The buyer, however, gets no step-up in the asset basis, which makes stock sales structurally less attractive to buyers. That tension is where most deal negotiations begin.
| Structure | Seller Tax Treatment | Buyer Basis Step-Up | Goodwill Gain Rate (Federal) |
|---|---|---|---|
| Asset sale (S-corp / LLC) | Pass-through, capital gains | Yes | 20% + 3.8% NIIT |
| Asset sale (C-corp) | Corporate tax + dividend tax | Yes | Up to 39%+ combined |
| Stock sale (any entity) | Capital gains at shareholder level | No | 20% + 3.8% NIIT |
| 338(h)(10) election (S-corp) | Treated as asset sale, single level | Yes | 20% + 3.8% NIIT |
The Section 338(h)(10) election under IRC Section 338 is the mechanism that resolves the buyer-seller conflict in S-corporation deals. Both parties elect to treat a stock sale as an asset sale for tax purposes. The buyer gets the stepped-up basis they want. The seller avoids double taxation. It requires mutual agreement and must be filed jointly, but for S-corp sellers, it is frequently the right answer.
For capital gains tax for business ownership structures involving multiple shareholders, the analysis compounds further because each owner's tax position may differ.
What Is the Difference Between Personal Goodwill and Enterprise Goodwill for Tax Purposes?
This distinction is one of the most valuable and underused planning tools available to business sellers, particularly those exiting C-corporations.
Enterprise goodwill belongs to the business entity. It includes brand value, proprietary systems, and customer relationships that would survive an ownership change. Personal goodwill belongs to the individual owner. It reflects customer relationships, reputation, and expertise that are tied specifically to that person and would not transfer without them.
The Tax Court affirmed personal goodwill as a legally distinct asset in Martin Ice Cream Co. v. Commissioner (1998). The practical implication: an owner can sell personal goodwill directly to the buyer, outside the corporate entity, as a separate transaction. That sale is taxed once at the individual's capital gains rate. The corporation never touches the proceeds.
For a C-corp seller, this can eliminate the 21% corporate-level tax on what is often the largest single asset in the transaction. On a $6M personal goodwill allocation, that is $1.26M in corporate tax that simply does not occur.
The IRS will challenge personal goodwill claims that lack substance. According to the American Bar Association's analysis of personal goodwill in business transactions, proper documentation is essential. That means non-compete agreements structured at the individual level, employment contracts that reflect the owner's unique role, and evidence that customer relationships are genuinely tied to the individual rather than the entity. Build this documentation years before the sale, not during due diligence.
Federal Tax Treatment of Goodwill by Entity Type
| Entity Type | Goodwill Taxed At | Double Taxation Risk | Key Planning Tool |
|---|---|---|---|
| S-Corporation | Owner's capital gains rate (20% + 3.8%) | No | 338(h)(10) election |
| C-Corporation | 21% corporate + ~20% dividend | Yes | Personal goodwill separation |
| LLC (taxed as partnership) | Member's capital gains rate | No | Allocation flexibility |
| Partnership | Partner's capital gains rate | No | Section 751 hot asset rules |
| Sole Proprietorship | Owner's capital gains rate | No | Installment sale timing |
The IRS requires S-corporation elections to be in place for at least five years before a sale to avoid built-in gains tax under IRC Section 1374. Founders who converted from C-corp to S-corp status less than five years before exit may still face corporate-level tax on appreciated assets. That clock starts the day of the S election, not the day you start thinking about selling.
How the 3.8% Net Investment Income Tax Applies to Goodwill Gains
Under IRC Section 1411, the net investment income tax applies to capital gains from a business sale, including goodwill, for taxpayers with modified adjusted gross income above $200,000 (single) or $250,000 (married filing jointly). At the income levels typical of a $5M+ business sale, this tax is not a maybe. It applies.
The 3.8% NIIT stacks on top of the 20% long-term capital gains rate, bringing the federal ceiling to 23.8%. For a seller realizing $8M in goodwill gains, the NIIT alone represents $304,000. That number does not appear on any headline rate table, which is why sellers focused on the 20% rate are routinely surprised by their actual bill.
One partial mitigation: if you actively participated in the business as a material participant under passive activity rules, some practitioners argue the gain is not net investment income. The IRS has contested this position in certain contexts, and the rules around material participation in the year of sale are genuinely unsettled. This is an area where you want a tax attorney with M&A experience, not a generalist CPA.
For context on how deferred compensation and tax obligations interact with a business sale, the timing of income recognition across multiple tax years adds another layer to the NIIT calculation.
State Capital Gains Taxes: The Variable That Changes Everything
Federal rates get the attention. State taxes determine whether a California founder and a Texas founder selling identical businesses end up in materially different financial positions.
According to Tax Foundation data on state income tax rates for 2024, California taxes capital gains as ordinary income at a top rate of 13.3%. New York adds up to 10.9%. Texas, Florida, and Nevada impose no state income tax. For a seller realizing $10M in goodwill gains, the state tax differential between California and Texas is $1.33M. That is not a rounding error.
| State | Top Capital Gains Rate | Combined Federal + State (Top Bracket) |
|---|---|---|
| California | 13.3% | 37.1% |
| New York | 10.9% | 34.7% |
| New Jersey | 10.75% | 34.55% |
| Massachusetts | 8.5% | 32.3% |
| Texas / Florida / Nevada | 0% | 23.8% |
Combined rate assumes 20% federal + 3.8% NIIT + state rate. Does not include local taxes.
Some sellers explore changing domicile before a sale to reduce state tax exposure. This is a legitimate strategy, but the IRS and high-tax states scrutinize it closely. California in particular has aggressive rules around sourcing income from California-based businesses, and simply establishing Nevada residency six months before closing does not automatically eliminate California's claim on goodwill gains tied to a California business. Get a state tax attorney involved early if domicile planning is on the table.
Can You Use an Installment Sale to Defer Capital Gains Tax on Business Goodwill?
Yes, and for sellers who do not need immediate liquidity, it is one of the more straightforward deferral tools available.
Under IRC Section 453 and IRS Publication 537, the installment sale method allows you to spread gain recognition across multiple tax years as payments are received. Rather than recognizing the full goodwill gain in the year of sale, you report a proportional gain with each installment payment. If a $6M goodwill gain is spread over five years, you recognize roughly $1.2M per year rather than $6M in year one.
The practical benefit is rate management. A single-year recognition event at $6M pushes you deep into the top bracket and triggers NIIT with certainty. Spreading recognition may keep annual income below thresholds that trigger higher rates, though at FatFIRE income levels, this benefit is often marginal unless the installment period is long and other income is low.
The risks are real. If the buyer defaults, you have already paid tax on gains you may not collect. Interest on the deferred gain accrues under the installment obligation rules. And if you later want to accelerate the payments, you may trigger a lump-sum gain recognition event. Installment sales also complicate estate planning, since the outstanding obligation has its own tax treatment at death.
For sellers considering strategies to minimize capital gains taxes more broadly, installment sales work best as one component of a coordinated plan rather than a standalone solution.
How a Section 338(h)(10) Election Affects Goodwill Taxation When Selling an S-Corporation
The mechanics are worth understanding in detail because the election is both powerful and irrevocable.
Under IRC Section 338, a Section 338(h)(10) election allows a buyer and seller of S-corporation stock to treat the transaction as an asset sale for tax purposes. The S-corp is deemed to have sold all its assets at fair market value, recognized the gains at the corporate level (which flow through to shareholders as pass-through income), and then liquidated. The buyer gets a stepped-up basis in all assets, including goodwill. The seller pays tax once, at capital gains rates, rather than facing the double taxation of a C-corp asset sale.
The election must be made jointly by buyer and seller on Form 8023. It cannot be undone. And it only applies to S-corporations and certain affiliated group members, not C-corporations.
From a negotiating standpoint, buyers strongly prefer asset sales for the basis step-up. Sellers of S-corps often prefer stock sales to simplify the transaction and avoid allocating gains across asset classes. The 338(h)(10) election gives both parties what they want, which is why it appears in a large percentage of S-corp M&A transactions above a certain size.
The five-year built-in gains rule under IRC Section 1374 is the constraint. If the S-corp converted from C-corp status within the past five years, the built-in gains tax applies to appreciation that existed at the time of conversion, effectively imposing corporate-level tax on those gains even in a pass-through structure. This is the rule that makes early entity planning consequential.
Opportunity Zone Investments as a Goodwill Gain Deferral Strategy
Qualified Opportunity Zone investments under IRC Section 1400Z-2 are underused by business sellers because most people associate them with real estate. The statute is broader. Capital gains from any source, including goodwill from a business sale, qualify for deferral if reinvested into a Qualified Opportunity Fund within 180 days of the sale.
The mechanics: you defer the original gain until the earlier of the date you sell your QOF investment or December 31, 2026. Any appreciation on the QOF investment itself is excluded from income if you hold the investment for at least 10 years. For a seller realizing $10M in goodwill gains, deferring recognition to 2026 while building tax-free appreciation on the reinvested capital can represent a material improvement in after-tax outcomes.
The strategy requires liquidity planning. You are tying up proceeds in a QOF for a minimum of 10 years to capture the full exclusion benefit. The underlying QOF investment carries its own risk. And the 2026 deferral deadline means the deferred gain will eventually be recognized, potentially at whatever rates Congress has set by then.
For sellers who want to understand how trusts handle capital gains taxation in conjunction with QOZ investments, the interaction between trust structures and Opportunity Zone rules adds complexity worth addressing with a tax attorney before committing.
A Worked Example: $10M Business Sale with $6M Allocated to Goodwill
Assume a married S-corporation founder sells a business for $10M. The purchase price allocation under IRC Section 1060 assigns $6M to goodwill (Class VII), $3M to equipment and other tangible assets, and $1M to a covenant not to compete.
The covenant is taxed as ordinary income. At a 37% marginal rate, that is $370,000 in federal tax on $1M.
The goodwill gain assumes a near-zero cost basis (the founder built the business from scratch). The full $6M is a taxable long-term capital gain.
Federal tax on $6M goodwill gain:
- 20% long-term capital gains rate: $1,200,000
- 3.8% NIIT: $228,000
- Federal subtotal: $1,428,000
State tax (California):
- 13.3% on $6M: $798,000
Total tax on goodwill gain (California seller): approximately $2,226,000
After-tax proceeds from goodwill (California): approximately $3,774,000 on a $6M allocation.
Now run the same scenario with a Texas-domiciled seller: state tax drops to zero, and after-tax proceeds rise to approximately $4,572,000. The $798,000 difference is the cost of California domicile on this single asset class.
Add personal goodwill planning for a C-corp version of the same deal: eliminating the 21% corporate-level tax on $6M saves $1,260,000 before any other planning. These are the numbers that justify spending significant time and legal fees on pre-sale structure.
Reporting Requirements and Documentation
The IRS expects both parties to file Form 8594 reporting the agreed-upon purchase price allocation. Inconsistent filings are an audit trigger. The seller reports the goodwill gain on Form 8949 and summarizes it on Schedule D. Installment sale transactions require Form 6252 in each year payments are received.
Documentation supporting the goodwill valuation and allocation should include a qualified business appraisal, the purchase agreement with explicit allocation language, and any supporting analysis from your M&A advisor. If you are claiming personal goodwill, add the non-compete agreement, employment history documentation, and any evidence that customer relationships are individually held.
According to the Journal of Accountancy, the allocation of purchase price between tangible assets, covenants not to compete, and goodwill is one of the highest-stakes negotiating points in a business sale, with tax outcomes on a $10M transaction potentially differing by seven figures depending on the allocation. That is not hyperbole. The worked example above illustrates exactly that dynamic.
The team you need for a transaction of this size: an M&A tax attorney (not a generalist), a certified business valuator for the goodwill appraisal, and a CPA with experience in business sale reporting. For sellers with stock-based compensation tax implications layered into the transaction, the reporting complexity increases further.
Consider also how inheritance tax considerations for business assets interact with your estate plan if the sale proceeds will be a significant portion of your taxable estate. A sale of this magnitude changes your estate planning picture immediately.
References
- Internal Revenue Service -- "Publication 544: Sales and Other Dispositions of Assets" (2024).
- Internal Revenue Service -- "IRC Section 1060: Special Allocation Rules for Certain Asset Acquisitions" (current).
- Internal Revenue Service -- "IRC Section 338(h)(10): Certain Stock Purchases Treated as Asset Acquisitions" (current).
- Internal Revenue Service -- "Form 8594: Asset Acquisition Statement Under Section 1060" (2024).
- Internal Revenue Service -- "IRC Section 1411: Imposition of Tax (Net Investment Income Tax)" (current).
- Internal Revenue Service -- "Revenue Ruling 98-27 and Martin Ice Cream Co. v. Commissioner (Tax Court)" (1998).
- Internal Revenue Service -- "Publication 537: Installment Sales" (2024).
- Tax Foundation -- "State Individual Income Tax Rates and Brackets, 2024" (2024).
- American Bar Association -- "Tax Lawyer: Personal Goodwill in Business Transactions."
- Journal of Accountancy (AICPA) -- "Navigating the Tax Consequences of Selling a Business" (current).
