1LIMS vs MES vs QMS at a glance.
Each system holds part of what regulators treat as one body of records about a product.
| System | Organized around | What it holds | Rules for those records |
|---|---|---|---|
| LIMS | The sample and its tests | Samples, methods, specifications, results, stability data | 21 CFR 211.160, 211.1941, |
| MES or eBR | The batch and its steps | Master records and each batch’s execution record | 21 CFR 211.186, 211.1884, |
| QMS | The quality event | Procedures, training, deviations, investigations, CAPA, change control, complaints | 21 CFR 211.25, 211.100, 211.192, 211.1986, |
| ERP | The order and the stock | Purchasing, inventory, distribution | 21 CFR 211.184, 211.1961 |
ISA-95 places MES at Level 3, manufacturing operations management, and ERP among the Level 4 business systems.11 For the ERP boundary in detail, see MES vs ERP; for the laboratory, LIMS vs ELN.
2What crosses each join, and who owns it.
Integration trouble gathers in a few records that one system owns and others need. Copy this register: name one system of record for each, let the others read it rather than keep a copy, and have QA approve it.
| Record | System of record | Read by | Check at the join | Rule |
|---|---|---|---|---|
| Lot status | [ERP, QMS or MES], set by the quality unit | MES, at dispense | Read live; a mismatch blocks use | 211.84(a), 211.89, 211.101(c)(1)1; EU GMP 3.21, 5.3412, |
| Training status | [QMS or learning system] | MES, before each step | Expired training blocks the step | 211.25(a)6; FDA Q&A14 |
| Master record version | [MES or document system], changed only by change control | ERP, MES | Bill of materials and dispense targets match it | 211.100(a), 211.186(a), 211.188(a), 211.68(b)7, |
| Specification, method | [LIMS or QMS] | LIMS | Version recorded with each result | 211.160(a), 211.194(a)(2)1, |
| Sample request | [MES] | LIMS | Source, quantity and date taken arrive with it | 211.110(a), 211.194(a)(1)1, |
| Test result | [LIMS] | MES, QMS | Value, unit, qualifier and limit arrive unchanged | 211.110(c), 211.188(b)(5), 211.194(a)(5) and (6)1, |
| Deviation or OOS | [QMS] | MES, LIMS, reviewer | Linked to batch and result; open ones flagged at release | 211.100(b), 211.188(b)(12), 211.1927, |
| Batch record | [MES] | Reviewer; in the EU, the QP | Complete and reviewed before release | 211.1928; Annex 16, 1.7.1116 |
| Complaint | [QMS] | Annual product review | Linked to batch; trended with deviations | 211.198, 211.180(e)9, |
Two joins need the most care. Lot status, because a copy that lags the quality unit’s decision lets rejected material into a batch, which the quarantine system of 211.89 exists to prevent.1 And results, because a failure is investigated across the join. FDA expects that “The records and documentation of the manufacturing process should be fully reviewed to determine the possible cause of the OOS result(s)”,18 and 211.192 extends the investigation to other batches and products that may be affected.8 A result the investigation invalidates stays in the batch record given to the quality unit, with the report that justifies it.19 In the EU “All records should be available to the Qualified Person”.20
Keep the register with the system inventory and, for critical systems, the description of “data flows and interfaces with other systems or processes” that Annex 11 asks for.21 One edge case: FDA has said CGMP training records should not be kept solely in a filing system, such as an HR system, that the firm considers largely outside FDA’s inspectional authority.14
3Separate systems or one platform?
Neither Part 211 nor Annex 11 sets how many systems hold the records: Part 211 sets the records and who reviews them, and Annex 11 applies to “all forms of computerised systems”.1,
| Situation | Lean toward | Because |
|---|---|---|
| Made and tested at a CDMO | Their MES and LIMS hold batch and test records; your QMS holds the agreement, your review and your release | FDA: the owner’s quality unit approves or rejects, including for final release22. EU: outsourced records are kept by, or available to, the contract giver23 |
| Results retyped by hand | An automated transfer, or a second check of each entry | Critical manual entries need an extra check, by a second person or validated electronic means21 |
| Choosing new systems | Count the interfaces each option creates; assess each supplier and agree responsibilities in writing | Supplier competence is a key factor; formal agreements must exist, with clear responsibilities21 |
| Keeping or replacing one | Keeping a validated system: one validated interface. Replacing it: validate the migration of its records | Validation should include checks that data are not altered “in value and/or meaning”21; migration is “often underestimated”24 |
When a CDMO makes and tests the product, the joins are mostly documents rather than interfaces. FDA’s quality agreement guidance asks the agreement to say which party qualifies and maintains the systems used, “information technology and automated control systems” included, who investigates deviations and OOS results, and how “all laboratory test results conducted by contract facilities” go to the owner “for evaluation and consideration in final product disposition decisions”.22 It covers commercial manufacturing, though FDA says many of its principles could be applied earlier. EU GMP makes the contract giver responsible for “reviewing and assessing the records and the results related to the outsourced activities”.23 See what a quality agreement should include.
One platform removes interfaces between laboratory, manufacturing and quality records; it doesn’t remove validation of each workflow for its intended use,19 and it makes one supplier critical. Moving to one means migrating records: see how to validate a data migration.
4Example: one OOS result across three systems.
Example, all invented. Product A tablets are labeled 100 mg as the free base; the API is the hydrochloride salt, salt factor 1.075. Change control CC-26-031 added a 100,000-tablet batch size for Product A and new batch sizes for two other products. The approved master record, MBR-A version 5, calls for 10.750 kg of salt (10.000 kg × 1.075) and makes the blend up to a fixed weight with filler. The ERP bill of materials for the new size was entered as 10.000 kg, and the MES took its dispense targets from the ERP.
| Date, 2026 | System | Record | What it shows |
|---|---|---|---|
| 1 October | MES | Dispense, Batch 26-041 | API lot R-2231 read as released. Target 10.000 kg, actual 10.004 kg, inside ±0.5% |
| 5 October | LIMS | Sample S-26-0877 | 60 tablets from Batch 26-041, with source, quantity and date taken |
| 7 October | LIMS | Assay result | 93.1% of label claim against 95.0 to 105.0%: out of specification |
| 7 October | QMS | Investigation INV-26-112 | Opened from the result, linked to the sample, method and batch |
| 8 October | LIMS | Phase I review | Calculations, standard, system suitability and preparation checked; no laboratory error |
| 9 October | MES | Batch record read | Target 10.000 kg against 10.750 kg in MBR-A version 5 |
| 14 October | QMS, ERP, MES | Disposition | Batches 26-041 and 26-042 rejected; both blocked in ERP and MES |
The arithmetic closes the case: 10.004 kg of salt is 10.004 ÷ 1.075 = 9.306 kg of base, 93.1% of the 10.000 kg intended, which is the assay result. The weigh check passed because it compared the actual weight with the wrong target. Section 211.188(a) requires the batch record to contain “An accurate reproduction of the appropriate master production or control record”; here it reproduced the ERP instead.5 The investigation extended to Batch 26-042, dispensed on 6 October from the same target, and to the two other products whose bills of materials changed under CC-26-031; their targets matched their master records.8 Batch 26-041 was rejected, as 211.165(f) requires for product failing its specification, and Batch 26-042 with it.1
CAPA-26-019 makes the approved master record the only source of dispense targets and adds an interface check that stops a process order when the ERP quantity differs from it. See how to run an OOS investigation.
5What to validate at each join.
- Annex 11 asks for “appropriate built-in checks for the correct and secure entry and processing of data” wherever systems exchange data,21 and 21 CFR 211.68(b) requires input to and output from a computer system to be checked for accuracy.15
- PIC/S expects interfaces to be assessed during validation “to ensure the correct and complete transfer of data”,25 and MHRA expects the transfer to be validated, with an audit trail, and “Any changes in the middle layer software” managed through the quality system.24
- Annex 11 puts every change, configuration included, under a defined procedure and asks for periodic evaluation.21 An upgrade on either side of an interface is such a change.
- Test the failure paths, not only the happy one: a rejected lot, a lost message, a changed unit, a bill of materials that differs from the master record. The draft Annex 11 names “boundary and negative testing, reports and interfaces” as a focus of testing.26
6How inspectors find the gaps.
Inspectors follow a failure from the line or the laboratory into the quality system and back. In 2025 FDA wrote to one contract manufacturer:
Your investigations frequently lacked data supporting the assigned root cause(s), were not adequately expanded to include all potentially affected drug products, were not formally or adequately documented in your deviation system, and/or did not assess the effectiveness of corrective actions taken.
Catalent Indiana, LLC, warning letter 320-26-20, 20 November 2025.27
A new system is not a remedy by itself. After errors in annual product reviews, one firm proposed “using enterprise resource planning to compile QMS data online”. FDA replied:
You did not explain how your use of an enterprise resource planning system will prevent APR errors in the future.
Vital Laboratories Pvt Ltd, warning letter 320-18-01, 10 October 2017.28 Where integration is the fix, FDA says so. Writing on 28 July 2023 to Intas Pharmaceuticals Limited, whose balance printout time stamps did not match its LIMS records, FDA asked for “Technological improvements to increase the integration of data generated through electronic systems from standalone equipment (e.g., balances, pH meters, water content testing) into the LIMS network.”29
7What changed in 2025 and 2026.
The EU published drafts of Annex 11 and Chapter 4 for consultation on 7 July 2025;30 on 26 November 2026 the Commission still lists the 2011 texts as current.31 The draft Annex 11 would ask for interface requirements, process maps and data flow diagrams in system requirements such as the URS (6.1, 6.2), and for critical data moved between systems to rely on “validated interfaces rather than on manual transcriptions” where possible (10.2).26 See what the Annex 11 revision changes.
8How it runs in Seal.
Seal covers LIMS, ELN, MES and QMS on a shared ontology, with defined record types and relationships across your operations, so a batch links to its samples, results and quality events; see the platform. In manufacturing execution a lab result belongs to the batch step it governs and a deviation opens with the affected material, equipment and procedure in view. In the LIMS a result over its limit opens an investigation linked to its source, method and specification. In the QMS each event opens with its evidence, read from Seal or from the ERP, LIMS, MES and training systems you already run.
You don’t have to replace the systems you have. Start with a defined job and the records it needs, then agree which system owns each record, what can be read or written and how the connection will be verified.
AQuestions and answers
What is the difference between a LIMS and an MES?
An MES runs production: it executes the approved master record step by step and creates the batch record. A LIMS runs testing: it registers samples, assigns methods and specifications, and records results. They meet at sampling and at results, when an in-process or release result decides whether the batch can move on.
What is the difference between a LIMS and a QMS?
A LIMS runs laboratory work: samples, tests, specifications and results. A QMS runs the quality system: procedures, training, deviations, CAPA, change control and complaints. They meet when a result fails, because the out-
What is the difference between an MES and a QMS?
An MES runs each batch: it executes the approved master record step by step and records what was done. A QMS runs the quality system around production: the procedures and training behind each step, and the deviations, CAPA and change control that follow when something differs from plan. They meet when a step goes wrong: the deviation is recorded in the batch record and investigated in the QMS, and the reviewer needs both before deciding on the batch.
References31 sources
References
- 121 CFR Part 211, Current Good Manufacturing Practice for Finished Pharmaceuticals, sections 211.84, 211.89, 211.101, 211.110, 211.160, 211.165, 211.184 and 211.196, eCFR. https:/
/ www. ecfr. gov/ current/ title- 21/ chapter- I/ subchapter- C/ part- 211 (read 26 November 2026) - 221 CFR 211.194, Laboratory records, eCFR. https:/
/ www. ecfr. gov/ current/ title- 21/ chapter- I/ subchapter- C/ part- 211/ subpart- J/ section- 211. 194 (read 26 November 2026) - 3EudraLex Volume 4, Chapter 6: Quality Control, European Commission, in operation from 1 October 2014. https:/
/ health. ec. europa. eu/ system/ files/ 2016- 11/ 2014- 11_ vol4_ chapter_ 6_ 0. pdf (read 26 November 2026) - 421 CFR 211.186, Master production and control records, eCFR. https:/
/ www. ecfr. gov/ current/ title- 21/ chapter- I/ subchapter- C/ part- 211/ subpart- J/ section- 211. 186 (read 26 November 2026) - 521 CFR 211.188, Batch production and control records, eCFR. https:/
/ www. ecfr. gov/ current/ title- 21/ chapter- I/ subchapter- C/ part- 211/ subpart- J/ section- 211. 188 (read 26 November 2026) - 621 CFR 211.25, Personnel qualifications, eCFR. https:/
/ www. ecfr. gov/ current/ title- 21/ chapter- I/ subchapter- C/ part- 211/ subpart- B/ section- 211. 25 (read 26 November 2026) - 721 CFR 211.100, Written procedures; deviations, eCFR. https:/
/ www. ecfr. gov/ current/ title- 21/ chapter- I/ subchapter- C/ part- 211/ subpart- F/ section- 211. 100 (read 26 November 2026) - 821 CFR 211.192, Production record review, eCFR. https:/
/ www. ecfr. gov/ current/ title- 21/ chapter- I/ subchapter- C/ part- 211/ subpart- J/ section- 211. 192 (read 26 November 2026) - 921 CFR 211.198, Complaint files, eCFR. https:/
/ www. ecfr. gov/ current/ title- 21/ chapter- I/ subchapter- C/ part- 211/ subpart- J/ section- 211. 198 (read 26 November 2026) - 10ICH Q10, Pharmaceutical Quality System, ICH, 4 June 2008, section 3.2. https:/
/ database. ich. org/ sites/ default/ files/ Q10%20Guideline. pdf (read 26 November 2026) - 11ISA-95 Series of Standards: Enterprise-Control System Integration, International Society of Automation. https:/
/ www. isa. org/ standards- and- publications/ isa- standards/ isa- 95- standard (read 26 November 2026) - 12EudraLex Volume 4, Chapter 3: Premises and Equipment, European Commission, in operation from 1 March 2015, section 3.21. https:/
/ health. ec. europa. eu/ system/ files/ 2016- 11/ chapter_ 3_ 0. pdf (read 26 November 2026) - 13EudraLex Volume 4, Chapter 5: Production, European Commission, in operation from 1 March 2015, section 5.34. https:/
/ health. ec. europa. eu/ system/ files/ 2016- 11/ chapter_ 5_ 0. pdf (read 26 November 2026) - 14Questions and Answers on Current Good Manufacturing Practice Requirements: Records and Reports, FDA, answer dated 16 November 2022. https:/
/ www. fda. gov/ drugs/ guidances- drugs/ questions- and- answers- current- good- manufacturing- practice- requirements- records- and- reports (read 26 November 2026) - 1521 CFR 211.68, Automatic, mechanical, and electronic equipment, eCFR. https:/
/ www. ecfr. gov/ current/ title- 21/ chapter- I/ subchapter- C/ part- 211/ subpart- D/ section- 211. 68 (read 26 November 2026) - 16EudraLex Volume 4, Annex 16: Certification by a Qualified Person and Batch Release, European Commission, in operation from 15 April 2016, section 1.7.11. https:/
/ health. ec. europa. eu/ system/ files/ 2016- 11/ v4_ an16_ 201510_ en_ 0. pdf (read 26 November 2026) - 1721 CFR 211.180, General requirements, eCFR. https:/
/ www. ecfr. gov/ current/ title- 21/ chapter- I/ subchapter- C/ part- 211/ subpart- J/ section- 211. 180 (read 26 November 2026) - 18Investigating Out-
of- Specification (OOS) Test Results for Pharmaceutical Production, Guidance for Industry, Revision 1, FDA, May 2022, sections III and IV.A. https:/ / www. fda. gov/ media/ 158416/ download (read 26 November 2026) - 19Data Integrity and Compliance With Drug CGMP: Questions and Answers, Guidance for Industry, FDA, December 2018, questions 2 and 3. https:/
/ www. fda. gov/ media/ 119267/ download (read 26 November 2026) - 20EudraLex Volume 4, Chapter 4: Documentation, European Commission, in operation from 30 June 2011, section 4.27. https:/
/ health. ec. europa. eu/ system/ files/ 2016- 11/ chapter4_ 01- 2011_ en_ 0. pdf (read 26 November 2026) - 21EudraLex Volume 4, Annex 11: Computerised Systems, European Commission, in operation from 30 June 2011, principle and sections 3, 4.3, 4.8, 5, 6, 10 and 11. https:/
/ health. ec. europa. eu/ system/ files/ 2016- 11/ annex11_ 01- 2011_ en_ 0. pdf (read 26 November 2026) - 22Contract Manufacturing Arrangements for Drugs: Quality Agreements, Guidance for Industry, FDA, November 2016, sections I, III and IV.B. https:/
/ www. fda. gov/ media/ 86193/ download (read 26 November 2026) - 23EudraLex Volume 4, Chapter 7: Outsourced Activities, European Commission, in operation from 31 January 2013, sections 7.8 and 7.16. https:/
/ health. ec. europa. eu/ system/ files/ 2016- 11/ vol4- chap7_ 2012- 06_ en_ 0. pdf (read 26 November 2026) - 24‘GXP’ Data Integrity Guidance and Definitions, Revision 1, MHRA, March 2018, section 6.8. https:/
/ assets. publishing. service. gov. uk/ media/ 5aa2b9ede5274a3e391e37f3/ MHRA_ GxP_ data_ integrity_ guide_ March_ edited_ Final. pdf (read 26 November 2026) - 25PI 041-1, Good Practices for Data Management and Integrity in Regulated GMP/GDP Environments, PIC/S, 1 July 2021, section 9.4. https:/
/ picscheme. org/ docview/ 4234 (read 26 November 2026) - 26Annex 11: Computerised Systems, draft revision for joint consultation, European Commission and PIC/S, July 2025, sections 6.1, 6.2, 9.6 and 10.2. https:/
/ picscheme. org/ docview/ 9714 (read 26 November 2026) - 27Warning Letter 320-26-20, Catalent Indiana, LLC, FDA, 20 November 2025. https:/
/ www. fda. gov/ inspections- compliance- enforcement- and- criminal- investigations/ warning- letters/ catalent- indiana- llc- 718189- 11202025 (read 26 November 2026) - 28Warning Letter 320-18-01, Vital Laboratories Pvt Ltd Plant II, FDA, 10 October 2017. https:/
/ www. fda. gov/ inspections- compliance- enforcement- and- criminal- investigations/ warning- letters/ vital- laboratories- pvt- ltd- plant- ii- 527253- 10102017 (read 26 November 2026) - 29Warning Letter 320-23-20, Intas Pharmaceuticals Limited, FDA, 28 July 2023. https:/
/ www. fda. gov/ inspections- compliance- enforcement- and- criminal- investigations/ warning- letters/ intas- pharmaceuticals- limited- 652067- 07282023 (read 26 November 2026) - 30Stakeholders’ Consultation on EudraLex Volume 4, Good Manufacturing Practice Guidelines: Chapter 4, Annex 11 and New Annex 22, European Commission, opened 7 July 2025, deadline 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) - 31EudraLex Volume 4, Good Manufacturing Practice guidelines, European Commission. https:/
/ health. ec. europa. eu/ medicinal- products/ eudralex/ eudralex- volume- 4_ en (read 26 November 2026)
