Why a Zitadel Cloud to self-hosted move is an export and import project
An organization moving from Zitadel Cloud to self-hosted Zitadel is running an export and import project, not lifting a live service. The documented path copies resources from one instance into another: organizations, users, projects, applications and settings are exported from the Cloud instance and imported into a new instance that your team runs in infrastructure you control. The running Cloud instance does not move, its database is not copied, and the new instance starts with its own configuration, keys and domains. That distinction shapes the plan. You will schedule a cut-over window, decide which system is authoritative during it, and repoint applications and login flows once the import is verified. The Zitadel migration guide for migrating from another Zitadel instance is the starting reference, and the scope of your own export should be confirmed against it before you commit to a timeline.
Both sides depend on an instance owner service account. On Zitadel Cloud, the account used for the export needs enough rights to read the resources you intend to move, and the personal access token it uses must be handled as a credential with a defined owner and expiry. On the self-hosted side, a matching instance owner account with its own token performs the import. Plan who creates these accounts, where the tokens are stored, and how they are revoked after the move. Hashed passwords and OTP secrets can be carried across, which means users may not need a forced reset. That benefit only holds if the source exports them and the target accepts the same hash algorithms and OTP parameters. Confirm this with a test import of a sample of users before you rely on it.
The export does not carry the event stream, so the audit trail for imported objects stays behind in Zitadel Cloud. Records of who created or changed an imported user, role or setting will begin at the import on the new instance, not at the original creation date. If your compliance or incident response process depends on that history, export and archive the relevant evidence from Zitadel Cloud before the cut-over, and document the gap for auditors. Ask your provider and your own assessor which records they will accept as the system of record for the period before the move, and decide how long the Cloud instance remains readable for investigations.
Which Zitadel objects and credentials map cleanly to a new instance
This table compares each Zitadel object and credential type against what the documented instance-to-instance migration path carries, and what to confirm in the source and target versions before relying on it. Read the middle column as the documented position and the last column as your checklist. The main takeaway is that the audit trail never comes along, so the source evidence must be exported and kept separately.
| Object or credential | Documented migration path | What to confirm before relying on it |
|---|---|---|
| Organizations | Exported and imported with the instance owner service account on each side | Confirm organization IDs and primary domains are recreated as you expect in the target instance |
| Users | Exported and imported as resources between the two instances | Confirm user IDs, login names and verified email or phone states after import |
| Projects | Exported and imported as resources between the two instances | Confirm project roles and grants are recreated and reference the right organizations |
| Applications | Exported and imported as resources, with client settings carried over | Confirm redirect URIs, post-logout URIs and client secrets are updated for the new domain |
| Identity provider settings | Carried over as resources, including the links users depend on | Confirm client secrets for upstream providers are re-entered and tested, since they may not be exposed for export |
| Hashed passwords | Included in the documented path when the source exposes hashes | Confirm the hash algorithm is supported on the target version and test a login with a migrated account |
| OTP secrets | Included in the documented path | Confirm the seeds import correctly and test an OTP login before retiring the source |
| Passkeys | Not described in the documented path for this migration | Plan for users to re-register passkeys on the target instance and confirm this with Zitadel |
| Event history and audit trail | Not carried over, because resources migrate without the event stream | Export and retain source audit logs, admin action records and login reports before cut-over |
Documented export and import paths between Zitadel instances
Zitadel documents a migration path that exports resources from one instance and imports them into another, using instance owner service accounts on both sides. The cards below cover what each side needs, what moves with the data, and what to confirm against the source guide before planning the cut-over.
Instance owner service accounts on both sides
The documented path authenticates to the source and the target with instance owner service accounts, so each side needs a service account holding instance owner rights before any export or import runs. On Zitadel Cloud, confirm with your account team how the account is created and whether your plan allows the access the tooling needs. On self-hosted Zitadel, the account and its personal access token must be created in the instance you control. Record which account and token each step uses so access can be revoked after the move.
Migrate from ZITADEL guideNetwork reach between the two instances
The export and import calls run between two separate endpoints, so the machine or job doing the work must reach both the source API and the target API over HTTPS. For Zitadel Cloud, confirm that outbound access from your migration host is permitted by your egress policy. For self-hosted Zitadel, check that the target's public domain, load balancer and TLS certificate accept the traffic and that any allowlist or web application firewall rule passes the API paths the tooling calls. Test reachability with a non-sensitive read before the first real run.
What the export carries
The documented path exports organizations, users and related resources, and can include hashed passwords and one-time password secrets when the source permits it. Confirm with the guide exactly which resource types are covered for your release, and list any that are not, such as applications, grants or custom settings, so they are rebuilt by hand. Store the export in an encrypted location with restricted access, because hashes and OTP seeds are sensitive even though they are not plain-text passwords.
Import order and dependencies
Import order matters because users, projects and grants reference organizations that must exist first. Plan the sequence so organizations are created before the users and role grants that depend on them, and run a dry review of the resource counts on both sides after each stage. Check whether the tooling is idempotent, meaning a re-run does not duplicate records, before relying on retries. Document the sequence in the runbook so a partial failure can be resumed without guessing.
Audit trail does not come along
Resources migrated this way are imported without the source event stream, so the audit history of imported objects does not transfer to the target. Decide before the move whether the source instance and its event history will be archived, exported through your own logging, or retained under your records policy. Tell auditors and internal reviewers that events on the target begin at import time, and capture the export run logs as your own evidence of what moved and when.
Version and tooling confirmation
Export and import behavior depends on the Zitadel release on each side, and the tooling and API calls can change between releases. Confirm the current tooling, the supported version pairing and the required permissions against the source guide for your exact source and target releases before scheduling work. Test the full sequence in a non-production target built from the same release as production, and treat any mismatch as a blocker until the source guide and your test run agree.
Choosing how passwords and OTP factors move
Zitadel's migration from Zitadel exports and imports resources with instance owner service accounts on both systems, and the export can include hashed passwords and OTP secrets. For users, this is the smoothest path: they sign in with the password they already use and their existing authenticator app keeps producing valid codes. The cost is that sensitive credential material leaves the source instance and lands in the target, so the transfer becomes a controlled data movement that your security and compliance teams need to approve and document.
- Transfer channel: Confirm how the export file is moved, where it is stored during the import, and who can read it. Treat it as credential data, with access limited to the named operators and deleted after a verified import.
- Secret handling in the target: Confirm that the target instance stores imported hashes and OTP seeds under its own encryption and masterkey controls, and that operators cannot view raw secret values through the console.
- Scope of the import: Decide whether all users move or only active ones. Fewer imported credentials means less exposure.
- Evidence of the transfer: Keep a record of who ran the export, the import counts, and the deletion of the export file. The imported objects will not carry their original audit trail, so this record is your evidence.
- Owner and service account rights: Confirm that the instance owner service accounts on both sides are scoped to the migration window and removed afterward.
Before cutover, confirm with your own test users that a password login and an OTP code succeed on the target, and that the target's password and OTP policies match what your organization requires.
A forced reset means the migration moves user identities and profile data but not usable password material. Users set a new password on first access, which removes the need to transfer hashes at all. This lowers the sensitivity of the export, but it adds friction at cutover and generates support load. It also gives you a clean point to require current password and factor standards on the target instance.
- User experience: Users receive a reset path, typically tied to their email address, and must complete it before they can reach applications. Plan communication and a support queue for the cutover day.
- Email dependency: Reset links only work if the target can send mail to the address on record. Confirm the mail sender, the domain setup and that addresses are current before import.
- Account takeover risk: Reset flows are a common target for attackers. Confirm the reset requires the factor policy you want, and that verification steps match your risk tolerance.
- Compliance questions: Ask how the reset proves the user is the account holder, and whether your access reviews and control evidence treat the reset as a credential change.
- Password policy on the target: Confirm the target enforces the length, complexity and history rules you have chosen, since the reset is the moment those rules apply.
Before cutover, test a reset end to end on the target with a non-production account and confirm that applications accept the new session.
Leaving OTP and passkey enrollment to users is an option when you do not carry OTP seeds across or when you want new factors bound directly to the target instance. Users register a fresh authenticator or passkey after signing in, which avoids moving second-factor secrets entirely. The trade-off is that users must complete enrollment before they can use protected applications, and anyone who lost their device needs a recovery path.
- User experience: Users need a planned enrollment step and clear instructions for their authenticator app or passkey device. Expect a spike in enrollment questions in the first days.
- Recovery design: Decide how users recover when they lose an authenticator. Check that recovery does not quietly bypass the second factor, and that help desk staff verify identity before resetting a factor.
- Passkey scope: Passkeys are based on FIDO2 and WebAuthn and fall back to password login, so confirm whether your policy allows password-only sign-in after cutover, and for which groups.
- Compliance questions: Ask whether your authentication policy requires a second factor for every account, and whether the target can show when each factor was enrolled.
- Interim access: Decide whether users with no factor can sign in during the gap, and for which applications. Limit that window in writing.
Before cutover, confirm that enrollment works for each factor type you allow, that recovery and help desk procedures are documented and tested, and that the target can report enrollment status for each user.
How a Cloud to self-hosted move runs from inventory to decommission
The sequence turns a Zitadel Cloud instance into a self-hosted target that has been tested, run in parallel and cut over with a rollback path, and it ends with a clear decision on what happens to the Cloud records. Each phase depends on decisions that only your organization can make, so the order matters as much as the steps.
Inventory the Cloud instance
List every organization, project, application, identity provider, role grant and user on the Cloud instance, and record which applications depend on each one. Confirm the instance owner service account and personal access token you will use for export, and check which identity providers hold credentials that must be reconfigured on the new side. This step is done when the inventory is reviewed by the application owners and every item has an owner and a target organization name. Decisions on organization naming and tenant boundaries are made here, because they carry into every later step.
Build and harden the self-hosted target
Deploy the self-hosted Zitadel on infrastructure you control, with PostgreSQL in a supported version (14 through 18), TLS, and the domain and issuer URL you intend to keep. Your team decides the public domain, the external URL that becomes the token issuer, and how the masterkey is stored, and these choices cannot be changed casually once applications trust the issuer. The step is done when the target is reachable at its final URL, the instance owner account works, and a backup and restore of its database has been tested.
Run a test import into staging
Export the inventory from the Cloud instance and import it into a staging self-hosted target that mirrors the production URL pattern as closely as possible. Check that users, organizations and projects arrive with the expected structure, and verify that password hashes and OTP secrets came across only where the export supports them. Compare user counts and sample records against the source, and log every object that failed to import. The step is done when a second, fully repeated import produces an agreed list of exceptions that owners have accepted or fixed.
Test applications against the staging target
Point a set of non-production application clients at the staging target and confirm that the redirect URIs, post-logout URIs and client secrets your team creates match what each application expects. Sign in with real test accounts for each identity type you hold, including accounts with passkeys or OTP where those were migrated, and confirm that tokens carry the issuer and audience values the resource servers validate. This step is done when each application owner signs off on a successful login, token refresh and logout against staging.
Run the parallel period
Keep the Cloud instance live while the self-hosted target runs in parallel, so applications can be moved one at a time and each one can fall back to the Cloud if needed. Check token issuers, key rotation, and the JWKS endpoint of the new target from every application, and watch login error rates on both sides. Decide in advance which user changes (password resets, new registrations, role edits) are allowed on each side during the parallel period, because writes that land in only one system are the main source of drift. The step is done when every application has run against the new issuer for the agreed window with no open defects.
Cut over with a rollback plan
Repoint applications to the self-hosted issuer in a planned order, and run a final delta export for users and settings that changed after the test import. Write the rollback steps before the cutover begins, including how to restore the Cloud client configuration and how long the Cloud instance must stay available to support it. The step is done when the final delta has been imported, every application is pointed at the self-hosted issuer, and the rollback steps have been rehearsed or at least reviewed by the people who would run them.
Decommission or retain the Cloud instance
Decide whether the Cloud instance is shut down, kept read-only, or kept as a fallback for a defined period, and confirm that decision with the security and compliance owners. Before any shutdown, export the records your audit and retention policies require, because the event stream is not carried over to the target and the audit trail for imported objects does not come along. Confirm that the Cloud subscription, credentials and integrations that referenced the instance are removed. The step is done when the retention decision is documented and the retained records are stored where your auditors can reach them.
How the source instance, export, target instance and applications connect during cutover
The diagram starts at Zitadel Cloud, where a source instance owner service account exports organizations, users and settings. The export passes across the trust boundary into a self-hosted Zitadel target, where a target instance owner service account imports them. During a parallel run, applications can point to either issuer, and the cutover moves them to the target. The audit trail stops at the source: imported objects do not carry their event history, so record it before export.
Export, import, parallel run and cutover between the two Zitadel instances.
What drives the cost and duration of moving to self-hosted Zitadel
This table lists the factors that change the effort of an export and import between Zitadel instances, and whether each one is paid once or recurs. Use it to build a written scope, then ask each quote to price the same drivers. The main takeaway is that the audit trail and target readiness often add more work than the data volume itself.
| Driver | Why it changes effort | One-time or recurring | What to ask for in a quote |
|---|---|---|---|
| Organizations and projects | Each organization, project, role and grant must be mapped to the target instance, and grants that reference other organizations need checking after import. | One-time | A per-organization mapping list and a count of projects, roles and grants included in scope. |
| User count and credential types | Hashed passwords and OTP secrets move with the export, but passkeys, MFA enrollments and users without credentials each need a separate test after import. | One-time | Counts of users by credential type, and whether password and OTP secrets are in scope on both sides. |
| Identity providers and federation settings | Each federated provider must be recreated on the target with its own client secrets, redirect URIs and attribute mappings, which the export does not replace. | One-time, with ongoing credential rotation | A list of providers, who holds their secrets, and the test steps for each provider login. |
| Applications and redirect configuration | Every application needs its redirect URIs, post-logout URIs, token settings and signing keys checked on the new domain before cut-over. | One-time, then per release | A count of applications and clients, and whether the quote covers repointing and testing each one. |
| Instance owner access on both sides | The migration uses instance owner service accounts and personal access tokens on the source and target, so access setup and removal must be planned and audited. | One-time | Who creates and revokes the tokens, and how credentials are stored during the run. |
| Target infrastructure readiness | Self-hosted Zitadel needs PostgreSQL (versions 14 through 18 are supported per Zitadel documentation), a domain, TLS and a deployment method before any import can run. | One-time setup, then recurring operations | Confirmation of the database version, deployment method and hosting model, and who operates the target after go-live. |
| Audit evidence retention | The event stream does not move with imported objects, so the source audit trail must be exported and retained separately if assessors need it. | One-time export, recurring storage | Retention period, storage location and format for the exported source logs, and who signs off that they are complete. |
What usually goes wrong when moving Zitadel instances and how to prevent it
Moving organizations, users and settings between Zitadel instances fails in predictable places: evidence gaps, credentials, permissions, URLs and cutover timing. Each card names one risk and the check that prevents it, so the parallel run and cutover can be planned against them.
Lost audit trail mistaken for evidence
Imported objects arrive without the event stream from the source instance, so the history of who created, changed or granted access before the move is not carried over. Teams that treat the new instance's log as continuous evidence can misstate their access history to an auditor. Before cutover, decide where the source instance's event history will be retained and how you will document the import as a separate event. Confirm the retention arrangement with your compliance lead in writing.
Zitadel migration guideOTP and password imports failing silently
Hashed passwords and OTP secrets are only migrated when the export and import both carry them correctly, so a partial import can leave users with no working second factor or password. Run a pilot import with a small set of test users covering password-only, password plus OTP and passkey-only accounts. Log in as each one on the target instance before any bulk run. Count imported users against the source export and keep the mismatch list for sign-off.
Instance owner service accounts left active
The migration relies on instance owner service accounts on both systems, and those accounts hold broad rights over the whole instance. Accounts that stay active after the import can export or change data long after the move is finished. Create the accounts for the migration only, scope their use to the import window, and delete or deactivate them on both sides once the cutover is signed off. Record the deletion as a change ticket.
Issuer URL changes breaking applications
Each application validates tokens against the issuer of the instance that issued them, so moving to a new domain changes the issuer value that clients expect. During a parallel run, applications pointed at one issuer will reject tokens from the other. Inventory every application, its configured issuer and its discovery endpoint before the move. Test each application against the new issuer in staging, and plan the repoint as a single controlled change per application.
Identity provider callbacks to the old domain
Upstream identity providers, such as social logins or enterprise OIDC and SAML providers, are configured with redirect or callback URLs that include the source instance's domain. After the move, sign-in through those providers fails with redirect errors until the upstream configuration is updated. Build a list of every federated provider and its registered callback, then update each one in the provider's console during the parallel run. Confirm that each upstream provider accepts the new callback before cutover.
Users locked out at cutover
Cutover fails for users when the old instance is switched off before the new one has every credential, the DNS change has propagated, or applications have been repointed. Users then face sign-in errors with no working fallback. Set a cutover checklist that keeps the source instance reachable until every application and provider is confirmed. Test sign-in with real user accounts from each organization, and keep a documented rollback that returns the applications to the source instance within a defined window.
Questions buyers ask before moving from Zitadel Cloud to self-hosted
How much does moving from Zitadel Cloud to self-hosted cost?
The cost is driven by the amount of work, not by a fixed fee, and the figure comes from the written scope. The main components are the export and import work, mapping organizations, projects and applications on the new instance, rebuilding the self-hosted environment, and testing sign-in before cut-over. Some costs are one-time, such as the move itself. Others recur after the move, such as running your own infrastructure, PostgreSQL, backups, upgrades and monitoring. Ask any quote to separate these, and to state which items are paid to a partner and which remain with your own team. Zitadel's public pricing page lists the Cloud plans and Enterprise custom pricing, so compare the recurring hosting cost against those plans as part of the decision.
How long does a Zitadel Cloud to self-hosted move take?
Duration depends on scope: the number of instances, organizations, users, applications, identity provider links and the number of integrations that must be repointed. Those factors, along with the size of the self-hosted environment you are building and how many cut-over rehearsals you require, set the schedule. A move with one instance and a few applications is far simpler than one with many organizations and custom Actions. Ask for a timeline in the written scope that lists the phases, the client decisions each phase depends on, and the rollback plan. Any timeline that is not tied to these inputs should be questioned.
What does our team need to provide during the move?
Your team provides the access and decisions that only you can make. That usually includes instance owner service accounts with the right permissions on both systems, an agreed list of organizations and projects to move, the self-hosted infrastructure and domain plan, and named owners for each application that will be repointed. Your security team should approve how exported data is stored and deleted, and who may run the import. Your application owners need to schedule test sign-ins and a cut-over window. Confirm these responsibilities in the scope so that delays caused by missing access or approvals are visible early.
Can our own team move Zitadel without an outside partner?
Yes, if your team has PostgreSQL, Kubernetes or Docker operations skills, can work with the Zitadel APIs, and has time for a rehearsal and a rollback plan. The work is mostly careful sequencing: standing up the self-hosted instance, exporting resources with the instance owner service accounts, importing them, verifying users and applications, and repointing clients. The risk lies in gaps that are easy to miss, such as password and OTP handling, redirect URIs, signing keys and the audit trail that does not carry over. Many teams bring in outside help for review and cut-over support rather than the whole project. Decide based on the skills and capacity you have.
Do passwords and OTP secrets come along in the move?
Yes, the Zitadel migration guide for moving from Zitadel documents that resources can be exported and imported with instance owner service accounts on both systems, and that hashed passwords and OTP secrets can be included. This means users usually do not need to reset passwords or re-enroll one-time passwords. Confirm this against the current guide and test it on a copy before cut-over, because the result depends on the instance versions and on how your OTP factors were configured. Also plan how passkeys are handled, since they are registered against the original relying party and may need re-enrollment.
What happens to the audit trail after the move?
The audit trail does not come along. The Zitadel migration guide for moving from Zitadel states that resources are migrated without the event stream, so the history of imported objects is not carried over to the new instance. Before cut-over, export and retain the audit records you need from Cloud, store them under your retention policy, and record the migration itself as a documented event in your change records. Ask your auditors which evidence they will accept for the period before and after the move. This is a planning item for your compliance team, not a detail to resolve after the import.
What operating work do we take on after moving to self-hosted?
Once the instance runs in your infrastructure, your team owns availability, PostgreSQL, TLS, backups, patching and upgrades. Zitadel documents self-hosting on Linux and macOS binaries, Docker Compose and Kubernetes, and recommends a Kubernetes cluster with the official Helm chart for high availability. Database versions 14 through 18 are supported, so check the version you choose against the current database documentation. Plan these responsibilities before the move so they are not discovered during an incident. The Cloud plan's support and operations are no longer part of your cost, so the recurring cost should include staff time as well as infrastructure.
How DeployOpen scopes, delivers and supports the move
DeployOpen plans and carries out the move between Zitadel Cloud and self-hosted Zitadel as a fixed-scope engagement, with scope, deliverables and timelines agreed in writing before work starts. The work runs inside your own infrastructure, from export and import through verification, documentation and handover.
How we scope
- Inventory the organizations, users, projects and settings to move from each Zitadel instance before any export starts.
- Agree in writing which password hashes, OTP secrets and passkey data are in scope and how each will be handled.
- Define the service accounts, instance owner access and approval steps needed on both the source and target systems.
How we build
- Build and test the export and import runs against a non-production copy of the target self-hosted instance first.
- Verify imported organizations, users and settings against the source inventory, and record every gap found.
- Document the audit trail that stays on the source instance, and agree how that record is kept by your team.
How we hand over
- Deliver runbooks for the cut-over, rollback steps and the removal of temporary service accounts and access tokens.
- Hand over configuration, verification results and a list of open items with named owners on your side.
- Walk your platform and security teams through the self-hosted instance so they can operate it after the move.
How we support
- Offer ongoing support, upgrades and continuous testing for the self-hosted instance as a retainer after handover.
- Plan follow-up verification for applications that repoint to the new instance once the cut-over is complete.
- Confirm with your Zitadel contract terms which support and account management you need from the vendor during the move.

