Migrate from Bitwarden cloud to self-hosted Bitwarden: what the work involves
A team that decides to run Bitwarden on its own infrastructure for control, data residency or licensing reasons should expect that the apps and vault data can move, but the organization, members, enterprise policies, SSO configuration and the paid-feature license must be rebuilt on the new server. The work usually falls to a platform or IT team, with a named security owner who signs off on the design, the access model and the backup plan. The server is the same Bitwarden product, licensed under the AGPL 3.0 for the main code, with the enterprise modules under the Bitwarden License, so this is an operator change rather than a fork. Because the self-host release and the server versions move monthly, the target version should be pinned at planning time, and the team should confirm the current release notes on the Bitwarden self-host releases page before it builds anything.
Effort and risk concentrate in three places. The first is the platform itself: the Linux install guide sets minimum hardware, requires a recent Docker Engine, and ships an MSSQL Express image by default with a 10 GB database limit, so the team must decide early whether that limit and the database engine fit its growth and backup standards. The second is the licensing step: the installation ID and installation key are retrieved with a valid email address from bitwarden.com/host, and the license file for paid features is downloaded from the cloud Admin Console and must match the installation's data region. The third is the human side. Members, invitations, enterprise policies and SSO must be recreated, and attachments are not carried over by the export path, so someone must own the re-upload list.
Before work starts, the team should confirm three things with its own environment and the vendor: which Bitwarden plan and features it actually uses, which of those features need the license file, and whether its identity provider and directory sync need the Directory Connector. A short written inventory of collections, groups, policies and attachments turns the migration into a checklist that the security owner can review and that the auditors can later trace. Ask any implementation partner to price each of these items separately, so the one-time build, the recurring server and license costs, and the admin time are visible before a decision is made.
Which Bitwarden cloud features move cleanly and which need rework
This table maps each Bitwarden cloud capability to its self-hosted counterpart and marks it as clean, needs rework or gap. Read the status column first, then check the notes for what must be redone after the organization data is imported. The main takeaway is that vault contents move, but membership, policies, SSO and paid features depend on the license file and your own setup.
| Cloud capability | Self-hosted status | What to confirm or redo |
|---|---|---|
| Individual vaults | Clean | Export each member's vault and import it with the same email; confirm the account exists on the new server first |
| Organization items and collections | Needs rework | Migration script moves organization data, but confirm collection assignments and item sharing after import |
| Attachments | Needs rework | Attachments are not carried by the standard organization import; plan to re-upload them and verify each one |
| Member invitations | Needs rework | Invitations are not migrated; re-invite members on the self-hosted organization and confirm they accept |
| Enterprise policies | Needs rework | Policies must be recreated manually in the self-hosted Admin Console after migration |
| SSO and directory sync | Needs rework | SSO depends on the bitwarden_license code under the Bitwarden License and a license file; reconfigure identity provider and Directory Connector |
| Paid feature license | Needs rework | Download the license from the cloud Admin Console and match the installation ID and data region before enabling paid features |
| Secrets Manager | Gap | Confirm with Bitwarden whether Secrets Manager projects and machine accounts migrate; plan a separate path if they do not |
| Admin console and billing | Gap | Billing and subscription management stay in the cloud; the self-hosted admin console covers server operations, not vendor billing |
Which data exports and integrations to plan for
The documented cloud to self-hosted path moves organization data across, but several items do not travel with it and must be rebuilt by hand. The cards below follow the order of work: exports and license first, then the settings and integrations that need reconfiguring, and finally the deployment target that hosts them.
Organization export and license download
The documented path starts with the organization exporting its data from the cloud web app and downloading its license from the Admin Console, Billing, Subscription area. The license is tied to the installation ID of the self-hosted server, and its data region must match the cloud organization's region. Confirm the region before you deploy, because a mismatch blocks paid features. Check the license file first, since it is the gate for every enterprise feature on the new server.
Migration stepsIndividual vault exports as a separate step
Organization exports and individual vault exports are different operations, and the individual step is easy to forget. Each member exports their own vault from the cloud and imports it into the self-hosted account with the same email address. Ask members to confirm item counts after import, because personal items do not move with the organization data. Plan a short window where members work from both vaults.
Attachments need manual rework
Attachments are not carried through the documented migration and must be re-uploaded to the self-hosted vault. Identify which items hold attachments before cutover, such as certificates, license keys or recovery files, and list their owners. Keep the originals in the cloud until each attachment is confirmed on the new server. Large attachment sets extend the cutover window, so size this work early.
Member invitations, policies and SSO
Member invitations, enterprise policies and SSO settings must be redone on the self-hosted server. Recreate each invitation, the policy set such as master password requirements and two-step login rules, and the SSO configuration with your identity provider's new redirect settings. Record each setting in a checklist before cutover, and verify it with a test account, since policies that look carried over may not enforce the same way.
Directory Connector user sync
Directory Connector is GPL-3.0 and syncs users and groups from Active Directory, LDAP, Azure, Google Workspace or Okta into Bitwarden. Its sync source and target must be pointed at the self-hosted server, and existing sync jobs in the cloud will not follow the data. Test group membership mapping and deprovisioning with a few accounts first, because removed users must lose access on the new server.
Directory Connector repositoryKubernetes deployment with official Helm charts
If the team runs Kubernetes, Bitwarden publishes official Helm charts under AGPL-3.0 for the self-hosted server. The chart, its values, database and persistent storage are your responsibility to configure, back up and upgrade. Confirm the chart version matches the self-host release you tested, and document the ingress, certificate and secret handling so the security team can review the deployment.
Helm charts repositoryHow the cutover sequence runs from inventory to decommission
The sequence moves an organization's vaults, members, policies and SSO from Bitwarden's hosted service to a self-hosted server in an order that keeps one authoritative vault at every point and leaves a written record of each gate. Each step closes with a named output that the next step depends on.
Inventory organizations, members, policies and integrations
The Bitwarden administrator and the platform owner list every organization, its collections and groups, its members and their roles, the enterprise policies enabled in the Admin Console, any SSO configuration, and every connected integration such as Directory Connector, SCIM or scripts that read the vault. Each item is recorded with its owner and its dependency on the cloud region. The output is an inventory register that marks which items the export carries, which must be recreated by hand (attachments, invitations, policies and SSO, as described in Bitwarden's migration guide) and which downstream systems need a new server URL. The step is done when the register has been reviewed and signed by the business owner of each organization.
Deploy and test a pilot server with a test organization
The platform team installs the self-hosted server on a non-production host, following Bitwarden's Linux install guide for Docker, database and the installation ID and key, and confirms the hardware and database size limits against the workload. A test organization is created with sample collections, members and policies that mirror the register. The team then runs the export, license download and import against that test organization, and checks that items, collections, attachments and policies behave as expected from a client. The output is a pilot test record listing each import step, what was redone by hand and any defects found, with a retest after fixes. Confirm the current license and install requirements with Bitwarden before the pilot starts, because the self-host release cadence is monthly.
Run a parallel period with one authoritative vault
The production self-hosted server is installed and kept separate from the cloud organization while users keep working in the cloud. The communication to members names which vault is authoritative during this period and states that items added to the new server before cutover will not reach the cloud. The platform team checks the production install against the pilot record, sets up backups and restore tests, and prepares the member invitation list and the SSO and directory settings to be redone. The output is a parallel run plan with an owner, a named authoritative vault and a documented rollback path to the cloud organization. The step is done when the business owners have acknowledged that plan in writing.
Freeze the cloud vault and export data
At the agreed cutover point, the administrator stops changes in the cloud organization, or tells members in writing that edits are frozen, and then takes a final export of organization and individual vaults using the formats Bitwarden supports for each. The export is stored in an encrypted location with restricted access, and its item count is compared with the cloud count in the Admin Console. Any differences are logged before import. The output is a frozen export record with file hashes, item counts and the name of the person who produced each file. Individual vault exports are taken by each member if they cannot be exported centrally, and that dependency is tracked on the register.
Download the license and import the data
The administrator downloads the organization license from the cloud web app (Admin Console, Billing, Subscription) and confirms that the installation ID it is tied to matches the self-hosted server in the same data region as the cloud organization. The self-hosted account is created with the same email address used in the migration guide, the license is uploaded, and the migration script imports the organization data. The team then compares the imported item and collection counts with the frozen export record and redoes attachments, member invitations, enterprise policies and SSO on the new server. The output is an import reconciliation report that shows matching counts and lists each manual task with its owner.
Switch client server URLs and onboard members
Members are moved to the self-hosted server by changing the server URL in each Bitwarden client, including browser extensions, desktop and mobile apps and the CLI, and then signing in to the new server with their account. Administrators invite members who were not carried over, confirm each member's role and collection access, and check that the policies and SSO sign-in work for a sample of users from each group. Help desk scripts and any integrations are repointed to the new server URL. The output is a signed cutover checklist covering URL changes, member confirmations, policy and SSO tests and the sign-off from the business owner and security owner.
Decommission the cloud organization after verification
After a verification period agreed in the cutover plan, the platform team confirms that backups of the self-hosted server restore successfully, that the license is valid for the installation, and that no member still uses the cloud organization for production secrets. The cloud organization is then cancelled or downgraded through Bitwarden's billing process, and the cloud exports are destroyed according to the retention policy. Confirm with Bitwarden how billing ends, how data is removed from its cloud and any notice period before the cloud subscription stops. The output is a decommission record that links the signed cutover checklist, the restore test result and the cancellation confirmation, and is filed with the security register.
How the self-hosted Bitwarden server is deployed and licensed
Before any data moves, the server host has to meet the requirements in Bitwarden's Linux install guide. The documented minimum is an x64 processor at 1.4 GHz, 2 GB of RAM and 12 GB of storage, but Bitwarden recommends 4 GB of RAM and 25 GB. The host also needs Docker Engine 26 or later. The default image ships MSSQL Express, which caps the database at 10 GB. Check the current database size of the cloud organization against that limit, and decide early whether to keep the bundled database or point the deployment at a larger SQL Server edition. Size the host for the full organization, not only the vault count, and confirm the current figures in the install guide before procurement, since they change between releases.
Installation requires an installation ID and an installation key. You request them at bitwarden.com/host with a valid email address, and the same ID is later used to bind the license. Keep these values in your secrets store, because the self-hosted instance cannot be licensed without them. Paid features such as SSO, policies and directory features need a license file that you download from the cloud Admin Console under Billing and Subscription. That file is tied to the installation ID, and the installation's data region must match the region of the cloud organization. Confirm the region in the cloud account before you request the installation ID, because a mismatch means a new organization or a support request.
The lite deployment is a different product for a different use. It is a single container that supports MSSQL, PostgreSQL, SQLite and MySQL or MariaDB, and it needs at least 200 MB of RAM. Bitwarden's lite guide positions it for personal use and home labs, not business use, so an organization migration should not run on it. Self-hosting the server itself is free, but the license is not. Budget for the subscription that backs the paid features, and for the time your team spends on server updates, backups and monitoring, which the cloud service otherwise carries for you. Ask Bitwarden to confirm in writing which plan and seat count the license file will cover.
What drives the cost and duration of this migration
This table lists the inputs that change the cost and effort of moving a Bitwarden cloud organization to a self-hosted server, and whether each one is paid once or recurs. Use it to scope your own environment and to check that a written quote covers every row.
| Driver | Why it changes cost or effort | What to ask for or confirm |
|---|---|---|
| Organizations and members | Each cloud organization is exported and re-created separately, and each member must be invited again on the new server, so counts drive admin and onboarding time. | Ask the provider to state the number of organizations and members in scope and whether onboarding is included in the fixed scope. |
| Collections, groups and items | Vault size affects export, import and verification time, and collection structure must be checked after import because the import does not carry every permission. | Ask for a verification checklist covering collections, item counts and group access before cutover is approved. |
| Attachments needing re-upload | Attachments are not carried by the organization migration path, so each file must be downloaded and uploaded again, which is manual work when the count is high. | Confirm the attachment count per organization and who performs the re-upload and checks file integrity. |
| Policies, SSO and directory sync | Enterprise policies and SSO must be configured again, and directory connector settings for AD, LDAP, Azure, Google Workspace or Okta need testing against the new server. | Ask for a list of every policy and SSO or directory integration to rebuild, plus the test cases used to sign off each one. |
| Hosting model: Docker or Kubernetes | Docker installs on a single host need less setup, while Kubernetes deployments use the official Helm charts and need cluster skills, ingress, storage and secrets handling. | Confirm which platform the quote assumes, who maintains the cluster and whether the Helm chart version is pinned. |
| Data region alignment | A self-hosted installation's license must match the data region of the cloud organization, so a mismatch blocks paid features and can force rework. | Ask the provider to confirm the region in the installation ID request and the license file step before the change window. |
| Change window and client cutover | Every member's client must point at the new server URL, and the cloud organization stays in use until cutover, so the window and user communication affect staff time. | Ask for a written cutover plan with a rollback step, a freeze on vault changes and a named owner for user communication. |
| Recurring operations and releases | Servers, databases, backups, TLS certificates, upgrades and license renewal recur, and Bitwarden publishes monthly releases that need testing and rollout. | Ask for the monthly upgrade process, the backup and restore test frequency and who owns license renewal and monitoring. |
What usually goes wrong in a cloud to self-hosted Bitwarden move
Most failed Bitwarden migrations break on the same few points: the license, the data that does not move, the settings that reset, and the operations work nobody budgeted. Each card below names one failure, why it matters during the move, and the check that prevents it.
License file mismatched to installation
A paid self-hosted organization needs a license file downloaded from the cloud web app and tied to the installation ID. The installation ID and key come from bitwarden.com/host using a valid email address, and the data region of the installation must match the cloud organization's region. Confirm the installation ID and region before you download the license, then test that Enterprise features activate on the new server before any users are moved.
Licensing helpAttachments and invitations not carried over
Bitwarden's migration guidance states that attachments, member invitations, enterprise policies and SSO must be redone on the new server. Teams that assume an import brings everything across find out during cutover that files are missing and members cannot sign in. Build an inventory of every attachment and every member before the export, and assign an owner to re-upload and re-invite each item.
Migration guidePolicies and SSO lost after import
Enterprise policies, SSO configuration and related admin settings do not come across with the vault data, so the new server can run with weaker rules than the cloud organization. Users may be able to skip two-step login or export items without anyone noticing. Write down every policy and SSO setting from the cloud Admin Console, reapply each one on the self-hosted server, and check them against that list before go-live.
Two vaults edited during parallel run
If the cloud and self-hosted organizations stay open at the same time, users keep adding and changing passwords in both. The changes diverge, and the final import or cutover silently overwrites work. Set a freeze date on the cloud organization, tell users in writing that it is read-only from that point, and remove their access to the old vault once the cutover is confirmed.
Backups not tested before cutover
A self-hosted server holds the only copy of the organization's vault once the cloud account is closed, so a failed backup is a loss of credentials for every user. Many teams configure backups but never run a restore. Before cutover, restore the database and the attachment storage to a separate host, log in with a test user, and confirm that items and files open correctly. Record how long the restore took.
Linux install guideUnsupported release and missed monthly updates
Bitwarden publishes server and self-host releases on a monthly cadence, for example the v2026.9.x releases before v2026.10.0. A team that installs once and stops patching runs a version that is out of step with the clients and any security fixes. Assign an owner for the monthly release review, schedule a test upgrade on a staging copy, and confirm which Docker Engine version the release requires before each upgrade.
Self-host releasesMSSQL operating burden underestimated
The Linux install ships an MSSQL Express image by default with a 10 GB database size limit, and Docker Engine 26 or later is required. Teams often plan for the application container and forget patching the database, monitoring its size against the limit, and sizing storage. Ask your platform team to own the database lifecycle, set an alert well before the 10 GB limit, and decide in advance whether the organization needs a different database edition.
How the migration differs by organization size and starting point
A small Teams organization usually has a limited number of members, few shared collections and no single sign-on requirement. The migration scope is narrow: the work centers on exporting the organization vault, creating the self-hosted account, importing data and inviting members again. Because fewer settings exist, the main risk is missing a setting that was quietly relied on, not the volume of data. Single-node deployment is the normal starting point, and the self-hosted install needs an installation ID and key tied to a valid email address.
- Member invitations: Invitations do not move with the data, so each member must be invited and must accept on the new server.
- Attachments: Confirm how attachments are handled before the cutover, because they are not carried over by the standard import path.
- Paid features: Confirm whether any Teams feature in use needs a license file tied to the installation ID and matching region.
- Client configuration: Every device needs the self-hosted server URL set in the official apps before users can sign in.
- Backups: A single host means backups of the database and configuration become the only recovery path.
Before starting, list which Teams features the organization actually uses and confirm each one with Bitwarden's current migration documentation.
A larger Enterprise organization usually runs directory sync, enterprise policies and SSO, and its identity team owns those settings. The migration touches more configuration, so the scope includes identity provider reconfiguration, policy review and a test of how users sign in on the new server. Directory Connector is a separate GPL-3.0 tool, so its sync configuration also needs to be reviewed against the new server. Enterprise features in the bitwarden_license directory, including SSO, are covered by a source-available license and need a paid subscription for production use.
- SSO redo: SSO settings must be configured again on the self-hosted server, with the identity provider's redirect and callback settings updated.
- Enterprise policies: Policies such as master password requirements, two-step login and vault access rules must be recreated and verified.
- Directory sync: Confirm which directory source is in use and whether Directory Connector will run against the new server.
- License file: The organization license must be downloaded from the cloud web app and matched to the installation ID and region.
- Pilot group: A small pilot group signing in through SSO before full cutover reduces the chance of locking out administrators.
Ask the identity team to document every policy and SSO setting in the current admin console before any export starts.
Teams that use Bitwarden Secrets Manager projects and machine accounts face a separate question. The password vault migration described in this page does not automatically cover Secrets Manager projects, secrets or machine account tokens. Pipelines and applications that read those secrets depend on specific endpoints and tokens, so changing servers can break automated consumers even when human users sign in without trouble. This scope needs its own inventory and its own cutover plan.
- Inventory: List every project, secret, machine account and token, and every system that reads them.
- Consumer endpoints: Each pipeline or application that calls the server URL must be updated and tested against the new server.
- Licensing: Confirm which Secrets Manager capabilities are covered by the license model and which need a separate decision.
- Separate decision: Some teams choose a different secrets manager for machine secrets, which is covered in a sibling topic on Secrets Manager alternatives.
- Rotation: Plan rotation of machine tokens during cutover, since copied tokens may be exposed in older configurations.
Ask the owners of each pipeline to confirm which server URL and token they use before any human user migration begins.
An organization moving Bitwarden to Kubernetes uses the official Helm charts from the Bitwarden repository, which are licensed under AGPL-3.0. The migration scope moves from a single host to a cluster, so ingress, persistent storage, database placement, secrets handling for configuration and backup of volumes become part of the plan. The platform team owns these parts, and the application team owns the client cutover. The data migration steps still apply, but they run against the cluster endpoint and its database.
- Database placement: Decide where the database runs and how it is backed up and restored, and confirm the database option the chart supports.
- Storage and ingress: Persistent volumes, TLS certificates and the public or internal hostname must be defined before import.
- License and installation identity: The license file is still tied to the installation ID, so cluster redeployments need the same identity handling.
- Chart version control: Pin chart and image versions, and review release notes before each upgrade.
- Restore testing: Test a restore into a separate namespace before relying on the cluster for live data.
Confirm the chart version, supported database and upgrade path in the repository before writing the cluster design.
How the cloud export, license and self-hosted server fit together
The flow starts in the hosted Bitwarden cloud, where an organization administrator exports organization data and downloads the license file from the Admin Console. The license is tied to the installation ID that the new server registers, and that ID's data region must match the cloud organization's region. Inside the organization's own infrastructure, the same-email account is created on the self-hosted server and the exported data is imported. Before users go live, check that clients point at the new server URL and that members, policies, attachments and SSO are redone, because the import does not carry them.
Data and license move out of the cloud into the organization's own server.
Questions teams ask before running this migration
How much effort and cost should we expect for this migration?
The cost comes from four components: the server infrastructure you run, the time your admins spend on the migration, the Bitwarden license for paid features, and any outside help you buy. Infrastructure is recurring and depends on the hosting you choose. Admin time is mostly one-time, but it grows with the number of members, collections, policies and SSO connections you must recreate by hand. Ask any implementation partner for a quote built from a written scope that lists each of these components separately, and ask which parts recur each year. Keep in mind that the license is payable for a self-hosted server with paid features, so it stays on the bill even though the hosting moves.
How long does the cutover take, and what sets the window?
The cutover window is set by the steps that must happen while members are locked out of changes: exporting the organization data, importing it on the new server, and switching clients to the new server address. Bitwarden's migration guide describes these steps in sequence, but it does not give a duration for them, so confirm the timing with your own test run in a staging environment. The window grows with the size of the vault, the number of attachments that must be redone, and how many users need to update their apps. Schedule the cutover after you have verified the imported data and before anyone is asked to re-enroll.
Can our own team run this migration using the documented path?
A team with Docker experience and an administrator who can read the Bitwarden help pages can run the documented path in-house. The steps are deploying the server, downloading the organization license from the cloud Admin Console, creating a self-hosted account with the same email, and importing the data. Bitwarden's Linux install guide requires an installation ID and key retrieved with a valid email address, and a supported Docker Engine version. The harder work is the manual redo: members, enterprise policies and SSO must be rebuilt, and you must verify that every item and collection arrived. If your team lacks that capacity, a partner can take on a fixed scope with written deliverables.
What does the migration need from admins and end users?
Admins carry most of the work. They must export organization and individual vaults, download the license, stand up the server, import data, reinvite members, rebuild enterprise policies and reconnect SSO. End users must accept new invitations, point their Bitwarden apps at the new server address, and log in again. Ask users to confirm that their personal vaults and shared collections look correct after the switch, and plan for a short period of support questions. Users who rely on account-restricted exports should also be told that those exports may need to be repeated, because key rotation can break them.
Do we still need the license file for a self-hosted Bitwarden server?
Yes, if you use paid features. Self-hosting Bitwarden is free, but paid features need a license file that you download from the cloud web app through the Admin Console, Billing and Subscription pages. That license is tied to your installation ID, and its data region must match the region of your cloud organization. Bitwarden's license FAQ also states that the enterprise modules, including SSO integration code, sit under the Bitwarden License, which requires a paid subscription for production use. Confirm the current license terms with Bitwarden before you go live, because the license is a separate cost from the servers you run.
What happens to attachments, invitations and SSO during the move?
Attachments, member invitations, enterprise policies and SSO do not come across with the data import, so each must be handled separately. Bitwarden's migration guide states that attachments, invitations, enterprise policies and SSO must be redone. Plan to re-upload attachments from your own records, send new invitations to members, recreate each enterprise policy, and reconfigure the SSO connection against your self-hosted server. Test SSO login with a pilot group before you invite everyone, and keep a list of which items had attachments so nothing is lost.
What checks should our engineers run before and after the cutover?
Before cutover, confirm that the server runs on a supported Docker Engine version and meets the minimum processor, RAM and storage in Bitwarden's Linux install guide, and that the database image fits the 10 GB limit of the default MSSQL Express image. After import, compare item and collection counts against the cloud export, spot-check shared items, and confirm that each member can see the collections they had before. Test the enterprise policies and SSO settings one by one. Keep the cloud organization available until you have verified the results, and record every check so auditors can review the evidence later.
How DeployOpen works on this
DeployOpen plans and runs the move from Bitwarden cloud to a self-hosted Bitwarden server inside your own infrastructure, whether that is your cloud account, data center or air-gapped network. Each engagement starts with a written, fixed scope that covers the export, license, cutover and the settings that must be rebuilt by hand.
How we scope
- Inventory the Teams or Enterprise organizations, members, collections, attachments, policies and SSO settings that must move.
- Confirm the cloud data region and the self-hosted installation ID, so the license file matches the organization's region.
- Agree deliverables, timelines and responsibilities for each step in writing before any work starts.
How we build
- Deploy the self-hosted Bitwarden server in your environment with the database, backups and Docker requirements documented for your hosts.
- Run the organization and individual vault exports and the migration steps in a controlled, logged sequence.
- Configure access control, SSO and audit logging, then test the server with the official Bitwarden clients before users switch.
How we hand over
- Deliver a runbook covering installation, license handling, upgrade steps and the member, policy and SSO settings that were redone.
- Provide a reconciliation record comparing exported items, collections and members against the migrated server.
- Walk your administrators through daily operation, backup restores and how to apply monthly self-host releases.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after the handover.
- Upgrades follow Bitwarden's release cadence, with each update tested in a staging environment first.
- Your compliance and security teams receive the configuration and evidence they need for their own reviews, which independent auditors assess.

