Skip to main content

HiveMQ Community Edition

Open source MQTT broker built for IoT, M2M, and real-time messaging. Full support for MQTT 3.1, 3.1.1, and MQTT 5 with enterprise-grade performance.

Quick Start

Get HiveMQ CE running in minutes with your preferred deployment method.

1

Download HiveMQ CE

Download the latest binary package or pull the Docker image.
Docker
docker pull hivemq/hivemq-ce
Or download the binary package from GitHub Releases.
2

Start the broker

Launch HiveMQ CE using Docker or the included run scripts.
Docker
docker run -d --name hivemq-ce -p 1883:1883 hivemq/hivemq-ce
Binary
cd hivemq-ce-2025.5
bin/run.sh
Java 11 or higher is required to run HiveMQ CE.
3

Connect your first client

Connect an MQTT client to localhost:1883 and start publishing messages.
Python with paho-mqtt
import paho.mqtt.client as mqtt

client = mqtt.Client()
client.connect("localhost", 1883, 60)
client.publish("test/topic", "Hello from HiveMQ!")
client.disconnect()
Your MQTT broker is now ready to handle messages!

Explore by Topic

Learn how to deploy, configure, and extend HiveMQ CE for your use case.

Deployment

Deploy with Docker, binary packages, or build from source.

Configuration

Configure listeners, security, persistence, and MQTT settings.

Extensions

Extend HiveMQ with authentication, authorization, and custom logic.

MQTT Protocol

Learn about MQTT 3.x and MQTT 5 features and capabilities.

Embedded Mode

Embed HiveMQ CE directly in your Java applications.

Operations

Monitor, log, and diagnose your HiveMQ deployment.

Key Features

Built for production IoT and real-time messaging workloads.

Full MQTT Support

Complete implementation of MQTT 3.1, 3.1.1, and MQTT 5 protocols with all features.

High Performance

Built on Netty with optimized persistence using RocksDB for enterprise-grade throughput.

Extension SDK

Extend broker functionality with Java extensions for authentication, authorization, and custom logic.

Multiple Transports

Support for MQTT over TCP, TLS, WebSocket, and Secure WebSocket connections.

Resources

Additional resources to help you succeed with HiveMQ CE.

GitHub Repository

View source code, report issues, and contribute to HiveMQ CE.

Community Forum

Ask questions and connect with the HiveMQ community.

MQTT Essentials

Learn MQTT protocol fundamentals and best practices.

HiveMQ Website

Explore HiveMQ enterprise solutions and resources.

Ready to get started?

Deploy HiveMQ CE in minutes and start building real-time messaging applications with the world’s most popular IoT protocol.

Start Building