Softwr
Eclipse Mosquitto logo

Eclipse Mosquitto

Small, EPL-licensed MQTT broker that runs on hardware other brokers cannot

Eclipse Mosquitto is free to use. The default MQTT broker of the hobbyist and edge world, small enough to run on a router or a Raspberry Pi. Softwr lists it under Networking. Eclipse Mosquitto is made by Eclipse Foundation, available on Linux, Windows, macOS, Self-hosted.

Overview

What is Eclipse Mosquitto?

Mosquitto is an Eclipse Foundation project implementing MQTT 5.0, 3.1.1 and 3.1 in C. It ships in every major Linux distribution, runs in a few megabytes of memory, and includes the mosquitto_pub and mosquitto_sub command line clients that have become the standard way to poke at any MQTT deployment. Authentication, access control lists, TLS, WebSockets and bridging to another broker are all built in and configured in a single text file. The distinguishing property is size. Mosquitto will run on an OpenWrt router, an industrial gateway or a Pi Zero, which is why it dominates the edge and why most home automation stacks, including Home Assistant, assume it. A broker that needs a JVM and a gigabyte of heap simply cannot go where Mosquitto goes. The limit is equally clear: Mosquitto is a single process with no clustering. Persistence is a local file, and high availability means running two brokers with an external failover arrangement you build yourself. It scales to a few thousand concurrent clients on ordinary hardware, well past most edge use cases and well short of a national device fleet. The licence is the Eclipse Public License 2.0 with an Eclipse Distribution Licence, a weak copyleft that is fine for deployment but that some organisations treat differently from Apache 2.0 when embedding it in a shipped product.

What people use it for

  • A home or building automation stack where the broker must run on the same small computer as everything else
  • An industrial gateway that buffers local telemetry and bridges selected topics to a cloud broker
  • Local development and testing of MQTT clients without provisioning a cloud IoT service
  • An air-gapped deployment where a broker with no licence server and no phone-home behaviour is a requirement

The honest half

Where does Eclipse Mosquitto fall short?

Each is concrete and checkable: the half of a review a vendor will not write.

  • There is no clustering: Mosquitto is a single process, so high availability means building your own failover and accepting session loss on switchover.
  • Persistence is a local file rather than a replicated store, so a disk failure or an unclean shutdown can lose retained messages and queued QoS traffic.
  • Practical capacity is a few thousand concurrent clients on typical hardware, so a growing device fleet eventually forces a migration to a clustered broker.
  • The Eclipse Public Licence is weak copyleft rather than permissive, which some legal teams treat as a blocker when embedding the broker in a shipped commercial product.
  • There is no commercial support to buy from the project, so production incidents rely on community mailing lists or on paying a third party who happens to know the codebase.

Cross-shopped

What are the alternatives to Eclipse Mosquitto?

The closest alternatives to Eclipse Mosquitto are RabbitMQ, MQTT and NATS. Each is a tool buyers genuinely weigh against it, with the reason why.

Pricing

How much does Eclipse Mosquitto cost?

Eclipse Mosquitto is free to use. Taken from the vendor's own pricing page; prices move, so check before you buy.

Eclipse Mosquitto

Free

  • Eclipse Public License 2.0 with Eclipse Distribution Licence
  • MQTT 5.0, 3.1.1 and 3.1
  • No client or message limits beyond your hardware
  • Community support only
  • No commercial support offering from the project

Capabilities

What can Eclipse Mosquitto do?

Eclipse Mosquitto lists 6 features, including MQTT 5.0 support, very small footprint and bridging.

  • MQTT 5.0 support

    Full protocol support including shared subscriptions and topic aliases

  • Very small footprint

    Runs in a few megabytes on routers, gateways and single-board computers

  • Bridging

    Forward selected topics to another broker, including cloud brokers, over TLS

  • WebSockets listener

    Browser clients connect directly without a separate gateway

  • Command line clients

    mosquitto_pub and mosquitto_sub, the de facto MQTT debugging tools

  • Dynamic security plugin

    Runtime-configurable clients, groups and access control roles

Answered, with sources

Questions people ask

Each answer names the page it came from, so you can check it rather than take our word for it.

Can Mosquitto be clustered?

No. It is a single process. High availability requires an external failover arrangement you build yourself.

What licence is it?

Eclipse Public License 2.0 alongside the Eclipse Distribution License, a weak copyleft rather than a permissive licence.

How many clients can it handle?

A few thousand concurrent connections on ordinary hardware; beyond that, use a clustered broker.

Does it support MQTT 5?

Yes, along with 3.1.1 and 3.1.

Share

Keep looking

Where to go from Eclipse Mosquitto

Best Networking software for

Compare Eclipse Mosquitto with

Other Networking software

  • Enterprise MQTT broker for industrial IoT with a published self-managed price list

    Free, then $299/mo15 researched notes
  • Lightweight messaging protocol for IoT devices

    Free plan9 researched notes
  • Open source firewall software with a free Community Edition and a separate commercial Plus edition sold by Netgate

    Open source15 researched notes
  • Modern cloud-native edge router and API gateway

    Free plan10 researched notes
  • Open source infrastructure and network monitoring with distributed proxies and templating

    Open source14 researched notes
  • Open source VPN protocol with a commercial Access Server product priced per simultaneous connection

    Open source15 researched notes
  • Open source infrastructure monitoring, free at its core, with paid support and modules sold separately by Icinga GmbH

    Open source14 researched notes
  • Free, community-driven network monitoring with commercial support sold by a third-party partner, not the project itself

    Open source13 researched notes
  • Service discovery, networking, and security

    Free plan12 researched notes
  • Certificate based overlay network from Slack, with identity and firewall rules carried in the certificate

    Open source14 researched notes
  • Open-source passive network traffic analyser and logger

    Free plan12 researched notes
  • Free open source network graphing and monitoring framework built on RRDtool

    Free plan12 researched notes
  • Unified IT operations platform for endpoint management, patching, backup and remote access

    From $1.5/mo12 researched notes
  • Security, service management, and unified endpoint management

    Pricing on request8 researched notes
  • Network and server monitoring software with device-based licensing

    Pricing on request11 researched notes
  • Open source DNS sinkhole that blocks ads and trackers across a whole network

    Free plan11 researched notes
  • Data centre and campus network switches with the EOS network operating system

    Pricing on request13 researched notes

Softwr does not host reviews and shows no star rating for Eclipse Mosquitto, because a rating we did not collect is not ours to publish. What is here is the pricing and platform detail from the vendor’s own pages, limitations we could state concretely, and alternatives a reviewer confirmed people weigh against it. Tell us if any of it is wrong.

More on Eclipse Mosquitto

Best Networking software alternatives

Unified IT operations platform for endpoint management, patching, backup and remote access

quote

Hybrid observability platform for networks, cloud and infrastructure with Edwin AI

usage-based

Network detection and response and performance monitoring from decrypted network traffic

quote

Free open source network graphing and monitoring framework built on RRDtool

open-source

Open-source passive network traffic analyser and logger

open-source

Internet speed test with a global server network, coverage maps and outage tracking

freemium

Application delivery, load balancing and security platform for hardware, virtual and cloud

quote

Compare Eclipse Mosquitto with alternatives