Comparison

OPC UA vs MQTT

Short answer: they solve different problems and increasingly work together. OPC UA is a secure, semantically rich standard for machine interoperability. MQTT is a lightweight publish-subscribe transport built for moving telemetry over unreliable links. You can even run OPC UA over MQTT.

 OPC UAMQTT
What it isFull interoperability standard (model + services + transport)A message transport (pub/sub) only
Data meaningRich, self-describing information modelNone: payload is opaque (often JSON/Sparkplug)
ModelClient-server and PubSubPublish-subscribe via a broker
SecurityBuilt-in (certs, sign, encrypt, authz)TLS + username/password; app must add more
FootprintHeavierVery lightweight
Scale (many nodes)Good (esp. PubSub)Excellent: millions of clients
Best atMachine interoperability & control on the floorEdge-to-cloud telemetry, poor networks

When to choose OPC UA

  • You need secure, bidirectional communication between machines and systems.
  • You want vendor interoperability and self-describing data (browse a server and understand it).
  • You're doing control or rich, on-demand access, not just telemetry.

When to choose MQTT

  • You're pushing data edge-to-cloud, especially over limited or unreliable links.
  • You need to connect thousands to millions of lightweight devices.
  • You want a minimal footprint and a simple broker-based fan-out.
They combine. OPC UA PubSub can use MQTT as its transport: you get OPC UA's rich, standardised payload and MQTT's lightweight, scalable delivery. This is a common Industry 4.0 pattern for getting modelled shop-floor data into the cloud.

A simple decision guide

If your priority is…Reach for…
Interoperability between machine vendorsOPC UA
Control & write-back to equipmentOPC UA
Massive edge-to-cloud telemetryMQTT
Modelled data and cloud scaleOPC UA PubSub over MQTT

Once the data is flowing (over OPC UA, MQTT, or both) Jemba turns it into ranked, costed actions for the floor.

See Jemba →

FAQ

Is MQTT part of OPC UA?
MQTT is independent, but OPC UA's PubSub can use MQTT as a transport, so the two are frequently deployed together.
What is Sparkplug?
Sparkplug is a specification that adds structure, state and payload definition on top of plain MQTT. It overlaps with some of what OPC UA's information model provides.
Which is more secure?
OPC UA has richer security built into the standard (certificates, security modes, authorisation). MQTT relies on TLS plus whatever the application layer adds.

Last updated 4 September 2026 · Educational resource.

Next: OPC UA vs Modbus →

Free download
OPC UA Machine Data → OEE Mapping Kit
Which nodes to subscribe to, how they become Availability, Performance and Quality, and which companion specification already gives you the answer, so you stop inventing tags.
Get the free mapping kit →
Free, no course, no login