Medicine shortages have become a routine feature of getting a prescription dispensed, and the explanations offered at the counter - "there's a national shortage" - are accurate but unsatisfying. The underlying causes are fairly consistent, and understanding them explains both why shortages keep happening and why stockpiling makes things worse rather than better.
Concentrated manufacturing
The single biggest factor.
Most generic medicines are made by a small number of manufacturers, and the active ingredient itself is frequently produced at a handful of sites worldwide - sometimes one.
That is efficient and it is fragile. A quality problem, a regulatory inspection failure, a fire, a flood or a shutdown at one plant removes a large share of global supply at once.
Because the same ingredient feeds many brands, a single site closing can empty shelves of products from several apparently unrelated companies.
Thin margins
Generic medicines are extremely cheap, which is excellent for the NHS and precarious for supply.
Some cost pennies per pack, leaving almost no margin. When manufacturing costs rise - energy, raw materials, shipping, regulatory requirements - the economics stop working and manufacturers simply exit the market.
Each departure concentrates supply further among those remaining, which makes the next disruption worse.
It also means there is little incentive to hold buffer stock or maintain spare capacity.
See why medicines get discontinued.
Sudden demand
Manufacturing capacity is planned years ahead and cannot flex quickly.
When demand rises sharply, supply cannot follow. Recent examples in the UK include HRT, ADHD medicines and weight-loss injections, each driven by a genuine rise in diagnosis or prescribing rather than by anything going wrong.
Demand can also shift sideways: a shortage of one product pushes everyone onto the alternative, which then runs out too. That cascade is common and is why shortages spread across a whole class.
Regulatory and quality issues
Batches fail testing. Inspections identify problems. Impurities are discovered.
The valsartan recalls of 2018 and 2019 are the clearest example - nitrosamine impurities were found in product from certain manufacturers, batches were withdrawn worldwide, and supply of several related medicines was disrupted for a considerable period.
These are the system working rather than failing, but the immediate effect is empty shelves.
See valsartan.
Distribution and logistics
Beyond manufacturing: transport disruption, customs and border arrangements, currency movements making a market unattractive for export, and parallel trade - where wholesalers export UK stock to markets paying more.
Cold-chain products are particularly vulnerable, since they cannot simply be shipped any way that is available.
What is being done
The Department of Health monitors supply and issues notices to pharmacies and prescribers.
Serious shortage protocols allow pharmacists, for a specified medicine and period, to supply a different strength, quantity or formulation - or sometimes an alternative drug - without returning to the prescriber.
That is a genuine improvement on the previous position, where every substitution meant a new prescription and a delay.
See serious shortage protocols.
Why stockpiling makes it worse
The instinct when hearing about a shortage is to order extra. If enough people do that, a manageable supply problem becomes a genuine one.
Ordering ahead pulls demand forward, empties wholesaler stock, and leaves people who need the medicine now without it - including those who cannot afford to hold a surplus.
It also generates waste, since stockpiled medicine frequently expires unused and cannot be reused once dispensed.
See stockpiling makes shortages worse and why returned medicines cannot be reused.
What to do when it affects you
Ask the pharmacy first. They will know whether it is a local supply issue, in which case another pharmacy may have it, or a national one, in which case ringing round achieves nothing.
Ask what the alternatives are. Often a different strength, a different formulation or a different manufacturer is available.
Do not simply stop. For several medicines that is more dangerous than a substitution - beta blockers, steroids, antiepileptics, anticoagulants and Parkinson's medicines among them.
Give notice. Order repeats with a week or more to spare so there is time to solve a problem.
See when a medicine is out of stock and why you cannot just stop some medicines.
Where a substitution needs care
For most medicines a different manufacturer is fine.
For a specific list - certain antiepileptics, lithium, theophylline, modified-release preparations, inhalers and biologics - it is not, and those need a prescriber decision rather than a swap.
See switching between manufacturers.
Do not buy it online instead
Shortages are actively exploited by sellers on social media and unregulated websites, and falsified product is exactly what appears when legitimate supply is unavailable.
A site with stock when registered pharmacies have none is telling you something - see buying medicines through social media.
See also Planning Ahead for Hard-to-Get Medicines, and the Prescriptions section for more on prescriptions and pharmacy services.