Sell Independent Pharmacy Defer Capital Gains

Selling Your Independent Pharmacy: Defer the Capital Gain Across Years

Walgreens and CVS still buy independent pharmacies (often closing them and moving prescriptions to nearby chain stores). Cardinal Health, McKesson, and AmerisourceBergen run network roll-ups. Compounding pharmacies have specialized buyers (Wells Pharmacy Network, Empower Pharmacy and others). Specialty pharmacies command premium multiples.

Independent pharmacies typically sell for 70-100% of revenue plus inventory.

The math: $2.5M independent pharmacy sale

StateState rateLump-sum tax10-yr §453 taxDelta
California13.3%~$1.09M (44%)~$0.78M (31%)$314K
New York10.9%~$1.01M~$0.72M$290K
New Jersey10.75%~$1.00M~$0.71M$290K
Texas / Florida / Tennessee / Nevada0%~$0.72M~$0.51M$210K

Assumptions: $2.5M, 50% goodwill ($1.25M), 35% Rx inventory ($875K), 15% equipment + leasehold ($375K).

Go deeper: how inventory, prescription files and licenses are taxed in a pharmacy sale on Big Sale Tax.

Run your own pharmacy sale numbers

The calculator below is preset for a pharmacy. Change the price and the allocation to match your offer; it prices the asset sale and the stock sale side by side with 2026 federal law (IRS Rev. Proc. 2025-32), the 3.8% net investment income tax and your state, then shows what spreading the payments keeps you. Full guide: business sale tax calculator.

Both are shown side by side below.
Broker, legal and accounting fees.
What you paid in plus retained income taxed to you, less distributions. Used for a stock sale and for a C corporation's liquidation.
No state chosen: federal only.

Purchase price allocation (asset sale, IRS Form 8594)

Include bonus depreciation and Section 179.
Zero if you built the business. Goodwill gets the rest of the price.
C corporation only, when the facts support it.
C corporation only. Left at 0, it is not included.

Your result

Estimated tax on your sale (2026)
$453,904

S corporation asset sale. You keep $1,921,096 after selling costs and tax.

Where your gain lands

    Asset sale vs stock sale

    Get the REAL numbers

    Hans Goldstein, EA
    Hans Goldstein, EAAdmitted to practice before the IRS

    These are estimates. Have a qualified tax professional run your real numbers in a 15-minute scope call.

    Book my 15-minute call

    This is an estimate. Getting it right down to the tee takes your actual tax forms (returns, K-1s, depreciation schedules), a consult and a paid analysis. The first 15-minute scope call is free.

    Worked example (computed October 13, 2026)

    Take a $2,500,000 independent pharmacy (S corporation) sold as assets: $1,250,000 for prescription files and goodwill, $875,000 for drug inventory at its $875,000 cost, and $375,000 for fixtures, leasehold improvements and equipment that cost $600,000 with $500,000 of depreciation taken. 5% selling costs, $150,000 of other income, married filing jointly, California. As an asset sale the tax is $453,904 and they keep $1,921,096; $212,500 of it is ordinary income taxed in year one. A stock sale of the same company would cost $453,144. Spread over 10 years, the asset sale costs $355,868 in tax: they keep $98,037 more. Interest on the unpaid balance is extra income and is left out.

    Pharmacy sale tax: questions

    Is pharmacy inventory taxed as ordinary income?

    Any amount above its cost is. Inventory sold at cost carries almost no tax, but it cannot be paid out under the installment method (IRC §453(b)(2)(B)), so it is all in the year of sale. Count the drug inventory by its actual cost, not list price.

    How are prescription files taxed?

    Prescription files and patient lists are customer-based intangibles. If you built them, the price is capital gain. If you bought them from another pharmacy and amortized them, the amortization you took comes back as ordinary income (IRC §1245).

    Does a non-compete with the buyer change my tax?

    Yes. Price allocated to your non-compete is ordinary income to you, taxed in the year you receive it. Enter it in the calculator to see what it costs against goodwill.

    Pharmacy-specific tax wrinkles

    1. Rx inventory mandatory carve-out. Ordinary income on sale; cannot defer under §453. Massive piece of pharmacy P&L.
    2. DIR fees clawback. Direct and Indirect Remuneration fees from PBMs clawed back post-sale; affects net proceeds.
    3. DEA license transfer. Required for controlled substance dispensing; transfer takes time.
    4. Compounding pharmacy: 503A vs 503B FDA classification. Affects valuation; 503B (outsourcing facility) much higher.
    5. PBM contracts (Express Scripts, OptumRx, CVS Caremark). Contract assignability; some renegotiable at close.
    6. State Board of Pharmacy ownership transfer. Each state has rules.
    7. Specialty pharmacy. Different buyer pool, higher multiple.
    Before you read further

    What is the tax bill on your sale going to be?

    Send me the sale price and rough basis. Within one business day I'll email you the actual number and the Seller's Guide to §453. If it doesn't fit your deal, I'll tell you that plainly.

    Hans Goldstein, EA
    Admitted to practice before the IRS

    No retainer · no obligation. Hans Goldstein, a licensed insurance agent (CA Insurance License #4273294), will contact you and may discuss insurance products, including annuities.

    When this fits

    • $1.5M+ sale with $750K+ in goodwill
    • Compounding or specialty pharmacy with higher goodwill %
    • Consolidator buyer

    When it doesn't

    • Mostly inventory-driven retail with minimal goodwill
    • Quick close to chain

    How I work

    Hans Goldstein, EA, IRC §453 specialist. Admitted to practice before the IRS. Placements with highly rated life insurers (A or better by A.M. Best or equivalent) in all 50 states. Free fit-check.

    Hans Goldstein

    Find out what your sale is really going to cost you in tax, and what you can do about it

    No retainer. On a funded structure, the insurer pays a one-time commission of about 4% of the amount structured to the brokerage firm that places it (Hans’s share is about 2.4%; no trail). It is built into the annuity pricing, not a separate fee.

    Find out what your tax bill actually looks like before you sell, including the parts your CPA may not raise until the return is already being prepared.

    Most people find out what they owe after the sale closes, when nothing can be changed. A short conversation now tells you the number, which layers apply to your situation, and which options are still open while the sale is still in front of you.

    • What you will actually owe: federal, the 3.8% surtax, recapture and your state
    • Which of those layers you can still do something about
    • Whether spreading the sale changes the number in your case
    More details (optional)
    Hans Goldstein, EA
    Admitted to practice before the IRS

    Hans Goldstein · 213-414-2808 · Hans Goldstein: Tax & Exit Planning · This is an educational conversation, not tax advice. Bring your CPA in before you file.

    Hans Goldstein, a licensed insurance agent (CA Insurance License #4273294), will contact you and may discuss insurance products, including annuities.

    Educational. Not tax or legal advice.

    Run your specific numbers

    The calculator runs your sale through real 2026 federal + state tax brackets and shows §453 savings vs lump sum side-by-side.

    Run the calculator → 213-414-2808
    Get my number Book 15 min Call

    Hans Goldstein is an Enrolled Agent, admitted to practice before the Internal Revenue Service. Not affiliated with or endorsed by the IRS. General education, not tax or legal advice for your situation.