Skip to main content

The Matrix specification

The Matrix specification defines the protocol. It is published at spec.matrix.org and maintained by the Matrix.org Foundation's Spec Core Team. This section summarises it and links to the exact sections; the spec itself is the reference.

Current version​

The current stable release is v1.19 (2026-07-08). The spec has a release roughly every quarter. Each version's changes are in the changelog. Links in this section point at v1.19 so they stay stable; replace v1.19 with latest to see the newest text.

Structure​

APIBetweenSpec
Client-ServerClients and their homeserverclient-server-api · summary
Server-Server (federation)Homeserversserver-server-api · summary
Application ServiceHomeserver and bridges/botsapplication-service-api
Identity ServiceClients/servers and identity servers (3PID lookup)identity-service-api
Push GatewayHomeserver and push providerspush-gateway-api
Room versionsEvent format, auth rules, state resolutionrooms · summary
AppendicesIdentifiers, signing, canonical JSONappendices

Room versions​

Room versions fix the rules a room runs under: event format, authorisation rules and state resolution. A room keeps its version until it is upgraded. All versions 1–12 are stable. The spec says servers SHOULD use version 12 as the default for new rooms, and Synapse has done so since 1.162 (2026-09-29).

VersionWhat it adds
1–6State resolution v2 (2), hashed event IDs (3, 4), signing-key validity (5), auth rule changes (6)
7Knocking
8Restricted join rule (join via membership of another room)
9Fixes redaction of some membership events
10Integer-only power levels; knock_restricted join rule
11Clarified redaction algorithm
12Room IDs are the hash of the create event (no :server); room creators have unlimited power; state resolution v2.1

Source: room versions. Room version 12 came out of "Project Hydra", which fixed two high-severity federation flaws (CVE-2025-49090 and CVE-2025-54315) disclosed in 2025-08. See Rooms for what it changes for clients and bots.

Recent changes (v1.11 to v1.19)​

VersionDateHighlights
v1.112024-06-20Authenticated media (MSC3916); access tokens in query strings deprecated
v1.122024-10-07Account locking; via replaces server_name on join/knock
v1.132024-12-19Reply fallbacks removed; account suspension (M_USER_SUSPENDED); room reporting; ephemeral events for appservices
v1.142025-03-27User reporting; server_name removed from join/knock
v1.152025-06-26OAuth 2.0 API (next-gen auth); room summary API; rich topics
v1.162025-09-17Room version 12; custom profile fields and time zone; state_after in /sync
v1.172025-12-18Legacy body-text mentions removed; appservice device management (MSC4190, MSC4326)
v1.182026-03-25Policy servers; invite blocking; admin suspend/lock endpoints; cross-signing recommendation (MSC4153); device authorization grant; /v1/send_join and /v1/send_leave removed
v1.192026-07-08Encrypted history sharing (MSC4268); image packs (custom emoji); mutual rooms

Where to read more:

Matrix Spec Changes (MSCs)​

Changes to the spec start as MSCs (proposals) in matrix-spec-proposals. An MSC goes through review and a final comment period, then is merged into a spec release. The process is documented at spec.matrix.org/proposals.

Some widely deployed features are not in v1.19 yet:

FeatureMSCStatus (2026-10)
Simplified Sliding Sync (used by Element X)MSC4186Accepted 2026-06-29; awaiting spec text. Replaces the obsolete MSC3575.
MatrixRTC (Element Call)MSC4143 and relatedIn final comment period since 2026-10-15. Replaces the obsolete MSC3401.
Coming next

Spec main already contains changes for the release after v1.19, including removal of query-string access tokens (MSC4127), clients following redirects on /.well-known/matrix/client (MSC4402) and an m.policy room type (MSC3784). Source: matrix-spec repository.

Resources​