Book a Call
Send a Message

Let’s Connect

Have questions about our services? Ready to get started? Send us a message and our friendly accounting specialists will be in touch!

image

Tax Implications of Selling a Business

Most business sale proceeds are taxed as long-term capital gains at the federal 0%, 15%, or 20% rate depending on income, plus a possible 3.8% Net Investment Income Tax. In Maryland, a state income tax layer sits on top, and it now includes a 2% surtax on capital gains for higher-income sellers. The number you actually pay depends less on your sale price than on six things: your entity type, how the deal is structured, how the purchase price is allocated, how much of your gain is depreciation recapture, whether your stock qualifies for the Section 1202 exclusion, and whether you spread the tax across multiple years with an installment sale. Maryland and Frederick County then apply their own layer on top of all six.

This guide walks through each area, with a worked example showing what the tax implications of selling a business look like in real numbers. Monocacy CPA has advised owners on sale structuring in the Frederick-to-D.C. corridor for decades, and the pattern holds: the owners who understood the taxes best when selling a business years before a buyer appeared.

A note before we go further: This article provides general information about the tax treatment of business sales and is not a substitute for advice from a CPA or tax attorney familiar with your specific transaction. Tax rates, thresholds, and the rules discussed below, particularly the Maryland capital gains surtax and the Section 1202 QSBS exclusion, reflect law as of mid-2026 and are subject to change. Confirm current figures with your advisor before finalizing a deal structure.

Financial Clarity Begins Here

Ready to transform financial uncertainty into financial clarity? It all begins with a simple phone call.

(301) 360-9500

How Much Tax Will You Pay When You Sell Your Business?

Most business sale gains are taxed as long-term capital gains, not ordinary income, at a federal rate of 0%, 15%, or 20% depending on your total taxable income. The rate any given dollar of gain faces also depends on how the deal is structured, which the next two sections cover. For 2026, the 0% rate applies to taxable income up to $49,450 for single filers or $98,900 for married couples filing jointly. The 20% rate applies above $545,500 single or $613,700 joint. Income in between falls in the 15% bracket. These thresholds come from IRS Revenue Procedure 2025-32.

A large one-time gain typically pushes a seller through all three brackets in the same year, because long-term gains stack on top of ordinary income rather than being taxed at a single flat rate.

Here is the full stack a Frederick County seller faces at the top of every layer:

Layer

Top rate

Applies to

Federal long-term capital gains

20%

Gain on capital assets held more than one year

Federal ordinary income

37%

Depreciation recapture, inventory, receivables, non-compete payments

Unrecaptured Section 1250 gain

25%

Depreciation claimed on real property

Net Investment Income Tax

3.8%

Investment income, if applicable to your situation

Maryland state income tax

6.5%

All gain, taxed as ordinary Maryland income

Maryland capital gains surtax

2%

Net capital gains, federal AGI above $350,000

Frederick County local income tax

3.20%

All gain, at the county's top bracket

For a pure long-term capital gain where every layer applies, that stacks to roughly 35.5% before any federal deduction for state and local tax. Where part of the gain is ordinary income instead, the blended rate climbs, because the federal component jumps from 20% to as much as 37%. That is why structure matters more than price.

If you are still deciding whether to sell, start with business exit planning fundamentals instead.

Your Entity Type Changes the Answer

Before structure, allocation, or any other lever, your entity type sets the ceiling on how good the outcome can be, because a C corporation asset sale is taxed twice and a pass-through asset sale is taxed once. This is the largest single variable in most mid-market deals, and it is the one owners are most often unaware of until due diligence.

C corporations

When a C corporation sells its assets, the corporation pays federal corporate income tax on the gain at 21%, plus Maryland corporate income tax. Whatever is left is distributed to shareholders, who pay tax again at their individual rates. The same dollar is taxed twice, and on a large deal that second layer can consume a further fifth or more of the net proceeds. A C corporation owner has two realistic paths to a single layer: sell stock rather than assets, or allocate part of the price to personal goodwill, covered below.

S corporations

Gain from an S corporation asset sale generally passes through and is taxed once at the shareholder level, retaining its character as capital gain or ordinary income. One exception: if the company converted from C corporation status, the built-in gains tax under Section 1374 can impose an entity-level tax on appreciation that existed at conversion, if the sale falls within the recognition period. Owners who converted recently should confirm where they stand in that window before agreeing to an asset structure.

Partnerships and LLCs

Taxed once at the member level, with the significant complication that a sale of a membership interest is not a single clean capital gain. That is the Section 751 issue covered further below.

If you are not certain what your entity is for federal tax purposes, including elections filed years ago, establish that first. Everything else here depends on it.

Asset Sale vs. Stock Sale: How the Tax Treatment Differs

The structure of your deal, not just the price, determines how much of your proceeds are taxed as capital gain versus ordinary income. That is exactly why buyers and sellers frequently prefer opposite structures for the same transaction.

Structure

Seller Tax Treatment

Buyer Tax Treatment

Typically Preferred By

Asset Sale

Gain split across asset classes, with capital gain on goodwill and most long-held Section 1231 assets, and ordinary income on depreciation recapture and inventory

Stepped-up basis in acquired assets, faster future depreciation deductions

Buyers

Stock Sale

Single capital gain on the stock itself, generally no depreciation recapture at the entity level

Inherits the company's existing, often lower, tax basis in its assets

Sellers

The seller-side treatment shown above assumes a pass-through entity. For a C corporation, add the second layer of tax described in the previous section.

In an asset sale, the buyer purchases specific assets rather than the legal entity, and each asset class carries its own tax character for the seller. Goodwill and most equipment or real estate held long-term generally produce capital gain, while depreciation recapture and inventory produce ordinary income.

In a stock sale, the seller sells shares and recognizes one capital gain on the difference between sale price and stock basis. The buyer takes on the company's historical, typically lower, tax basis in the underlying assets, giving up the basis step-up an asset sale would have delivered. This asymmetry is the core reason buyers gravitate toward asset structures and sellers toward stock structures, and it is one of the more contested points in most negotiations.

One caveat on the Section 1231 treatment in the table above: if you claimed net Section 1231 losses in any of the five preceding years, this year's net Section 1231 gain is recharacterized as ordinary income up to that amount. Sellers who took equipment losses during a downturn are commonly surprised by this at closing.

Buyers who want asset-sale tax treatment without an asset-sale legal structure sometimes propose a Section 338(h)(10) or Section 336(e) election, which treats a stock purchase as an asset purchase for tax purposes. If a buyer raises either, you are being asked to accept asset-sale tax consequences, and the price should reflect it.

For the full mechanics and a worked numerical comparison, see our dedicated guide to asset sale vs stock sale (INSERT-URL: Asset Sale vs Stock Sale) tax treatment.

Selling a Partnership or LLC Interest: The Section 751 Trap

When you sell a partnership or LLC membership interest, the gain looks like a single capital gain but is not, because Section 751 recharacterizes the portion attributable to "hot assets" as ordinary income. Most closely held businesses in the $1 million to $25 million range are LLCs taxed as partnerships, which makes this the most likely structure for the average seller and the one most often overlooked.

Selling a membership interest feels like selling stock: one transfer, one price, one expected capital gain. Section 751(a) interrupts that. To the extent your interest's value is attributable to unrealized receivables and inventory, the gain is ordinary income. "Unrealized receivables" is broader than it sounds and includes depreciation recapture embedded in the partnership's equipment, so recapture reaches through the entity into your personal return even though you sold an interest rather than assets.

The computation depends on information only the partnership has, and the partnership must furnish a Section 751 statement identifying the ordinary income portion. Request it early. A surprise here changes your net proceeds after you have already agreed to a price, and a buyer running diligence will find the hot assets whether or not you have quantified them first.

Partnerships and LLCs also generally cannot use the Section 1202 QSBS exclusion, which applies only to C corporation stock.

Purchase Price Allocation: Why Buyers and Sellers Negotiate It Differently

Purchase price allocation, governed by IRC Section 1060 and reported on Form 8594, determines how much of an asset sale's proceeds are taxed as capital gain versus ordinary income, and it is negotiated, not automatic. Both parties to an asset sale must agree on and consistently report how the total purchase price is allocated across specific asset classes: cash and equivalents, securities, accounts receivable, inventory, tangible personal property and real estate, Section 197 intangibles, and goodwill.

That allocation creates a structural tension. The buyer generally prefers allocating more of the price to asset classes that generate faster deductions, such as equipment eligible for accelerated depreciation or shorter-lived intangibles, because that lowers the buyer's future tax bill. The seller generally prefers allocating more to goodwill and other assets taxed at capital gains rates, and less to asset classes that generate ordinary income.

Because Section 1060 requires both parties to report the allocation consistently, this is a term negotiated as part of the purchase agreement itself, not settled unilaterally after closing. Allocation belongs in the letter of intent, not in the closing documents. A seller who treats it as a formality routinely leaves money on the table.

The worked example later in this guide shows what a single $500,000 shift between two allocation categories does to a seller's tax bill. The answer, in that case, is $75,000.

Personal Goodwill: The C Corporation Seller's Best Lever

Where goodwill attaches to the owner personally rather than to the corporation, a portion of the purchase price can be paid to the owner directly and taxed once at capital gains rates, bypassing the corporate layer entirely. For a C corporation seller in an asset sale, this is usually the single most valuable planning position available.

The position depends on facts, not document labels. It is strongest where customer relationships genuinely run to the individual, where the owner has never signed an enforceable non-compete or employment agreement assigning that goodwill to the entity, and where the owner's reputation is demonstrably what clients are buying. It is weakest where the company has institutionalized its relationships, which is what a well-run business tends to do.

The IRS contests aggressive personal goodwill allocations and courts have gone both ways on the facts. Build the position over years with real documentation rather than asserting it in the final week of a negotiation. Your business valuation work should identify how much of your enterprise value is personal to you well before a buyer is at the table.

Depreciation Recapture Explained

Depreciation recapture converts a portion of your sale gain from capital gain into ordinary income, taxed at meaningfully higher rates, up to the amount of depreciation you previously claimed on the asset. When you sell business equipment or real estate for more than its depreciated tax basis, the IRS treats the gain up to the amount of depreciation you deducted as ordinary income rather than capital gain. The theory is that you already received the tax benefit of those deductions, so the government recaptures it at your ordinary rate when the asset is sold at a gain.

For personal property like equipment and machinery, Section 1245 governs, and it recaptures the full amount of gain up to total depreciation taken, all as ordinary income.

Real property works differently. Because property placed in service after 1986 must be depreciated on a straight-line basis, Section 1250 recapture rarely applies in practice. Instead, gain equal to the depreciation you claimed becomes unrecaptured Section 1250 gain, taxed at a maximum federal rate of 25%. That is higher than the 20% long-term capital gains rate but well below full ordinary rates. The rate spread is the whole point. On the same dollar of gain, Section 1245 recapture can cost 37% federally while goodwill costs 20%. That is a 17-point difference driven entirely by which line of the allocation schedule the dollar sits on.

The QSBS Exclusion: Section 1202 and Qualifying C-Corp Stock Sales

Qualified Small Business Stock (QSBS) is one of the only mechanisms in the tax code that can eliminate, rather than merely defer, federal tax on a meaningful portion of a business sale gain, and recent legislation made it substantially more valuable. It does not apply to every business.

Section 1202 allows an eligible noncorporate shareholder of a qualifying C corporation to exclude a significant portion of gain from the sale of that stock, provided several requirements are met at both the corporate and shareholder level. The stock must be acquired at original issuance rather than purchased secondhand. The issuing corporation must meet a gross-assets test measured before and immediately after issuance. And the corporation must meet an active-business test requiring at least 80% of its assets to be used in a qualifying trade or business.

That last test carries an exclusion many owners overlook. A long list of professional service fields, including accounting, law, health, consulting, and financial services, are explicitly disqualified from being a qualified trade or business under Section 1202, regardless of the gross-assets result. A CPA firm, law firm, or consulting practice organized as a C corporation generally cannot use QSBS on its own stock sale.

For businesses that do qualify, the One Big Beautiful Bill Act, signed into law on July 4, 2025, meaningfully expanded the benefit for stock issued after that date.

QSBS acquired on or before July 4, 2025, remain under the prior rules: a holding period of more than five years for any exclusion, a per-issuer exclusion cap of the greater of $10 million or 10 times the shareholder's adjusted basis, and a $50 million gross-assets test.

QSBS issued after July 4, 2025 get a tiered holding period: a 50% exclusion after three years, 75% after four years, and the full 100% exclusion at five years. The per-issuer cap rises to the greater of $15 million or 10 times adjusted basis, and the gross-assets test rises to $75 million. Both dollar figures are indexed for inflation starting after 2026.

Because the two rule sets apply based on the stock's original issuance date rather than the sale date, a shareholder holding blocks issued both before and after July 4, 2025, in the same company must track each block separately.

Three further points that materially affect the arithmetic.

Gain above the per-issuer cap. Any gain that falls within the Section 1202 per-issuer cap is eligible for an exclusion of up to 100%. Any gain that exceeds the cap is treated as a standard capital gain, taxed at the standard long-term capital gains rate of up to 20% at the federal level, plus the 3.8% NIIT where it applies.

The taxable portion under a partial exclusion is taxed at up to 28%. Where you claim a 50% or 75% exclusion rather than 100%, the remaining taxable portion of that eligible gain is Section 1202 gain under Section 1(h)(4), carrying a maximum federal rate of 28% rather than 20%. This mattered little when 100% was the only exclusion available. With the new three-year and four-year tiers, it matters again: selling at three years trades a 50% exclusion against a 28% rate on the other half.

Gain excluded under Section 1202 is not subject to the 3.8% NIIT, and it is not an Alternative Minimum Tax preference item. The One Big Beautiful Bill Act amended Section 57(a)(7) to extend that AMT treatment to the new 50% and 75% tiers, so a shareholder claiming a partial exclusion does not lose part of the benefit to AMT. One open question worth naming plainly: it is not settled whether the exclusion percentage applies to all eligible gain first and the dollar cap second, or the cap first and the percentage to the capped amount. Practitioners read the statute both ways, and at large gain levels the difference runs into eight figures. If you are near a tier boundary, do not model this without counsel.

Finally, if you must sell before reaching a tier, a Section 1045 rollover into replacement QSBS can preserve the benefit, provided the original stock was held more than six months.

How to Minimize Taxes When Selling Your Business

Timing and structure, not deductions, are the primary levers for reducing tax on a business sale, and an installment sale is the most direct timing tool available. Under Section 453, an installment sale lets a seller recognize capital gain proportionally as payments are received over multiple years, rather than recognizing the entire gain at closing. That can keep a seller in a lower capital gains bracket in some years instead of realizing the full gain in a single compressed year.

One important limit: depreciation recapture must generally be recognized in the year of sale regardless of the installment method. An installment sale defers the capital gain portion of a deal's tax, not the recapture portion.

For the full mechanics and a worked comparison of lump-sum versus installment proceeds, see our dedicated guide to installment sales (INSERT-URL: Installment Sales). Beyond installment sales, the levers available are the QSBS exclusion discussed above, purchase price allocation, entity structure planning, and, for owners open to a different kind of exit, an employee stock ownership plan. An ESOP sale carries its own tax advantages that a third-party sale cannot replicate, covered in our guide to ESOP tax benefits.

Every one of these levers is significantly more effective when addressed years, not weeks, before a letter of intent is signed. Several are simply unavailable if you start late.

Maryland and Frederick County Treatment

Maryland does not offer a preferential state-level rate on capital gains the way federal law does. Gains are taxed as ordinary Maryland income, and as of the 2025 tax year, higher earners face an additional 2% capital gains surtax on top of that.

Maryland's Budget Reconciliation and Financing Act of 2025 (H.B. 352) added two new brackets above the prior 5.75% top rate, at 6.25% and 6.5%, applying to the highest-income filers beginning with the 2025 tax year. The separate 2% capital gains surtax applies once federal adjusted gross income exceeds $350,000, sitting on top of the regular state and local rate and reaching both short-term and long-term gains. Per Comptroller of Maryland Technical Bulletin 58, the threshold is tested on total federal AGI rather than the size of the gain, so a household that never approaches $350,000 from operations can cross the line in the single year it sells.

The exemptions are narrow, and there is no general carve-out for business-sale gain. They include gain from a primary residence sold for $1.5 million or less, assets held in various retirement accounts, certain livestock sales by farmers and ranchers, land subject to conservation or agricultural preservation easements, and gain from the sale of property used in a trade or business whose cost is deductible under IRC Section 179.

That last exemption is the one that matters in an asset sale, since part of your consideration may be allocated to property in that category, taking that slice outside the surtax. Comptroller guidance here was still developing at the time of writing, so review it with your CPA against current guidance rather than assuming the reduction.

Frederick County then layers its own local income tax on the state calculation. Unlike most Maryland counties, Frederick uses graduated local rates rather than a single flat percentage, running from 2.25% at the lowest bracket to a top rate of 3.20%. A seller recognizing a large one-time gain lands in the 3.20% top bracket. Confirm the current-year schedule against the Comptroller's published local rate table, since Frederick has revised its brackets more than once. For the full state, county, and neighboring-jurisdiction comparison, including how Maryland's treatment compares to Virginia and D.C., see our dedicated guide to Maryland tax considerations for business sales.

A Worked Example: $8 Million Asset Sale in Frederick County

Consider a Frederick County owner selling the assets of an S corporation for $8,000,000. She files jointly; her other income already places her at the top of every federal, state, and local bracket, and she materially participates in the business.

Step one: the allocation and what each piece produces.

Asset class

Allocated price

Tax basis

Gain

Tax character

Accounts receivable (cash basis)

$600,000

$0

$600,000

Ordinary income

Inventory and supplies

$200,000

$150,000

$50,000

Ordinary income

Equipment and vehicles

$900,000

$200,000

$700,000

Section 1245 recapture, ordinary income

Building

$1,800,000

$1,100,000

$700,000

$400,000 unrecaptured Section 1250 gain, $300,000 Section 1231 gain

Covenant not to compete

$500,000

$0

$500,000

Ordinary income

Goodwill

$4,000,000

$0

$4,000,000

Long-term capital gain

Total

$8,000,000

$1,450,000

$6,550,000

The $6,550,000 of gain sorts into three buckets: $1,850,000 of ordinary income, $400,000 of unrecaptured Section 1250 gain, and $4,300,000 of long-term capital gain.

Step two: the tax.

Layer

Base

Rate

Tax

Federal, ordinary income

$1,850,000

37%

$684,500

Federal, unrecaptured Section 1250

$400,000

25%

$100,000

Federal, long-term capital gain

$4,300,000

20%

$860,000

Maryland state

$6,550,000

6.5%

$425,750

Maryland capital gains surtax

$4,700,000

2%

$94,000

Frederick County

$6,550,000

3.20%

$209,600

Total

$2,373,850

That is an effective rate of 36.2% on the gain. Two caveats: the example applies marginal rates rather than full bracket schedules, so treat it as directional, and it excludes the 3.8% NIIT, because for an owner who materially participates, gain on assets used in that active trade or business is generally outside net investment income. If NIIT did apply to the capital portion, add roughly $178,600, bringing the effective rate to about 39%.

Step three: what one allocation change is worth.

Now move the $500,000 sitting in the covenant not to compete into goodwill, assuming the facts support it and the buyer agrees. Ordinary income falls to $1,350,000 and long-term capital gain rises to $4,800,000. Nothing else changes, and the price is identical.

Federal ordinary income tax drops to $499,500 while federal capital gains tax rises to $960,000. Maryland state and Frederick County taxes are unchanged, because Maryland taxes all of it as ordinary income either way, and the Maryland surtax rises $10,000 as more of the gain becomes capital gain. New total: $2,298,850.

The seller keeps $75,000 more on an identical $8,000,000 price. That is the 17-point federal spread between 37% and 20%, net of the 2% Maryland surtax now reaching that slice. One line on Form 8594.

If the same business were a C corporation selling assets, the $6,550,000 gain would face corporate tax first, at 21% federally plus Maryland corporate tax, with the remaining proceeds taxed again on distribution. This is why entity type is the first question, not the last.

Authorities Referenced

  • IRS Revenue Procedure 2025-32, for 2026 federal capital gains thresholds
  • Maryland Budget Reconciliation and Financing Act of 2025, H.B. 352
  • Comptroller of Maryland Technical Bulletin 58, on the additional 2% tax on net capital gains
  • Comptroller of Maryland local income tax rate schedule, for Frederick County
  • One Big Beautiful Bill Act, Section 70431, amending IRC Section 1202
  • IRC Sections 453, 751, 1060, 1202, 1231, 1245, 1250, 1374, and 1(h)(4), and IRS Form 8594

Frequently Asked Questions

How much tax will I pay when I sell my business?

What is the difference between an asset sale and a stock sale for taxes?

How can I minimize taxes when selling my business?

What is depreciation recapture?

Does Maryland tax business sales differently?

Structure the Deal Before You Sign, Not After

The gap between the headline sale price and what you actually keep is determined almost entirely before closing: how the deal is structured, how the price is allocated, and whether tools like the QSBS exclusion or an installment sale apply. None of it can be revisited after the purchase agreement is signed, and several items, QSBS holding periods in particular, require years of lead time to become available at all.

Monocacy has advised owners across Maryland, D.C., and Virginia through this decision for 35 years. The tax result is worst when the valuation, the deal structure, the tax modeling, and the post-sale plan are handled by four advisors who never speak to one another. The allocation gets negotiated by someone who has not modeled the seller's tax, and nobody quantifies the recapture until closing. One advisor holding the whole picture is how a $75,000 line item gets caught before signing rather than after.

Proceeds also need somewhere to go. Coordinating the transaction with what follows, including planning through Monocacy CPA and your estate planning as a business owner, belongs in the same conversation, not a later one.

If you are approaching a sale and want to understand what these rules mean for your specific business and stock structure, that conversation is worth having well before a buyer's term sheet arrives. Book a Discovery Meeting to walk through your deal structure before it is finalized.

Transform Your Financial Uncertainty into Opportunity

Living in the financial dark means missed opportunities, unnecessary stress, and an uncertain future. Our team will give you the timely and actionable financial data you need to make informed decisions, drive business and personal growth, and secure your financial future. Contact us now for a free discovery call!

© Monocacy Financial Group

Privacy Policy