MQTT vs HTTP vs CoAP: The 2026 IoT Protocol Decision
- Why this is a 2026 problem, not a 2019 one
- What MQTT, HTTP, and CoAP actually do differently
- The three-question decision tree architects actually use
- The security claim that isn’t quite true
- Where the “MQTT always wins” narrative breaks down
- What the people who built these protocols say
- Frequently asked questions
- What to watch next
Why this is a 2026 problem, not a 2019 one
What MQTT, HTTP, and CoAP actually do differently
| Factor | MQTT | HTTP | CoAP |
|---|---|---|---|
| Transport | TCP, persistent connection | TCP, new connection per request | UDP, connectionless |
| Model | Publish/subscribe via broker | Client-initiated request/response | RESTful request/response |
| Best for | Frequent telemetry, fleet coordination | Infrequent transfers, firmware downloads | Sub-64KB RAM microcontrollers |
| Server-to-device push | Native | Requires polling or a second channel | Possible via observe pattern |
| Cloud support | Native in AWS IoT Core, Azure IoT Hub | Universal | Requires a gateway (Californium, libcoap) |
The three-question decision tree architects actually use
- How often does the device talk? Below roughly once a minute, HTTP is genuinely viable and simpler to operate. Above roughly ten times a minute, MQTT’s persistent-connection overhead advantage compounds fast.
- Does the backend ever need to push a command to the device? If yes, HTTP forces you into polling or a second channel to fake it. MQTT handles this natively through its publish-subscribe model.
- What’s the RAM and power budget? Devices under roughly 64KB of RAM may not be able to run an MQTT/TCP stack at all. That’s where CoAP over UDP becomes the only realistic option, not just the theoretically cleaner one.
The security claim that isn’t quite true
Where the “MQTT always wins” narrative breaks down
What the people who built these protocols say
The design goal was never “fastest possible protocol.” It was “the protocol that still works when the connection barely works at all.” Paraphrased from Andy Stanford-Clark’s recurring framing of MQTT’s design intent, IBM Distinguished Engineer and MQTT co-inventor, in interviews via the Inductive Automation podcast and IBM Developer podcast
A cautionary precedent worth remembering
Frequently asked questions
What to watch next
- Whether more hyperscalers add native CoAP support to close the gateway gap, or whether the market settles on CoAP-to-MQTT bridging as the permanent pattern.
- How the first wave of CRA enforcement actions in late 2026 treats unauthenticated MQTT deployments specifically, since that’s the most concrete, most measurable gap regulators can point to.
- Whether 5G RedCap adoption accelerates fast enough to give architects a genuine mid-tier option, rather than forcing a binary choice between NB-IoT’s tight constraints and full 5G’s cost.
More posts
-
Kim Jong Un’s First State Visit to China: Xi Offers Support, Readouts Omit Denuclearization
Kim Jong Un’s China visit brought two days of ceremony and a public pledge of support from Xi Jinping. Neither side’s public readout mentioned denuclearization, and Washington says no Trump-Kim meeting is scheduled.
-
China’s Robot Export Controls: Which Legged Robots Will Need a Licence From December 29
China robot export controls will put certain walking and wheel-legged machines under licensing from December 29. Unitree’s shares fell on the news, and the thresholds show what Beijing now wants to approve before it leaves the country.
-
Taiwan Election Results 2026: KMT Keeps Taipei, DPP Takes Back Taichung
The Taiwan election results 2026 gave Chiang Wan-an a second term in Taipei, while the DPP took back Taichung after eight years. Beijing has already responded, and attention is turning to the 2028 presidential race.
-
Nvidia Reportedly Pauses Server Shipments to Southeast Asia After New US Chip Rule
Nvidia Southeast Asia shipments have reportedly been paused, leaving server buyers in Malaysia, Singapore, Thailand and Indonesia waiting. The reports follow a new US rule aimed at China’s access to advanced chips, and neither Nvidia nor its partners have confirmed the halt.
-
Netanyahu Trial: Why Judges Want the Bribery Charge Dropped
The Netanyahu bribery charge is in serious doubt after the judges hearing his case told Israel’s attorney general it should be dropped. Nothing has been withdrawn yet, and the warning arrives while the fight to form Israel’s next government is still open.
-
Jensen Huang Is Back as Nvidia CEO. Here Is What Changed in 12 Days, and What Congress Wants to Know
Jensen Huang was reinstated as Nvidia CEO less than two weeks after resigning, and a 31% one-day stock jump partly reversed the next day. Here is what the board said, how Washington figured in, and what lawmakers want to ask next.
-
COP31 Ends Without a Climate Deal: What Collapsed in Antalya and What Comes Next
Two weeks of talks and two extra days of overtime ended with no Antalya Pact, as the EU and oil-producing states clashed over fossil fuels. Here is how COP31 ended without a deal, what the UN says still got agreed, and what the failure means for COP32.
-
Binance Hack: Where the Stolen $6 Billion Stands Now, and Why Recovering It Is So Hard
Most of the money stolen in the Binance hack is frozen, a record Abu Dhabi court order is in force, and the thieves are still moving funds. Here is where the $6.3 billion stands almost four weeks on, and why recovering it is so hard.
-
Russian Missiles Landed in Poland. Here Is What NATO Can and Cannot Do About It
Russian missiles in Poland spent about three minutes over Polish soil on November 20, and no one was hurt. Yet Warsaw is calling it an intentional provocation. Here is what fell, why nothing was shot down, and what NATO can and cannot do next.
