TechnologyCommunication protocol

Matrix

Also known as: Matrix protocol, Matrix.org

Open standard and protocol for decentralized, federated real-time communication, supporting interoperable chat, calls and end-to-end encrypted rooms.

Matrix is an open standard for real-time communication in which independent servers, called homeservers, federate with one another. A user on one homeserver can join rooms and message users on any other, much as email works across providers. Each room's history is replicated across all participating servers, so no single server owns a conversation. The specification is maintained by the Matrix.org Foundation, a nonprofit, and it can carry text chat, voice and video calls and other structured data.

Matthew Hodgson and Amandine Le Pape launched Matrix in 2014 while working at the telecom software firm Amdocs, and members of the same team later founded Element, the company behind the most widely used Matrix client and the Synapse reference server. Rooms can be protected with end-to-end encryption using the Olm and Megolm algorithms, which derive from the Double Ratchet design used by Signal. Bridges connect Matrix rooms to other networks such as IRC, Slack and Discord, supporting interoperability between platforms.

Matrix appeals to organizations that want control over their communications without isolating themselves. Government and public-sector bodies in France and Germany have built messaging systems on it, and open-source communities, including Mozilla, have adopted it for public chat. Running a homeserver supports Self-Hosting and data sovereignty, but federation also spreads copies of data and metadata across servers, and moderation, spam and server resource use remain practical challenges.

Key points

  • Matrix homeservers federate so that users on different servers can share rooms and conversations.
  • Room history is replicated across participating servers rather than held by a single provider.
  • Olm and Megolm provide end-to-end encryption derived from the Double Ratchet algorithm.
  • Bridges link Matrix to other chat networks such as IRC and Slack.

Related entries

Glossary term

End-to-End Encryption

CybersecurityOPSEC

Communication method in which only the sender and intended recipients can decrypt messages, so that servers and intermediaries cannot read their content.

Glossary term

Fediverse

FOSSIdeas and Culture

Network of independently run social media servers that communicate through shared open protocols, chiefly ActivityPub, so users can interact across services.

Glossary term

Interoperability

FOSSProgramming

Ability of different systems, products or organizations to exchange information and make use of it, typically through shared standards and interfaces.

Glossary term

Open Standard

FOSSProgramming

Technical standard that is publicly available and developed through an open process, so anyone can implement it, usually without restrictive royalties.

Technology

Signal

OPSECCybersecurity

Free, open-source messaging app run by the nonprofit Signal Foundation that end-to-end encrypts messages and calls while collecting minimal metadata.

Glossary term

Self-Hosting

OPSECFOSSDevOps

Practice of running one's own servers and software for services such as email, file storage or media instead of relying on third-party platforms.

Technology

ActivityPub

FOSSIdeas and Culture

W3C-standardized protocol for decentralized social networking that lets independent servers exchange posts, follows and replies across the fediverse.

Technology

Mastodon

FOSSIdeas and Culture

Free and open-source software for running independent, interconnected microblogging servers that form a large part of the federated social web.

Featured in guides

Referenced by

Other entries that discuss or point to Matrix.