Zitadel major version upgrade: what changes

Self-hosted Zitadel v4 is the current major line in our research, and the documented route from v3 runs through v3.4.1 or later with OIDC web keys enabled before v4. Confirm the latest release and each support window with Zitadel before you schedule the work.

On this page

What a Zitadel major version upgrade changes for self-hosted teams

A self-hosted team that must move to a newer Zitadel major version should start by confirming the current release, which is v4.21.0, listed as latest on GitHub and published December 1, 2026. The documented route from v3 runs through v3.4.1 or later with OIDC web keys enabled before the move to v4, because upgrading to v4 without them can invalidate existing JWTs, according to technical advisory A-10017, dated July 15, 2026. Treat that sequence as a gate that must pass before any v4 step: confirm the web keys are active on your running v3 instance, then let that version run in your environment through a soak period before you change the major version. Plan the calendar around the soak period.

The upgrade has three areas to plan. On the database side, self-hosted Zitadel uses PostgreSQL, with versions 14 through 18 supported, so check your server version against that range before and after each step, and note that CockroachDB support was dropped in 3.0.0 (technical advisory A-10015). On the client side, technical advisory A-10018 says that from v4.19.5, list endpoints in the v1 and v2 APIs enforce default and maximum limits, so any integration that reads full lists must paginate before you reach that version. Inventory every API consumer and login integration, then test each one on a staging instance during the soak period. End the soak with a written go or no-go decision for v4.

Two points remain open for planning. Do not assume an end-of-life date for these lines or a rollback procedure for the move to v4 until Zitadel confirms each in writing. Ask for the support window of each line you run, the supported path back if a v4 cutover fails, and how a restore interacts with event-sourced data, since every change is stored as an event. Also ask how the deprecation of the stable version channel (technical advisory A-10013) affects how you pin image tags or chart versions, because that determines what your staging and production environments actually run. Book the change window only after those answers are in hand.

Which Zitadel major versions are current and when support ends

This table lists the Zitadel release markers that matter for an upgrade planned now, with the change or date for each and its support status. Read the version rows in order: v3.4.1 is the documented waypoint before v4, and v4.19.5 is where list endpoints start enforcing limits. The bottom rows are older changes that can still affect configuration and databases.

VersionDate or changeSupport status
v3.0Core, Console and hosted login moved to AGPL-3.0 on March 31, 2025No end-of-life date published. Confirm the support window on the releases page.
v3.4.1Minimum v3 release in the documented upgrade path to v4Advisory A-10017 recommends passing through v3.4.1 or later before v4. No end-of-life date published.
v4.19.5Released October 15, 2026. List endpoints in v1 and v2 APIs begin enforcing default and maximum limitsClients must paginate. No end-of-life date published. Confirm the window on the releases page.
v4.21.0Listed as the latest GitHub release, published December 1, 2026No end-of-life date published. Confirm the support window on the releases page.
Stable version channelDeprecation announced in technical advisory A-10013, December 9, 2024Review the advisory and confirm how your deployment pins versions before upgrading.
CockroachDBSupport ended with 3.0.0 (advisory A-10015, March 31, 2025)Self-hosted Zitadel documents PostgreSQL 14 to 18 as its database.

The documented Zitadel major version upgrade path, step by step

The documented sequence moves a self-hosted Zitadel estate through a PostgreSQL and release check, a stepwise move through v3, OIDC web keys, the v4 upgrade and client updates, and finally functional validation. Each step ends with a check you can record, so the finished upgrade is a verified state that you can show your change board.

  1. Confirm current release and database

    Record the Zitadel release you run now and the PostgreSQL version behind it. Self-hosted Zitadel supports PostgreSQL 14 through 18, and CockroachDB support was dropped in 3.0.0, so an estate still on CockroachDB needs a migration to PostgreSQL before this path applies. Your database team confirms the server version, and your platform team confirms the Zitadel image or binary tag. Done when both versions are written in the change record and fall inside the supported range. Ask Zitadel to confirm any pairing that sits outside the documented list.

  2. Move releases older than v3.4.1

    If you run any release older than v3.4.1, move to v3.4.1 or a later v3 release first. The technical advisories recommend this route, so cite the relevant advisory in the change record. Follow Zitadel's upgrade instructions for your deployment method, and rehearse each intermediate release in a staging environment before production. Done when the running version reports v3.4.1 or later and the staging environment passes your smoke tests. If you already run v3.4.1 or later, record that fact and move to the next step.

  3. Run the v3 release in production

    Keep the v3 release in production for a soak period before you start the v4 work. Zitadel recommends soaking the release but does not give a soak duration, so ask Zitadel what window it expects, then set your own with your change board. During the soak, watch login success, token issuance, error rates and database errors, and keep a tested backup and a rollback path ready. Done when the soak window closes with no unresolved incidents and the findings are written up for the change record.

  4. Enable OIDC web keys before v4

    Enable OIDC web keys on the v3 release before you move to v4. Upgrading without them can invalidate existing JWTs, so tokens that your relying parties already hold may fail validation after the cutover. Ask Zitadel which release introduced this setting and whether it must be enabled on a specific version before the upgrade. Then confirm the keys are published and that a test client can obtain a token and verify it against them. Done when the setting is on, a fresh token verifies, and the introducing release is written in the change record.

  5. Upgrade to v4 and read release notes

    Upgrade to v4 only after the earlier steps are recorded as complete. Read the release notes for the exact target release first, and confirm which breaking changes apply to your deployment. Public guidance does not document migration scripts or a migration tool, so ask Zitadel whether schema migrations run automatically on start. Take a database backup immediately before the change so that rollback remains possible. Done when the target release runs, the database reports the expected state, and the release notes are filed with the change record.

  6. Update API clients to paginate

    Change every client that calls Zitadel's v1 and v2 list endpoints so it paginates. From v4.19.5, list endpoints in these APIs enforce default and maximum limits, so a client that expects a full list will receive a partial result. Review scripts, infrastructure-as-code, provisioning jobs and third-party integrations, then test each one against a staging v4 instance with more records than the default page size. Done when each client requests pages, follows the paging until the results are complete, and returns the same record count as the source system in testing.

  7. Validate logins, token checks and provisioning

    Test the paths that users and systems depend on against the upgraded instance. Run a login for each login method your organization uses, check that each relying party issues and validates tokens correctly, and confirm that SCIM or other provisioning creates, updates and deactivates users as expected. Rehearse the rollback path in a non-production copy before you close the change. Done when every test case has a recorded result, failures are fixed or accepted by their owner, and the change record lists the release, database version and test outcomes.

What the AGPL-3.0 change means if you are moving from before v3

If you are moving from a pre-v3 release, check the license first. Zitadel moved its core, Console and hosted login from Apache 2.0 to the GNU Affero General Public License 3.0 with Zitadel v3.0 on March 31, 2025. The APIs, SDKs, proto definitions, examples, documentation, Helm charts and Terraform configurations stayed Apache 2.0. That split matters for your tooling: your Helm values, Terraform modules and API clients keep their Apache 2.0 terms, while the server, Console and login pages you deploy fall under AGPL-3.0. Confirm the exact scope in the repository's LICENSING.md file before you assume any directory is covered.

The AGPL-3.0 obligations apply in three situations. The first is modifying the core, Console or hosted login, since a patched build you run is a modified version. The second is redistributing the software, whether you ship it to a customer, a subsidiary or a managed-service provider. The third is running a modified version that users interact with over a network, the case identity teams most often underestimate. A branded login page served to customers counts as a network interaction even when the code never leaves your data center. Running an unmodified release for internal staff sits in a different position. Illustrative example: a team that rebrands the hosted login for customer sign-in should plan on the network case applying.

Zitadel's LICENSING.md also describes a commercial license for organizations that cannot accept AGPL-3.0 terms, so the license decision belongs in the upgrade plan, not after it. Before the plan is locked, have counsel confirm your obligations: who uses the service, whether you have patched Console or login, and whether anything you ship to third parties includes those components. In parallel, inventory any local patches in your current Apache 2.0 build, since each one now needs a decision to keep, drop or publish it. Ask Zitadel in writing what the commercial license covers and what it costs, and carry that answer into the quote as a stated input.

Which documented Zitadel changes break existing setups

Zitadel publishes technical advisories for changes that can break an upgrade, and four of the cards below come from them. Those four change token validation, list API behavior, database support or update channels. The fifth card, the AGPL-3.0 relicense, affects license review only and matters most to legal and procurement teams.

OIDC web keys before v4

Advisory A-10017, dated July 15, 2026, warns that upgrading to v4 without first enabling OIDC web keys can invalidate existing JWTs. Any token consumer that verifies signatures, and any user with an active session, can fail once the upgrade lands. Zitadel recommends passing through v3.4.1 or later and letting that version soak before moving to v4. Enable web keys first, then test each consumer's token validation and session handling in a non-production copy.

Technical advisories

List pagination limits from v4.19.5

From v4.19.5, the v1 and v2 list endpoints enforce default and maximum limits, according to advisory A-10018 dated October 12, 2026. Any integration that lists users or organizations and expects every record in one response may receive only one page instead. Clients need to paginate through results. Inventory each sync job, provisioning script and admin report that calls a list endpoint, then confirm the exact limits for your version in Zitadel's documentation before you upgrade.

CockroachDB support dropped in 3.0.0

Advisory A-10015, dated March 31, 2025, says CockroachDB support was dropped in Zitadel 3.0.0. A team that runs Zitadel on CockroachDB needs a supported database before it moves to 3.0.0 or later. Self-hosted Zitadel uses PostgreSQL, with versions 14 through 18 supported. Confirm which database each environment uses, and ask Zitadel for the documented path off CockroachDB before scheduling the upgrade.

Database documentation

Stable version channel deprecation

Advisory A-10013, dated December 9, 2024, lists the deprecation of the stable version channel. Teams that pin their deployment to that channel should find every place the pin lives, including image tags, Helm values and any update tooling, and treat each one as a change to review before upgrading. Confirm the replacement channel with Zitadel and write it into your change plan before you move off the old one.

AGPL-3.0 relicense at v3.0

Zitadel moved its core, Console and hosted login from Apache 2.0 to AGPL-3.0 with v3.0 on March 31, 2025. APIs, SDKs, proto definitions, documentation, Helm charts and Terraform configurations stay under Apache 2.0. This change affects license review and no runtime behavior, but a team that modifies Zitadel or offers it to users over a network should have counsel check its obligations. Zitadel also offers a commercial license, so ask whether it fits.

Relicensing post

Planning a Zitadel major version upgrade by environment

A Linux binary runs Zitadel as a process on hosts your team controls, with PostgreSQL as its only database. Rollback depends on two things: the database backup and the previous binary. Both must be proven before the window opens.

  • Verified PostgreSQL backup: Back up the database on PostgreSQL 14 through 18, record the server version, and attach the backup to the change ticket.
  • Staging restore test: Restore that backup into staging on the same PostgreSQL major version, start the target release, and confirm it serves logins.
  • Pinned release: Record exact source and target release tags and checksums in the runbook. Advisory A-10017 recommends passing through v3.4.1 or later and soaking before moving to v4, with OIDC web keys enabled first.
  • Window ownership: The platform team owns the window and the rollback call, and the security team approves the three checks before cutover.
  • Three checks: Inventory API clients that call list endpoints, confirm OIDC web key status, and list the SAML, SCIM and custom connectors that depend on this instance.

Confirm the staging restore completed, the pinned binaries match the runbook, and each check has a named owner before the window opens.

Each change gets a backup and a stop point

The sequence starts at your current release and first confirms your database and clients, because self-hosted Zitadel runs on PostgreSQL. Each change is preceded by a backup: the upgrade to v3.4.1 or later, a soak period, then validation. Only after that stop point do you enable OIDC web keys, since upgrading to v4 without them can invalidate existing JWTs. Then upgrade to v4, paginate your API clients, and validate again before closing the review. The rollback node is a plan you must confirm with Zitadel and test in staging, because the project does not document a rollback procedure.

Backups precede each change; stop points follow each validation.

Rollback: what the project documents and what you must plan

Plan every major upgrade as a one-way step. The Zitadel documentation does not describe a rollback or downgrade procedure for moving between major versions, so no runbook should assume you can return to an earlier major version on the same database. A newer version may migrate the database in ways the older binary cannot read. Treat a downgrade as unsupported unless Zitadel confirms a path in writing for your exact version pair. Your practical recovery option is a restored database, not a reverted binary. Check the technical advisories before each step, since Zitadel publishes upgrade-specific risks there.

The event store gives you a useful record, but it is not a substitute for a backup. Zitadel stores every change as an event, and the event store documentation describes this as a built-in audit trail of all changes over an unlimited period. That history shows what changed, when, and for which object, which matters for incident review and for compliance evidence. It does not return your instance to a known good state on its own. Self-hosted Zitadel uses PostgreSQL as its database, so the event history lives in the same database you are upgrading. If that database is lost or corrupted, the history goes with it. Only a tested restore of PostgreSQL brings the instance back. Ask your database team which backup method, such as a logical dump or a physical backup with point-in-time recovery, your platform supports for the PostgreSQL version you run within the supported range of 14 to 18.

Build the plan around three actions. Before each upgrade step, take a PostgreSQL restore point and record the Zitadel version and image tag you are leaving, so the restore target is unambiguous. Rehearse a full restore into a staging environment that matches production's database version and configuration, then confirm that the instance starts and that test accounts can sign in. Ask Zitadel, through your support channel, whether any v4 schema change can be reversed, and get the answer in writing before you schedule the cutover. Record how long the rehearsed restore takes in your own environment, and use that measured time to set your change window.

How much effort, time and cost does a Zitadel upgrade take?

What drives the cost of a Zitadel major version upgrade?

Cost is driven by how much of your Zitadel footprint must change and be proven safe, and the upgrade command itself is the smallest part. The main drivers are the number of environments, since each needs its own rehearsal and cutover, the number of API clients that must change pagination, the identity integrations you run (each OIDC, SAML or SCIM connection needs checking), how mature your backups are (only a tested restore proves a rollback exists), and the version gap you are crossing. DeployOpen does not publish prices. A quote follows from the written scope, so ask for a scope that names each environment, client and integration and states what is in and out. Paid work usually covers planning, rehearsal, cutover, the rollback test and handover documentation. Your own staff time for approvals and change windows is an internal cost that no external quote will include.

How long does a Zitadel major version upgrade take?

Duration depends on your environment, so no fixed figure applies. The main variables are the soak period that Zitadel's upgrade advisories recommend before production moves, the number of environments that must be rehearsed in turn, and how many API clients need pagination changes before cutover. Client work often sets the critical path, because each owning team must test its own code against the new behavior. Ask for a schedule in the written scope that shows the soak period as a separate step with a named start and end, and ask which steps depend on client owners being available. Confirm the expected soak length with Zitadel for your specific version pair, because that guidance is tied to the advisories for each release and changes over time.

What does a Zitadel major version upgrade need from our team?

Your team needs to name owners and provide access before work starts. The required inputs are:

  • A platform owner who approves the change and holds the database credentials used for backups.
  • Database access to take and verify backups, since self-hosted Zitadel runs on PostgreSQL 14 to 18.
  • A staging copy of production with a realistic data shape, so the upgrade can be rehearsed.
  • A client inventory listing every application, script and integration that calls Zitadel, with a named owner for each.
  • Agreed change windows and a named API owner for each client that must change pagination.

Without the inventory and client owners, nobody can judge which breaking changes affect which systems. Ask any implementation partner to confirm which of these items they expect your team to supply and which they will prepare.

Can our own team upgrade Zitadel without outside help?

Yes, for a simple deployment where one team reads each advisory, tests the upgrade in staging and keeps a verified backup. A single instance with few API clients and no complex high availability is the typical case for doing this in-house. Look for signals that favor outside help: a high availability deployment built on Kubernetes with the official Helm chart, many API clients that need pagination changes, and a required rollback test that must be proven before the change window. Each signal adds rehearsal and coordination work, and rollback is the step teams most often skip under time pressure. An outside team can take on planning, rehearsal and the rollback test while your staff keep control of production. Decide using your own inventory: if you cannot list every client that calls the API, that gap alone is a reason to get help.

What is one-time and what recurs after a Zitadel upgrade?

The major upgrade is one-time for each major version you cross. Recurring work includes applying patch releases within the version you run, reading and acting on technical advisories, and continuous testing that confirms logins, token flows and provisioning still work after each change. Each recurring item takes ongoing effort, and it stays on your team's calendar even when the major upgrade is outsourced. DeployOpen offers retainers for ongoing upgrades, and continuous testing is available as a retainer too. A retainer covers only what is agreed in writing, so ask what it includes: which patch releases are applied, how advisories are triaged, how test cycles run, and who approves production changes. Retainer scope sets the cost, and DeployOpen does not publish a price list.

Does Zitadel Cloud remove the Zitadel upgrade work for us?

Zitadel Cloud may reduce the work, but you must confirm with Zitadel what it upgrades on your behalf before you plan around it. Zitadel Cloud is run by Zitadel itself, and Zitadel publishes technical advisories to Cloud customers through a mailing list and a customer portal. Get the answers in writing: which upgrades Zitadel applies, when they happen, whether you can choose the timing, and what you must still do, such as updating your own API clients for pagination or changing your integrations. Self-hosted deployments keep all of this work with your team or with a partner you engage. If you run Zitadel in your own infrastructure, the full upgrade path described on this page applies to you. Read the Zitadel technical advisories before you compare the two options.

How DeployOpen plans and runs Zitadel upgrades

Most DeployOpen engagements are fixed-scope, so a Zitadel major version upgrade starts with a written scope agreed before any work begins. That scope covers your current version, database and deployment method, the breaking changes that apply to your setup, a staging rehearsal, a rollback plan and a documented cutover. Ongoing upgrades and testing can run as a retainer.

How we scope

  • The written scope names your current Zitadel version, target major version and self-hosting method before work starts.
  • It lists the breaking changes that apply to your configuration, database version and any deprecated features in use.
  • Items outside the upgrade, such as client code changes, are named explicitly so the quote stays comparable.

How we build

  • Staging rehearsals run against a copy of your production PostgreSQL data before any production change.
  • Token signing is tested first, because an upgrade to v4 without OIDC web keys can invalidate existing JWTs.
  • Client code is checked for list endpoints that need pagination, since v1 and v2 list calls enforce limits from v4.19.5.

How we hand over

  • Deliverables include an upgrade runbook, rollback steps and a record of tests run against your configuration.
  • Configuration, secrets handling and deployment files are documented so your team can follow the next upgrade cycle.
  • Change records and test evidence are prepared for your compliance team, and DeployOpen does not issue audit reports or attestations.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers, separate from the upgrade project.
  • Track Zitadel technical advisories between upgrades, and confirm whether that monitoring sits in the retainer.
  • Support can cover post-upgrade checks and fixes if a later advisory affects your version, as the written scope defines.

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.