RabbitMQ
Version Verification
Messaging Systems
Server Administration
System Updates

How to check the RabbitMQ version

Codemia Knowledge Hub ·

Run rabbitmqctl version to print just the RabbitMQ version (for example, 3.13.2). Use rabbitmqctl status when you also need the Erlang/OTP version. If the management plugin is enabled, the version also appears at the top of the web UI on port 15672. In Docker, prefix the commands with docker exec <container>.

rabbitmqctl version

This prints the server version and exits.

bash
rabbitmqctl version

Output:

 
3.13.2

The command exists in RabbitMQ 3.8.6 and later. On older versions you get an error like "Error: could not recognise command."; use rabbitmqctl status instead.

rabbitmqctl status

status reports the RabbitMQ version, Erlang/OTP version, uptime, listeners and resource usage.

bash
rabbitmqctl status

The output is long. To pull out just the version lines:

bash
rabbitmqctl status | grep -E "RabbitMQ|Erlang"

Typical output:

 
1RabbitMQ version: 3.13.2
2RabbitMQ release series support status: see https://www.rabbitmq.com/release-information
3Erlang configuration: Erlang/OTP 26 [erts-14.2.3] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [jit]
4Erlang processes: 456 used, 1048576 limit

Because it includes the exact Erlang/OTP release, the full output is useful for bug reports and compatibility checks.

rabbitmq-diagnostics server_version

The rabbitmq-diagnostics CLI (available since RabbitMQ 3.8) has targeted commands:

bash
rabbitmq-diagnostics server_version

Output:

 
Asking node rabbit@my-host for its RabbitMQ version...
3.13.2

For the Erlang version alone:

bash
rabbitmq-diagnostics erlang_version

Output:

 
Asking node rabbit@my-host for its Erlang/OTP version...
Erlang/OTP 26.2.3

Add -q to either command to drop the "Asking node" line.

Management UI and HTTP API

With the rabbitmq_management plugin enabled:

  1. Open http://your-server:15672/ in a browser.
  2. Log in (default is guest / guest on localhost).
  3. The overview page header shows the version, for example: "RabbitMQ 3.13.2, Erlang 26.2.3".

The plugin is not enabled in a fresh installation. If nothing is listening on port 15672, enable it:

bash
rabbitmq-plugins enable rabbitmq_management

The same information is available from the REST API:

bash
curl -s -u guest:guest http://localhost:15672/api/overview | python3 -m json.tool | grep rabbitmq_version

Output:

json
"rabbitmq_version": "3.13.2",

For scripts, parse the JSON directly:

bash
1curl -s -u guest:guest http://localhost:15672/api/overview | python3 -c "
2import sys, json
3data = json.load(sys.stdin)
4print(f\"RabbitMQ: {data['rabbitmq_version']}\")
5print(f\"Erlang: {data['erlang_version']}\")
6"

The default guest/guest credentials only work over loopback. Calling curl -u guest:guest http://remote-server:15672/api/overview from another machine returns 401. Create a new admin user or change the loopback_users configuration.

Docker, Docker Compose and Kubernetes

rabbitmqctl is not available on the Docker host, so run it inside the container:

bash
1# Using container name
2docker exec rabbitmq rabbitmqctl version
3
4# Using container ID
5docker exec abc123def456 rabbitmqctl version
6
7# If you don't know the container name
8docker ps --filter "ancestor=rabbitmq" --format "{{.Names}}"

With Docker Compose:

bash
docker compose exec rabbitmq rabbitmqctl version

You can also read the image tag, but that is the image version, not necessarily the running server version if the image was rebuilt:

bash
docker inspect rabbitmq --format '{{.Config.Image}}'

In Kubernetes:

bash
1kubectl exec -it rabbitmq-0 -- rabbitmqctl version
2
3# Or for a specific namespace
4kubectl exec -it rabbitmq-0 -n messaging -- rabbitmqctl version

Package manager queries

If RabbitMQ came from a system package manager, query the installed package:

bash
1# Debian/Ubuntu
2dpkg -l rabbitmq-server
3
4# RHEL/CentOS/Fedora
5rpm -q rabbitmq-server
6
7# macOS with Homebrew
8brew info rabbitmq
9
10# Windows (PowerShell)
11Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\*" |
12  Where-Object DisplayName -like "*RabbitMQ*" |
13  Select-Object DisplayName, DisplayVersion

The package version can differ from the running server. If you upgraded the package without restarting the service, dpkg -l shows the new version while rabbitmqctl version still shows the old one. Check the running server, not just the package.

Comparing the methods

MethodRequires running serverShows Erlang versionScriptableAvailable since
rabbitmqctl versionYesNoYes3.8.6+
rabbitmqctl statusYesYesYes (parse output)All versions
rabbitmq-diagnostics server_versionYesNo (separate command)Yes3.8+
Management UIYes + plugin enabledYesNo3.x with plugin
Management API (/api/overview)Yes + plugin enabledYesYes (JSON)3.x with plugin
Package manager queryNoNoYesN/A

Checking Erlang compatibility

Each RabbitMQ release supports a specific range of Erlang/OTP versions. An unsupported combination can cause crashes, silent data corruption or performance degradation, so check Erlang after you check RabbitMQ.

RabbitMQ versionMinimum ErlangMaximum ErlangNotes
3.13.x26.026.xCurrent release series
3.12.x25.026.xPrevious release
3.11.x25.025.xEnd of life
3.10.x24.325.xEnd of life

The authoritative, up-to-date table is the official compatibility matrix at rabbitmq.com/docs/which-erlang.

bash
# Verify both versions in one command
rabbitmqctl status | grep -E "RabbitMQ version|Erlang configuration"

RabbitMQ 3.12+ requires Erlang 25+, and upgrading RabbitMQ without upgrading Erlang first causes startup failures. Check the matrix before upgrading either component.


Course
Beginner
27 lessons
10 hours
System Design Fundamentals

Build a strong foundation in designing scalable, reliable distributed systems.

View the course
System Design practice on Codemia

Work through 120+ system design problems with detailed solutions, from rate limiters to multi-region storage.

Practice system design