Why migrate from Firebase Authentication to Zitadel without importing passwords
If you run Firebase Authentication and want to move to self-hosted Zitadel, you choose between a bulk import with forced resets and just-in-time migration, which checks credentials against Firebase's REST API during a grace period. The effort depends on how many users you have, which sign-in methods are enabled, and how many applications still depend on Firebase ID tokens. A small user base with one sign-in method and one dependent application is a short project. A large base with several sign-in methods and many dependent applications needs a longer grace period and more testing. This page covers field mapping, the tools involved, the migration sequence and the risks to plan for.
Passwords cannot simply be carried over because of how Firebase stores them. Firebase uses a proprietary modified scrypt algorithm with project-specific keys, and Zitadel cannot process that format, so imported Firebase hashes must be discarded. Every user therefore either sets a new password or proves the existing one to Firebase at login. A bulk import creates all accounts in one run and forces a password reset at first login, so you need a way to reach every user and a plan for accounts that never return. Just-in-time migration keeps Firebase as the verifier, so a user who signs in during the grace period is created in Zitadel at that moment. The Firebase migration guide describes both paths.
Zitadel's Firebase guide suggests a migration window of about 30 to 90 days. Treat that as a planning starting point and check it against your own login data. Before you choose a path, confirm the number of active accounts and which sign-in method each one uses, which applications validate Firebase ID tokens directly and how each would switch to Zitadel tokens, whether any Firebase accounts lack an email address that can be used for matching, and who approves the date on which Firebase logins stop. Each answer changes the effort. A large user count raises the cost of a reset campaign, and many dependent applications raise the cost of token changes. Ask any implementation partner for a fixed-scope quote built on these numbers.
What maps cleanly from Firebase Authentication and what does not
This table compares Firebase Authentication capabilities with their closest Zitadel equivalents and notes what each one means for cutover. Read the migration notes before choosing between bulk import and just-in-time migration, because password hashes and user IDs change the work the most. Rows marked as items to verify depend on details in Zitadel's Firebase guide that this page does not restate, so confirm them before you commit to a plan.
| Firebase capability | Zitadel equivalent | Migration notes |
|---|---|---|
| Email and password users | Local login users with password | Firebase hashes cannot be imported. Plan a forced reset at first login or verification against Firebase during a grace period. |
| Password hashes | Not importable | Firebase's modified scrypt uses project-specific keys, so discard imported hashes. Item to verify: exact import fields in the Firebase guide. |
| Google and Apple sign-in | Federated Google and Apple identity providers | Provider links must be re-established for each user. Confirm how existing accounts link to the provider on first sign-in. |
| User IDs (Firebase UIDs) | New Zitadel user IDs | Firebase UIDs do not carry over as Zitadel user IDs. Keep a mapping from old UID to new user ID in your application database. |
| Email verification state | Verified email status on the user | Item to verify: whether imported verification status is preserved or users must verify again after cutover. |
| Custom claims | Roles, grants and projects | Recreate claims as Zitadel roles and grants within projects. Item to verify: the exact mapping mechanism in the Firebase guide. |
| Passkeys and MFA | Passkeys with password fallback | Firebase enrollments do not move with users. Users enroll passkeys after cutover, and item to verify: which second factors can be carried over. |
| Project settings (authorized domains, templates) | Instance and organization settings, login and notification templates | Rebuild each setting in Zitadel and confirm it. Item to verify: whether any Firebase project setting can be exported or imported. |
Documented import and migration paths for Firebase users
Zitadel documents two ways to move Firebase users because Firebase password hashes cannot be imported. Both paths require users to authenticate again, either by setting a new password or by signing in once against Firebase. The general migration index sits behind them for context.
Bulk import with forced resets
The Firebase guide describes a bulk import that creates Zitadel accounts without password hashes, so each user sets a new password at first login. The input is the user export from your Firebase project. Confirm its exact format and the import command in the current guide before you script anything. Plan for a reset wave at cutover, including help desk volume, the reset path users follow and accounts that have no usable email address.
Firebase migration guideJust-in-time verification during grace
The just-in-time option leaves users in Firebase and verifies their credentials against Firebase's REST API at sign-in, moving each account once it authenticates. Firebase stays a live dependency for the whole grace period, so its availability and project access become part of the cutover plan. Confirm in the guide which Zitadel extension point runs the verification call, how sign-in behaves when Firebase is unreachable, and what happens to accounts that never sign in again.
Setting the migration window
The Firebase guide suggests a migration window of about 30 to 90 days. Treat that range as a starting point and confirm it in the guide before you set dates. On the just-in-time path the window is the period Firebase must stay reachable, and on the bulk path it is the time users have to reset their passwords. Short windows can lock out infrequent users at their next visit, while long windows keep Firebase access in scope for longer. Agree the end date with each application owner and record it in the decommissioning plan.
Zitadel migration guides index
The general index lists Zitadel's migration guides for Auth0, Keycloak, Firebase and another Zitadel instance, along with approaches such as just-in-time migration. Read it to see how the Firebase path compares with the others, especially if some applications came from a different source. Use it to find the steps common to every source, then confirm each one against the Firebase guide. The Firebase guide remains the working procedure for any Firebase step.
Migration guides indexBulk import with forced resets or just-in-time migration
Bulk import moves every account in one cutover. Firebase password hashes cannot be imported into Zitadel because they use a modified scrypt algorithm with project-specific keys, so each imported user must set a new password at first login. The work is front-loaded: the team exports user records, imports them, and agrees a communication plan that explains why users must reset their passwords before the cutover date.
- Export and mapping: Pull user records, email addresses, verification status and profile fields from Firebase, then map each record to a Zitadel user in the target organization. Confirm which fields the import tooling accepts.
- Forced reset at first login: Every imported account requires a new password. Accounts that never sign in after cutover stay in this state, so account recovery must work on the first day.
- Reset communication plan: Draft the notice, the support path and the sign-in instructions before the cutover. Users who rarely log in are the group most likely to be surprised by the reset prompt.
- Rehearsal on a copy: Run the import into a non-production Zitadel instance first, count the records and compare them with the export before scheduling the production run.
- Help desk load: Expect reset requests to peak in the days after cutover, and staff support for that window.
Check whether your user count, login frequency and help desk capacity can absorb one forced reset wave before choosing this path.
Just-in-time migration moves each user when they sign in. At login, the credentials are verified against Firebase's REST API, and after a successful check the account is created or updated in Zitadel. Users who never return stay in Firebase, so Firebase must remain live for the full grace period. The guide suggests a migration window of about 30 to 90 days before the legacy store is retired.
- Login-time verification: Each sign-in from an unmigrated user calls Firebase's REST API, so the design depends on how the login flow passes credentials to that check. Confirm the mechanism in the guide.
- Users move as they sign in: Accounts appear in Zitadel only after a successful login, so progress reporting must compare Zitadel accounts with the Firebase user base.
- Firebase stays live: The Firebase project, its configuration and its authentication service must keep running through the grace period. A shutdown or quota limit on that project breaks sign-in for users not yet moved.
- Window length: The guide suggests about 30 to 90 days. Choose a window based on how often your users sign in, and plan what happens to accounts still in Firebase when it closes.
- Third-party dependency: Every unmigrated login depends on an external service, so plan for latency and outages on that path and track which users still depend on it.
Confirm that the Firebase project can stay live, with its configuration unchanged, for your full window. The Firebase migration guide sets out the steps for this path.
A hybrid pattern is one option to confirm with the guide. Accounts that carry no password hash to verify can be imported in bulk, and accounts with passwords can move just in time. The split depends on which accounts still need Firebase at sign-in, so the decision centers on the authentication methods in your Firebase project, not only on total user count. Treat it as a design to test, not a settled step in the guide.
- Accounts without a password: Federated or social sign-ins in Firebase carry no password hash, so they may be candidates for bulk import. Confirm how the guide handles these accounts.
- Password accounts: Accounts with password hashes are candidates for just-in-time migration, which limits the Firebase dependency to those users.
- Two tracks to run: Running both paths means two sets of tests, two progress views and two sets of user messages.
- Grace period planning: If only password accounts need Firebase, the period you must keep it live may differ from the full just-in-time plan. Confirm this against your own user data.
- Ordering and duplicates: Decide which track runs first, and confirm how the import prevents duplicate accounts for users who later sign in through the just-in-time path.
Confirm with the guide that the hybrid split is supported for your Firebase sign-in methods before you design around it.
How a just-in-time login reaches Firebase during the grace period
The diagram follows the just-in-time path in Zitadel's Firebase migration guide. A user submits credentials to the Zitadel login. If the user does not yet exist in Zitadel, a migration hook sends the password to Firebase's REST API, the only step that leaves your infrastructure. A valid response creates or updates the Zitadel user and completes login, and an invalid one returns an error. After the grace period, a cutover check routes all logins to Zitadel and retires the Firebase dependency. Confirm the exact hook names in the guide before you build.
Just-in-time login path with the Firebase trust boundary during the grace period.
Sequence for a Firebase to Zitadel migration with parallel run and cutover
This sequence moves users and applications from Firebase Authentication to a self-hosted Zitadel instance without importing Firebase password hashes, which Zitadel cannot process. It runs in four phases: inventory and decisions, a pilot, the migration run with a parallel run, and cutover followed by decommissioning. Each step ends with a gate that must pass before the next step starts.
Inventory users, login methods, claims and client apps
Your team lists every Firebase project, the user count, each sign-in provider (email and password, social, phone, SAML or OIDC), the custom claims set on user accounts, and each client app that calls Firebase for sign-in or verifies its tokens. Record which apps read those claims and where the claims are consumed. Gate: the application owners sign off on the list and each app has a named cutover owner. The output is a migration register that drives every later step.
Choose bulk import or just-in-time migration
Because Firebase password hashes cannot be imported into Zitadel, pick one of the two paths in Zitadel's Firebase guide. Bulk import moves all accounts at once, and users reset their passwords at first login. Just-in-time migration checks credentials against Firebase's REST API as each user signs in during a grace period, so returning users keep their existing passwords. Gate: the security and product owners record the choice, including how long unmigrated accounts must remain valid.
Pilot on a non-production self-hosted Zitadel
Stand up a non-production self-hosted Zitadel instance on the infrastructure you plan to run, backed by a supported PostgreSQL version. Load a test set of Firebase users that covers each sign-in method, a user with custom claims, and a user with an unverified email. Run the chosen path against one client app in a non-production environment, then confirm login, token issuance and claim mapping. Gate: every test case passes and the application owner accepts the tokens. The output is a pilot report listing defects and the fixes made before the production run.
Map Firebase projects to Zitadel organizations and projects
Decide how each Firebase project and app group maps to Zitadel's structure: instances as isolated tenants, organizations where users and projects live, and projects that group applications, roles and grants. Create the organizations and projects in the target instance, define roles that match your custom claims, and assign each user to an organization. Rerun the pilot against the mapped structure. Gate: the platform and application owners approve the mapping sheet. The output is a reviewed mapping that the migration run reads directly.
Run the migration and reconcile user data
Run the bulk import with forced password resets, or deploy the just-in-time logic that calls Firebase during sign-in, against the production Zitadel instance. For bulk, confirm that imported accounts are flagged for a password reset. For just-in-time, confirm that the Firebase lookup succeeds for test accounts and that migrated users are written to Zitadel. Reconcile user counts, email verification status and claim values against the register. Gate: the counts match, and each exception has a documented explanation. The output is a signed reconciliation report.
Run Firebase and Zitadel in parallel
During the grace period both systems serve the applications, so each app can be switched on its own schedule. Monitor sign-in success rates, failed logins, token validation errors and support tickets for each app. Keep the Firebase lookup active for just-in-time users, and track how many accounts still depend on Firebase. Set the grace period from your own user data; the Firebase guide suggests a window of about 30 to 90 days as a starting point. Gate: error rates for each app stay within the thresholds agreed in the design step before any cutover begins.
Cut over each application's sign-in and token validation
Switch one application at a time from Firebase to Zitadel. Update the client configuration to use Zitadel's OpenID Connect endpoints, change backend token validation so it accepts only Zitadel-issued tokens, and map claims to the roles defined during mapping. Test sign-in, token refresh, logout and API authorization with a small group of production users before moving everyone else. Gate: the application owner signs off, and the backend rejects Firebase tokens after its switch. The output is a cutover record with a documented rollback path.
Decommission Firebase after login volume reaches zero
When every application has cut over and the grace period has closed, confirm in logs that Firebase sign-in volume is zero across an observation period your team sets in advance. Disable the Firebase sign-in methods and the REST API lookup, revoke the service credentials, and remove the Firebase SDK from client apps. Export and archive the Firebase records your compliance obligations require you to keep before the project is shut down. Gate: the compliance owner accepts the archive. The output is a closure record and a decommissioning checklist.
What drives cost and duration of the migration
This table lists the effort drivers for moving from Firebase Authentication to self-hosted Zitadel and how each one changes the work. Read the second column for why a driver moves the schedule and the third for what to request in a written quote. Two drivers often decide the timeline: the grace period length and the number of applications that validate Firebase tokens.
| Driver | Why it changes the work | What to ask for in a quote |
|---|---|---|
| Number of users and daily active users | Sets the import batch count, database sizing and how many daily logins reach Firebase during the grace period. Zitadel Cloud tiers are set by daily active users, per its pricing page. | The exact user count and daily active count for each source project, and the sizing they imply for your PostgreSQL. |
| Login methods (password, Google, Apple, passkeys) | Password users need either hash handling or reset flows. Google and Apple sign-ins need provider setup and account linking. Passkeys are enrolled in Zitadel after login, which is a separate rollout step. | Which providers are in scope, how Google and Apple accounts link to existing users, and whether passkey enrollment is included. |
| Client applications and token validation code | Each app that validates Firebase ID tokens needs changes to issuer, audience and key checks, followed by its own test pass. | A list of every app and service that validates Firebase tokens, with the code paths and test environments for each. |
| Custom claims and role logic | Firebase custom claims must map to Zitadel projects, roles and grants. Each mapping is a design decision and needs its own test cases. | A claims inventory per application, the target role model in Zitadel, and a named owner who approves the mapping. |
| Grace period length | The just-in-time window keeps the Firebase project and its REST API in service for the whole period. Zitadel's Firebase guide suggests about 30 to 90 days. | The window length you need, the criteria for decommissioning Firebase, and who monitors Firebase usage until cut-over. |
| Self-hosted platform build | PostgreSQL 14 through 18 is supported. Zitadel recommends Kubernetes with the official Helm chart for high availability, adding cluster, TLS and backup work. | Whether the build uses Helm on your Kubernetes, the PostgreSQL version and high availability design, and who runs the platform after hand-over. |
| Testing and communications for forced resets | Bulk import with password resets at first login means every user receives a reset prompt. Support volume and reset-flow testing grow with the user count. | A test plan covering reset, login and recovery paths, a user notice plan, and support staffing for the reset period. |
| One-time versus recurring work | Import tooling, claims mapping and application changes are one-time. Platform operations, Firebase monitoring and reset support continue until the defined cut-over date. | Which items are fixed-scope one-time work and which are ongoing, with the end date for each recurring item. |
What usually goes wrong in a Firebase to Zitadel move
Most failures in this move happen at the edges between Firebase and Zitadel: login flows, identifiers, token claims and the Firebase project itself. Each card names one failure, the prevention step, and the step in the sequence that catches it. Read them before choosing between bulk import and just-in-time migration, since the two paths fail in different places.
Users locked out by reset email
Firebase password hashes cannot be imported, so each user who moves either sets a new password during a bulk import or signs in through just-in-time migration. If the reset email never arrives, or nobody has tested the reset flow with your Zitadel email settings, those users are locked out at the login screen with no way back in. Prevention: send a reset to a test mailbox on every sending domain and complete the flow from link click to new password before any live user is moved. The staging rehearsal catches this.
Firebase REST dependency breaks
Just-in-time migration checks each password against Firebase's REST API at login, so the Firebase project must keep answering for every account that has not moved yet. Changing the project, rotating its configuration or letting the grace period ends early turns those logins into failures that look like wrong passwords. Prevention: agree the grace period end date in writing with the Firebase project owner, and sign in as an unmigrated test account after every change to the project. The cutover readiness check catches this before users do.
Duplicate accounts from social links
When a user signs in with Google or another social provider, Zitadel has to decide which existing account that identity belongs to. A match on a shared or unverified email address can attach a social login to the attached to the wrong person, and the same human can end up with a second account that holds separate data. Prevention: choose the matching rule before the import (verified email only, or linking only after a password login) and test it with pairs of accounts that share an address. The account-linking test catches this.
Identity provider docsUser IDs break application data
Firebase UIDs usually sit in your application databases, file paths, audit trails and foreign keys. Users created in Zitadel receive Zitadel user IDs, so any record keyed to the old UID stops matching its owner the moment the application trusts the new token. Prevention: during import, write a table that maps each Firebase UID to its Zitadel user ID, confirm whether the import tooling can carry the old ID as an external reference, and rewrite or join application data through that table. The data mapping dry run catches this.
Custom claims missing from tokens
Firebase custom claims often carry roles, plan tiers or tenant identifiers into ID tokens, and applications read them on every request. Zitadel tokens contain only what its roles, grants and Actions produce, so a claim that was never recreated disappears silently at cutover. Prevention: list every claim your applications read, map each one to a Zitadel role, grant or Action, then decode a token for a migrated test user and compare it with that list. The token contract review catches this before application cutover.
Firebase project shut down early
Just-in-time logins call Firebase at sign-in time, so turning off or deleting the Firebase project before the last unmigrated user has moved locks out everyone still on it. Teams often decommission on the planned date without checking who still signs in through Firebase. Prevention: set the cutover criterion as a count of unmigrated accounts, keep the Firebase project read-only until that count reaches zero, and log any attempt to call it after the planned date. The decommissioning gate catches this.
Firebase migration guideHow much effort, time and input does a Firebase to Zitadel move need
How much does a Firebase to Zitadel migration cost?
The cost follows from the written scope, and DeployOpen does not publish a price list. Ask for a quote that breaks out each component: discovery of your Firebase projects and sign-in methods, Zitadel deployment in your infrastructure if that is part of the work, the bulk import or just-in-time code, changes to each application's login path, testing with a set of test users, and cutover support. The main cost drivers are the number of Firebase projects, the number of client applications that must be repointed, the number of sign-in methods in use, and whether a just-in-time window runs alongside the old Firebase project. Recurring costs sit outside the migration itself: hosting and operating Zitadel, PostgreSQL, backups, and any Zitadel subscription tier you choose. Zitadel's pricing page lists its plan terms, which matter for the recurring side if you do not self-host. Ask the quote to state which items are one-time and which continue after cutover.
How long does a Firebase to Zitadel migration take?
Zitadel's Firebase guide suggests a migration window of about 30 to 90 days, and your own window depends on the size and shape of your user base and application estate. The window is the period in which Firebase and Zitadel both run and users move across. The length is set by the number of Firebase projects and client applications to repoint, the choice between bulk import with forced resets and just-in-time migration, the number of users who must move before Firebase can be retired, how quickly identity and application owners approve login changes, and how many test cycles the team needs. The import itself is rarely the longest step. The longer steps are approvals, application changes and user communication. Ask for the window in the written scope, along with the milestones that close it.
What does the migration need from our team?
The work needs named people from four groups before it starts: identity owners, application owners, a test set of users, and a decision on reset communications. Identity owners decide which Firebase projects and sign-in methods are in scope, approve the Zitadel organization, project and identity provider design, and own the cutover. Application owners confirm each client's redirect URIs, token handling and logout behavior, and test their own sign-in after the change. The test set of users should include accounts for every sign-in method in use, dormant accounts, accounts with multi-factor enrollment, and disabled accounts, so the team can check the import or just-in-time path against real cases. The communication decision covers what users see when they must reset a password, when they receive notice, and who answers support questions. Agree the owners and decision dates in the written scope.
Can our internal team migrate from Firebase to Zitadel without a partner?
An internal team can run the migration if it has the skills and time to operate both systems in parallel. The decision depends on your experience with identity systems, your release calendar and how many applications must change. The work spans several skill sets: operating a self-hosted Zitadel with PostgreSQL, writing and testing import or just-in-time logic against Firebase's REST API, changing each application's login flow, and reviewing the security of the result. The main question is capacity and risk tolerance. A partner adds the most value where the Firebase estate is large, the application count is high, or the team has little recent identity work. Whichever route you choose, agree a written test plan, a rollback path and a named owner for each application before cutover. DeployOpen plans and implements these migrations inside your infrastructure under a fixed scope agreed in writing, so you can compare that scope against what your team would build.
Do users have to reset their passwords after a Firebase to Zitadel move?
With a bulk import, yes, but just-in-time migration can avoid the reset for users who sign in during the window. Firebase uses a proprietary modified scrypt algorithm with project-specific keys that Zitadel cannot process, so imported Firebase password hashes must be discarded. That is why a bulk import sends every user through a password reset at first login. Just-in-time migration checks the submitted credentials against Firebase's REST API at login, so a user keeps the same password. Accounts that never return during the window still need a reset or a separate path before Firebase is turned off, so plan for them in the communication decision. Review the Zitadel Firebase migration guide for the current sequence, and confirm that the Firebase REST API and your Firebase quotas support the traffic for the whole window.
What happens to Firebase costs and data during a just-in-time migration window?
Firebase stays in service for the whole window, so its project, data and billing continue until you decommission it. Just-in-time migration calls Firebase's REST API at each login for a user who has not yet moved, so Firebase usage continues at the level of that traffic and falls as users migrate. Confirm your current Firebase billing terms and quotas with Google before the window opens, because those terms are outside Zitadel's documentation. Moving users does not by itself delete Firebase records. Decide with your compliance owner how long the Firebase project is retained after cutover, and whether an export is needed for records. Migrated accounts are created in the Zitadel database you operate in your own infrastructure. Plan the shutdown date, the final export and the retirement of the Firebase project as separate milestones in the written scope.
How DeployOpen scopes, delivers and supports a Firebase to Zitadel migration
DeployOpen approaches this migration by first confirming that Firebase password hashes cannot be carried over, because Zitadel cannot process them. We then help you choose between a bulk import with password resets and just-in-time migration during a grace period. The work runs in your own infrastructure, against your Zitadel instance and your Firebase project, with each decision recorded in writing before build starts.
How we scope
- The written scope names your Firebase project, sign-in methods, and applications that will call Zitadel after cut-over.
- Scope fixes the migration path: bulk import with password resets, or just-in-time migration against Firebase's REST API.
- Fixed-scope engagements are agreed in writing before work starts, and ongoing support is available as a retainer afterward.
How we build
- Set the grace period against the window Zitadel's Firebase guide suggests, about 30 to 90 days.
- Build the chosen path in a staging Zitadel instance, then test each sign-in method with migrated test accounts.
- Document how password resets, email verification and failed-login handling behave for users during the migration window.
How we hand over
- Deliver the migration runbook, the import or verification scripts, and configuration records for your Zitadel and Firebase settings.
- Hand over a cut-over checklist with criteria for ending the grace period and turning off Firebase sign-in.
- Provide a record of which users moved, which reset passwords and which remain unmigrated at each stage.
How we support
- Support is available as a retainer for upgrades, Zitadel version changes and access questions after cut-over.
- Confirm with your team who owns the Firebase project during decommissioning, including its billing, keys and remaining users.
- Ask whether the retainer covers retesting after each Zitadel release you adopt.

