Suggestions appear as you type. Use the up and down arrows to choose one and Enter to open it.

MQTTnet

Free#23 of 46 in MQTT Broker Software

MQTTnet: A flexible MQTT client and broker library for developers embedding MQTT in .NET apps. Ranked #23 of 46 in MQTT Broker Software by our editors (6.9/10); pricing: Free plan; best for embedding an MQTT broker in .NET applications.

6.9/10Editor score
MQTTnet6.9 Visit MQTTnet

At a glance

  • Editor score
    6.9 / 10
  • Pricing
    Free plan
  • Best for
    Embedding an MQTT broker in .NET applications
  • Free plan
    Yes
  • Paid from
    Free
  • Deployment model
    Self-hosted
  • Facts checked
    14 Nov 2026
  • Where it wins

    • Includes both MQTT client and broker capabilities in one library
    • Supports MQTT versions 4 and 5 over TCP, TLS, and WebSockets
    • Offers credential validation, message interception, and topic checks
  • Where it doesn't

    • Requires developers to host and operate the broker themselves
    • Retained-message persistence depends on custom interface methods
    • Not positioned as a managed broker service

Our verdict on MQTTnet

MQTTnet is an open-source .NET library that provides both an MQTT client and a server (broker). It is aimed at developers who want to embed MQTT communication in their own applications rather than subscribe to a hosted broker. The project is delivered through NuGet and can be used with ASP.NET Core, making it a fit for teams building .NET services that need client and broker functionality together.

The broker supports MQTT protocol versions 4 and 5, with TCP, TCP with TLS, and WebSocket communication channels. On the server side, developers can validate client credentials, intercept messages to transform or extend them, and validate subscriptions to deny access to selected topics. It also exposes a list of connected clients. Retained messages are supported, while persistence for them is provided through custom interface methods. These capabilities make MQTTnet more configurable than a basic client library, but they put implementation choices in the application's hands.

MQTTnet is self-hosted, so it suits developers who want control over how a broker is embedded and operated, not buyers seeking a turnkey managed service. Its open-source model avoids a paid plan decision, while documentation and community are the listed support channels. Teams should weigh the work of hosting and operating it against that control. MQTTnet is a reasonable fit for .NET projects that need broker behavior inside an application; organizations looking for a managed service or an explicitly documented clustering option should consider a dedicated broker product instead.

Your product? Our editors can test MQTTnet in depth and publish a review, labelled as paid · from $149/mo →

MQTTnet pricing

Plans Free planFree Free to use — no paid tier required for the core job.
See plans on github.com

MQTTnet fact sheet

Free planYes
Paid fromFree
Deployment modelSelf-hosted
MQTT versions4, 5
Retained messagesYes
ClusteringNot verified
Connection limitNot verified
Authentication methodsExtensible client credential validation; TLS certificate-based authentication
DeploymentSelf-hosted
SupportDocs, Community
Built forSolo, Small business, Mid-market, Enterprise (editorial estimate)
Integrations1 integrations: ASP.NET Core
PricingFree plan
Websitegithub.com
Facts checked14 Nov 2026

MQTTnet integrations

MQTTnet lists 1 integrations on its own site.

  • ASP.NET Core

Alternatives to MQTTnet

See all MQTTnet alternatives →

Used MQTTnet? Be the first to review it

The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used MQTTnet for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.

Write a reviewTwo minutes · verified accounts only · read by an editor before it appears

Reviews come only from verified accounts. Sign in or create an account first — your e-mail is never shown.

Your rating

0 characters · at least 80, up to 3,000

Posted from your verified account. Reviews appear after an editor reads them, usually within two working days.

Featured on iTechGuides

Featured on iTechGuides — MQTTnet 6.9/10

MQTTnet is listed in our MQTT Broker Software directory. Add the badge to your site — it links back to this page.

<a href="https://www.itechguides.com/products/mqttnet/"><img src="https://www.itechguides.com/best/badge/mqttnet.svg" alt="Featured on iTechGuides" width="230" height="46"></a>

Reviewed by iTechGuides Editors · Editorial team · Updated Nov 2026

Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.

Last updated · How we research and update