
Vaultwarden
Lightweight self-hosted password manager server, Bitwarden compatible
Replaces Bitwarden, 1password, Lastpass, Dashlane

Who it's for
Run Vaultwarden on a Raspberry Pi or home server to give every household member a shared password manager. You control the data, no monthly fees apply, and the official Bitwarden mobile apps work as expected for non-technical family members who already know the Bitwarden interface.
You want a managed service with automatic backups and uptime SLAs. Running Vaultwarden means you own the backup responsibility, and the vault is unreachable if your home server goes offline.
Use Vaultwarden's Organizations feature to create shared Collections for team credentials without paying Bitwarden's per-seat Teams tier. Supports role-based access control, event logs for auditing, group policies, and admin password reset for teams of up to several dozen users.
You need enterprise SSO via SAML or OIDC with your identity provider fully supported and vendor-tested. Consider the official Bitwarden self-hosted or Bitwarden cloud for that requirement.
Migrate from Bitwarden cloud, LastPass, or 1Password to a self-hosted instance where credentials never leave your infrastructure. After importing your vault export, point any existing Bitwarden client app at your Vaultwarden server URL, preserving the same UX with no retraining or new apps.
You need vault access from devices you do not control when your home server is unreachable and you have not configured external access (VPN or public DNS). Cloud services remain more available than a typical home server without external access configured.
Deploy Vaultwarden on an internal network with no public internet access for environments where credentials must stay on-premises under internal security policy or regulatory requirements. Configure it with a local CA certificate for TLS and restrict access by VPN or network segment.
Your compliance mandate requires a vendor-backed SOC 2 Type II certification for the credential store itself. Vaultwarden is community-maintained and carries no formal compliance certifications.
The problem
The official Bitwarden cloud service stores your passwords on Bitwarden's servers, which requires trusting a third party with your most sensitive credentials. For privacy-conscious users and organizations under compliance requirements, that is a non-starter. Bitwarden does offer a self-hosted option, but it runs as a suite of Docker containers with resource-intensive dependencies, demanding at least 2GB RAM and considerable infrastructure that puts it out of reach for home lab setups or small VPS instances. The result is a gap: users who want Bitwarden's polished cross-platform client ecosystem but cannot justify the official self-hosted stack's overhead had no practical option. Small teams, homelab administrators, and privacy-focused individuals were left choosing between cloud dependency and an operationally demanding self-host.
How it works
Works with every official Bitwarden app: iOS, Android, browser extensions (Chrome, Firefox, Safari), and desktop clients. No custom clients required. Your team switches from Bitwarden cloud to Vaultwarden by changing the server URL in the existing app, with no reinstallation or retraining.
Runs as one lightweight Docker container using SQLite by default, with no SQL Server, Redis, or multi-container orchestration required. A Raspberry Pi 3 with 512MB RAM can run Vaultwarden for a family or small team. Persistent data mounts to a single volume directory.
Supports full Bitwarden Organizations features: shared collections, member roles (owner, admin, manager, user), group policies, event logs, admin password reset, and the Directory Connector for LDAP and Active Directory sync. Teams can share credentials with access controls without a paid Bitwarden plan.
Supports TOTP authenticator apps, email OTP, FIDO2 WebAuthn hardware keys (including YubiKey), and Duo Security. All MFA methods are available on the self-hosted instance at no extra cost, regardless of the plan tiers that normally gate some MFA options on Bitwarden cloud.
Includes a web-based admin panel for user management, server diagnostics, and instance configuration. Bundles a modified Bitwarden web vault client inside the container, so browser-based vault access works out of the box without a separate web client deployment.
Features
- Full Bitwarden client compatibility
- Single-container Docker deployment
- Organizations, sharing, and role-based access
- Multi-factor authentication options
- Admin backend and bundled web vault
How to install
# Docker CLI
docker run --detach --name vaultwarden \
--env DOMAIN="https://vw.domain.tld" \
--volume /vw-data/:/data/ \
--restart unless-stopped \
--publish 127.0.0.1:8000:80 \
vaultwarden/server:latest# Docker Compose (compose.yaml)
services:
vaultwarden:
image: vaultwarden/server:latest
container_name: vaultwarden
restart: unless-stopped
environment:
DOMAIN: "https://vw.domain.tld"
volumes:
- ./vw-data/:/data/
ports:
- 127.0.0.1:8000:80Recommended for this setup
Strengths
- Runs on minimal hardware: Where the official Bitwarden self-hosted stack requires multiple containers and at least 2GB RAM, Vaultwarden runs in a single container using under 100MB of RAM in steady state. It operates on a Raspberry Pi, a $5/month VPS, or any spare machine, making it the only practical Bitwarden-compatible option for low-resource deployments.
- Uses official Bitwarden client apps: Unlike other self-hosted password managers that require their own clients or browser extensions, Vaultwarden uses the actual Bitwarden API. Users get the same polished mobile apps, browser extensions, and desktop clients that Bitwarden cloud users have, with no compromises on the client experience.
- All premium features included at no per-user cost: The official Bitwarden cloud charges per-user for Organizations and premium features including hardware key MFA, file attachments, and emergency access. Self-hosting Vaultwarden makes every one of those features available to all users at no per-seat cost, as long as you operate the server yourself.
- Active project with community maintainership: The project has regular releases, active issue tracking, and a maintainer who is independently employed by Bitwarden (contributions reviewed separately). Community support runs across Matrix, GitHub Discussions, and Discourse forums, with a detailed wiki covering configuration, proxies, and migration from other password managers.
Trade-offs
- Not an official Bitwarden product: Vaultwarden is an independent reimplementation, not affiliated with or endorsed by Bitwarden, Inc. Security patches for the Bitwarden API may not land in Vaultwarden at the same pace as the official server. The project explicitly states it cannot guarantee protection against data loss, and administrators are responsible for monitoring updates and maintaining backups.
- Requires HTTPS and a reverse proxy to function: Vaultwarden cannot run over plain HTTP for production use. The Web Crypto API used by Bitwarden clients requires a secure context (HTTPS). Setting up a reverse proxy (nginx, Caddy, or Traefik) and a valid TLS certificate is a prerequisite, which adds configuration steps beyond a simple Docker run for users new to self-hosting.
- AGPL-3.0 restricts commercial redistribution: AGPL-3.0 requires that any modified version served as a network service must make its source code available to users. Teams that want to resell or wrap Vaultwarden in a commercial offering must comply with this. For personal and internal team use, this restriction has no practical impact.
- Some enterprise features may differ from official Bitwarden: A small number of Bitwarden enterprise features, including certain SAML SSO configurations and some organization policy options, may lag or behave differently from the official server. The Vaultwarden wiki documents supported and unsupported features. Teams with specific enterprise SSO requirements should verify compatibility before migrating.
Tech stack
FAQ
No. Vaultwarden is an independent, community-built server that implements the Bitwarden API but is not made or endorsed by Bitwarden, Inc. It is compatible with all official Bitwarden clients. Think of it as a lightweight server that speaks Bitwarden's protocol, letting you self-host without running the full official server stack.
Yes. Export your vault from Bitwarden as a JSON file and import it into your Vaultwarden instance via the web vault or any Bitwarden client. The data format is identical since Vaultwarden uses the Bitwarden API. The Vaultwarden wiki covers the migration steps in detail.
Vaultwarden is designed for low-resource environments and runs comfortably on a Raspberry Pi 3 with 512MB RAM or a small VPS. Idle memory usage is typically under 100MB. The official Bitwarden self-hosted stack, by contrast, requires at least 2GB RAM due to its multi-container architecture.
Vaultwarden implements the same client-side AES-256 encryption as Bitwarden, so your vault data is encrypted before it leaves the client and the server cannot read your passwords. The main security responsibilities are keeping Vaultwarden updated promptly when releases ship, securing your server with a firewall, enforcing HTTPS, and running regular backups. The project cannot guarantee protection against data loss.
Yes. Vaultwarden supports TOTP authenticator apps, email OTP, FIDO2 WebAuthn hardware keys (including YubiKey), and Duo Security. All MFA methods work on the self-hosted instance without any paid plan requirement, unlike Bitwarden cloud where some MFA options require a premium subscription.