HomeAssistantHQ
A dark isometric hub with glowing pink trim connects to seven pink cylindrical nodes on a circuit-patterned platform.
guides

ZHA vs Zigbee2MQTT for Home Assistant

Choose ZHA or Zigbee2MQTT for Home Assistant. Check your coordinator and device features, then see when switching means re-pairing your devices.

By HomeAssistantHQ Editorial · · 5 min read

Start with ZHA for a new Home Assistant Zigbee network if it supports your coordinator and the features you need. Choose Zigbee2MQTT when it covers a feature missing in ZHA or you want its separate device-management interface and can run a broker. If your current network already does what you need, keep it.

What the two actually are

Zigbee is the wireless mesh that connects your lights, switches and sensors to the coordinator. MQTT is the messaging protocol a broker uses to carry data between Zigbee2MQTT and Home Assistant. Home Assistant’s Zigbee overview · Zigbee2MQTT MQTT settings

  • ZHA runs inside Home Assistant. It talks to the Zigbee coordinator directly and needs no MQTT broker. ZHA integration
  • Zigbee2MQTT (Z2M) runs as a separate service. It can run as an app (add-on) on Home Assistant OS or in its own Docker container. Zigbee2MQTT requires a broker connection, and Home Assistant’s MQTT integration uses discovery to add devices. Home Assistant add-on · Docker installation · MQTT discovery

Can ZHA and Zigbee2MQTT share a coordinator?

No. Each needs exclusive use of its own coordinator. To run them side by side, use two coordinators on separate Zigbee networks. Each device pairs to one network at a time. ZHA integration · Zigbee2MQTT FAQ

Device support: quirks versus converters

  1. Record your coordinator. Write down the exact adapter model, radio family and installed firmware version. Find the model or radio family in both adapter guides and compare the firmware you have with the guidance for your adapter. Mark either stack as unknown if you cannot match the hardware or firmware. Home Assistant’s Zigbee adapter guide · Zigbee2MQTT’s supported adapters
  2. Pick one must-have device feature. Write down the exact device model and the action or reading your setup depends on. For Zigbee2MQTT, open the model’s entry in the device catalog and look in Exposes and the model’s notes. For example, the IKEA E2201 page lists an action and maps a long press of the on button to brightness_move_up. Zigbee2MQTT device catalog · IKEA E2201 device page
  3. Check the same feature in ZHA. ZHA supports standard Zigbee device types and uses device handlers called quirks for manufacturer-specific behavior. Check the handlers for the exact model and feature. For an already paired device, open Zigbee Device Signature on its device page to match the model to a handler. ZHA device support · ZHA Device Handlers
  4. Flag unknowns before committing. Mark the adapter and feature as supported, unsupported or unknown for each stack. Successful pairing alone leaves feature support open. If a required feature is still unknown, verify it on one device before moving the rest of the network. ZHA device support

What each UI gives you

  • ZHA keeps management in Home Assistant. Open Settings > Connectivity > Zigbee and select Show map for device links and their reported signal and link quality. Device firmware updates can appear as Home Assistant update notifications. ZHA integration
  • Zigbee2MQTT offers its own web frontend, including controls for device firmware updates. Home Assistant still has device and entity pages for devices added through MQTT discovery. Zigbee2MQTT frontend · OTA updates · Home Assistant integration

Switching: what moves and what does not

Before switching, save a coordinator backup if your current setup supports one. Record the entity IDs used in affected automation triggers and actions and in dashboard cards.

DirectionBackup and pairingsHome Assistant checks
Zigbee2MQTT → ZHAA Zigbee2MQTT coordinator backup can retain pairings in Nabu Casa’s Connect ZBT-1 restore procedure when the original coordinator is unavailable. If you create a fresh ZHA network instead, plan to factory-reset and re-pair devices. Nabu Casa’s backup restore guide · ZHA integrationThe documented restore gives devices new entity IDs and drops custom device names. Match the new IDs to the old ones and update affected automations and dashboard cards.
ZHA → Zigbee2MQTTSave the ZHA backup so you can restore within ZHA. Plan for a fresh Zigbee2MQTT network and factory-reset and re-pair devices as you move them. ZHA backup guidance · Zigbee2MQTT FAQOnce MQTT discovery adds the devices, compare their entity IDs with your list. Re-select changed entities or devices in automation triggers and actions and in dashboard cards. MQTT discovery

For the Connect ZBT-1 restore, open the Zigbee2MQTT web UI. Under Settings > Tools, select Request Z2M backup, then Download Zigbee2MQTT backup. Unzip the download to find coordinator_backup.json and stop Zigbee2MQTT. Add the Connect ZBT-1 in Home Assistant and select Use as Zigbee adapter, then Custom and Zigbee Home Automation. In the network formation dialog, select Upload a manual backup and submit the file. Wait for devices to rejoin before checking their entity IDs. Nabu Casa’s Connect ZBT-1 procedure

For a coordinator swap within Zigbee2MQTT, the FAQ limits built-in backup and restore to the zstack and ember drivers. A swap between those two families can still require re-pairing. ZHA has its own adapter migration procedure for backups created in ZHA. Zigbee2MQTT FAQ · ZHA migration guidance

Which one to run

  • New setup: Pick ZHA if it covers your checklist and you want to manage Zigbee inside Home Assistant. Pick Zigbee2MQTT if it covers your checklist and gives you a feature or interface you need.
  • Existing setup: Stay put if your devices and automations work as expected. Switch when you have a specific feature to gain and the migration work is worth it. If devices keep dropping off, start with the guide to Zigbee devices going unavailable.

For hardware options, see the Zigbee coordinator stick guide. If you choose Z2M, see how to add Zigbee2MQTT to Home Assistant.

Evidence and limits: The guide follows the ZHA documentation for Home Assistant 2026.11.3, the Zigbee2MQTT documentation, and Nabu Casa’s Connect ZBT-1 restore guide. The Zigbee2MQTT release reference is version 2.14.3. The steps were not run for this article.

Sources

  1. Zigbee Home Automation (Home Assistant Documentation)
  2. Zigbee (Home Assistant Documentation)
  3. FAQ (Zigbee2MQTT Documentation)
  4. Supported devices (Zigbee2MQTT Documentation)
  5. Supported adapters (Zigbee2MQTT Documentation)
  6. Home Assistant integration (Zigbee2MQTT Documentation)
  7. MQTT (Zigbee2MQTT Documentation)
  8. Home Assistant add-on installation (Zigbee2MQTT Documentation)
  9. Docker installation (Zigbee2MQTT Documentation)
  10. OTA updates (Zigbee2MQTT Documentation)
  11. Frontend (Zigbee2MQTT Documentation)
  12. ZHA Device Handlers (zigpy on GitHub)
  13. IKEA E2201 device page (Zigbee2MQTT Documentation)
  14. Migrating a Zigbee2MQTT network from a backup file to Connect ZBT-1 using ZHA (Nabu Casa Support)
  15. Zigbee2MQTT 2.14.3 release

Related