Insights / Small business & company tax

Buying an independent pharmacy: inventory at cost, 15-year amortization of prescription files and goodwill, Form 8594 and the new permit

Most pharmacy purchases are asset deals: a third party counts inventory at cost on closing day, and it's expensed only as it sells; prescription files, goodwill and non-competes amortize over 15 years; equipment can be deducted right away. North Carolina and California require a new permit before closing when more than half the ownership changes, the seller notifies DEA at least 14 days ahead, and all three states can hold a buyer liable for the seller's sales tax.

Published By YCL CPA
Questions? Reach us directly

Message us on WhatsApp

Scan the code with WhatsApp, or tap the button if you are on your phone.

919-802-8376Open WhatsApp

Add us on WeChat

Scan the code with WeChat, or copy the WeChat ID and search for it in the app.

WeChat ID: YCLUSA
FacebookInstagramXRednoteWeChat Channels
Buying an independent pharmacy: inventory at cost, 15-year amortization of prescription files and goodwill, Form 8594 and the new permit

Buying an independent pharmacy is usually an asset purchase. A third party counts the inventory on closing day and it's paid for separately at cost. The rest of the price is split among equipment, prescription files, the non-compete and goodwill, and buyer and seller each file Form 8594 using the same allocation. Prescription files and goodwill amortize over 15 years, while equipment can be deducted right away. Permits don't transfer, so North Carolina and California require a new permit before closing when more than half the ownership changes.

How is a pharmacy deal different from other small business purchases?

Three things set pharmacies apart. Inventory is large, often a fifth to a third of the total price. Revenue runs almost entirely through pharmacy benefit managers (PBMs), so contracts, audit exposure and payment accounts all have to move to the new owner. And the state permit and DEA registration are tied to who owns the pharmacy, so they can't simply be sold with the assets. The tax plan has to be built around the permit, DEA and payer network timeline.

How should the price be allocated? The seven classes and Form 8594

In an asset purchase, the IRS requires both buyer and seller to attach Form 8594 to their returns for the year of sale, reporting how the price was split across seven asset classes. The two forms should match. A typical pharmacy allocation looks like this: Class IV is prescription and front-store inventory at counted cost; Class V is shelving, dispensing robots, refrigeration, computers and build-out; Class VI is prescription files (the customer list), phone numbers, the website and the non-compete; and Class VII is goodwill for whatever is left.

For the buyer, equipment can be expensed under Section 179 (a $2,560,000 limit for 2026) or 100% bonus depreciation. Prescription files, goodwill and the non-compete are Section 197 intangibles amortized evenly over 15 years starting in the month acquired. Inventory isn't deductible at purchase; it moves into cost of goods sold as it sells.

For the seller, inventory sold at cost usually produces little gain. Prior depreciation on equipment is recaptured as ordinary income under Section 1245, non-compete payments are ordinary income, and self-created goodwill is generally long-term capital gain. So sellers want more in goodwill and less in the non-compete and equipment, while buyers want more in equipment. The non-compete price should have a real business reason behind it.

How is inventory counted and settled?

On closing day, an inventory service counts stock at wholesaler cost. The contract should say how expired, opened and short-dated items are discounted or excluded. Controlled substances are counted separately, and Schedule II drugs are transferred under DEA rules. Many contracts keep inventory outside the base price and true it up to the count. After closing, the buyer books inventory at cost, and wholesaler rebates and discounts reduce that cost rather than counting as other income.

Example: a $1,500,000 North Carolina pharmacy

Example (hypothetical numbers, to show the method): Wang, a pharmacist, uses her North Carolina LLC (taxed as an S corporation) to buy the assets of a Raleigh pharmacy on July 1, 2026 for $1,500,000: $350,000 of inventory, $100,000 of equipment, $250,000 for prescription files and the non-compete, and $800,000 of goodwill.

Federal, year one: the $100,000 of equipment is deducted in full. The intangibles total $1,050,000, so amortization is $1,050,000 ÷ 15 = $70,000 a year, or $35,000 for the six months from July. Inventory goes into cost of goods sold as it sells. The purchase-related deductions come to about $135,000, not counting cost of goods sold.

North Carolina: the state adds back 85% of bonus depreciation, so $100,000 × 85% = $85,000 is added to 2026 income and $17,000 is deducted each year from 2027 through 2031. At the 2026 rate of 3.99%, that's about $3,392 more North Carolina tax in 2026. California doesn't allow bonus depreciation and caps Section 179 at $25,000, and New York State doesn't allow bonus either.

Permits, DEA and payer networks: the order matters

North Carolina: moving to a new entity, or anyone acquiring more than 50% of the permit holder, requires a new permit from the NC Board of Pharmacy before the change. The fee is $500, and the Board recommends filing six to eight weeks ahead. Once approved, a provisional permit number lets the buyer transfer DEA and enroll with PBMs and Medicaid, and practice starts when the application closes. Without a new permit, the old one is void.

California: a transfer that gives someone 50% or more of the beneficial interest, in one deal or several, is a change of ownership. Apply before the transaction ($750), with the unredacted purchase agreement and pre- and post-closing org charts, and anyone at 10% or more files affidavits and is fingerprinted. Operating before approval is unlicensed activity.

New York: a new owner applies to the State Education Department for a new pharmacy registration ($345), with an on-site inspection before opening; confirm the details with NYSED.

DEA: the seller notifies DEA in writing at least 14 days before the transfer, and the buyer needs its own DEA registration at the location ($888 for three years for a retail pharmacy). The NPI, NCPDP ID, PSAO and PBM contracts and Medicaid enrollment also move to the new entity. Re-credentialing can take months, so the contract should say how claims during the transition are handled.

Can the seller's unpaid taxes follow you?

Yes. In North Carolina, G.S. 105-164.38 requires the buyer to hold back enough of the price until the seller shows the Department of Revenue's clearance, or the buyer can be liable for the seller's sales tax up to the purchase price. In California, get a CDTFA tax clearance certificate from the seller. In New York, the buyer files Form AU-196.10 at least 10 days before paying or taking possession. Pharmacies collect sales tax on front-store goods, and on OTC drugs in North Carolina and California, so check the seller's sales tax history in due diligence.

PBM history is a risk too. Through 2023, Part D plans often clawed back DIR fees at year-end, and PBM audits recoup money over documentation. Asset deals usually leave these with the seller, but the contract should say so.

What about buying the stock instead?

Buying the pharmacy company's stock keeps the same permit holder, but a change of more than 50% in control still triggers a new permit in North Carolina and California. The assets get no new depreciable basis, and the company's PBM recoupments, audits and tax exposure come with it. Most small pharmacy deals are still done as asset purchases.

For the full rules on permits, PBMs, sales tax and payroll, see our guide to independent pharmacies, and for whether a pharmacy can use a PLLC, our PLLC guide. If you'd like the allocation and first-year tax modeled before you sign, book a free 15-minute call, or reach us on WeChat at YCLUSA.

General information only, not tax or legal advice. Last verified November 25, 2026.

Questions this article answers

Can I deduct the inventory when I buy a pharmacy?

Not at purchase. Inventory is counted by a third party on closing day, paid for at cost and booked as inventory; it becomes cost of goods sold as it sells. Adjust to a physical count at year-end, and apply wholesaler rebates and discounts against cost.

How are a pharmacy's prescription files and goodwill amortized?

Prescription files (the customer list), goodwill, the non-compete, phone numbers and the website are Section 197 intangibles amortized evenly over 15 years from the month acquired. Buyer and seller both file Form 8594 for the year of sale, and the allocations should match.

Can I keep operating on the seller's permit after buying a North Carolina pharmacy?

No. North Carolina pharmacy permits can't be transferred, and a new entity or anyone acquiring more than 50% must get a new permit from the Board of Pharmacy first, or the old permit is void. After approval, a provisional number can be used for DEA and payer enrollment, and practice begins when the application closes.

Do I need to notify DEA when buying a pharmacy?

Yes. The seller notifies DEA in writing at least 14 days before the transfer, and the buyer needs its own DEA registration at the location, which costs $888 for three years for a retail pharmacy. Controlled substances are counted separately at closing, and Schedule II drugs are transferred under DEA rules.

Ready to talk? The first 15 minutes are on us.

Book online, or send us a few details and we will come back with a written quote within one business day.

Book a callQuick quote