Mosquitto
Mosquitto is an open source, lightweight Message Queuing Telemetry Transport (MQTT) broker that implements MQTT 5.0, 3.1.1, and 3.1 for sending and receiving…
Platform availability
Available on 7 of 10 platforms
Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.
56/100 Fair
- Maintained
- 0GitHub repository is archived
- Popular
- 8111,351 GitHub stars
- Easy to install
- 755 install platforms, install notes, Docker image
- Light to run
- 100256 MB minimum RAM
- Security check
- 85no serious findings, CI
Availability: platform listings confirmed today, links checked 11 days ago
- GitHub stars
- 11,351
- Open issues
- 920
- Last commit
- 2026-11-05
- Activity
- steady
Checked 12 days ago - source: GitHub (eclipse-mosquitto/mosquitto)
Resources & Compatibility
Minimum requirements: 256 MB RAM, 1 CPU core(s), 100 MB disk.
Checked 54 days ago - source: Docker Hub image tags and published docs
First-install notes
- Start Mosquitto with a config file Run Mosquitto with the command mosquitto -c /path/to/mosquitto.conf, replacing /path/to with where your settings file is. This file controls remote connections and login/security, so without it other devices or protected apps may not connect. source
- Keep the main config file safe Copy or back up the mosquitto.conf file in the system config folder (often /etc/mosquitto on Linux) after you install it. If you lose it or edit it carelessly, the broker may stop starting or clients may be locked out. source
- Use the example security files If you want usernames, passwords, or device permissions, use the pwfile, aclfile, and pskfile example files to create your own settings. Without these, clients may be unable to authenticate or may get more access than you intend. source
- Deprecated image The imagegenius Docker image is deprecated: it will not be updated or supported. Install the upstream Eclipse Mosquitto package or another MQTT broker instead. source
- Use a maintained image The imagegenius Docker image is deprecated, unsupported, and will not be updated; use a maintained Mosquitto image instead. source
Fetched 34 days ago - each note links to its source
Variants
Alternatives (2)
- RabbitMQ - RabbitMQ is an open source message broker that implements the Advanced Message Queuing Protocol (AMQP), used to route and queue messages be…
- VerneMQ - VerneMQ is a high-performance, distributed MQTT message broker.
Checked 40 days ago - source: AlternativeTo
Common questions
Which ports should I expose for Mosquitto?
Expose 1883 for MQTT, 8883 for MQTT over TLS, and 9001 for MQTT over WebSockets.
Will the imagegenius Mosquitto Docker image receive updates?
No. The image is deprecated and will not be updated or supported.
Can I put Mosquitto behind a reverse proxy?
You can use Mosquitto with HAProxy, with or without TLS termination.
How do I control client authentication and device permissions?
Use the example pwfile, aclfile, and pskfile files to set usernames, passwords, and device permissions. Without these, clients may fail authentication or receive more access than intended.
Answers sourced from github.com, github.com, mosquitto.org
Community
- Cedalo - Forum - The finest IoT crowd out there! (forum)
- Mosquitto Configuration Guide: Tips and Solutions - General - Aqara Forum (forum)
- Newest 'mosquitto' Questions - Internet of Things Stack Exchange (forum)
- Latest Mosquitto MQTT Broker topics - Cedalo - Forum (forum)
Collected 8 days ago - public community threads