Quick Takeaways
- MES vs ERP comes down to time and place: an ERP runs the business of manufacturing over days, months and years, while an MES runs the shop floor over seconds, minutes and shifts.
- In the ISA-95 model, ERP sits at Level 4 (business planning and logistics) and MES sits at Level 3 (manufacturing operations), above machine control at Levels 0 to 2.
- ERP sends work orders down to the MES, and the MES reports actual production, scrap, downtime and material use back up.
- Most manufacturers with complex or regulated production need both systems. Smaller, simpler operations can often start with ERP plus a lightweight shop floor app.
- Custom software earns its place in the gaps: integrations, offline-first shop floor apps and dashboards that packaged systems do not cover well.
The MES vs ERP question usually comes up at the worst possible moment: the ERP is live, the shop floor still runs on spreadsheets and whiteboards, and nobody can say why the plan and reality never match. Both systems claim to manage production, and vendors on each side blur the line. The global MES market alone was valued at around $16 billion in 2025, according to MarketsandMarkets' manufacturing execution systems report, so the choice matters.
This guide explains what each system does, where they sit in the ISA-95 model, how they integrate and when you need custom software in between. It is written by Softonoma, a custom software development company that builds production monitoring, inventory and integration software for manufacturers.
What Is an MES (Manufacturing Execution System)?
A manufacturing execution system (MES) is software that tracks and controls production on the shop floor in real time, from the moment a work order is released to the moment finished goods leave the line. It records what is being made, on which machine, by whom, from which materials and to what quality standard.
Typical MES functions include:
- Production dispatching: sequencing work orders to lines, cells and operators.
- Data collection: capturing counts, cycle times, downtime reasons and scrap from machines and operators.
- Quality management: in-process inspections, SPC checks and non-conformance records.
- Genealogy and traceability: linking every finished unit to the batches, lots and serial numbers that went into it.
- Performance analysis: OEE, throughput and bottleneck reporting by shift.
As SAP's overview of manufacturing execution systems puts it, the MES is the bridge between planning systems and the machines that do the work.
What Is an ERP (Enterprise Resource Planning)?
Enterprise resource planning (ERP) is software that runs the business side of a company in one system: finance, purchasing, inventory, sales orders, planning and HR. In manufacturing, the ERP decides what should be made, when and with which materials, based on demand and stock.
An ERP for manufacturing usually covers material requirements planning (MRP), bills of materials, purchasing, inventory valuation, costing and order management. It works in hours, days and months, not seconds. It knows that 500 units are due on Friday; it does not know that line 3 stopped for 14 minutes at 10:42 because a sensor failed.
MES vs ERP: The Key Differences
The core difference between MES and ERP is the time horizon and the level of detail each system manages. Siemens describes ERP as managing the business of manufacturing over hours to years, while an MES focuses on seconds to shifts.
- Purpose: ERP plans and accounts for production; MES executes and records it.
- Time horizon: ERP works in hours, days and months; MES works in seconds, minutes and shifts.
- Main users: ERP serves finance, planners, buyers and management; MES serves operators, supervisors and quality teams.
- Data: ERP holds orders, costs, stock levels and suppliers; MES holds machine states, cycle times, defects and lot genealogy.
- ISA-95 level: ERP is Level 4; MES is Level 3.
- Typical trigger: ERP acts on customer orders and forecasts; MES acts on released work orders and events on the line.
NetSuite's comparison of MES and ERP makes the same point from the ERP side: the two systems overlap in places, but neither does the other's job well.
Where MES and ERP Sit in the ISA-95 Model
The ISA-95 standard gives manufacturers a shared map of where each system belongs, which makes the MES vs ERP boundary much easier to see.
- Levels 0 to 2: the physical process, sensors and control systems such as PLCs, SCADA and DCS.
- Level 3: manufacturing operations management, where the MES lives, along with quality, maintenance and warehouse execution.
- Level 4: business planning and logistics, where the ERP lives.
The Wikipedia entry on manufacturing execution systems summarises this layering. In practice, the hardest engineering work happens at the boundaries between levels, not inside any single one.
How MES and ERP Integrate
MES and ERP integrate through a two-way exchange: the ERP sends production orders down, and the MES sends actual results back up. A clean integration is what turns two separate systems into one reliable view of the factory.
A typical flow looks like this:
- Down from ERP: work orders, bills of materials, routings, material lots and due dates.
- Up from MES: quantities produced, scrap, material consumed, labour time, downtime and quality results.
ISA-95 defines a common data model for this exchange, and control.com's explanation of ERP and MES integration covers B2MML, the XML schema built on it. Real projects still hit familiar problems: different item codes in each system, unit-of-measure mismatches, duplicate postings after a network drop, and timing gaps when the ERP closes a period while the MES is still reporting.
Good integrations use an idempotent message layer (so a retried message never posts twice), a mapping table owned by one team, and a reconciliation report that flags mismatches daily. Event streaming with a queue such as Kafka or RabbitMQ, or a simple outbox pattern in PostgreSQL, is usually more reliable than point-to-point batch files. Our back-end development work on manufacturing projects is mostly this kind of plumbing.
Do You Need Both MES and ERP?
You need both MES and ERP when your production is complex, regulated or high-volume enough that shift-level detail affects cost, quality or compliance. If you run a small, simple operation, an ERP plus a lightweight shop floor app may be enough for now.
- ERP only: small job shops, simple assembly and low-volume production where daily reporting is enough.
- ERP plus a lightweight shop floor app: growing manufacturers that need downtime reasons, simple OEE and digital work instructions without a full MES rollout.
- ERP plus a full MES: regulated sectors such as food, pharma, medical devices and aerospace, multi-site operations and any business that needs full lot genealogy.
A useful test is to ask three questions. Do you need to trace a finished unit back to its raw material lots? Do you lose money to downtime you cannot explain? Does your ERP's view of work in progress differ from reality by more than a shift? If you answer yes to two or more, an MES layer is probably worth it.
When Off-the-Shelf MES and ERP Are Not Enough
Off-the-shelf MES and ERP platforms cover the standard process well, but they rarely fit the gaps between your systems, machines and people. That is where custom software usually earns its keep.
- Integration layers between an existing ERP and machines or an MES that have no native connector.
- Offline-first shop floor apps for tablets and scanners, because Wi-Fi on a factory floor drops more often than any vendor demo admits.
- Production monitoring and OEE dashboards that capture the reason for a stoppage at the moment it happens.
- Lightweight MES modules for one process, such as traceability or quality checks, before committing to a full platform.
Be honest about the trade-off. If a mature MES product fits 80% of your process, buying it and customising the edges is usually cheaper and safer than building from scratch. Our guide to build vs buy for custom software walks through that decision, and if your ERP is ageing, our article on legacy system modernisation without a full rewrite explains how to improve it in stages.
At Softonoma, our manufacturing software development work focuses on exactly these gaps: integrations, shop floor apps and dashboards built with operators, on the devices they actually use.
MES vs ERP FAQs
Can an ERP replace an MES?
An ERP cannot fully replace an MES for most manufacturers. Many ERPs include shop floor control modules, but they rarely capture real-time machine data, downtime reasons or full genealogy at the level an MES does. For simple operations, those modules may be enough; for complex or regulated production, they usually fall short.
Is SAP an MES or an ERP?
SAP is best known as an ERP vendor, with SAP S/4HANA as its core ERP product. SAP also sells separate manufacturing execution software, so a company can run SAP as its ERP, its MES or both. The ISA-95 roles stay the same whichever vendor you choose.
What is MOM, and how does it relate to MES?
Manufacturing operations management (MOM) is the wider Level 3 category in ISA-95, and MES is its central part. MOM also includes quality management, maintenance management and warehouse execution, which some vendors bundle into one platform and others sell separately.
How much does custom MES software cost?
Custom MES software cost depends mainly on the number of machines and integrations, the number of sites, regulatory requirements and whether you need offline mobile apps. A focused module, such as an OEE dashboard or traceability app, costs far less than a full MES. Use our software cost calculator for a first estimate, or see our breakdown of custom software development costs and timelines.
Conclusion
The MES vs ERP decision is rarely either-or. ERP plans and accounts for production; MES executes and records it on the floor. Most growing manufacturers end up needing both, connected by an integration that someone owns and monitors.
- Map your systems to ISA-95 levels before you buy anything.
- Fix the integration and the shop floor data first, because that is where plans and reality drift apart.
- Buy where products fit, and build only the gaps.
If you are planning an MES rollout, an ERP integration or a shop floor app, see how we approach manufacturing software development, or book a free consultation to talk it through with an engineer.
