Skip to main content

What is EU GMP Annex 22 on artificial intelligence, and what does it allow?

Annex 22 is a draft EU GMP annex on AI, not yet in force. The July 2025 draft allows only static, deterministic machine learning models in critical GMP uses, each tested against its intended use, pre-set criteria and independent test data, and bars generative AI and LLMs there, though EMA has discussed allowing them. EMA provisionally aims to give the Commission a final text in late 2026; meanwhile, list your AI uses and sort each by the draft.Checked against its sources on 25 November 2026. Latest change: On 25 November 2026 Annex 22 is still a draft with no date for coming into force; the consultation closed on 7 October 2025 and PIC/S still lists it among its drafts. 3 more changes. How these answers are made

Illustration of a seal reviewing RUN-214, with its 7.8-hour hold duration circled in red.

1Is Annex 22 in force?

No. On 25 November 2026 Annex 22 is still a draft. EudraLex Volume 4, where the Commission publishes final GMP annexes, lists no Annex 22, and its Annex 11 is still the January 2011 revision.1 The only published text is the July 2025 consultation draft, a six-page PDF on the Commission’s consultation page,2 which PIC/S still lists among its drafts.3

DateWhat happened
7 July 2025The Commission and PIC/S open a joint consultation on draft Annex 22, a revised Annex 11 and a revised Chapter 4, written by the EMA and PIC/S inspectors’ working group2,4
7 October 2025Consultation closes2
12 May 2026Ireland’s HPRA says the draft “is under revision and further focused stakeholder consultations are scheduled for 2026”5
30 June and 1 July 2026EMA workshop with AI experts on adaptive, probabilistic and generative AI6,7
2 October 2026EMA publishes the workshop report6,7
Fourth quarter of 2026EMA’s inspectors’ work plan target for giving the Commission a final text8

That target is for a text, not a date of application, and it is provisional. The plan was first published on 23 March 2026, before the workshop discussed widening the scope,9 and the Annex 15 revision, given the same Q4 2026 target, is now timetabled for publication in April 2028.8,10 The final annex will appear in EudraLex Volume 4 with the date it comes into operation.1

2What the draft allows.

The draft adds to Annex 11 for computerized systems used to manufacture medicinal products and active substances “where Artificial Intelligence models are used in critical applications with direct impact on patient safety, product quality or data integrity, e.g. to predict or classify data”. It covers machine learning models that learn their function from data, and only some kinds of them.11

Table 2. Section 1 of the July 2025 draft.11
Kind of modelCritical useNon-critical use
Static, deterministicCovered: allowed if it meets sections 2 to 10Not covered
Dynamic, learns in useNot covered; “should not be used”Not covered
Probabilistic outputNot covered; “should not be used”Not covered
Generative AI or LLMNot covered; “should not be used”Allowed, with qualified, trained staff always responsible for each output

Static means a model that does not adapt its performance during use by incorporating new data. Deterministic means identical inputs give identical outputs. The draft names generative AI and large language models separately, so under its wording an LLM configured to repeat its answers is still outside the annex.11 The draft gives no list of critical uses beyond its three tests of patient safety, product quality and data integrity, so the manufacturer decides for each use and records why.

2.1Example: an AI register sorted by the draft.

An invented sterile manufacturing site lists its AI uses. The classifications follow the draft’s definitions; another site with different controls could reach a different answer on AI-⁠04 and AI-⁠05.

Table 3. Example. An invented site’s register, for illustration.
ID and useModelCritical?Draft positionAction now
AI-⁠01 vial defectsFrozen image classifier rejecting vials on 100% inspectionYes: it decides rejectionCoveredApprove intended use and criteria, then test to sections 3 to 9
AI-⁠02 nightly retrainAI-⁠01 retrained each night on new imagesYesDynamic: should not be usedFreeze it; retrain only through change control and retest
AI-⁠03 plate countsFrozen model counting colonies on environmental monitoring platesYes: GMP dataCoveredTwo microbiologists confirm each test label
AI-⁠04 deviation draftsLLM drafts narratives; the investigator checks every statement against the records and owns the reportRecorded as noNon-critical, human in the loopKeep the record of each check
AI-⁠05 SOP chatbotLLM answers operators’ questions during batch workYes: operators may act on itShould not be usedRoute operators to the effective SOP
AI-⁠06 demand forecastModel predicting monthly volumes for planningNo GMP impactOutside the annexRecord why it is not GMP

Ireland’s HPRA, asked in May 2026 about using AI to write deviations, complaints and inspection responses, said “testing / confirming the outputs is key” and that the company and the people responsible for the GMP activity own the decisions made on them: hence AI-⁠04’s record of each check. Its inspectors may ask at the opening meeting whether AI is used in any GMP system, and a company calling a tool “business use only” “needs to be sure the system in question does not fall under the remit of GMP”: hence AI-⁠06’s written reason.5

3Annex 22 checklist: what a model needs.

What the draft expects of each covered model, and the evidence to keep:11

Table 4. A copyable checklist. Every line is draft text and may change.11
SectionWhat to haveEvidence to keep
2.1 PeopleProcess experts, QA, data scientists and IT involved, each with defined responsibilities and accessRoles and access list
2.2 DocumentationTraining, validation and test documentation reviewed by you, whether the model was trained in-house or suppliedReview record
3.1 Intended useThe task and the full input sample space, with rare variations, limitations and biased inputs; a process expert responsible; approved before acceptance testingApproved intended use
3.2 SubgroupsInputs divided where relevant, for example by decision, site, equipment or defect typeSubgroup definitions
3.3 Human in the loopWhere testing was reduced because a person decides, the operator’s responsibility written inOperator training and performance trend
4.1 to 4.3 CriteriaMetrics such as a confusion matrix, sensitivity, specificity or F1 score; criteria approved before testing and at least as good as the process replacedBaseline study of the current process
5.1 to 5.6 Test dataRepresentative, stratified, large enough for statistical confidence, labels verified; pre-processing pre-specified; exclusions justified; generated data “not recommended”Test data rationale
6.1 to 6.5 IndependenceTest data never used in training or validation; access-controlled with an audit trail; each use logged; staff who saw it kept out of training, or pairedAccess and usage logs
7.2 to 7.4 TestApproved test plan with script and metric calculations; deviations investigated; all records keptPlan, results, deviations
8.1 to 8.2 ExplainabilityFeatures behind each decision captured in testing, with SHAP, LIME or heat maps, and reviewedFeature review in the test approval
9.1 to 9.2 ConfidenceConfidence score logged for each outcome in testing; a threshold, with an “undecided” flag considered when confidence is very lowThreshold rationale
10.1 to 10.2 ControlModel, system and process under change and configuration control before use; unauthorized change detectableChange and configuration records
10.3 to 10.5 MonitoringPerformance and input drift monitored; human review recorded where testing relied on itMonitoring trend, review records

The method behind each line, from sample sizes to monitoring, is in how to validate AI for GxP; a qualification protocol for an inspection model is in AI visual inspection.

4How it runs in Seal.

In Seal’s computer system validation, the system that runs a model has a record of its supplier, its GxP rationale and its intended use, versioned and approved, with what is excluded from GxP scope. Supplier evidence is recorded against the claim it supports, with the gaps found. Each supplier release is a change control: its required Check passes only when every approved test case has a finished, passing run on the version being released, and a failed step raises a warning that has to be answered. Once the Check passes and every sign-off is given, publishing the change records the new validated version on the system.

Three lines of the checklist also carry over to Seal’s own AI. Neil uses large language models, so it decides nothing in GMP work: it helps set up configuration, which your team verifies and releases under change control, and drafts findings, which a qualified person assesses. Following how Neil fits Annex 22, you define the reviewer’s responsibility for each use (3.3), keep the request, sources, output and reviewer’s decision (10.5), and assess a change of model or AI configuration like any other change (10.1, 10.2). Which uses are critical stays your quality unit’s assessment, and AI can be limited or switched off for the organization.

5The judgment calls the draft leaves to you.

  • The baseline. Section 4.3 sets the bar at the performance of the process the model replaces and says “the performance should be known” for that process.11 If nobody has measured how often the current manual inspection or count is wrong, that study comes first.
  • A supplier’s model. Section 2.2 makes the regulated user review the documentation even when a supplier trained and tested the model, and a supplier’s update to the model is a change you should evaluate for retesting and be able to detect (10.1, 10.2).11 EMA’s workshop report records a presenter’s view of the consequence: if a third-party model or API cannot provide the outputs, rationale, logs or evidence needed for control, “the manufacturer cannot measure and justify the system adequately”.7
  • Human review as a reason to test less. Reduced testing moves the burden to the operator, whose training and performance are then monitored like any manual process; depending on criticality, every output may need review.11 More in human in the loop.

6What may change in the final text.

EMA’s workshop report says consultation comments supported allowing large language models and generative AI in GMP applications, “whether critical or non-critical”. The drafting group has discussed allowing dynamic, probabilistic and generative models “provided they comply with the requirements of the annex and are supported by a fully documented, robust, risk-based control strategy”.7

The report records discussion, not draft text, but its messages point one way:

  • Annex 22 may move to “an explicit performance-based acceptability framework”: define the intended use; weigh decision consequence, model influence, uncertainty, complexity and detectability; define and verify controls; monitor residual risk; and document the go or no-go conclusion.
  • Human oversight “cannot compensate for inadequate validation”, and accountability “cannot be delegated to AI”.7

The intended use, the risk assessment and the evidence package are needed under either version, so build those first.

7How Annex 22 sits beside Annex 11, the AI Act and FDA.

Annex 22 is extra guidance on top of Annex 11, whose principle is that replacing a manual operation should cause “no resultant decrease in product quality, process control or quality assurance”.12 The Annex 11 draft consulted on alongside it is covered in the Annex 11 revision.

Annex 22 is not part of the EU AI Act, Regulation (EU) 2024/1689, although its glossary takes the Act’s definition of an AI system from Article 3(1) word for word.11,13 How the Act applies is in the EU AI Act and pharma. FDA’s nearest document is its January 2025 draft guidance, which sets a credibility assessment for each context of use; see FDA’s AI guidance.14

FDA has no AI annex, but it already holds firms to what the draft asks of LLM use: qualified people responsible for every output. Its warning letter 320-⁠26-⁠58 to Purolea Cosmetics Lab, 2 April 2026, cited 21 CFR 211.22(c) because the firm used AI agents to write specifications, procedures and master records without reviewing them, and said any AI output used for CGMP work “must be reviewed and cleared by an authorized human representative of your firm’s QU”, its quality unit.15 More in FDA’s first AI warning letter.

AQuestions and answers

Where can I download the Annex 22 draft?

From the European Commission’s page for the July 2025 consultation on Chapter 4, Annex 11 and Annex 22, which links the draft as a six-page PDF. PIC/S links the same draft from its news item of 7 July 2025. That draft is still the only published text.

Will the MHRA apply Annex 22 in the UK?

Not automatically. Under the Human Medicines Regulations 2012, the EU GMP guidelines that applied at the end of 2020 continue in the UK unless MHRA replaces them, after consultation, to take account of technical or scientific progress. A final Annex 22 would therefore apply in the UK only once MHRA adopts it. The draft was written with PIC/S, of which MHRA is a member, and a UK site that supplies the EU should plan on meeting it.

Does Annex 22 cover AI in QC laboratories?

Yes, where the model is static, deterministic and critical. The draft applies to computerized systems used in manufacturing medicinal products and active substances, and quality control testing is part of that GMP work. A model that counts colonies, reads chromatograms or classifies test results produces GMP data, so it usually has a direct impact on data integrity.

Does Annex 22 apply to AI in clinical trials or pharmacovigilance?

Not to running them. Its scope is manufacturing, so AI used in making a trial’s investigational medicines is GMP work, which the Clinical Trials Regulation requires. AI in trial conduct and in pharmacovigilance falls under good clinical practice and good pharmacovigilance practice, and EMA’s 2024 reflection paper on AI in the medicinal product lifecycle covers both.

Does Annex 22 apply to an AI model we buy from a supplier?

Yes, if the model is in scope: static, deterministic and used in a critical application. The draft says the documentation of training, validation and testing should be available to, and reviewed by, the regulated user whether the model was built in-house or supplied. If a supplier will not share it, you cannot show that the model meets the annex.

References15 sources

References

  1. 1EudraLex Volume 4, Good Manufacturing Practice guidelines, European Commission. https://health.ec.europa.eu/medicinal-products/eudralex/eudralex-volume-4_en (read 25 November 2026)
  2. 2Stakeholders’ Consultation on EudraLex Volume 4, Good Manufacturing Practice Guidelines: Chapter 4, Annex 11 and New Annex 22, European Commission, open 7 July to 7 October 2025. https://health.ec.europa.eu/consultations/stakeholders-consultation-eudralex-volume-4-good-manufacturing-practice-guidelines-chapter-4-annex_en (read 25 November 2026)
  3. 3Publications, latest drafts, PIC/S, listing the Annex 22 draft of 7 July 2025. https://picscheme.org/en/publications?tri=draft (read 25 November 2026)
  4. 4Joint stakeholders consultation on the revision of Chapter 4 on Documentation, Annex 11 on Computerised Systems and on the new Annex 22 on Artificial Intelligence of the PIC/S and EU GMP Guides, PIC/S, 7 July 2025. https://picscheme.org/en/news/131/joint-stakeholders-consultation-on-the-revision-of-chapter-4 (read 25 November 2026)
  5. 5Question & Answers, QP Forum, Trinity College Dublin, questions 1 and 2, Richard O’Sullivan, GMP Inspector, Health Products Regulatory Authority (HPRA), 12 May 2026. https://www.tcd.ie/media/tcd/pharmacy/images/qp-forums/qp-forum-2026/presentations/9.3-HPRA-QA.pdf (read 25 November 2026)
  6. 6Good manufacturing practice: Multistakeholder workshop on expert contributions to artificial intelligence guidance development (Annex 22), event page, report first published 2 October 2026, European Medicines Agency. https://www.ema.europa.eu/en/events/good-manufacturing-practice-multistakeholder-workshop-expert-contributions-artificial-intelligence-guidance-development-annex-22 (read 25 November 2026)
  7. 7Multistakeholder workshop on expert contributions to artificial intelligence guidance development (Annex 22), report, EMA/156789/2026, European Medicines Agency, introduction, sections 1.2 to 1.6 and next steps. https://www.ema.europa.eu/en/documents/report/report-multistakeholder-workshop-expert-contributions-artificial-intelligence-guidance-development-annex-22_en.pdf (read 25 November 2026)
  8. 8The 3-year work plan for the GMDP Inspectors Working Group, January 2026 to December 2028, European Medicines Agency, GMP Guide items. https://www.ema.europa.eu/en/documents/other/3-year-work-plan-inspectors-working-group_en.pdf (read 25 November 2026)
  9. 9Good Manufacturing Practice (GMP) / Good Distribution Practice (GDP) Inspectors Working Group, governance documents, European Medicines Agency. https://www.ema.europa.eu/en/human-regulatory-overview/research-development/compliance-research-development/good-manufacturing-practice/good-manufacturing-practice-gmp-good-distribution-practice-gdp-inspectors-working-group (read 25 November 2026)
  10. 10Concept paper on the revision of Annex 15, corrigendum, EMA/INS/GMP/163466/2026, section 4, European Medicines Agency, updated 15 July 2026. https://www.ema.europa.eu/en/documents/scientific-guideline/concept-paper-revision-guidelines-good-manufacturing-practice-medicinal-products-annex-15-qualification-validation-corrigendum_en.pdf (read 25 November 2026)
  11. 11EudraLex Volume 4, Annex 22: Artificial Intelligence, draft for consultation, sections 1 to 10 and glossary, European Commission and PIC/S, July 2025. https://health.ec.europa.eu/document/download/5f38a92d-bb8e-4264-8898-ea076e926db6_en?filename=mp_vol4_chap4_annex22_consultation_guideline_en.pdf (read 25 November 2026)
  12. 12EudraLex Volume 4, Annex 11: Computerised Systems, principle, European Commission, in operation since 30 June 2011. https://health.ec.europa.eu/system/files/2016-11/annex11_01-2011_en_0.pdf (read 25 November 2026)
  13. 13Article 3, Definitions, point (1), Regulation (EU) 2024/1689 as amended by the Digital Omnibus on AI, AI Act Service Desk, European Commission, consolidated text as at 27 July 2026. https://ai-act-service-desk.ec.europa.eu/en/ai-act/article-3 (read 25 November 2026)
  14. 14Considerations for the Use of Artificial Intelligence To Support Regulatory Decision-⁠Making for Drug and Biological Products, draft guidance page, FDA, January 2025. https://www.fda.gov/regulatory-information/search-fda-guidance-documents/considerations-use-artificial-intelligence-support-regulatory-decision-making-drug-and-biological (read 25 November 2026)
  15. 15Purolea Cosmetics Lab, warning letter 320-⁠26-⁠58, MARCS-⁠CMS 722591, FDA, 2 April 2026. https://www.fda.gov/inspections-compliance-enforcement-and-criminal-investigations/warning-letters/purolea-cosmetics-lab-722591-04022026 (read 25 November 2026)

See your process in Seal.

Bring a procedure or a recurring problem. See how your team configures it with Neil and improves the next run.