BlogRabbitMQ

RabbitMQ on Windows: Install Checklist and Why the Service Will Not Start

Scott Sternloff

By Scott Sternloff, Senior Enterprise Architect

LinkedIn · Updated · 5 min read

RabbitMQ on Windows: Install Checklist and Why the Service Will Not Start
On this page

Short answer

Most failed RabbitMQ installs on Windows come down to six causes: more than one Erlang version, Erlang installed without administrator rights, a non-ASCII install path, an Erlang cookie mismatch, environment variables the service never picked up, and antivirus. This post gives the Erlang version per release, the install order and the fix for each symptom.

Most failed RabbitMQ installs on Windows come down to six causes: more than one Erlang version, Erlang installed without administrator rights, a non-ASCII install path, an Erlang cookie mismatch, environment variables the service never picked up, and antivirus. Fix them in that order. This guide follows the RabbitMQ 4.4 Windows installation and Windows configuration guides, read on 5 December 2026.

Which Erlang version does RabbitMQ need on Windows?

A 64-bit Erlang for Windows that matches the RabbitMQ release. Erlang must be installed with an administrative account or the RabbitMQ service cannot find it, and only one Erlang version should be installed at a time.

RabbitMQErlang/OTP
4.427.0 to 29.x
4.327.0 to 28.x on 4.3.6; 27.0 to 27.x on 4.3.3 to 4.3.5; 26.2 to 27.x on 4.3.0 to 4.3.2
4.227.0 to 27.x on 4.2.9 and later; 26.2 to 27.x on 4.2.0 to 4.2.8
3.13 (end of life)26.0 to 26.2.x

The full table is in the RabbitMQ and Erlang version support matrix, transcribed from the project's Erlang compatibility page.

What is the right install order on Windows?

  1. Log in as an administrator, and install Erlang first. Check that exactly one Erlang version is present.
  2. Install RabbitMQ with choco install rabbitmq, or run the official rabbitmq-server-{version}.exe as an administrator. Chocolatey manages the dependencies, but new releases can take weeks to clear its approval.
  3. For a manual install from the Windows zip, set ERLANG_HOME to the Erlang directory, because the batch files run %ERLANG_HOME%\bin\erl.exe. Use the Windows zip or installer, not the generic Unix archive: only the Windows builds ship the .bat tools.
  4. Keep the install path to ASCII characters, ideally with no spaces.
  5. Run rabbitmqctl.bat status as an administrator to confirm the node is up and that the CLI can authenticate.

The installer starts RabbitMQ as a Windows service automatically. It runs either as a service or as an application, never both at once.

Windows could not start the RabbitMQ service on the local computer: what do I check?

SymptomCauseFix
Erlang machine stopped instantly (distribution name conflict?)Install path contains non-ASCII charactersSet RABBITMQ_BASE to an ASCII-only directory and reinstall the service.
Service uses the wrong or an older ErlangMore than one Erlang version installed; the installer picks oneStop the service, uninstall Erlang, install the one you want, then rabbitmq-service.bat remove, install, start.
A config or environment change has no effectThe service reads rabbitmq-env-conf.bat only at install timeReinstall the service. Variables outside the documented list, such as ERL_EPMD_PORT, must be system-wide environment variables.
rabbitmqctl.bat cannot authenticateInstalled without administrator rights, so the Erlang cookie is in the wrong placeReinstall as an administrator, or copy .erlang.cookie from %SystemRoot% or %SystemRoot%\system32\config\systemprofile to %HOMEDRIVE%%HOMEPATH%.
Sporadic failures, a port that will not bind, files that will not openAntivirus or a firewallExclude the RabbitMQ processes, ports, service and data directory. Open 4369, 5672 and 5671, 25672, 35672 to 35682, and 15672 if the management plugin is on.
CLI output garbled or commands failConsole not in UTF-8 modeSwitch the console to UTF-8; the CLI tools require it.

If the Erlang VM itself crashes under the service, the dump is written to erl_crash.dump in %APPDATA%\RabbitMQ by default.

How do I upgrade Erlang or change the distribution port on Windows?

Both changes need the service reinstalled, and both must be done by the same administrative user that installed RabbitMQ. To upgrade Erlang:

  1. Stop the service: .\rabbitmq-service.bat stop.
  2. Uninstall Erlang, then install the new version.
  3. Open RabbitMQ Command Prompt (sbin dir) and run .\rabbitmq-service.bat remove, install and start.

To move Erlang distribution off its default port, stop and remove the service, create %AppData%\RabbitMQ\rabbitmq-env-conf.bat containing set DIST_PORT=44556 (use your own number), install and start the service, then confirm the port with epmd -names.

One optional extra: RabbitMQ collects file and socket handle metrics on Windows through handle.exe, and the documentation says version 5 is required on Windows Server 2025.

How do I check that RabbitMQ is running on Windows?

rabbitmq-service.bat start
rabbitmqctl.bat status
rabbitmq-diagnostics.bat listeners
epmd -names

Run them from the RabbitMQ Command Prompt (sbin dir) start menu item, as an administrator. epmd -names shows the ports in use for node-to-node and CLI traffic. After a first start, the default guest user can connect only from localhost, so create a real user before any remote client connects.

When should I get help with RabbitMQ on Windows?

If a service fails after you have worked through the table, or if you are planning a production cluster on Windows, a senior engineer can review the installation, Erlang version and service configuration. Start with a RabbitMQ health check or AceMQ support. AceMQ replies within 1 hour.

Sources

Frequently Asked Questions

Why does Windows say it could not start the RabbitMQ service on the local computer?

The usual causes are an install path with non-ASCII characters, more than one Erlang version installed, Erlang installed by a non-administrator so the service cannot find it, and antivirus blocking the process or its ports. Check the RabbitMQ log, run rabbitmq-service.bat remove and install as the same administrator that installed it, and start the service again.

Which Erlang version does RabbitMQ need on Windows?

A 64-bit Erlang that matches the release: 27.0 to 29.x for RabbitMQ 4.4, 27.0 to 28.x on 4.3.6, and 26.0 to 26.2.x for 3.13, which is end of life. Only one Erlang version should be installed, and it must be installed with an administrative account.

Why does rabbitmqctl.bat fail with an authentication error on Windows?

The CLI tools authenticate with the Erlang cookie file, and a non-administrative install can leave it in the wrong place. Re-install as an administrator, or copy .erlang.cookie from %SystemRoot% or %SystemRoot%\system32\config\systemprofile to %HOMEDRIVE%%HOMEPATH%.

Do I need to reinstall the RabbitMQ service after changing environment variables?

Yes. When RabbitMQ runs as a Windows service, rabbitmq-env-conf.bat is read only when the service is installed, so changed values need rabbitmq-service.bat remove, then install, then start. Restarting the service is not enough.

Should I exclude RabbitMQ from antivirus on Windows?

Yes. RabbitMQ's documentation recommends excluding the processes, ports, Windows service and node data directory from scanning, because antivirus can cause sporadic failures that are hard to trace. Running nodes on dedicated hosts with a firewall and no antivirus is better still.

Scott Sternloff

Author

Scott SternloffSenior Enterprise Architect

Senior Enterprise Architect at AceMQ. Writes the technical coverage here: RabbitMQ, Kafka and Redis architecture, clustering and migrations.

Guides, comparisons and research

Go deeper on RabbitMQ

Guides

31
Show 25 moreShow fewer

Free Consultation

Get Expert Eyes on Your RabbitMQ Cluster

Whether you're troubleshooting a production incident, planning a migration, or want a second opinion on your architecture — our team is ready. No pitch, just answers.

Email Us