Supply & Inventory Planning

Pharma supply chain: the constraints that rule it, and how to plan around them

Why shelf life, validation lead times and finite cleanroom capacity break spreadsheet and ERP planning, and a five-step blueprint for a plan the plant can actually run.

For supply & inventory planners

Automate orders and balance supply with demand

Book a DemoExplore Supply Planning

In the pharma supply chain, a planning error doesn’t just cost revenue. It can leave a clinic without a therapy, put a site in front of an auditor, and send a quarter’s worth of product to the incinerator. Spreadsheets and the planning engines inside most ERPs struggle here because they were built for discrete manufacturing. They count units. They don’t know that a batch has eleven months of shelf life left, that the market it is meant for wants eighteen, or that the filling line needs a day of cleaning before it can switch products.

The gap between the forecast in the boardroom and what the plant can make rarely comes from bad intent. It comes from planning methods that can’t hold the regulatory, biochemical and physical rules a medicine has to obey. This guide walks through those rules, the seven stages a medicine passes through, where things break, and a five-step way to plan around it.

The constraints that rule the pharma supply chain

Illustration of a scientist in a lab coat working at a sealed glovebox isolator in a QC lab, next to a large hourglass whose orange sand has barely started to run

The pharma supply chain is the network that turns chemical and biological starting materials into finished medicines: it synthesises the active ingredient, formulates it into tablets, capsules or sterile injectables, packs and serialises the finished goods, and delivers them to the pharmacy, the hospital and finally the patient.

A discrete-manufacturing supply chain can run lean and swap a supplier when one fails. A pharma network can’t, for three reasons.

  • Regulatory lead times don’t bend. An industrial buyer can qualify a second component vendor in weeks. Changing the source of an active pharmaceutical ingredient (API) means a regulatory variation filed with the FDA, EMA or other agencies, technology transfer, GMP audits, process validation and ICH stability studies. Six to eighteen months is a common range before product from the new source can be sold. Oversight is also growing: FDA onsite inspections rose from 7,147 domestic and 186 foreign in fiscal 2021 to 13,305 domestic and 2,716 foreign in 2023[1].
  • The product is fragile. Biologics, monoclonal antibodies and mRNA vaccines degrade with heat, light and mechanical shear. They need sterile fill-finish, controlled environments and an unbroken cold chain from formulation to injection.
  • The bill of materials runs several tiers deep. One finished dose depends on primary packaging (vials, stoppers, prefilled syringes), secondary packaging (serialised cartons, leaflets) and high-purity excipients. A missing tier-2 consumable can hold up a batch release worth millions. Keeping these dependencies in view is the case for unified demand, supply and production planning for pharma.

Because the product is a therapy someone is waiting for, cost can’t be the only goal of demand planning. In early 2024 the United States reached more than 320 drugs in shortage[2], an all-time high by the count of the pharmacists’ association ASHP. The job is to get the right dose to the right place on time, without writing off expired stock to do it.

Seven stages from raw material to patient

Aerial illustration of a large distribution centre with loading docks and parked trailers, one trailer in orange in the middle of the yard

To find where a network is vulnerable, map it end to end. Each of these stages has its own regulatory gate and its own physical handoff.

  1. Sourcing raw materials and APIs. Every medicine starts with starting materials, excipients and an API, and much of that comes from a few countries. By 2024, China produced 45% and India 43% of the world’s active ingredients[3], and our pharma supply chain statistics collect more figures like these. When customs stalls a shipment, a lane congests or a regulator issues an import alert, a 60-day lead time can stretch past six months. Reported supply problems matter: in one study, 13.7% of supply chain issue reports were followed by a drug shortage[4], against 4.1% for comparable drugs without a report. Procurement needs supplier constraints (availability, order frequency, minimum order quantities) in the plan long before formulation starts.
  2. Primary synthesis and secondary formulation. Primary manufacturing makes the bulk active ingredient by chemical synthesis or fermentation. Secondary manufacturing blends it with excipients to press tablets, fill capsules or run aseptic fill-finish. A batch doesn’t move on just because it is physically finished: QC has to test potency, dissolution, purity and sterility and issue a certificate of analysis first. Planning that minimises API and excipient waste keeps expensive material from being scrapped when the schedule changes.
  3. Packaging, labelling and serialisation. Primary packaging protects the molecule from light, moisture and microbes. Secondary packaging adds cartons, tamper-evident seals and patient leaflets. Lines must meet track-and-trace rules such as the US Drug Supply Chain Security Act (DSCSA) and the EU Falsified Medicines Directive, printing and verifying a unique 2D code on every saleable unit.
  4. Cold chain and validated storage. Many biologics must be held at 2–8 °C, −20 °C or −80 °C. Warehouses and reefer trucks need calibrated sensors, redundant compressors, backup power and continuous, validated data logging. Automation helps: one biologics manufacturer that moved to automated cold storage with robotic retrieval cut temperature excursions during staging by 40 percent[5].
  5. Wholesale distribution. Manufacturers rarely ship to every pharmacy themselves. In the United States, three wholesalers account for more than 90% of drug distribution[6]. They run on thin margins and pass the cost of late deliveries and stockouts back to manufacturers through chargebacks and service-level penalties.
  6. Healthcare provider orders. Retail pharmacies, hospital networks, oncology centres and specialty mail-order pharmacies run tight budgets and small stockrooms. They depend on distributors hitting on-time, in-full targets, and they hold manufacturers to account when products go on backorder.
  7. Administration to the patient. At the point of care, pharmacists and clinical staff check the prescription and interactions, verify the unit’s serial number, confirm the cold chain held, then dispense or reconstitute the dose.

Four stakeholders, four different goals

Illustration of four people in a suit, a blazer, a lab coat and a work jacket pulling ropes tied to a single orange carton in opposite directions

A lot of friction in a pharma supply chain comes from people inside it wanting different things, all for good reasons.

  • Commercial wants every order filled and every tender won, so it asks for generous safety stock.
  • Finance watches the cash conversion cycle and holding costs, so it asks for less inventory.
  • Quality and regulatory affairs put patient safety and GMP compliance first. They will freeze a suite or hold finished lots for weeks during an out-of-specification investigation, whatever the delivery date.
  • Contract manufacturers (CMOs) want full suites and long runs, and as few cleanings and changeovers as possible.

When each of these plans in its own spreadsheet, alignment falls apart. The planner ends up between a sales team asking for more stock and a finance team asking for less. The commercial cost shows across the market: discontinuations of older products, as companies struggled to keep them profitable and compliant, rose by 40% in 2023[7].

Four root causes of shortages and write-offs

Illustration of a warehouse shelf stacked with plain white medicine cartons, most of them carrying small orange hold tags

When you trace shortages and write-offs back from the plant floor, most come from four causes. The damage lasts: the average US drug shortage now runs 5.3 years, up from about two years in 2019[8], according to the US Pharmacopeia.

  • Minimum remaining shelf life (MRSL). Every batch has a fixed expiry date, and wholesalers, hospital groups and national tenders demand that delivered stock has 12, 18 or 24 months left. A generic ERP counts units on a ledger. The warehouse report may show 50,000 units on hand, but if 30,000 of them fail the destination market’s MRSL, that stock can’t be sold there. Without pharma constraints applied in the plan, it turns into write-offs.
  • Deviations and slow batch release. Every process change goes through change control. When a batch has an environmental excursion or an out-of-specification result, it goes into quarantine. Recalls show the scale: 166 sites generated 912 recalls in FY2022[9], and deviations from CGMP were the most common cause. A plan that assumes instant release leaves the packaging line waiting for bulk that QA hasn’t approved.
  • Line clearance and changeovers. A tablet press or a sterile filler can’t switch products without line clearance, cleaning, mechanical changeover, clean-in-place and steam-in-place cycles, and swab tests. Without shop floor scheduling that models cleaning time, the plant falls behind the plan from the first week.
  • Single-source materials. Just under half, 48%, of new US drug shortages in 2026[10] (through the second quarter) involved sole-source products. One overseas synthesis site with an FDA Form 483 or an import alert can stop supply overnight. Planners who don’t track supplier performance and OTIF find out when the material stops arriving. PLAIO’s live drug shortages tracker follows the problem week by week.
PLAIO Inventory worksheet listing batches with location, batch number, quantity, cost, expiry date, months to expiry and sellable-until date
Inventory by batch in PLAIO, with expiry date, months to expiry and sellable-until date for each lot. Two Tablet 100mg batches, 3,800 boxes in total, expire in May 2027, five months out, while the other batches have twelve months left. Demo data.

Three objections to dedicated planning software

Moving off spreadsheets meets resistance. These are the objections we hear most, and the answers.

“Our ERP already does supply chain planning.” SAP S/4HANA, NetSuite and other ERPs are systems of record: they keep the ledger and post the purchase orders. Their planning runs work on aggregate quantities. They don’t calculate a batch’s sellable-until date, check MRSL by market, or sequence multi-day cleanings. Running planning in a separate layer that syncs with the ERP, as in our guide to PLAIO and SAP S/4HANA, gives planners room to move without touching the system of record.

“Excel is free, flexible, and the team knows it.” Excel gives you flexibility and no control. Formula errors stay hidden, versions multiply across email, and reconciling the numbers eats days each month. The licence costs little. The real bill arrives as expired batches, backorder penalties, air freight and hours spent rebuilding broken models.

“It will take years and millions in IT spend.” Older advanced planning systems did take multi-year projects. Cloud planning tools built for pharma come with ready data models and standard integrations, so a team can go live and validate the plan against its own history in weeks. See how onboarding works.

A five-step blueprint for a predictable pharma supply chain

More planners and bigger spreadsheets won’t fix this. These five steps will.

Step 1: Connect planning directly to the ERP

When the plan lives in exported spreadsheets, versions drift, formulas break and supplier updates disappear into email. We’ve written about what happens when the plan lives in a spreadsheet and about the limits of supply chain planning in Excel; getting out of that is the first step.

Connect planning to your transactional systems with ERP integrations, including supply planning on NetSuite. Syncing open purchase orders, process orders and inventory lots in both directions keeps master data and on-hand balances current without anyone copying numbers. With data management in one place, a change on the plant floor shows up across the plan straight away.

Step 2: Rolling, segmented forecasts instead of an annual budget

A forecast built once a year for the budget is out of date by spring. Use demand planning software to keep an 18 to 24-month rolling horizon, and test each statistical forecast against actual sales.

Measure forecast accuracy with error and bias kept apart. Positive bias ties up cash in stock that will expire; negative bias causes stockouts. Demand segmentation splits channels into profiles, so lumpy tender awards are forecast separately from steady pharmacy reorders and a tender spike doesn’t distort the baseline. Machine learning forecasting on top of those streams picks up seasonality and trend shifts that nobody has time to model by hand.

PLAIO Forecast Accuracy dashboard showing overall accuracy of 93.5%, error of 6.5% and bias of -1.1%, with accuracy, error and bias by product family
Forecast accuracy in PLAIO at a three-month lag over the last six months: 93.5% accuracy, 6.5% error and a bias of −1.1%, tracked separately. By product family, Injectables and Capsules over-forecast (+5.5% and +6.0% bias) while Oral Liquids under-forecast (−4.1%). Demo data.

Step 3: Simulate supply against real constraints

Calculate replenishment with a deterministic simulation, not estimates. Supply planning software nets gross requirements against supplier minimum order quantities, order increments, lead times and multi-level bills of materials.

The supply overview grid shows opening inventory, incoming deliveries, usage and projected closing inventory for every period. Suggested orders respect market shelf-life rules and component availability before they become firm orders in supply order management (the supply planning definitions explain each figure). With every location in the network in view, you avoid phantom shortages and keep buffer stock where it can actually be used.

PLAIO Supply Overview Grid with monthly rows for opening inventory, deliveries, usage, unsellable stock, closing inventory, safety stock, months of inventory, demand and lost sales from December 2026 to September 2027
The supply overview grid for one tablet SKU, December 2026 to September 2027. Deliveries stop after June 2027, so projected closing inventory falls from 3,998 boxes in July to −202 in August and −4,402 in September, against a safety stock of 1,000. Demo data.

Step 4: Tie the supply plan to finite scheduling on the floor

Pharma capacity planning connects inventory targets to what the plant can make. A finite production scheduler sequences work orders across cleanrooms, fill-finish suites and packaging lines; the production planner definitions cover how lines and resources are set up.

Following the production planning workflow, runs are lined up with maintenance windows, shift patterns and the changeover sequence that costs the least cleaning. Modelling line clearance, washouts and sterilisation hold times gives the floor a schedule it can run, not a target that collapses at the first breakdown.

PLAIO Production Planner timeline with Tablets, Oral Liquids, Capsules and Topicals batches scheduled weekly on dispensing, granulation and blending lines from December 2026 to February 2027, with a hatched maintenance shutdown band in mid-January
The main production schedule in PLAIO’s Production Planner: Tablets and Oral Liquids alternate on each Line 1 and Capsules and Topicals on each Line 2, across dispensing, granulation and blending. The hatched band in mid-January is a planned annual maintenance shutdown, and the first Tablets batches carry exception flags. Demo data.

Step 5: Resolve exceptions together

Put commercial, operations, finance and quality in one workspace for consensus planning. Instead of arguing over slide decks, they adjust demand, leave notes and sign off in one place, with a full audit trail.

Exception management finds problems automatically, using rules described in understanding exceptions: batches nearing their MRSL limit, component shortages that can’t be covered, supplier deliveries running late. Planners then use AI, ML and optimization to test what-ifs (split a batch, pull a campaign forward, reallocate finished goods) before a customer shipment fails. The same workflow covers your own plants and external CMOs, which is how virtual pharma companies plan.

PLAIO Exceptions worksheet filtered to injectables, listing inventory below safety stock, unfulfilled demand, stockouts and out-of-stock warnings for two injectable vials at the Germany and Nordic warehouses in July and August 2027
Supply exceptions filtered to injectables. For two vial SKUs, PLAIO flags inventory dropping below safety stock in July 2027, then unfulfilled demand, backorders and stock below zero in August, months before they happen. Demo data.

From constraint to advantage

Few supply chains are as demanding as pharma. API lanes cross continents, GMP controls are strict, the cold chain can’t break, and patient demand moves. Disconnected planning tools leave no margin for any of it.

A reliable pharma supply chain doesn’t need a multi-year IT programme or an army of analysts. It needs planning that holds demand, expiry dates and real plant capacity in one model. When planners see an exception weeks before it lands and decide with validated numbers, working capital is protected, production runs smoothly, and the medicine reaches the patient.

References

  1. Advisory Board. “The US drug shortage crisis, in 5 charts.” Advisory Board Daily Briefing, 13 June 2024. https://www.advisory.com/daily-briefing/2024/06/13/drug-shortages
  2. DCAT Value Chain Insights. “Drug Shortages on the Rise; US Gov't Proposes New Actions to Address.” Drug, Chemical & Associated Technologies Association, April 2024. https://www.dcatvci.org/features/drug-shortages-on-the-rise-us-govt-proposes-new-actions-to-address/
  3. “How America Can Reduce Its Dependence on Chinese Active Pharmaceutical Ingredients (citing U.S. Pharmacopeia data).” Information Technology and Innovation Foundation (ITIF), 31 August 2026. https://itif.org/publications/2026/08/31/how-america-reduce-dependence-chinese-active-pharmaceutical-ingredients-apis/
  4. Lori Solomon (HealthDay). “One in seven drug supply chain issue reports tied to drug shortages.” Medical Xpress, 10 April 2024. https://medicalxpress.com/news/2024-04-drug-chain-issue-shortages.html
  5. Tempk. “Cold Chain Management of Pharmaceutical Products: Best Practices, Regulations and Trends 2025.” Tempk, 10 November 2025. https://www.tempcontrolpack.com/knowledge/cold-chain-management-of-pharmaceutical-products-best-practices-regulations-and-trends-2025/
  6. Geoffrey Joyce. “The cost of misaligned incentives in the pharmaceutical supply chain.” Health Affairs Scholar 3(7), 25 June 2025. https://pmc.ncbi.nlm.nih.gov/articles/PMC12287691/
  7. Nicholas Saraceno. “Trade & Channel Strategies 2024: A Deep Dive into Drug Shortages.” Pharmaceutical Commerce, 12 December 2024. https://www.pharmaceuticalcommerce.com/view/deep-dive-drug-shortages
  8. Mary Van Beusekom. “US drug shortages have declined but now drag on for an average of 5 years, report shows.” CIDRAP, University of Minnesota, 2026. https://www.cidrap.umn.edu/resilient-drug-supply/us-drug-shortages-have-declined-now-drag-average-5-years-report-shows
  9. Wendy McGhee. “Understanding the Challenges in Drug Shortages.” ISPE Pharmaceutical Engineering (iSpeak), 12 March 2024. https://ispe.org/pharmaceutical-engineering/ispeak/understanding-challenges-drug-shortages
  10. Maggie L. Shaw. “Active US Drug Shortages Rise for Third Straight Quarter.” The American Journal of Managed Care (AJMC), 20 July 2026. https://www.ajmc.com/view/active-us-drug-shortages-rise-for-third-straight-quarter

For supply & inventory planners

Automate orders and balance supply with demand

Book a DemoExplore Supply Planning

Start smarter planning faster with PLAIO

Made for pharma supply chains by pharma supply chain experts

Book a Demo

Cookie settings

To enhance your experience on our site and to analyze traffic, we use cookies. By clicking "Accept All," you agree to the storing of cookies on your device for analytics purposes. You can manage your settings or learn more in our Privacy Policy.

Manage Settings
  • Your Privacy Matters to Us

    We use cookies to improve your browsing experience and analyze how our website is used. These cookies allow us to understand trends, monitor website traffic, and gather insights to make the site better for you.

    We respect your privacy and are committed to transparent data usage.

    Why Do We Use Cookies?

    Necessary Cookies: These ensure that the website functions properly.

    Analytics Cookies: These help us track site traffic, user behavior, and performance metrics. The data collected is anonymous and allows us to continuously optimize the site.

    Preferences Cookies: We may use cookies to remember your preferences and tailor your experience.

    Marketing Cookies: We may use cookies for marketing purposes.

    Your Control, Your Choice

    By clicking "Accept All," you consent to the use of all cookies. If you prefer, you can customize your choices and opt out of certain cookies. You can learn more about how we handle data and cookies in our Privacy Policy.