1Steps: drafting a GMP SOP with AI.
AI changes who writes the first draft, not who answers for the procedure. FDA requires production procedures and their changes to be “drafted, reviewed, and approved by the appropriate organizational units and reviewed and approved by the quality control unit”.1 Writing about inspection responses in June 2026, the MHRA put it plainly: “These responsibilities do not change because drafting tools have.”2 The work before approval does change:
- Approve the tool for this use. Before the first GMP draft, the process owner, with the system owner, IT and QA, records the tool’s intended use, a risk assessment, the agreement with the provider (including how you learn of a new model version), who checks its output and how a new version is assessed before use. A filled-in record for an LLM drafting tool is in ChatGPT and LLMs in GMP; re-running a few past briefs and reviewing the drafts with the checklist below is a quick test of a new version. The reason: FDA treats a CGMP workflow on a computer system as an intended use to validate, to an extent “commensurate with the risk posed by the automated system”,3 and EU GMP asks for a documented risk assessment, a formal agreement with any provider that processes the data, and changes made only “in a controlled manner in accordance with a defined procedure”.4 Reviewing every draft doesn’t replace this: EMA’s 2026 workshop recorded that oversight “cannot compensate for inadequate validation”.5 The testing is covered in how to validate AI in GxP; device makers have FDA’s February 2026 guidance on computer software assurance.6
- Brief it from your own sources. The author, usually the process owner or a subject matter expert, gives the tool the template, the current revision and the sources it may use (the brief is below).
- Edit and close the gaps. The author settles every point the sources leave open with the people who do the work, and walks the draft through where the work happens. HPRA puts in-depth knowledge of the process first among the conditions for accurate AI output.7
- Verify it independently. A technical reviewer checks it line by line (checklist below) and records each finding. The MHRA expects submissions to its compliance teams to be “technically reviewed by appropriately experienced people”, however they were drafted.2
- Approve the SOP. The quality unit approves or rejects every procedure affecting identity, strength, quality and purity.8 In the EU, documents containing instructions are approved, signed and dated by authorized persons, with a defined effective date.9
- Train before it takes effect. Each person is trained in the procedures that relate to their functions.10
- Review it periodically. Quality system documents are regularly reviewed and kept up to date,9 and each revision takes the same route.
The records: the tool’s approval record, with the assessment of each model version used; the change request, naming the tool and version; the brief and source list; the draft with its edits; the review findings; the approvals; the training records. Naming the tool lets you answer the question HPRA says inspectors may ask at the opening meeting: whether AI is used in any GMP system or process. An HPRA inspector also told the May 2026 QP Forum that a company calling a tool “business use only” must be sure it does not fall under GMP.7
2A prompt brief to paste and fill.
A brief keeps the draft inside your sources and makes every claim in it checkable. Paste the middle column and fill the brackets; the SOP template itself is in how to write a GMP SOP.
| Line | Paste and fill | Why |
|---|---|---|
| Scope | Draft revision [n] of [SOP number and title] for [site], which supplies [markets]. | Fixes the rules that apply; MHRA flags citations of regulatory frameworks without explanation of their relevance.2 |
| Sources | Use only the attached sources: [current revision, regulation sections, product file extracts, equipment manuals, site role list]. | EU documents should comply with the relevant parts of the product specification file and marketing authorization dossier.9 |
| Layout | Keep the headings of the attached template. | Instructions are laid out in an orderly fashion and are easy to check.9 |
| Style | Write each step as one instruction in the imperative, starting with the role that carries it out. | SOPs are written in an imperative mandatory style, with unambiguous contents.9 |
| Evidence | After each requirement, name the source and section and quote the sentence it rests on. Cite nothing that isn’t attached. | EMA advises asking an LLM to use only the content provided and to quote exact sentences so they can be checked.11 |
| Gaps | Where the sources don’t settle a point, write OPEN and the question. Don’t fill the gap. | Purolea’s AI agent never told it that process validation was required.12 |
| Records | List the records each step produces and who signs each one. | Production steps are documented at the time of performance.1 |
| Changes | List every change from revision [n−1] and the reason for it. | Changes are drafted, reviewed and approved like the procedure.1 |
Paste only what the tool is approved to receive. EMA’s principles for regulators’ own staff warn against putting personal data, trade secrets or contractually restricted data into a prompt, and against hidden text carried in copied documents.11
3Checklist: reviewing an AI-drafted SOP.
The MHRA’s June 2026 list of warning signs in unverified inspection responses is a good guide to how AI drafts fail: “factually incorrect statements or non-existent references”, generic language, missing organization-
| Check | How | Source |
|---|---|---|
| Requirements are real | Read each in the regulation, then ask what is missing | Purolea’s missed process validation12 |
| References exist | Open each one; confirm section and wording | Non-existent references2 |
| Right rules for the site | Remove frameworks that don’t apply, and drafts cited as law | Citations without relevance2 |
| Matches the product file | Compare limits, materials and steps with the dossier | Chapter 4, 4.29 |
| Matches the site | Real roles, rooms, equipment numbers and systems | Organization- |
| One instruction a step | Imperative, unambiguous, one action | Chapter 4, 4.3 and 4.49 |
| Required checks kept | Second-person checks and signatures the rules require | 211.186(a) for master records13 |
| Terms match other SOPs | Same names for roles, records and statuses | Inconsistent terminology2 |
| Training identified | Who is trained before the effective date | 211.25(a)10 |
4Example: the review record for one AI-drafted SOP.
Example, invented: a tablet site supplying the US revises SOP-PR-014, Preparation of master production and control records, from revision 03 to 04 with its approved AI assistant. The author supplied revision 03, the text of 21 CFR 211.186, the site role list and the master record template. The reviewer logged six findings.
| No. | The draft said | The check found | Revision 04 says |
|---|---|---|---|
| 1 | QA approves the master record with one electronic signature. | One person prepares and signs; a second independently checks and signs.13 | Step 5.2: a second process engineer independently checks, dates and signs. |
| 2 | Content “as listed in 21 CFR 211.186(c)”. | Section 211.186 has paragraphs (a) and (b) only.13 | Cites 211.186(b). |
| 3 | A content list with no yield limits. | 211.186(b)(7) requires the theoretical yield limits beyond which an investigation is required.13 | Adds the limits as item 7. |
| 4 | “Per EU GMP Annex 22, AI output must be reviewed.” | Annex 22 is a July 2025 draft, not part of EU GMP.14 | Deleted. |
| 5 | “The Production Manager prepares the record.” | No such role on the site role list. | “Process engineer: prepare, date and sign the record.” |
| 6 | “The record should be approved by QA.” | Passive, with no role or trigger; 211.186(a) requires this procedure to be followed.13 | “QA specialist: approve the checked record before it is issued for use.” |
Findings 1 and 3 would have left the procedure short of 21 CFR 211.186. Findings 2 and 4 cite text that doesn’t exist or doesn’t apply. Findings 5 and 6 leave steps nobody could follow. The change record, CC-26-118, names the assistant and its version, one the tool approval covers, holds the brief, the sources and this log, and closes in order: drafted 5 October 2026, reviewed 7 October, approved by QA 12 October, process engineers and QA specialists trained by 23 October, effective 26 October.
5What regulators have found.
FDA inspected Purolea Cosmetics Lab in Livonia, Michigan, in October 2025. The firm told investigators it had used AI agents to create drug product specifications, procedures and master production or control records.12
“If you use AI as an aid in document creation, you must review the AI generated documents to ensure they were accurate and actually compliant with CGMP. Your failure to do so is a violation of 21 CFR 211.22(c).” Purolea Cosmetics Lab, warning letter 320-26-58, 2 April 202612
The firm had not validated its process before distribution and said it did not know that was required, because the AI agent never told it. The letter is examined in FDA’s AI warning letter.
The MHRA has met the same failure in documents sent to its inspectors: references to MHRA guidance that doesn’t exist, and one AI-generated response to a serious deficiency that took the MHRA over 20 hours to review and answer instead of around 4.2
“Organisations have always been responsible for the accuracy of their responses to the MHRA and persons responsible for them have always been expected to verify factual claims.” MHRA Inspectorate, Use of AI for GXP inspection responses, 29 June 20262
6How FDA, EU GMP and the MHRA compare.
| Point | FDA | EU GMP | MHRA |
|---|---|---|---|
| Approval | Relevant units and the quality unit approve procedures; the quality unit approves specifications.1, | Approved, signed and dated by authorized persons, with an effective date.9 | For inspection responses, sign-off by someone with authority and accountability.2 |
| AI-drafted text | Review it for accuracy and CGMP compliance; the quality unit clears AI output.12 | Draft 4.24: accountability for the integrity of AI-produced documents rests with the regulated user.15 | Accurate, verifiable and backed by evidence, however drafted.2 |
| Telling the regulator | FDA heard of Purolea’s use because the firm said so.12 | Irish inspectors (HPRA) may ask at the opening meeting.7 | Optional: a statement, the sections AI helped with, and confirmation of human verification.2 |
7What is changing.
- EU Chapter 4. The revision consulted on from 7 July to 7 October 2025 names AI. Draft 4.24 places accountability for the integrity of documents, records and data produced or processed with AI on the regulated user, and 4.25 asks for support by AI to be part of the quality system, “regardless of the service located on premise or as a hosted service”.15,
16 - Timing. EMA’s inspectors’ work plan targets Q4 2026 for final texts of Chapter 4, Annex 11 and Annex 22.17 On 26 November 2026 EudraLex Volume 4 still lists the January 2011 Chapter 4 and no Annex 22.14
- Annex 22. The July 2025 draft keeps generative AI out of critical GMP applications and, in non-critical ones, makes qualified, trained people responsible for its output.18 After the consultation, EMA reports, the drafting group discussed widening it “to allow dynamic or adaptive models, probabilistic models, and Generative AI/LLMs in GMP applications, provided they comply with the requirements of the annex and are supported by a fully documented, robust, risk-based control strategy”; its 30 June 2026 workshop suggested there “may be viable pathways”.5 More is in what Annex 22 allows.
- FDA. Its January 2025 draft guidance on AI, still a draft on 26 November 2026, does not address AI used for operational efficiencies, such as internal workflows, “that do not impact patient safety, drug quality, or the reliability of results from a nonclinical or clinical study”.19 Either way the CGMP rules apply, as the Purolea letter shows; see FDA AI guidance.
8How it runs in Seal.
Neil can turn a procedure into a process: give it an SOP and it drafts a process configuration in Seal, with the steps, checks and approval gates mapped to the source procedure. Your team checks the intended use, resolves ambiguities, tests the configuration and releases it under change control. When an SOP changes, Neil can work through the revision: it reads the previous and proposed revisions and drafts a source-mapped change summary and proposed process updates, and the process and quality owners assess the impact, training and verification needed.
In Seal’s document control, the request, review, approval, change impact, training, effective date and supersession of a revision are one governed workflow, and a revision identifies the affected roles. Its AI drafting generates first drafts from templates and requirements, and those drafts go through the same review and approval as any other revision.
AQuestions and answers
Can AI write a master batch record?
It can draft one, but under FDA rules a master production and control record must be prepared, dated and signed by one person and independently checked, dated and signed by a second, and FDA accepts electronic signatures with appropriate controls for both. Purolea’s AI-created master records were among the documents in FDA’s 2026 citation.
Should we disclose that AI drafted a GMP document?
For responses sent to its compliance teams, the MHRA invites a short statement saying which sections AI helped with and confirming human verification, and says inspectors will view it positively. For internal procedures, name the tool in the change record so you can answer straight away if an inspector asks, as HPRA says they may at the opening meeting.
Who is accountable when an AI-drafted SOP is wrong?
The company and the people who approved it. FDA cited the failure to review AI-generated documents as a quality unit violation, and the EU’s draft Chapter 4 places accountability for the integrity of documents produced with AI on the regulated user. Using a supplier’s tool doesn’t move it: a key message recorded in EMA’s 2026 Annex 22 workshop report is that the regulated user remains accountable even when using third-party AI or cloud services.
References19 sources
References
- 121 CFR 211.100, Written procedures; deviations, paragraphs (a) and (b), eCFR, up to date as of 24 November 2026. https:/
/ www. ecfr. gov/ current/ title- 21/ section- 211. 100 (read 26 November 2026) - 2Use of AI for GXP inspection responses: setting standards without stifling innovation, MHRA Inspectorate blog, Medicines and Healthcare products Regulatory Agency, 29 June 2026. https:/
/ mhrainspectorate. blog. gov. uk/ 2026/ 06/ 29/ use- of- ai- for- gxp- inspection- responses- setting- standards- without- stifling- innovation/ (read 26 November 2026) - 3Data Integrity and Compliance With Drug CGMP: Questions and Answers, guidance for industry, FDA, December 2018, question 3. https:/
/ www. fda. gov/ media/ 119267/ download (read 26 November 2026) - 4EudraLex Volume 4, Annex 11: Computerised Systems, principle and sections 1, 2, 3.1 and 10, European Commission, in operation since 30 June 2011. https:/
/ health. ec. europa. eu/ system/ files/ 2016- 11/ annex11_ 01- 2011_ en_ 0. pdf (read 26 November 2026) - 5Multistakeholder workshop on expert contributions to artificial intelligence guidance development (Annex 22), report EMA/156789/2026, European Medicines Agency, workshop of 30 June 2026, introduction, sections 1.3, 1.6 and 2. https:/
/ www. ema. europa. eu/ en/ documents/ report/ report- multistakeholder- workshop- expert- contributions- artificial- intelligence- guidance- development- annex- 22_ en. pdf (read 26 November 2026) - 6Computer Software Assurance for Production and Quality Management System Software, guidance for industry and FDA staff, final, FDA Center for Devices and Radiological Health and Center for Biologics Evaluation and Research, February 2026, docket FDA-2022-D-0795. https:/
/ www. fda. gov/ regulatory- information/ search- fda- guidance- documents/ computer- software- assurance- production- and- quality- management- system- software (read 26 November 2026) - 7Question & Answers, questions 1 and 2, Richard O’Sullivan, GMP Inspector, Health Products Regulatory Authority (HPRA), QP Forum, Trinity College Dublin, 12 May 2026. https:/
/ www. tcd. ie/ media/ tcd/ pharmacy/ images/ qp- forums/ qp- forum- 2026/ presentations/ 9. 3- HPRA- QA. pdf (read 26 November 2026) - 821 CFR 211.22, Responsibilities of quality control unit, paragraph (c), eCFR, up to date as of 24 November 2026. https:/
/ www. ecfr. gov/ current/ title- 21/ section- 211. 22 (read 26 November 2026) - 9EudraLex Volume 4, Part I, Chapter 4: Documentation, sections 4.2 to 4.5, European Commission, in operation since 30 June 2011. https:/
/ health. ec. europa. eu/ system/ files/ 2016- 11/ chapter4_ 01- 2011_ en_ 0. pdf (read 26 November 2026) - 1021 CFR 211.25, Personnel qualifications, paragraph (a), eCFR, up to date as of 24 November 2026. https:/
/ www. ecfr. gov/ current/ title- 21/ section- 211. 25 (read 26 November 2026) - 11Guiding principles on the use of large language models in regulatory science and for medicines regulatory activities, section 5.1, European Medicines Agency, 29 August 2024. https:/
/ www. ema. europa. eu/ en/ documents/ other/ guiding- principles- use- large- language- models- regulatory- science- medicines- regulatory- activities_ en. pdf (read 26 November 2026) - 12Warning Letter 320-26-58 to Purolea Cosmetics Lab, MARCS-CMS 722591, FDA Center for Drug Evaluation and Research, 2 April 2026. https:/
/ www. fda. gov/ inspections- compliance- enforcement- and- criminal- investigations/ warning- letters/ purolea- cosmetics- lab- 722591- 04022026 (read 26 November 2026) - 1321 CFR 211.186, Master production and control records, eCFR, up to date as of 24 November 2026. https:/
/ www. ecfr. gov/ current/ title- 21/ section- 211. 186 (read 26 November 2026) - 14EudraLex Volume 4, Good Manufacturing Practice guidelines, European Commission. https:/
/ health. ec. europa. eu/ medicinal- products/ eudralex/ eudralex- volume- 4_ en (read 26 November 2026) - 15Chapter 4: Documentation, draft for consultation, paragraphs 4.24 and 4.25, European Commission and PIC/S, July 2025. https:/
/ health. ec. europa. eu/ document/ download/ fa336a6e- 753b- 46fc- b53b- 9178bacd8878_ en?filename=mp_ vol4_ chap4_ consultation_ guideline_ en. pdf (read 26 November 2026) - 16Stakeholders’ Consultation on EudraLex Volume 4, Good Manufacturing Practice Guidelines: Chapter 4, Annex 11 and New Annex 22, European Commission, opened 7 July 2025, closed 7 October 2025. https:/
/ health. ec. europa. eu/ consultations/ stakeholders- consultation- eudralex- volume- 4- good- manufacturing- practice- guidelines- chapter- 4- annex_ en (read 26 November 2026) - 17The 3-year work plan for the Inspectors Working Group, January 2026 to December 2028, European Medicines Agency, 2026. https:/
/ www. ema. europa. eu/ en/ documents/ other/ 3- year- work- plan- inspectors- working- group_ en. pdf (read 26 November 2026) - 18Annex 22: Artificial Intelligence, draft for consultation, section 1, European Commission and PIC/S, July 2025. https:/
/ picscheme. org/ docview/ 9715 (read 26 November 2026) - 19Considerations for the Use of Artificial Intelligence to Support Regulatory Decision-Making for Drug and Biological Products, draft guidance, FDA, January 2025, section II, docket FDA-2024-D-4689. https:/
/ www. fda. gov/ media/ 184830/ download (read 26 November 2026)
