Arduino Client for MQTT

This library provides a client for doing simple publish/subscribe messaging with a server that supports MQTT

For more information about MQTT, visit


The latest version of the library can be downloaded from GitHub.


The library comes with a number of example sketches. See File > Examples > PubSubClient within the Arduino application.

Full API Documentation is available.



This library is released under the MIT License.

Change History

The complete change history is available on GitHub.

Latest version: 2.8 - released 2020-05-20