Home / Resources / Operations
Operations

How to start a compounding pharmacy

Part regulatory project, part manufacturing build-out, part business. A roadmap in the order the decisions actually come, with the rules cited and the systems question answered honestly. Not legal advice; verify everything with your state board and counsel.

Every compounding pharmacy that launches smoothly made the same three decisions early: which model it is, what it will and will not compound, and what record it will keep from the first batch. The pharmacies that struggle made those decisions late, usually after the cleanroom was built and the first partner was waiting. This guide takes the decisions in the order they come, cites the rules that govern each, and is honest about where software helps and where it does not.

1. Choose the model: 503A or 503B

A 503A pharmacy compounds for identified individual patients on prescriptions, under state board oversight and USP chapters. A 503B outsourcing facility registers with FDA, may compound without patient-specific prescriptions (office stock), and must comply with current good manufacturing practice. Most new operations start as 503A because 503B adds FDA registration, cGMP and a much larger quality burden; some plan the building for 503B from the start so the cleanroom does not have to be rebuilt. The choice changes the licensing path, the facility spec, the staffing and the record you keep. Read 503A vs 503B before anything else, and the 503B launch playbook if you are leaning that way.

2. Licensing and registration

Keep the licence list as a table with state, status, validity dates and whether controlled substances are permitted, because it will be read on every order. In Pharmacy Flow the Licensing module is that table, and the order gate fails closed against it: an order to a state with no active licence is created On Hold with the reason. Your licence table's accuracy becomes an operational control, not a compliance file.

3. Facility and cleanroom

The facility is usually the longest lead-time item. Non-sterile compounding needs a designated, ventilated space with appropriate surfaces and equipment. Sterile compounding needs a cleanroom suite (an ISO Class 7 buffer room and ISO Class 8 ante-room, or an isolator-based design) with certified primary engineering controls, pressure differentials, and an environmental monitoring programme. Hazardous drugs add containment, negative pressure and separate storage. Design for the compounding you will do in year three, not year one, and involve a certifier before the walls go up. Cold-chain storage and, for controlled substances, a compliant vault or cabinet belong in the plan.
Quality dashboard with environmental monitoring readings, deviations and CAPA
Environmental readings with room, ISO class, metric, value and limit, graded Pass, Alert or Action: the record a cleanroom generates from day one.

4. Decide what you will compound

Scope drives everything: sterile or not, hazardous or not, controlled or not, cold-chain or not, patient-specific or office stock. Write the formulary as master formulations with a bill of materials, a standard batch size, labour and QA minutes and a beyond-use-date rule, and define the strengths and fill volumes you will actually sell as variants with SKUs. This is worth doing before the software arrives, because it is the input to costing (material draw plus labour per fill against the rate you will charge), to purchasing (the BOM explosion behind the forecast) and to intake (partners order a variant, not a description). Check each product against FDA's compounding restrictions, including demonstrable-difficulty and essentially-a-copy rules and the drug shortage list where relevant.
Batch planner with material requirements, lot draw and cost per fill for a variant
A formulation with a real bill of materials lets you see the cost per fill before you sign a rate card.

5. People, roles and training

A pharmacist in charge, technicians with documented competency for the compounding categories you do, a quality function that is separate from production even if it is one person part-time, and someone who owns purchasing and receiving. Decide from the start who may release quarantined material, who may sign approvals and who may manage orders, and encode it. Pharmacy Flow ships eight roles (Admin, Pharmacist, QA, Technician, Buyer, Receiver, Finance, Partner) with permissions in Postgres; a technician can run the line but cannot release a lot, and signing an approval requires the signer's password again. Establishing segregation of duties before the first inspection is far easier than retrofitting it. See the Part 11 article for what makes a signature defensible.

6. The record system from day one

This is where new pharmacies under-invest, because on day one a binder works. It stops working at the first recall question, the first inspection, and the first partner who wants an API. Choose a system that gives you, from the first batch: lots with enforced status and quarantine on receipt; a batch record that consumes real lots with quantities in one transaction and gates release on QC; unit serials and scan-gated pack verification; a quality system with deviations, CAPA, change control, environmental readings and re-authenticated signatures; and a licence table the order flow reads. Those are the things you cannot add retroactively to history. Pharmacy Flow provides them on one database and the platform page lists every module; the compounding software page shows the batch and verify mechanics in detail. The pricing page is public so you can budget it alongside the cleanroom.
A test for any system, including ours: ask to see a batch created, a unit filled and verified, and a recall run against the lot, on a demo tenant, in one sitting. If the vendor cannot do that live, the record is not there.
Set up your first tenant before the cleanroom is finished

We will load your formulary, licences and facilities on a demo tenant so your record starts the day you compound. Bring a formulation and a state list.

7. Sourcing and suppliers

Qualify suppliers before you need them: API and excipients from registered sources with certificates of analysis, packaging and devices, and a second source for anything critical. Record each supplier with a status and track on-time delivery. On receipt, each lot should get its supplier lot number, expiry, temperature-check result and CoA reference and go into quarantine until released. Pharmacy Flow's receiving does exactly this and its supplier directory lists US pharmacies and FDA-listed manufacturers you can request quotes from, with an RFQ flow in which only claimed and verified sellers may bid.
116,267
supplier listings in the directory
CMS NPPES + FDA NDC Directory, Sep 2026
3
USP chapters that govern most compounding
USP <795>, <797>, <800>
2
statutory models: 503A and 503B
FD&C Act §503A, §503B
8
roles to assign before opening
Pharmacy Flow, role_permissions

8. How your first orders will arrive

Decide who you serve (patients, prescribers, clinics, telehealth brands) and how their orders reach you, because it determines what you build. A prescriber-driven 503A takes prescriptions and refills with DEA rules applied (no Schedule II refills, five within six months for III–V). A telehealth-driven pharmacy takes orders by API with a licence gate, routing and signed webhooks, or through a partner portal while the partner builds. A 503B takes office-stock orders from clinics. Pharmacy Flow supports each path on one order model; the telehealth API page documents the programmatic one and the partner programme the relationship. Being easy to order from is how a new pharmacy wins referrals.
Partner portal home showing a brand's orders, shipments and webhook health
A partner portal from day one: clinics and brands submit and track without calling you.

9. A realistic timeline

Typical ranges; a sterile 503B build-out sits at the long end of every row. Your state board, landlord and contractor set the real dates.
PhaseTypical spanLong poles
Model, scope, business plan1–2 monthsFormulary and costing; deciding 503A vs 503B
Licensing3–9 months, in parallelNonresident licences per state; DEA; 503B FDA registration
Facility and cleanroom4–12 monthsDesign, build, certification; hazardous-drug containment
People and training2–4 months, overlappingCompetency documentation; quality function
Systems and master data1–2 monthsFormulations, variants, licences, facilities, suppliers loaded
First batch to first orderWeeksQC release; partner onboarding; carrier accounts
Once open, the seams that appear with growth are described in how to scale a compounding pharmacy. If your first partner is a GLP-1 programme, read the GLP-1 operations playbook and the cold-chain guide now, because they will shape the packout area. And if the plan is regional production for a network, the local manufacturing page describes the multi-site model.

Frequently asked questions

How long does it take to open a compounding pharmacy?+
Commonly nine to eighteen months from decision to first order, driven by nonresident licensing and the cleanroom. A non-sterile 503A in one state can be faster; a sterile 503B is at the long end.
503A or 503B to start?+
Most start as 503A because 503B adds FDA registration and cGMP. If office stock is the business, plan the facility for 503B from the start so the cleanroom is not rebuilt. See our 503A vs 503B guide.
Which states do I need licences in?+
Your home state plus a nonresident pharmacy licence in every state you ship into. Keep them in a table with validity dates and controlled-substance permissions, and make the order flow read it.
What does the cleanroom need for sterile compounding?+
Under USP <797>, certified primary engineering controls in a classified suite (typically ISO 7 buffer and ISO 8 ante-room) or an isolator design, pressure differentials, environmental monitoring and personnel competency. Hazardous drugs add USP <800> containment and negative pressure.
What software do I need on day one?+
A record that gives you enforced lot status, an atomic batch record, unit serials with scan-gated verification, a quality system with signatures, and a licence table the order flow reads. These cannot be added to history later.
How do I find suppliers?+
Qualify registered sources with certificates of analysis and a second source for critical materials. Pharmacy Flow's directory lists US pharmacies and FDA-listed manufacturers with an RFQ flow in which only verified sellers may bid.
How will orders reach a new pharmacy?+
Prescriptions from prescribers, office-stock orders from clinics, or API and portal orders from telehealth brands. Choose your channel early, because it determines the intake, licence and cold-chain work you need.
Keep reading

See Pharmacy Flow on your own workflow

A working platform, not a slide deck. Book a walkthrough and we'll run a real order from intake to carrier lane — or explore the public directory first, no account needed.

Free 14-day trial on signup · Free to claim a directory listing · Log in