pull/this/repo
RoundupProductivity and work apps#open-source#roundup#self-hosting#docker

Self-hosted Slack alternatives: Mattermost, Rocket.Chat and Zulip

By Pull This RepoPosted 5 min read

Short answer

Slack cannot be self-hosted, so teams that want their chat on their own server use Mattermost, Rocket.Chat, Zulip or Matrix with Element. Mattermost feels most like Slack and has a free MIT licensed Team Edition. Zulip is Apache-2.0 with every feature free when self-hosted. Rocket.Chat's free Starter plan is limited to 50 users.

RoundupSelf-hosted Slack alternatives: Mattermost, Rocket.Chat and Zulip

There is no self-hosted Slack. Slack only runs as a cloud service, so a team that wants its messages on its own server has to switch apps. The four open source options worth testing are Mattermost, Rocket.Chat, Zulip and Matrix with the Element app. This page compares their licences, free self-hosted limits and install steps, all read from each project's GitHub page, the GitHub API and official docs on 22 November 2026.

Which self-hosted Slack alternative fits your team?

AppFeels likeLicenceStars on 22 Nov 2026Free self-hosted limitsLatest release
MattermostSlack, closelyAGPL-3.0 source, MIT for Mattermost's compiled builds39,688Team Edition aimed at under 250 activated usersv12.1.0, 5 Nov 2026
Rocket.ChatSlack, closelyMIT core, separate licence for enterprise folders46,565Starter plan limited to 50 users9.0.0, 10 Nov 2026
Zulipthreaded email meets chatApache-2.026,288all features; mobile push for 10 users unless eligible13.3, 19 Nov 2026
Element on Synapseencrypted rooms that federateAGPL-3.013,671 and 4,815none stated in the docs we readSynapse v1.165.0, 10 Nov 2026

None of the repos is archived, and all of them were pushed to in the past week.

Is Mattermost self-hosted really free?

Yes, and there are two free versions, which is where most of the confusion comes from. Mattermost's editions page describes them like this:

  • Team Edition is free, open source and self-hosted, ships as a single Linux binary with PostgreSQL, and is licensed under MIT. It is meant for small teams, hobbyists and personal use under 250 activated users, and Mattermost does not recommend it for government or sensitive commercial work. The page also says single sign-on is being removed from Team Edition.
  • Mattermost Entry is the free mode of Enterprise Edition. It includes the Enterprise Advanced features but caps channel message history at 10,000 messages across all channels. Older messages stay in the database but cannot be viewed or searched. The page lists further caps, such as 40 minute calls and 10,000 push notifications a month, that it says will take effect in a future release, and calls Entry best suited to teams under 50 users.

For most small teams that want a self-hosted Slack with no message cap, Team Edition is the one to install. The paid plans on Mattermost's pricing page are Professional, Enterprise and Enterprise Advanced, all behind a "Contact Sales" button with no prices shown on 22 November 2026.

How to install Mattermost with Docker

From Mattermost's container deployment guide, on a Linux server with Docker installed:

terminal
git clone https://github.com/mattermost/docker
cd docker
cp env.example .env
mkdir -p ./volumes/app/mattermost/{config,data,logs,plugins,client/plugins,bleve-indexes}
sudo chown -R 2000:2000 ./volumes/app/mattermost
docker compose -f docker-compose.yml -f docker-compose.without-nginx.yml up -d

Edit .env before starting: set your domain, and set MATTERMOST_IMAGE_TAG to the version you want. The guide points to the mattermost/mattermost-team-edition image for Team Edition. Without the bundled NGINX, open http://your-domain:8065/ to create the first admin account. Use docker-compose.nginx.yml in place of the without-nginx file if you want the included NGINX and HTTPS.

How do you self-host Rocket.Chat?

Rocket.Chat is the biggest of the four by GitHub stars. Its free self-managed Starter plan is "limited to 50 users" according to its pricing page, and the Community edition is described as not suitable for production use by organizations relying on it for business-critical work. Paid plan prices are only available through sales.

The official route is the rocketchat-compose repo:

terminal
git clone --depth 1 https://github.com/RocketChat/rocketchat-compose.git
cd rocketchat-compose
cp .env.example .env
nano .env
docker compose -f compose.database.yml -f compose.yml -f compose.nats.yml up -d

That last line is the minimal stack without monitoring or Traefik. The docs give a longer command that adds Traefik, Grafana monitoring and Let's Encrypt for production, and advise pinning an exact version with RELEASE= in .env. Locally, open http://localhost:3000 and the setup wizard creates the admin user. The docs also note that Ubuntu 24.04 LTS is the safer host because MongoDB 8 may fail to start on 26.04.

Is Zulip better than Slack for busy teams?

Zulip's difference is the topic. Every message lives in a channel and a named topic, so a long thread does not drown the rest of the channel and you can catch up topic by topic. Some teams love it, some find it slower for quick banter.

The licensing is the simplest here. Zulip's plans page calls the software 100% open source, and the free self-hosted Community plan includes all Zulip features. The one limit is mobile push notifications: unlimited for eligible communities, and up to 10 users for other organizations. Paid self-hosted plans on 22 November 2026 were Basic at $3.50 per user per month and Business at $6.67 per user per month billed annually, with a 25 user minimum on Business.

Install on a fresh Ubuntu or Debian server, per Zulip's docs:

terminal
cd $(mktemp -d)
curl -fLO https://download.zulip.com/server/zulip-server-latest.tar.gz
tar -xf zulip-server-latest.tar.gz
sudo -s
./zulip-server-*/scripts/setup/install --push-notifications --certbot \
  --email=YOUR_EMAIL --hostname=YOUR_HOSTNAME

--certbot gets and renews an HTTPS certificate for you. Zulip also publishes a Docker image if you prefer containers.

When should you pick Matrix and Element instead?

Pick Matrix when encryption or federation matter more than a Slack-like feel. Element's features page lists default end-to-end encryption, unlimited one to one and group voice and video calls, and bridges and bots. Because Matrix federates, your server can talk to rooms on other Matrix servers, the way email works between providers.

The reference server is Synapse. Its docs recommend the official Docker image matrixdotorg/synapse or Matrix.org's Debian packages (sudo apt install matrix-synapse-py3 after adding their repository), and say almost every install should use PostgreSQL rather than SQLite. Matrix is also a strong fit for a community chat, which we cover in our free Discord alternatives roundup.

Can you move your Slack history to a self-hosted server?

Partly. Both Mattermost and Zulip document an import from a Slack export.

  • Mattermost uses its mmetl tool to turn the Slack export zip into a bulk import file, then mmctl to load it. Its migration guide says public and private channels, direct and group messages, posts, threads, files, reactions, users and bots come across. Custom emoji images, canvases, user groups, profile pictures and every integration do not, so webhooks and slash commands have to be rebuilt at new Mattermost URLs.
  • Zulip imports full message history with files and reactions, users, channels and custom emoji. Slack threads become Zulip topics. Passwords, settings and message edit history do not come across, so everyone sets a new password.

Neither is a one click switch, but you do not have to start from an empty server.

What is the catch?

  • Free tiers have fine print. Mattermost Entry caps message history at 10,000, Rocket.Chat Starter stops at 50 users, and Zulip's free plan limits mobile push for non-eligible organizations. Mattermost Team Edition and Synapse are the ones without a stated user cap in the docs we read.
  • Imports leave gaps. Even with the tools above, integrations, canvases and some profile data have to be redone by hand.
  • Integrations are fewer. Slack's app directory is much larger than any of these. Check that the bots and webhooks you rely on exist first.
  • You own the uptime. Backups, upgrades, HTTPS certificates and security patches are now yours.
  • Mobile push has its own rules. Zulip registers with its Mobile Push Notification Service during install, and that is where its free 10 user limit applies. Mattermost lists a future 10,000 a month push cap for Entry.

Chat is usually half of the move away from paid tools. If you are also replacing a ticket tracker, see our guide to self-hosted Jira alternatives, and for docs, our list of self-hosted Notion alternatives.

Pull it. Stash it.

Questions people ask

Can you self-host Slack?

No. Slack is a cloud service with no version you can install on your own server. A self-hosted Slack alternative such as Mattermost, Rocket.Chat, Zulip or a Matrix server with Element gives you channels, threads and direct messages on hardware you control.

Is Mattermost self-hosted free?

Yes, two ways. Team Edition is free, open source and MIT licensed, aimed at teams under 250 activated users. Mattermost Entry is the free mode of Enterprise Edition with paid features but a 10,000 message history limit across all channels, which Mattermost's docs say suits teams under 50 users.

What is the most Slack-like open source chat app?

Mattermost is the closest in layout, with channels, threads and a sidebar like Slack's. Rocket.Chat is similar. Zulip works differently, with every message filed under a topic inside a channel, which some teams prefer for long running discussions.

Do these apps have mobile apps?

Yes. Mattermost, Rocket.Chat and Zulip each keep open source iOS and Android apps on GitHub, and Element X runs on iPhone and Android. Check the push notification rules: Zulip's free self-hosted plan sends mobile notifications for up to 10 users unless your organization qualifies as eligible.

Sources

  1. 1mattermost/mattermost
  2. 2Mattermost docs: editions and offerings (read 2026-11-22)
  3. 3Mattermost docs: deploy with containers (read 2026-11-22)
  4. 4Mattermost pricing (read 2026-11-22)
  5. 5RocketChat/Rocket.Chat
  6. 6Rocket.Chat docs: deploy with Docker Compose (read 2026-11-22)
  7. 7Rocket.Chat pricing (read 2026-11-22)
  8. 8zulip/zulip
  9. 9Zulip plans (read 2026-11-22)
  10. 10Zulip docs: production installation (read 2026-11-22)
  11. 11element-hq/synapse
  12. 12Synapse docs: installation (read 2026-11-22)
  13. 13Mattermost docs: migrate from Slack (read 2026-11-22)
  14. 14Zulip help: import from Slack (read 2026-11-22)
  15. 15Element features (read 2026-11-22)

Get tomorrow's repo in your feed

One free, open source repo a day as a short video, shown working, with the catch named. Pull it. Stash it.