Matrix major version upgrade: what changes

Upgrading a self-hosted Synapse server means reading every release note between your version and the target, checking Python and PostgreSQL support, and planning for a rollback that is often hard once schemas change. This page sets out the documented path and what to confirm.

On this page

Matrix major version upgrade: what changes for a Synapse server

This page covers Synapse, the Python homeserver developed by Element and distributed under AGPL-3.0. Upgrading Synapse means reading the upgrade notes for every release between your installed version and your target, and rollback is often difficult because schema changes can leave an older release unable to read the database. As of December 2026, the latest release in this record is v1.166.0, published on November 24, 2026, but confirm the current release on the Synapse releases page before you set a target. Synapse still uses the 1.x numbering, so the first digit will not signal a breaking change. Read the notes for each release in between to find which ones carry breaking changes, such as the v1.88.0 raise of the minimum Python version to 3.8 and the removal of deprecated worker_replication settings.

Check the runtime before you change the homeserver. Synapse follows upstream lifecycles for Python and PostgreSQL, and it drops support for a version once that version reaches upstream end of life, so confirm both are still supported for your target release. The notes record that 1.142.0 and later require Python 3.10 or newer, and 1.143.0 and later require PostgreSQL 14 or newer. Inventory the Python and PostgreSQL versions on your hosts and schedule any operating system or database upgrade as its own change, ahead of the Synapse step. Also check whether your application services depend on the legacy authorization behavior: the use_appservice_legacy_authorization option, added in v1.90.0, defaults to false, so bridges that need the older behavior must be reviewed before you upgrade.

Decide your rollback point before you start. The Synapse upgrade notes include a table of the earliest version each release range can roll back to, so find your current version there and record the earliest version you could return to in the change plan. Some upgrades run long background migrations, so rehearse the upgrade on a copy of your PostgreSQL database and time it against your maintenance window. End-of-life dates for individual Synapse releases are not documented here, so ask Element or the Matrix project for them in writing, and ask whether a commercial Synapse license changes the support window for your version. Keep those answers in the plan so the team knows when a release stops receiving fixes and must be upgraded.

Which Synapse releases are current and what each one changes

This table lists the Synapse releases and requirement changes that matter for an upgrade plan, with the publication date or version floor in one column and the operator impact in the other. Dated rows show the recent release cadence, and requirement rows show the Python and PostgreSQL floors to check against your stack. Synapse drops Python and PostgreSQL versions when upstream support ends, so those upstream dates set the practical support window.

Release or requirementDate or requirementWhat it means for operators
v1.163.0Published October 14, 2026Read its notes for every version between your installed release and your target, starting here if you are below it.
v1.164.0Published October 27, 2026Part of the release sequence to read when your target is v1.164.0 or later.
v1.165.0Published November 10, 2026Part of the release sequence to read when your target is v1.165.0 or later. Confirm its database migration time before a production window.
v1.166.0Published November 24, 2026, latest in this recordConfirm on the Synapse releases page whether a newer release exists before you set a target version.
v1.142.0Requires Python 3.10 or newerConfirm every host running Synapse, workers and tooling uses Python 3.10 or newer before you move to this release or later.
v1.143.0Requires PostgreSQL 14 or newerApplies to 1.143.0 and later. Database servers older than PostgreSQL 14 need an upgrade before this step.
v1.88.0Raised minimum Python to 3.8A historic floor. It matters only if your install predates it, since the later Python floor in v1.142.0 supersedes it.
v1.90.0Added use_appservice_legacy_authorization, default falseTest application service (bridge) authentication after upgrading, because the default is false.

The documented upgrade path, one release range at a time

The Synapse upgrade sequence moves a homeserver from its installed release to a chosen target in checked stages, so every schema change is understood before it reaches production. The Synapse upgrade guide is the documented source for each step below. Confirm the exact commands for your install method in those notes before running anything.

  1. Confirm the installed version and target

    The platform owner records the Synapse version running on the homeserver and the release the team intends to reach. The latest release listed at the time of writing is v1.166.0, published on 2026-11-24, but the target should match the team's support and feature needs. Confirm that the target release line is still maintained upstream. Done when the change record names the installed version, the target and the reason for choosing that target.

  2. Read the upgrade notes for every version

    Read the Synapse upgrade notes for each release between the installed version and the target, including the intermediate ones. Breaking changes accumulate across the range. Examples from the notes include v1.88.0, which raised the minimum Python to 3.8 and removed deprecated worker_replication settings, and v1.90.0, which added the use_appservice_legacy_authorization option, defaulting to false. Mark every configuration key and appservice behavior that applies to your homeserver. Done when the team holds a list of required configuration changes for each version, with a named owner for each item.

  3. Check Python and PostgreSQL against upstream support

    Confirm that the Python and PostgreSQL versions on the host meet the minimums for the target. Synapse follows upstream lifecycles and drops support for a Python or PostgreSQL version once it reaches upstream end of life. Synapse 1.142.0 and later require Python 3.10 or newer, and 1.143.0 and later require PostgreSQL 14 or newer, so a target beyond those releases needs both checked. Record each runtime version and its upstream support status. Done when the platform owner signs off that both runtimes meet the target minimums and are still supported. If either fails, upgrade the runtime as a separate change first.

  4. Check the earliest-rollback table for schema changes

    Open the guide's table of the earliest version each release range can roll back to, and find the range your installed version sits in. Synapse's notes warn that rolling back can be difficult because of database schema changes, so this table shows the earliest version each range can return to. For each release that changes the schema, record whether a rollback means a binary downgrade or a full database restore. Done when every schema-changing release in the range has a recorded rollback route that the team has accepted.

  5. Back up the database and configuration

    The platform owner takes a database backup (PostgreSQL is the recommended database for production) and copies the homeserver configuration, signing key, media store and appservice registration files. Store the copies outside the homeserver host and record checksums for each one. Because rollback can be difficult after schema changes, this backup is the fallback when the rollback table offers no clean route. Test a restore on a separate host before going further, and confirm the restored database runs the expected version. Done when the team has a tested restore and a written location for every file.

  6. Upgrade a staging copy and time migrations

    Restore the backup to a staging environment with the same configuration and worker layout as production, then run the upgrade there. Watch for long background migrations, which the upgrade guide says some releases run, and log how long each one takes and what load it places on the database. Use those timings to set the production maintenance window. Confirm that the homeserver starts, serves clients and logs no errors on the target version. Done when the staging log shows all migrations completed and the team has a recorded timing for each long migration.

  7. Upgrade production and verify federation and bridges

    Run the same upgrade in production during the agreed window, using the commands in the upgrade notes for your install method. Afterward, verify federation with a remote homeserver, log in and sync from Element and other clients, and confirm that each bridge and appservice still reads and writes messages. If bridges fail, check the appservice authorization setting first. Done when the federation, client and bridge checks in the runbook are all recorded as passed, and the rollback route from the earlier step is still documented for the team.

Which documented breaking changes affect your server

Synapse's upgrade notes flag a short list of changes that can stop a server from starting or make a rollback hard. Each card covers one item, who it affects and what to confirm before you choose a target version.

Python minimum version

Synapse raised its minimum Python to 3.8 at v1.88.0 and to 3.10 at v1.142.0, so a host still on an older interpreter does not meet the requirement. Confirm the Python version on the host operating system and inside the virtual environment before you schedule the upgrade. If the distribution package is older than 3.10, install a separate interpreter, rebuild the virtual environment against it and test the service start before cutover.

PostgreSQL 14 minimum

From v1.143.0, Synapse requires PostgreSQL 14 or newer. Synapse documentation recommends PostgreSQL for production and also supports SQLite, so the change matters most for databases still on older major versions. Check the database tier before the upgrade: confirm the server version, plan any major database upgrade as a separate change with its own rollback, and confirm backup and restore procedures with the team that runs the database.

Removed worker_replication settings

Synapse removed deprecated worker_replication settings, as noted in the v1.88.0 upgrade notes. Deployments that run workers are the most exposed, because the removed keys may still appear in homeserver and worker configuration files on separate hosts. Search every config file in the deployment for the removed keys and replace them with the replacement settings listed for your target version. Keep a copy of each file before you edit it.

Legacy appservice authorization default

From v1.90.0, the use_appservice_legacy_authorization option defaults to false. Bridges and other application services that depend on the legacy behavior may stop working after the upgrade unless you set the option explicitly or the bridge supports the newer method. Confirm compatibility with each bridge vendor before upgrading, and list every application service registration so none is missed. Test one bridge in staging first.

Matrix bridges list

Schema changes and background migrations

Synapse's upgrade guide says schemas are often compatible across several versions, but some upgrades run long background migrations, and rolling back is often difficult because of schema changes. The guide includes a table of the earliest version each release range can roll back to. Plan the upgrade window around the migrations, not the restart: time them on a restored copy of production, take a full database backup before you start, and read the notes for every version between your installed release and the target.

Synapse upgrade notes

How to prepare by deployment shape

A single-process homeserver runs client, federation and media traffic in one Synapse process, so the upgrade is one change window with one restart and one rollback decision. Most of the preparation is reading the release notes and proving the restore path before production is touched. Start with the Synapse upgrade notes and read every version between the installed release and the target.

  • Config review: Compare homeserver.yaml against the changes in each intermediate release before the new code starts, since removed or renamed keys cause startup failures.
  • Backup: Take a full database backup and copy the media store and the server signing key files, then confirm the backup can be restored.
  • Staging copy of the database: Restore a recent production backup into staging, run the target version there, and record how long startup and migrations take.
  • Python on the host: Synapse 1.142.0 and later require Python 3.10 or newer, so confirm the interpreter version on the host or in the virtualenv before the change window.
  • Rollback point: Check the upgrade guide's table of the earliest version each release range can roll back to, because schema changes can make a code rollback impossible without restoring the database.

Before the window, confirm the staging restore, the Python version and the rollback target in writing, and file the notes for each intermediate version with the change record.

Two failure points can roll back, but only within limits

The sequence starts at the installed Synapse version and moves to reading the upgrade notes for every release between it and the target. The first decision is whether your Python and PostgreSQL versions are still supported upstream. If not, upgrade them first and return to the notes. If yes, take a backup, upgrade staging, and wait for background migrations before production. Two failures are rollback points: a failed staging test and a failed production upgrade. Both lead to a restore from the pre-upgrade backup only if the earliest-rollback table in the upgrade guide allows it. After production, verify clients, federation and bridges.

Upgrade path from installed version to verified production, with two rollback points.

Matrix major version upgrade rollback: why it is hard to count on

Plan on rollback being difficult. The Synapse upgrade notes warn that database schemas often change between releases, which can make rolling back hard. The notes include a table of the earliest version each release range can roll back to, so read it for every version between your installed release and your target, including the final one. Some upgrades run long background migrations that may keep changing the database after the service is back online. Treat any downgrade outside the documented range as unproven and test it on staging before relying on it. Read the Synapse upgrade notes for your exact versions before the change window opens.

The fallback is a database backup taken immediately before the upgrade starts, and its restore procedure should be tested on staging before production depends on it. The Synapse documentation recommends PostgreSQL for production, so confirm that your backup captures the PostgreSQL database consistently, with the homeserver stopped or in a known state. On staging, restore the backup into a separate copy, start the old version against it, and check that the homeserver starts, existing rooms load and clients can sync. Confirm the backup also covers the media store and the homeserver configuration, because a database restore alone may not bring a working server back. Record how long the restore took so recovery planning is based on a measurement.

Write the rollback target into the change plan before the upgrade starts, while the team still has time to plan it. The entry should name the starting version, the target version, the earliest version the upgrade notes allow for that range, and the backup identifier and time. Add a named owner for the restore, the criteria that trigger a rollback, such as a failed start or a stalled migration, and the decision point after which rollback is no longer an option because the database has changed. State in advance how long the team will wait for background migrations before escalating. If the intended rollback target falls outside the documented range, the plan should require a successful downgrade test on staging first.

What buyers ask about Matrix major version upgrade cost and effort

What drives the cost of a Matrix major version upgrade?

The main drivers are how many releases you cross, how much custom configuration and bridge work sits on the homeserver, and who does the work. Cost splits into internal staff time, which your own team carries, and partner work, which is usually a fixed-scope piece agreed in writing before work starts. One-time costs include building a staging environment that matches production, writing a test plan, and rehearsing backup, restore and rollback. Recurring costs come with each later release, since every upgrade needs its notes read, staging retested and Python and PostgreSQL versions checked against upstream support. Ask any partner to show which items sit inside the fixed scope and which are billed separately.

How long does a Matrix major version upgrade take?

No duration is documented for this upgrade, so treat any figure you are given as an estimate to verify. The time depends mainly on the number of releases between your installed version and the target, on the background migrations Synapse runs during the upgrade, and on database size. The upgrade guide notes that some upgrades run long background migrations, so the database is the part to measure. The reliable way to get a number is to run the full upgrade in staging on a copy of production data, time each step, and repeat the run until the result is stable. Ask for the staging timings as a deliverable in any quote.

What do we need to give the upgrade team before a Matrix upgrade?

The work needs host and database access, the Synapse configuration files, a change window agreed with the business, and a named owner for each bridge. Host access covers the servers running Synapse and any reverse proxy in front of it. Database access means a PostgreSQL role that can run the migrations, plus a verified dump for backup. Bridge owners matter because each bridge depends on its appservice configuration, and each owner needs to confirm the bridge still works on the new version. Confirm also where secrets and signing keys are stored, so they are backed up before the change window opens.

Can our own team upgrade Synapse without an implementation partner?

Yes, if your team can read the upgrade notes, test in staging and run a rollback check. The team needs Python and PostgreSQL skills in house to diagnose migration errors and runtime changes after the upgrade. The upgrade guide asks you to read the notes for every version between the installed one and the target, so plan reading time for that. Rollback is the step teams most often skip. The guide notes that rolling back can be difficult because of schema changes and includes a table of the earliest version each release range can roll back to, so confirm your rollback target before you start. If any of these skills are missing, a partner can cover the gap under a fixed scope.

What should we ask for in a quote for a Matrix upgrade?

A quote should be a written scope that lists the following parts:

  • The release range, from the installed version to the target, with the notes covered for each version.
  • A staging environment that matches production, and who builds and pays for it.
  • Backup and restore tests, run and timed before the change window.
  • A named rollback target taken from the upgrade guide, with a rollback rehearsal.
  • Bridge tests for each appservice, with sign-off from the bridge owner.
  • A retest after the upgrade, and a clear split between one-time work and any ongoing retainer.

DeployOpen agrees scope, deliverables and timelines in writing before work starts and does not publish a price list, so its quote follows from the written scope.

Which Synapse versions do we have to read before upgrading?

Read the notes for every version between your installed version and your target, not only the final release. The upgrade guide gives this instruction because a setting removed in one release may still appear in your configuration. Examples from the supplied notes include v1.88.0, which raised the minimum Python to 3.8 and removed deprecated worker_replication settings, and v1.90.0, which added use_appservice_legacy_authorization, defaulting to false. Also check the minimum runtime versions: Synapse 1.142.0 and later require Python 3.10 or newer, and 1.143.0 and later require PostgreSQL 14 or newer. Synapse follows upstream lifecycles and drops support for Python and PostgreSQL versions once they reach end of life, so check both before choosing a target. Synapse upgrade notes

When outside help changes the outcome of a Synapse upgrade

A partner adds the most value when the upgrade is too large for one person to hold the whole path in their head. The clearest cases are upgrades that cross many releases, since the Synapse upgrade notes ask you to read the notes for every version between the installed one and the target. Worker deployments with several worker types also raise the effort, because each type can need its own check after the upgrade. Many bridges with different owners add another layer: each application service has its own owner, and a setting such as use_appservice_legacy_authorization, which defaults to false from v1.90.0, may need a decision from each of them before cutover. A partner earns its place by building a per-bridge checklist and running it against a staging copy before production is touched.

The second case is a large PostgreSQL database with long background migrations. The Synapse upgrade notes say that some upgrades run long background migrations and that rolling back is often difficult because of schema changes. They also include a table of the earliest version each release range can roll back to, which is the starting point for your rollback target. How long a migration takes depends on your database size and hardware, so measure it on a restored copy of production rather than trusting general estimates. Record the migration duration, the lowest version you could roll back to, and the Python and PostgreSQL versions in use, since Synapse drops support for them once upstream support ends. Confirm current minimums with the vendor before the test starts.

The third case is an environment where a failed upgrade affects regulated users and someone must later show what changed and why. A partner can prepare the change plan, test results, rollback decision and retest record so your compliance and security teams have evidence to review. That evidence is not an audit report or certification, and independent auditors and certification bodies make those determinations. A partner also does not replace the upgrade notes or the vendor's support, and it cannot approve a change on your behalf. Your internal owner still approves the change window and the rollback target, and that person should be named in the written scope before work begins so the decision trail is clear.

How DeployOpen plans and runs Synapse upgrades

DeployOpen approaches a Synapse major version upgrade as a planned change in your own infrastructure. The work starts with the upgrade notes for every version between your installed release and the target, then moves through a tested staging run, a documented rollback position and a handover your team can operate. Engagements are fixed-scope, with the scope, deliverables and timelines agreed in writing before work starts.

How we scope

  • The written scope lists the installed version, the target and every release between, read from the Synapse upgrade notes.
  • It records current Python and PostgreSQL versions and checks them against the minimum versions in the upgrade notes.
  • Deliverables, owners, the cutover window and the go or no-go criteria are listed before any change is made.

How we build

  • Long background migrations and schema changes are rehearsed on a copy of your database before production is touched.
  • Configuration is checked against each release note, including use_appservice_legacy_authorization, which defaults to false from v1.90.0.
  • A written rollback path names the earliest version each release range can roll back to.

How we hand over

  • Handover includes the upgrade runbook, the test results, the rollback plan and the configuration changes made during the work.
  • Your team rehearses the documented steps in staging before the production change window.
  • Documentation covers the setup as built, so your compliance and security reviewers can check the upgraded system.

How we support

  • Ongoing support, later upgrades and continuous testing are available as retainers for the Synapse deployment.
  • A retainer can cover tracking new Synapse releases against the upgrade notes, if the scope says so.
  • Python and PostgreSQL support dates are rechecked at each step, since Synapse follows upstream end-of-life dates.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.