Analytics cookies only (Google Analytics, PostHog). No ad networks, no cross-site tracking. See our privacy policy.
Self-host Vaultwarden
updated Aug 2026deployed by usprices checked · Jul 2026Install verified on Ubuntu 26.04 · Nov 2026 (also on arm64) · how we test
We earn commissions when you shop through the links below. Full disclosure →
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.
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.
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 Nginx
Vaultwarden is mature and widely used, but its README and wiki are careful about what it is and is not:
non-negotiable"This project is not associated with Bitwarden or Bitwarden, Inc." Bugs go to the Vaultwarden tracker, not Bitwarden support, and the README states it cannot be held liable for data loss — take the backup section seriously.
non-negotiableHTTPS is not optional: the web vault uses Web Crypto APIs that browsers only expose in secure contexts, so it "will only work if you enable HTTPS". The wiki recommends a reverse proxy (Caddy for its automatic certificates) and calls the built-in Rocket TLS "relatively immature and limited".
non-negotiableThe admin page is off until you set ADMIN_TOKEN; the wiki says to store it as an Argon2 hash rather than plain text, and warns that changing the token does not log out already-authenticated admin sessions.
non-negotiableBack up db.sqlite3 with sqlite3 ... .backup (the online-backup API, not a file copy) plus the attachments directory as required, and rsa_key* and config.json as recommended; sends and icon_cache are optional.
The Vaultwarden install snippet is marked verified on Ubuntu 26.04 (Nov 2026).
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.