Skip to content

Self-host Vaultwarden

updated Aug 2026prices checked · Jul 2026Install verified on Ubuntu 26.04 · Aug 2026 · 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.

Key facts

LicenseAGPL-3.0
StackRust
Min RAM256 MB
Official imageyes
Measured idle RAM7 MB
Difficulty
Our recommendation

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
Where to host itaffiliate disclosure
Hetzner Cloudrun it on
From $23.59/mo · 2 vCPU / 4 GB / 80 GB · EU + US
Get Hetzner Cloud (opens in new tab)
Kamaterafree trial
From $4/mo · 1 vCPU / 1 GB / 20 GB · US + EU + Asia
Start free on Kamatera → (opens in new tab)
DigitalOceanalso works on
From $6/mo · 1 vCPU / 1 GB / 25 GB · US + EU + Asia
Deploy on DigitalOcean → (opens in new tab)

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

What you take on

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.

An alternative to

Head-to-head

More in Password manager

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.

We use analytics cookies (Google Analytics, PostHog) to see which guides are useful. No ad networks, no cross-site tracking. See our privacy policy.