# Tuwunel

> High Performance Matrix Homeserver in Rust!

Source: https://talira.ai/catalog/tuwunel-3jezrvj8
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Infrastructure
- Categories: [communication / messaging / servers](https://talira.ai/categories/communication/messaging/servers), [business / communication / team chat](https://talira.ai/categories/business/communication/team-chat)
- Platforms: linux, docker[^3][^7]
- Licence: Apache-2.0[^3][^6]
- Pricing: Free and open source[^3][^5]
- Pricing notes: Free and open source. Companies can sponsor development for features, priority on deployment-critical fixes and access to full-time staff; no prices published.
- Free tier: yes[^3][^5]
- Self-hostable: yes[^3][^7]
- SSO: yes[^8][^9]
- Supports: [Matrix](https://talira.ai/standards/matrix.md)[^3][^4]
- Sponsors: Government of Switzerland

Tuwunel is a Matrix homeserver written in Rust and the official successor to conduwuit, meant as a replacement for [Synapse](https://talira.ai/catalog/synapse-qfq5ww20.md) that works with Matrix clients, bridges and bots. It runs as one process on an embedded RocksDB database, migrates [Conduit](https://talira.ai/catalog/conduit-kzevjnsj.md) and conduwuit databases in place on first boot, and has a built-in OAuth 2.0/OpenID Connect server, sign-in through upstream identity providers such as [Keycloak](https://talira.ai/catalog/keycloak-jw9hhr96.md), [authentik](https://talira.ai/catalog/authentik-n6xa119j.md), [GitHub](https://talira.ai/catalog/github-ppcgj756.md) or Google, LDAP and JWT logins, and MatrixRTC calls for Element Call. It ships static binaries, Deb and RPM packages, [Docker](https://talira.ai/catalog/docker-engine-9442r3nw.md) images and packages for [Arch Linux](https://talira.ai/catalog/arch-linux-6v5qs9ac.md), [NixOS](https://talira.ai/catalog/nixos-ygtdyfk0.md), Alpine, Gentoo and [FreeBSD](https://talira.ai/catalog/freebsd-d628b1cm.md). Full-time staff develop it, and its README says it is primarily sponsored by the government of Switzerland, where it is deployed for citizens. Apache-2.0.

## Links

- Website: https://matrix-construct.github.io/tuwunel/
- GitHub: https://github.com/matrix-construct/tuwunel
- Docs: https://matrix-construct.github.io/tuwunel/introduction.html

## Ways to install

### On your own server

- [YunoHost](https://talira.ai/catalog/yunohost-f9asga4s.md): <https://apps.yunohost.org/app/tuwunel>[^1]

### Hosted for you

- [Railway](https://talira.ai/catalog/railway-mczwyt8g.md): <https://railway.com/deploy/tuwunel>[^2]

## Problems it solves

- my conduwuit homeserver was archived and I need the maintained successor that keeps my database
- move my Conduit Matrix server to something actively developed without losing my rooms
- run a Matrix homeserver that uses far less RAM and CPU than Synapse on a small VPS
- a single-binary chat server in Rust that doesn't need PostgreSQL or a fleet of worker processes
- self-host a federated chat server for our family on our own domain
- let staff sign in to our Matrix server with our Keycloak, Authentik or Authelia accounts
- sign users in to our chat server against our company LDAP directory
- our Matrix clients need next-gen OAuth/OIDC login so Element X works with our homeserver
- group video and voice calls in Element Call on a homeserver we run ourselves
- a government-grade Matrix server that a national deployment already relies on
- install a Matrix homeserver from an apt repository on Debian or Ubuntu
- run our chat server as a rootless Podman container managed by systemd
- deploy a Matrix homeserver on NixOS with a module and a binary cache
- keep the Synapse admin tools we use working after switching homeserver
- connect bridges to WhatsApp, Telegram or Signal from a lightweight homeserver
- a homeserver an enterprise can sponsor for features and priority fixes from full-time staff

## Features

- Matrix homeserver with federation, aiming at the full Matrix specification
- single process with an embedded RocksDB database
- migrates Conduit, conduwuit and conduwuit-fork databases in place on first boot
- built-in OAuth 2.0 / OpenID Connect authorization server for Matrix clients
- delegated sign-in through upstream identity providers (guides for Authelia, Authentik, Keycloak and Matrix Authentication Service; GitHub and Google examples)
- LDAP and JWT authentication
- MatrixRTC support for Element Call voice and video
- most Synapse Admin API endpoints
- appservices for bridges
- registration tokens; the first registered user becomes server admin
- static x86_64 binaries in CPU-optimised variants, Deb and RPM packages, an apt repository and a COPR repository
- Docker Hub and GHCR images, Podman quadlet guide
- packages for Arch (AUR), Nix/NixOS with a binary cache, Alpine, Gentoo and FreeBSD, and an Ansible playbook
- guides for Caddy, nginx and Traefik reverse proxies and root-domain delegation

## Limitations

- Can't migrate from Synapse yet: moving a Synapse server's data to Tuwunel is planned but not supported[^3][^4]
- No clustering or high availability yet: multi-node scale-out, redundancy and failover are future plans[^4][^5]

## Capabilities

- Has single sign-on: plan not known

## Trust

Overall: 0.21 out of 1.
Signals: backing 0.15, extensibility 0.00.

- sponsored by Government of Switzerland

Warnings:

- GitHub activity not fetched yet

## Related

- Successor of [conduwuit](https://talira.ai/catalog/conduwuit-d61a100p.md)

## Alternatives

- [Dendrite](https://talira.ai/catalog/dendrite-bfhty0k9.md): Dendrite is a second-generation Matrix homeserver written in Go!
- [Continuwuity](https://talira.ai/catalog/continuwuity-8sfhkebp.md): A community-driven Matrix homeserver
- [Conduit](https://talira.ai/catalog/conduit-kzevjnsj.md): A Matrix homeserver written in Rust
- [Synapse](https://talira.ai/catalog/synapse-qfq5ww20.md): Matrix homeserver written in Python/Twisted + Rust
- [ejabberd](https://talira.ai/catalog/ejabberd-mba74dm2.md): Robust, scalable and extensible realtime platform: XMPP server, MQTT broker and SIP service

## Sources

[^1]: https://app.yunohost.org/default/v3/apps.json (checked 21 Nov 2026)
[^2]: https://railway.com/deploy/tuwunel (checked 20 Nov 2026)
[^3]: https://github.com/matrix-construct/tuwunel (checked 20 Nov 2026)
[^4]: https://matrix-construct.github.io/tuwunel/introduction.html (checked 20 Nov 2026)
[^5]: https://matrix-construct.github.io/tuwunel/ (checked 20 Nov 2026)
[^6]: https://github.com/matrix-construct/tuwunel/blob/main/LICENSE (checked 20 Nov 2026)
[^7]: https://matrix-construct.github.io/tuwunel/deploying.html (checked 20 Nov 2026)
[^8]: https://matrix-construct.github.io/tuwunel/authentication/oidc-server.html (checked 20 Nov 2026)
[^9]: https://matrix-construct.github.io/tuwunel/authentication/providers.html (checked 20 Nov 2026)
