An MES runs and records production on the floor: orders, counts, in-process checks and holds. A QMS manages the quality system around it: procedures, deviations, CAPA, audits, training and supplier quality. They meet at the nonconformance, so let the MES capture the event and the QMS own the investigation.
The line between them
The two systems work at different speeds. An MES lives in the minute a bad seal appears on Line 2, and a QMS lives in the weeks it takes to find out why and stop it coming back.
| MES | QMS software | |
|---|---|---|
| Main question | Was this order made right, and what is happening now? | Does our quality system work, and can we prove it? |
| Time scale | Seconds to shifts | Days to years |
| Built around | Orders, machines, lots | Documents, processes, events |
| Typical records | In-process checks, rejects, holds, genealogy | Procedures, deviations, CAPA, audits, training, supplier ratings |
| Main users | Operators, supervisors, line quality techs | Quality engineers, auditors, management |
| Data arrives from | Machines, scans, operators | People, by forms and reviews |
A QMS as a concept is wider than any software. It is your whole set of quality processes, under a standard such as ISO 9001 or, for US medical devices, FDA's QMSR, which took effect on 2 February 2026 and incorporates ISO 13485:2016 by reference.
QMS software is the tool that holds its records. For what the other side covers, read what is an MES.
Follow one bad seal across both
Example: a pouch line starts rejecting more seals on Tuesday morning. Here is who does what, from the first reject to the closed action.
The 08:30 seal check is out of limit, and the result is stored against the order and lot.
Pouches since the 08:00 pass go on hold. The operator tags the stop.
It receives the order, lot, line, time and check result from the MES.
The team runs root cause analysis and opens a CAPA with an owner and due date.
Reject data after the fix tells the QMS whether the action worked.
Step 5 is the one often missed. A CAPA closed on a signature, with no data behind it, proves only that someone signed.
What a CAPA looks like in MES data
Example: 10,000 pouches started before the fix, and 9,400 passed first time. The same volume after the fix gives 9,700.
See how to calculate first pass yield for the formula, or try the calculator. Each reject also feeds the Quality factor of OEE.
Who owns which record
| Record | Usually lives in | Why |
|---|---|---|
| In-process check result | MES | Tied to the order, in the moment |
| Reject count and reason | MES | Comes from the line |
| Hold on a lot or range | MES, reported to QMS | Must stop shipment now |
| Nonconformance | QMS, opened from MES data | Needs a workflow and approval |
| CAPA | QMS | Runs for weeks, across departments |
| Procedures and work instructions | QMS owns; MES shows them | One controlled version |
| Training status | QMS owns; MES can check it | Some sites block untrained operators |
| Audits and supplier ratings | QMS | Not tied to any single order |
One owner per record is the rule. If two systems both let people edit a check result, then neither one can be trusted.
How QMS and MES software connect
Start with the links that remove retyping, and leave the rest for later. A plain list of fields is enough for a first version.
- From MES to QMS: order, product, lot, line, time, check result, quantity on hold.
- From QMS to MES: current document version, and hold or release decisions.
- Later: supplier lot status, and training checks at log-in.
Keep the link simple, and make it one way per field. Decide what happens when it fails, because a hold must still work if the QMS is offline.
One system or two?
Some suites cover both sides. The open source Carbon project, for one, describes ERP, MRP, MES and QMS on one Postgres schema.
A single system means one login and no interface to maintain. Two specialised systems often go deeper on each side, at the price of a link to look after.
- Your pain is audits, documents and CAPA tracking: QMS software comes first.
- Your pain is rejects found late, or no reject reasons: start with MES data at the line.
- You are in a regulated sector: you will likely need both functions, and validation applies. See MES for pharma.
- You are small: a controlled folder and a simple scrap record can carry you a long way.
Neighbours in the quality stack
Two other systems get confused with these. SPC watches process variation over time, and LIMS manages lab samples and tests.
All of them feed the same questions. Keep each record where it starts, and link by order and lot.
Where the split goes wrong
- Running in-process checks in the QMS. Operators then fill in forms away from the order, often late.
- Running CAPA in the MES. A long investigation fits badly in a production system.
- Retyping lots and quantities. One typo breaks the link back to genealogy.
- Hiding quality time in OEE. Decide how to count holds and checks, and see cost of poor quality for their true price.
- Fixing with procedures only. Where you can, build the fix into the process, as in poka-yoke.
On the MES side of this split, Fabrico is a light MES for OEE. It takes stops, speed and counts live from PLCs or IoT sensors, with add-on AI cameras counting output where a machine has no usable signal, with causes tagged at the line, so you see OEE per line and shift. See Fabrico as a light MES for OEE.
What people ask next
Is a QMS part of an MES?
Not normally. An MES includes quality functions such as checks and holds, while a QMS covers the wider system of procedures, CAPA and audits. MES modules shows the quality records an MES usually holds.
Do I need both an MES and a QMS?
A certified or regulated plant needs a quality management system of some form, though not necessarily separate software. An MES is a choice based on your floor problems. Many small plants start with one and add the other later.
What is CAPA, and does it belong in the MES?
CAPA means corrective and preventive action, the process of removing a problem's cause. It usually belongs in the QMS, with the MES supplying the data on what happened and whether the fix worked. See root cause analysis.
Can QMS software replace an MES?
Only for the records it holds. It will not usually read machines, count parts or block a step on the line. If you need that live view, you need execution functions as well, as in what is an MES.
Where should in-process inspection data live?
Usually in the MES, tied to the order, the lot and the moment. The QMS can pull summaries or be fed exceptions. MES traceability shows why the lot link matters.
Fabrico is a light MES for OEE. It takes stops, speed and counts from PLCs or IoT sensors, with add-on AI cameras counting output where a machine has no usable signal, and operators tag the cause at the line.