MQTT COAP
Consumes less battery Consumes less battery
Consumes less bandwidth Acquires more bandwidth
Secured with TLS Unsecured
Many to many communication One to one communication
Communication only with subscribed topic Communication with discovered devices
When client gets disconnected the server publishes the messages to the Will topic in the server side (LWT Last Will Testament) No such property
Supports publish subscribe basis Does not support publish subscribe basis. Only request – reply pattern