Menu
OPC UA vs MQTT: Two Protocols Solving Different Halves of the Same Problem

OPC UA vs MQTT: Two Protocols Solving Different Halves of the Same Problem

OPC UA is a rich, structured industrial interoperability standard. MQTT is a lightweight publish-subscribe transport. They are often used together, not chosen between.
OPC UA vs MQTT: Two Protocols Solving Different Halves of the Same Problem
OPC UA vs MQTT: Two Protocols Solving Different Halves of the Same Problem

Key takeaways

  • OPC UA is a structured, semantically-rich industrial interoperability standard.
  • MQTT is a lightweight publish-subscribe messaging transport.
  • OPC UA carries meaning and structure; MQTT carries messages efficiently at scale.
  • They are frequently combined (OPC UA over MQTT), not treated as either-or.

Short answer: OPC UA is a structured, semantically-rich industrial interoperability standard — it models data with meaning, so a temperature is a typed, described value, not just a number. MQTT is a lightweight publish-subscribe transport that moves messages efficiently to many subscribers. OPC UA gives semantics; MQTT gives efficient delivery — and they are increasingly used together, not chosen between. See also scada vs historian.

What OPC UA provides

OPC UA is a full industrial interoperability standard. It does not just move data — it models it, with structure, data types and descriptions, plus built-in security and authentication. A value arrives self-describing: this is a temperature, in these units, from this device, with this context.

  • Structured, typed, self-describing data models.
  • Security and authentication built in.
  • Rich industrial interoperability.

What MQTT provides

MQTT is a lightweight publish-subscribe transport. It excels at moving many small messages efficiently to many subscribers, even over constrained or unreliable networks, by decoupling publishers from subscribers through a broker.

  • Lightweight publish-subscribe messaging.
  • Efficient at scale and over poor networks.
  • Decoupled publishers and subscribers.

A worked example

A plant needs deep, structured access to a PLC's tags — types, units, alarm states — so it uses OPC UA to talk to the controller, getting self-describing data it can interpret without a separate dictionary. It then needs to fan that data out to a dozen consumers (OEE, historian, dashboards, cloud analytics) over a patchy network, so it publishes the OPC UA payloads over MQTT. OPC UA answered "what does this data mean?"; MQTT answered "how do I move it to everyone efficiently?" Neither replaced the other.

Why it is not either-or

OPC UA answers what the data means; MQTT answers how to move it efficiently to many consumers. OPC UA over MQTT combines rich semantics with scalable transport — a common pattern in modern architectures precisely because the two solve different halves of the problem.

Choosing per use case

  • Deep device interoperability and structure: OPC UA.
  • Many subscribers or constrained networks: MQTT.
  • Both at once: OPC UA payloads over MQTT transport.

Common mistakes

1. Treating them as competitors. They solve different problems and combine well.

2. MQTT with no payload structure. Efficient transport of meaningless numbers still needs a model.

3. OPC UA where lightweight fan-out is needed. Sometimes you just need scalable delivery.

4. Ignoring security. OPC UA has it built in; raw MQTT needs it added deliberately.

How it shows up in OEE

Whichever you use, the point is getting reliable, well-structured machine data into your OEE system. OPC UA gives the structure that makes signals interpretable; MQTT helps that data scale to many consumers including the OEE platform.

How Fabrico fits

Fabrico connects via standard industrial protocols including OPC UA and MQTT, so it consumes structured machine data however your architecture delivers it. Book a demo to see your machine data flowing into OEE.

Related reading

Frequently asked questions

Do I have to choose between OPC UA and MQTT?

No — they solve different problems and are often combined, OPC UA payloads over MQTT.

What does OPC UA add over MQTT?

Structure, semantics and built-in security — data that describes itself.

When is MQTT preferred?

For many subscribers or constrained, unreliable networks.

Which one feeds OEE?

Either — the goal is reliable, structured machine data, however it is transported.

Is raw MQTT secure?

Not by default — security must be added, whereas OPC UA includes it.

Latest from our blog

Define Your Reliability Roadmap
Validate Your Potential ROI: Book a Live Demo
Define Your Reliability Roadmap
By clicking the Accept button, you are giving your consent to the use of cookies when accessing this website and utilizing our services. To learn more about how cookies are used and managed, please refer to our Privacy Policy and Cookies Declaration