Self-host Vaultwarden
Lightweight Rust reimplementation of the Bitwarden server that runs in 256 MB and works with every official Bitwarden client. The easiest way to self-host your passwords.
Key facts
Pick Vaultwarden when you want Bitwarden — the same official browser, desktop and mobile clients — against a server that idled at 7 MB on our test box: it is an AGPL-3.0 alternative server implementation of the Bitwarden client API in Rust, and its feature list includes organisations, collections, groups, policies, emergency access and 2FA by authenticator, email, FIDO2 WebAuthn, YubiKey and Duo. It is the obvious pick for a household or small team; the honest caveat is that it is unofficial, and it must live behind HTTPS.
Follow the Vaultwarden deploy guide →What you need
- Any VPS with at least 256 MB of RAM
- A domain you control — most self-hosted setups need HTTPS in front of them
- Under an hour if you've used Docker before
Paid link — we earn a commission if you shop through it.
Install
Run these commands on your server:
# Vaultwarden — single container (put it behind HTTPS)
docker run -d --name vaultwarden \
-e DOMAIN=https://vault.example.com \
-v vw-data:/data \
-p 8080:80 vaultwarden/server:latest
# WebAuthn/passkeys need TLS — front with Caddy or NginxWhat you take on
Vaultwarden is mature and widely used, but its README and wiki are careful about what it is and is not:
An alternative to
Head-to-head
The same clients, a fraction of the RAM.
A personal vault vs. a team credential system.
A single-container, 256 MB Bitwarden-compatible vault vs. a Django/PostgreSQL password manager built for IT teams with an admin portal and unlimited users in its community edition.
More in Password manager
Bitwarden
KeeWeb
Passbolt
Psono
Common questions
How much RAM does Vaultwarden need?
Vaultwarden is designed to run in as little as 256 MB of RAM, making it one of the lightest self-hosted services around — a small, cheap VPS is plenty.
Can I self-host Vaultwarden with Docker?
Yes — it ships as a single container. Run docker run with your DOMAIN set to an HTTPS URL and a data volume mounted, and it's ready behind a reverse proxy like Caddy or Nginx.
Is Vaultwarden compatible with the Bitwarden apps?
Yes — Vaultwarden is a from-scratch Rust reimplementation of the Bitwarden server API, so every official Bitwarden client (browser extension, mobile, desktop) works against it unmodified.
Is Vaultwarden hard to set up?
It's rated the easiest difficulty tier of any self-hosted app here — a single Docker command gets it running, though you do need HTTPS in front of it for WebAuthn and passkey support.