Skip to main content

How do LIMS, MES and QMS fit together, and do you need separate systems?

A LIMS holds samples, methods, specifications and results; an MES runs each batch from the approved master record and creates the batch record; a QMS holds procedures, training, deviations, CAPA and change control. They meet at lot status, results, deviations and release. GMP rules set the records, not the number of systems: each electronic interface must be validated, and when a CDMO makes the product, the quality agreement sets how its records reach your quality unit.Checked against its sources on 26 November 2026. How these answers are made

Illustration of a seal beside a laptop showing a data table and an evidence binder linked by a red thread.

1LIMS vs MES vs QMS at a glance.

Each system holds part of what regulators treat as one body of records about a product.

Table 1. What each system holds, and the rules for those records.
SystemOrganized aroundWhat it holdsRules for those records
LIMSThe sample and its testsSamples, methods, specifications, results, stability data21 CFR 211.160, 211.1941,2; EU GMP Chapter 63
MES or eBRThe batch and its stepsMaster records and each batch’s execution record21 CFR 211.186, 211.1884,5
QMSThe quality eventProcedures, training, deviations, investigations, CAPA, change control, complaints21 CFR 211.25, 211.100, 211.192, 211.1986,7,8,9; ICH Q10, 3.210
ERPThe order and the stockPurchasing, inventory, distribution21 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.

Table 2. Template: a system-of-record register, one row per record.
RecordSystem of recordRead byCheck at the joinRule
Lot status[ERP, QMS or MES], set by the quality unitMES, at dispenseRead live; a mismatch blocks use211.84(a), 211.89, 211.101(c)(1)1; EU GMP 3.21, 5.3412,13
Training status[QMS or learning system]MES, before each stepExpired training blocks the step211.25(a)6; FDA Q&A14
Master record version[MES or document system], changed only by change controlERP, MESBill of materials and dispense targets match it211.100(a), 211.186(a), 211.188(a), 211.68(b)7,4,5,15
Specification, method[LIMS or QMS]LIMSVersion recorded with each result211.160(a), 211.194(a)(2)1,2
Sample request[MES]LIMSSource, quantity and date taken arrive with it211.110(a), 211.194(a)(1)1,2
Test result[LIMS]MES, QMSValue, unit, qualifier and limit arrive unchanged211.110(c), 211.188(b)(5), 211.194(a)(5) and (6)1,5,2
Deviation or OOS[QMS]MES, LIMS, reviewerLinked to batch and result; open ones flagged at release211.100(b), 211.188(b)(12), 211.1927,5,8
Batch record[MES]Reviewer; in the EU, the QPComplete and reviewed before release211.1928; Annex 16, 1.7.1116
Complaint[QMS]Annual product reviewLinked to batch; trended with deviations211.198, 211.180(e)9,17

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,21 The choice is where the work of joining records sits.

Table 3. Decision aid: where the joins should sit.
SituationLean towardBecause
Made and tested at a CDMOTheir MES and LIMS hold batch and test records; your QMS holds the agreement, your review and your releaseFDA: 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 handAn automated transfer, or a second check of each entryCritical manual entries need an extra check, by a second person or validated electronic means21
Choosing new systemsCount the interfaces each option creates; assess each supplier and agree responsibilities in writingSupplier competence is a key factor; formal agreements must exist, with clear responsibilities21
Keeping or replacing oneKeeping a validated system: one validated interface. Replacing it: validate the migration of its recordsValidation 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.

Table 4. Example: the records one failed assay touches, in order.
Date, 2026SystemRecordWhat it shows
1 OctoberMESDispense, Batch 26-⁠041API lot R-⁠2231 read as released. Target 10.000 kg, actual 10.004 kg, inside ±0.5%
5 OctoberLIMSSample S-⁠26-⁠087760 tablets from Batch 26-⁠041, with source, quantity and date taken
7 OctoberLIMSAssay result93.1% of label claim against 95.0 to 105.0%: out of specification
7 OctoberQMSInvestigation INV-⁠26-⁠112Opened from the result, linked to the sample, method and batch
8 OctoberLIMSPhase I reviewCalculations, standard, system suitability and preparation checked; no laboratory error
9 OctoberMESBatch record readTarget 10.000 kg against 10.750 kg in MBR-⁠A version 5
14 OctoberQMS, ERP, MESDispositionBatches 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-of-specification result is a laboratory record and its investigation is a quality record about the same batch.

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

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
  11. 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)
  12. 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)
  13. 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)
  14. 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)
  15. 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)
  16. 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)
  17. 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)
  18. 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)
  19. 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)
  20. 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)
  21. 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)
  22. 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)
  23. 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. 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)
  25. 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)
  26. 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)
  27. 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)
  28. 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)
  29. 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)
  30. 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)
  31. 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)

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.