Can a Pharmacy Compound Your Medication During a Drug Shortage? Yes, While the Listing Stands
Can a pharmacy compound your medication during a drug shortage? Yes, and the timing matters more than most people realize: the permission lasts exactly as long as the FDA shortage listing does, and not a day longer by default.
A patient I will not name once asked a pharmacist a question that sounded simple and turned out to be a legal question wearing a medical question clothes. Her drug was backordered everywhere, a compounding pharmacy had offered to make it, and she wanted to know whether that was a real option or a gray market workaround. It was a real option, and the reason is a specific rule: while a drug appears on the FDA drug shortage list, a licensed pharmacy may compound a copy of it, because the shortage listing changes how the copy restriction works.
Under normal conditions, a state licensed 503A pharmacy generally may not prepare a copy of a commercially available drug. That rule protects the approved drug system from being undercut by unapproved copies. The shortage exception flips the logic. A drug on the FDA shortage list is not treated as commercially available for this purpose, even if some strengths or some suppliers show as available on the list. What matters is the precise listing: the drug and the dosage form listed as currently in shortage. A general sense that a category is tight does not count, and a different dosage form that is not listed does not qualify.
The two kinds of compounding pharmacies play different roles here, and confusing them causes most of the bad advice. A 503A pharmacy compounds for an identified patient on a valid prescription. A 503B outsourcing facility compounds larger batches without patient specific prescriptions, under federal registration and stricter quality standards, and can supply hospitals and clinics. Both were recognized by Congress as shortage tools, and both stepped in during the COVID era for sterile injectables and during the GLP-1 shortages of 2022 and 2023. For an individual patient at a counter, the 503A pharmacy is usually the relevant one.
Can a pharmacy compound your medication during a drug shortage, and what ends the permission?
The permission ends when the shortage ends, and the ending has teeth. When FDA resolved the tirzepatide shortage in December 2024 and the semaglutide shortage in February 2025, compounding copies of those drugs stopped being covered by the shortage allowance after enforcement discretion periods tied to court rulings in spring 2025. Pharmacies that kept compounding copies after that point were no longer operating under the shortage rule. They needed a different legal basis, such as a prescriber documented determination that a formulation change makes a significant clinical difference for that specific patient, like a different strength, a liquid instead of a tablet, or removal of an ingredient the patient reacts to.
That prescriber determination is the second route, and it exists independently of shortages. A preparation is not a copy when the prescriber determines the change matters clinically for that patient and documents it. This is how compounding serves patients with allergies, swallowing difficulties, and unusual doses in normal times. It is also a route that gets abused, because a documented determination is easy to write and hard to audit one prescription at a time. A legitimate compounder will ask for the clinical reason and keep the record. A seller that never asks is a warning sign, not a convenience.
Safety deserves a plain paragraph, because compounding is not the same as manufacturing. Compounded drugs do not go through FDA approval, and their strength and quality can vary. The 2012 New England Compounding Center fungal meningitis outbreak, which caused 753 infections and 63 deaths from contaminated methylprednisolone acetate, led to the Drug Quality and Security Act and stricter oversight of outsourcing facilities. That history does not mean every compounded drug is dangerous. It means the choice of pharmacy matters more than the choice of drug, and accreditation by the Pharmacy Compounding Accreditation Board is a reasonable thing to ask about.
What to ask before you accept a compounded version
Ask three questions. Is my exact drug and dosage form on the FDA shortage list right now, and can you show me the listing date? Is this prescription written for me specifically, with the clinical reason documented if it is not a straight shortage copy? And is your pharmacy licensed in my state and accredited? If the answers are clear, a compounded version during a shortage is a legitimate bridge, not a loophole. If the pharmacy cannot answer the first question, walk away, because the listing is the whole legal foundation, and a bridge built without it will not hold.
Frequently asked questions
Can a pharmacy compound your medication during a drug shortage?
Yes. While a drug and dosage form appear on the FDA drug shortage list, a licensed pharmacy may compound a copy of it, because the listing means the drug is not treated as commercially available for the copy restriction.
What is the difference between a 503A pharmacy and a 503B facility?
A 503A pharmacy compounds for an identified patient on a valid prescription. A 503B outsourcing facility compounds larger batches without patient specific prescriptions, under federal registration, and supplies hospitals and clinics.
Can a pharmacy keep compounding a copy after the shortage ends?
No, not under the shortage rule. Once the shortage is resolved and enforcement discretion ends, compounding a copy needs a different basis, such as a prescriber documented determination that a formulation change makes a significant clinical difference for that patient.
Are compounded drugs FDA approved?
No. Compounded drugs do not go through FDA approval, so strength and quality can vary. Choose a state licensed pharmacy, and ask about Pharmacy Compounding Accreditation Board accreditation.
Can a pharmacy compound a drug that was withdrawn for safety reasons?
No. Drugs withdrawn or removed from the market because they were found unsafe or ineffective may not be compounded, which is different from a drug that left the market for commercial reasons.
Related reading: How to Check the FDA Drug Shortage List · Can a Pharmacist Substitute a Different Drug During a Shortage? · Does Insurance Cover Alternative Medication During a Drug Shortage? · Can You Split Pills During a Drug Shortage?