LastPass vs self-hosted Bitwarden

LastPass is a hosted service with the least operating work. Self-hosted Bitwarden moves vault and backup custody into your datacenter, but SSO and enterprise policies need a paid license file and a server your team operates.

On this page

Which password manager fits a LastPass switch?

LastPass stays the simpler fit for a small team with no operations function and no appetite to run a server. A hosted Business plan hands patching, availability, backups and the vault infrastructure to the vendor, and your administrators only manage users, policies and sharing. If your organization has no one who would own a database, a reverse proxy, TLS certificates and backup restores, a self-hosted server adds risk instead of removing it. Renewal pricing alone is rarely a reason to take that on without a staffed owner.

Self-hosted Bitwarden fits when the requirement is custody. If your compliance, legal or data residency rules say that encrypted vaults and their backups must sit inside your own cloud account, data center or network, a hosted service cannot meet that rule on its own terms, and the Bitwarden server is one of the few options that keeps the same client experience while moving storage under your control. Confirm with your assessor exactly which data the rule covers, since the vault contents, attachments, audit logs and recovery copies may each fall under it differently. Also confirm that the account holding the server, its database and its backup keys is restricted to named people.

Three things settle the decision. First, SSO and policy needs: enterprise SSO and most enterprise policies in a self-hosted Bitwarden server depend on a license file, so list which controls your auditors expect before you price anything. Second, the license file itself: it is downloaded from the cloud web app and tied to the installation ID and data region, so a self-hosted deployment still depends on a subscription relationship with Bitwarden. Third, internal operating capacity: name the people who will apply upgrades, run restores and respond to incidents on the server. If no one can commit to that work, the simpler hosted option is the more defensible choice.

Which option fits which scenario

This table matches common LastPass replacement situations to the option that fits best and the condition that makes it so. Read each row as a starting point, then confirm the condition in your own environment before committing to a self-hosted server.

ScenarioBetter fitCondition that makes it so
Regulated bank wants vault backups in its own datacenterSelf-hosted Bitwarden or Vaultwarden on bank-controlled infrastructureThe bank has staff and change control to run the server, database backups and restore tests, and it accepts that Bitwarden's SSO and policy features need a paid license file for production use.
Small team with no platform staffBitwarden cloud or LastPass Business, not a self-hosted serverNo one on the team can patch, back up and restore a server on a regular schedule. Self-hosting only makes sense if an outside provider covers that work under a written scope.
Team that needs SSO and SCIM on day oneBitwarden cloud, or self-hosted Bitwarden with a paid licenseSSO and directory provisioning in self-hosted Bitwarden depend on enterprise modules under the Bitwarden License. Confirm the license covers the features you need and that the installation ID and data region match the cloud organization.
Team that needs per-recipient sharing with strict accountabilityPassbolt rather than self-hosted BitwardenShared secrets must be encrypted per user with OpenPGP and SSO, LDAP or SCIM must be on the Pro tier. Confirm which features your sharing model requires before choosing.
Organization with air-gapped networksSelf-hosted Bitwarden or Vaultwarden installed fully inside the isolated networkContainer images, updates, licenses and client apps must be transferred in by approved media. Confirm license validation works offline for the paid tier and plan internal TLS and SMTP.
Team that wants a lightweight personal or home lab setupBitwarden liteUse is limited to personal use and home labs. Bitwarden's lite guide says it is not intended for business use, so it should not hold shared company credentials.
Organization that already runs Kubernetes and a platform teamSelf-hosted Bitwarden using the official Helm chartsPlatform staff can operate the chart, database and ingress. Confirm the chart version matches the server release you plan to run.

Who holds the encrypted vault and backups after a switch?

With LastPass Business, LastPass hosts the encrypted vaults and the backups of them on its own infrastructure, and your team's role is to manage users, policies and the admin console. With self-hosted Bitwarden, the server, database and backups sit under your organization's control, in the cloud account or data center you choose. Encryption still protects vault contents in both models, since Bitwarden clients encrypt items before they are sent, so the change is about who runs the storage, who receives the backup copies and who responds when something fails. Before you commit, write down where the database will live, which team patches the server, who holds the database backup keys and where off-site copies are stored.

Custody moves operational risk to your internal team. Bitwarden's self-host install needs a Docker-based host, an installation ID and installation key, and a database that you back up and restore on a schedule you define. Those tasks, plus monitoring, certificate renewal and upgrades, are work your staff carries out every month, and a restore that has never been tested is not a backup you can rely on. Ask your provider and your own platform team to confirm who is on call, how database restores are rehearsed and how the server is isolated from the rest of the network. The LastPass incident disclosures from 2022 are useful context for why some teams want that control, and they are covered in the sibling page on replacing LastPass after the 2022 security incidents.

Plan the decision as a custody decision, not only a feature decision. If your organization already runs a database and backup service with tested recovery, self-hosting moves the vault into a system you can audit and control. If it does not, the new custody model can add failure modes that the hosted service previously absorbed, such as a lost backup key or an unpatched server. Keep a copy of the export you use for migration in a controlled location, confirm the retention rules with your compliance team, and record the owner for each of these duties before the first user is invited.

How hosting choices change data control and compliance evidence

Moving from LastPass Business to a self-hosted Bitwarden server changes who holds the encrypted vault, where the server runs and which paid modules you need. The cards below cover the decisions that shift data control and the evidence your compliance team will ask for.

Data location and license region

Your vault data sits wherever you install the server, but paid features depend on a license file tied to the installation ID. Bitwarden requires that installation ID and key be retrieved with a valid email address from bitwarden.com/host, and the data region of the license must match the cloud organization's region. Confirm the region with your legal team before you download the license, because a mismatch blocks the paid features you are paying for.

Licensing help

Docker or Kubernetes deployment

A standard install runs on Docker Engine 26 or later with an MSSQL Express image and a 10 GB database limit by default, which your operations team must size for a growing vault. Bitwarden also publishes official Helm charts under AGPL-3.0 for Kubernetes. Choose the path your platform team can patch, back up and restore, and document how upgrades from monthly releases are tested before rollout.

Helm charts repository

Directory sync with Directory Connector

Directory Connector syncs users and groups from AD, LDAP, Azure, Google Workspace or Okta, and it is licensed under GPL-3.0, so it is separate from the server code. Map your LastPass groups to Bitwarden groups before cutover, because LastPass accounts and their shared folder rights do not carry over automatically. Ask who owns the sync account and how deprovisioning removes access when staff leave.

SSO under the Bitwarden License

SSO integration lives in the bitwarden_license directory, which falls under the source-available Bitwarden License rather than an open-source license. Production use needs a paid subscription, while development and testing do not. Confirm with your procurement team which modules your architecture depends on, and treat the SSO module as a commercial component in your third-party inventory and risk register.

License FAQ

Unique and protected password controls

CIS Safeguard 5.2 asks for unique passwords on enterprise assets, and its mapping links that safeguard to PCI DSS 8.3.5 and 8.3.6 among other controls. The SWIFT control 5.4 asks that recorded passwords, including password vaults, be protected from unauthorized access. A self-hosted vault gives you the access logs and admin settings to show these controls, but the evidence is only as strong as your hardening and backup procedures.

CIS Controls Navigator

Compliance evidence ownership

Self-hosting moves operational evidence such as server configuration, patch records, backup restore tests and access reviews onto your team. DeployOpen prepares systems, controls and evidence for compliance assessments, but it does not issue audit reports or attestations, and independent auditors make that determination. Ask your assessor early which artifacts they expect for a self-hosted password manager and who keeps them current.

What the Bitwarden license split means for your plan

Security leads need to know which parts of the server they can inspect and modify, and which parts carry a commercial condition. The main Bitwarden server code is licensed under AGPL 3.0, so your team can read it, audit it and run it under that license. Files in the bitwarden_license directory are different. They are under the Bitwarden License, a source-available license that does not meet the OSI definition of open source, and they include the SSO integration and Commercial.Core modules. Source access still lets your reviewers read that code, but it does not make it open source for production use.

  • Main server code: AGPL 3.0, which allows inspection and modification under its terms.
  • Enterprise modules: Files under the Bitwarden License, including SSO integration, need a paid subscription for production.
  • Development and testing: The license permits use of those files for development and testing without a subscription.
  • Audit scope: Your review should separate the open server code from the licensed modules in your evidence pack.
  • Client code: The client apps use GPL v3.0 with the same bitwarden_license carve-out.

Before approving the design, confirm with Bitwarden in writing which modules your required controls depend on and whether your use is production.

How a move from LastPass to self-hosted Bitwarden works

The sequence takes a LastPass Business account to a Bitwarden server in your own infrastructure, with the vault data, licensing, identity settings and credential rotation each handled as a checked step.

  1. Confirm the LastPass plan and export restrictions

    An administrator reviews the LastPass Business plan, the SSO setup and the Prohibit export policy, which can block members from exporting their vaults. The admin confirms who has the rights to lift that policy and who will run the export. The step is done when the team has a written list of the accounts, shared folders and users in scope and a named owner for the export. Confirm current plan and export behavior directly with LastPass, since these settings change over time.

  2. Prepare the server host and Docker Engine

    The infrastructure team provisions a Linux host that meets Bitwarden's documented minimums and installs Docker Engine at the version the install guide requires. Bitwarden's published guide lists a minimum of 2 GB of RAM and 12 GB of storage, with 4 GB of RAM and 25 GB recommended. The step is done when the host passes the prerequisite check in the install guide and the team has confirmed the database size limit of the default MSSQL Express image fits the expected vault volume. Confirm the current Docker and host requirements against the install guide before building.

  3. Obtain the installation ID and key

    A named administrator requests an installation ID and installation key from bitwarden.com/host using a valid business email address. These credentials identify the self-hosted installation and are needed during setup and for licensing. The step is done when the ID and key are stored in the team's secrets store with restricted access, and the administrator confirms the email account is controlled by the organization rather than an individual.

  4. Install and configure the self-hosted server

    The platform engineer runs the Bitwarden installation script on the prepared host, sets the public domain, configures TLS certificates, and sets up SMTP for invitations and alerts. Database settings and backup locations are documented at this stage. The step is done when the admin login works over HTTPS, a test account can sign in from a Bitwarden client, and a backup of the database and configuration has been restored successfully at least once in a test environment. Scope the internal network access and monitoring at the same time, since the server now holds the vault data.

  5. Export from LastPass and import into Bitwarden

    After the Prohibit export policy is lifted, users or an admin export data from LastPass. Bitwarden's direct LastPass importer in the Bitwarden clients is the first path to test, with a CSV export from the LastPass browser extension as the fallback. Items the export does not carry, such as attachments, TOTP seeds and custom fields, must be recorded for manual handling. The step is done when imported item counts match the LastPass source for a sample of folders, shared items appear as collections, and the team has a list of gaps still to fill by hand.

  6. Download the license file and check region match

    For paid features such as SSO and enterprise policies, the administrator downloads a license file from the cloud web app's Admin Console, Billing and Subscription pages and uploads it to the self-hosted installation. The license is tied to the installation ID, and the installation's data region must match the region of the cloud organization that issued it. The step is done when the license validates on the self-hosted server and the admin console shows the paid features as active. If the region does not match, the license will not apply, so check this before going further.

  7. Redo SSO, invitations, policies and attachments

    Bitwarden's documented migration path states that attachments, member invitations, enterprise policies and SSO must be configured again on the self-hosted server. The admin rebuilds SSO against the identity provider, recreates policies such as master password and two-step login requirements, re-sends invitations, and re-uploads attachments by hand. The step is done when a test user from each group can sign in through SSO, policy enforcement is confirmed on a test account, and every attachment from the inventory is present on the new server.

  8. Rotate credentials on a separate track

    Moving the vault does not change the passwords stored in it. Security and system owners run a credential rotation track that starts with administrative, financial, infrastructure and MFA-protected accounts, and records each rotation in the new vault. This track is owned separately from the migration so that a delay in one does not block the other. The step is done when the priority list is complete, each item has an owner and a status, and the team has confirmed that the old LastPass vault access is removed for all users.

How the pieces connect after the switch

The flow starts with the LastPass export or Bitwarden's direct importer, which feeds data into a self-hosted Bitwarden server inside the organization's network. The server stores vault data in its database, and paid features only activate once a license file, downloaded from the cloud admin console and tied to the installation ID, is loaded. Directory sync and SSO connect the identity provider to the server, and backups stay in a location the organization controls. Check that the license data region matches the cloud organization, and confirm the enterprise policies and SSO settings were recreated, since they do not carry over.

Data and license paths into the self-hosted server, with backups kept inside the trust boundary.

Questions buyers ask before switching

What does a self-hosted Bitwarden server cost to run?

The software itself is free under AGPL 3.0 for the main server, but the total cost comes from the parts around it: the virtual machine or Kubernetes capacity, the database, backups and off-site copies, TLS certificates, email delivery for invitations and recovery, monitoring, and the staff hours spent on upgrades. Paid features are the main recurring license cost. SSO, enterprise policies and other enterprise modules sit under the Bitwarden License and need a paid subscription and a license file for production use. Bitwarden's install guide lists a minimum of an x64 1.4 GHz processor, 2 GB of RAM and 12 GB of storage, and recommends 4 GB of RAM and 25 GB. Ask for a quote that separates one-time setup from recurring infrastructure, licensing and support, and ask which of those items each vendor counts.

Can our team run a self-hosted Bitwarden server without outside help?

A team with Linux, Docker and database experience can run it, but the job is ongoing, not a one-time install. Bitwarden's Linux install path requires Docker Engine 26 or later and ships an MSSQL Express image by default, which has a 10 GB database size limit that your team must monitor. The team also needs to retrieve an installation ID and key from bitwarden.com/host, manage the license file for each paid feature, keep backups tested, apply monthly releases, and handle incidents. Check whether you have on-call coverage, a named owner for the server, and a restore test that has actually been run. If those are missing, an outside operator can take over part of the work under a written scope.

How long does a LastPass to self-hosted Bitwarden migration take?

The duration depends on the number of users, the number of shared folders and collections, the number of attachments that must be re-uploaded by hand, the number of SSO accounts that need an extra step, and how much policy and member setup must be redone. Bitwarden's documented cloud-to-self-hosted path requires the organization to export its data, download its license, create a self-hosted account with the same email and import the data, and then redo attachments, member invitations, enterprise policies and SSO. Pilot a small group first and time each step. Ask any provider for a schedule that lists those manual steps separately, since they usually drive the timeline more than the import itself.

Does SSO require a paid Bitwarden license, and how do we confirm it?

Yes. SSO integration modules are in the bitwarden_license directory of the server repository, which falls under the Bitwarden License rather than AGPL 3.0. That license permits development and testing, but production use requires a paid subscription. Paid features need a license file downloaded from the cloud web app through the Admin Console, Billing and Subscription pages, and it is tied to your installation ID. The data region of that installation must match the cloud organization's region. To confirm, read the server license FAQ, then ask Bitwarden in writing which license tier includes SSO, which regions are available, and whether your intended deployment counts as production use.

How are upgrades handled on a self-hosted Bitwarden server?

Upgrades are your responsibility under a self-hosted model. Bitwarden publishes server and self-host releases on GitHub, and the monthly cadence is visible in the release history, including v2026.10.0 of the server (published October 14, 2026) and the self-host release v2026.10.0 (October 15, 2026). Each upgrade should go to a staging copy first, with a verified backup taken beforehand, a read of the release notes, and a test of login, SSO, import and emergency access. Client apps must also stay compatible with the server version. Ask whether your operator will track releases, schedule maintenance windows, and roll back if an upgrade fails.

Who holds the encrypted vaults and backups after we switch?

Your organization holds them. The vault data lives in the database on your infrastructure, so backup, retention, restore and access logging become your controls. That shifts risk in two directions: you remove dependence on a hosted vendor's backup handling, and you take on responsibility for database security, host patching, network exposure and restore testing. Confirm where the database, attachments and backups are stored, who has operating system and database administrator access, how backups are encrypted, and how long copies are kept. Bitwarden's documentation should be your starting point for these settings.

What does a DeployOpen engagement need from our team?

DeployOpen plans, implements, integrates, hardens, backs up, upgrades, documents and supports self-hosted open-source platforms inside your own cloud accounts, data centers or air-gapped networks. Most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts, and a quote follows from that written scope. Expect to provide a named technical owner, access to the target environment, your identity provider configuration, decisions on license tier, the list of collections and policies to preserve, and sign-off on the cutover window. Ongoing upgrades and continuous testing are available as retainers. DeployOpen does not publish a price list.

How DeployOpen helps evaluate and implement self-hosted Bitwarden

DeployOpen is a Chainscore Labs company that plans, implements, hardens, backs up and documents self-hosted open-source platforms inside the client's own infrastructure. For a LastPass to self-hosted Bitwarden move, we start with the license split, the SSO and policy requirements and the operating model, then build and document the server in your environment.

How we scope

  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.
  • The written scope states which LastPass Business features must map to Bitwarden's free features and which need a paid license file.
  • We confirm your data region, cloud organization region and installation ID requirements before any server is provisioned.
  • The scope names who owns the server, backups, upgrades and the decision on which SSO and policy features you need.

How we build

  • We deploy the self-hosted Bitwarden server in your cloud account, data center or isolated network, with SSO and access controls where licensed.
  • We configure TLS, SMTP, database backups and administrator access, then test restore procedures before go-live.
  • We run security testing against the deployment, covering authentication settings, admin console exposure and backup handling.
  • We plan the import path, including the direct LastPass importer or CSV, and document which items must be re-entered by hand.

How we hand over

  • Handover includes configuration documentation, runbooks for upgrades, backup restores and certificate renewal.
  • We document the controls evidence your compliance and security teams need to review the self-hosted server.
  • Your administrators receive a walkthrough of policies, collections, member onboarding and license file handling.
  • Findings from testing are delivered with fixes, and retests are scheduled in the written scope.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after handover.
  • A retainer can cover monthly self-host release reviews, patch planning and restore tests against your backup set.
  • Support can extend to periodic retesting when your assessment cycle or internal policy calls for it.
  • Ask for the retainer terms, response expectations and upgrade responsibilities in writing before you sign.

Sources and further reading

Talk to our team.

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

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