Introduction to Matrix
Matrix is an open standard for secure, decentralized, real-time communication. It works a bit like email: anyone can run a server, and servers talk to each other, so people on different servers can chat in the same rooms.
The protocol is published by the Matrix.org Foundation at spec.matrix.org. This guide is unofficial; when in doubt, the spec and each project's own documentation win.
Why Matrix?
Decentralized by design
Unlike WhatsApp, Slack or Discord, Matrix does not depend on one company's servers. You can:
- Run your own server (a homeserver) and keep control of your data
- Choose any client you like; you are not locked into one app
- Federate with the public Matrix network, or run a closed deployment
End-to-end encryption
Matrix uses two protocols (overview): Olm, a Double Ratchet between two devices like the one Signal uses, and Megolm, a group ratchet that encrypts room messages. Element and Element X turn end-to-end encryption on by default for direct messages and private rooms. Public rooms are usually not encrypted.
The main implementation of these protocols is now vodozemac, written in Rust (0.11.1, 2026-09-30). The older C library libolm was deprecated in August 2024.
Bridges to other platforms
Bridges connect Matrix rooms to other networks such as IRC, Telegram, Signal, WhatsApp, Slack and Discord. Coverage and quality vary by network and change when those networks change their APIs; see Bridges for details.
Key concepts
| Concept | Description |
|---|---|
| Homeserver | A server that stores your account and the rooms you are in. Examples: Synapse, Dendrite (maintenance mode), continuwuity and tuwunel (Conduit forks) |
| Matrix ID | Your unique identifier, like @username:homeserver.org |
| Room | A conversation: a DM, a group chat or a public channel |
| Space | A room that groups other rooms into a community |
| Federation | Homeservers exchanging room events with each other |
Matrix IDs follow the format @localpart:server.name. The server part tells you which homeserver the user is registered on. Federation lets users on different servers share rooms.
Matrix 2.0
"Matrix 2.0" is the Foundation's name for four pieces of work announced together in October 2024. As of 2026-10 the spec version has not been renamed 2.0, but most of the pieces are in use:
- Simplified sliding sync (MSC4186): fast startup for large accounts. It is not yet in the spec as of v1.19, but Synapse implements it natively and Element X needs it.
- Next-generation auth: login through OAuth 2.0, in the spec since v1.15 (OAuth 2.0 API). The Matrix Authentication Service (MAS) provides it for Synapse. matrix.org moved to MAS in April 2025.
- MatrixRTC / Element Call: voice and video calls signalled over Matrix, with media through LiveKit.
- Invisible crypto (MSC4153, a spec recommendation since v1.18): clients should stop sharing keys with devices their owner has not verified, which removes most per-device verification prompts. Element has postponed turning this on by default; see Security.
Element X is Element's current mobile app and is built on these features. The older Element mobile apps are now called "Element Classic"; see Element.
Who uses Matrix?
Public examples include:
- Public sector: France (Tchap), the German armed forces (BwMessenger), Germany's openDesk workplace suite, the gematik TI-Messenger standard for German healthcare, and a trial at the European Commission. Several of these presented at the 2025 Matrix Conference.
- Open source communities: KDE, GNOME and Mozilla run their chat on Matrix.
- Companies: Element (which develops Synapse and the Element apps) and Beeper (owned by Automattic).
Getting started
- Core Concepts: how Matrix works
- Quick Start: get an account and a client
- Your First Room: create and manage rooms
External resources
- matrix.org: the Matrix.org Foundation
- spec.matrix.org: the specification
- matrix.org/ecosystem/clients: the official client list
- app.element.io: Element in the browser
Next: Core Concepts →