If you're reading this, you already know the uncomfortable truth: trusting your passwords to someone else's servers is a bet against a breach, a subpoena, or a shutdown. The logical next step is self-hosting: running your own password manager on infrastructure you control.
But "self-hosting" isn't a monolith. Some options require a Docker stack and daily maintenance. Others need a dedicated server with a public endpoint. A newer category, decentralized password managers, offers part of what self-hosting gives you (no third party holding the encrypted vault) without running a server yourself.
In this guide, we compare the major open-source self-hosted password managers available in 2026: Bitwarden (self-hosted), Vaultwarden, Passbolt, KeePass, and VaultKeepR. By the end, you'll know which approach fits your threat model, your technical skill, and your tolerance for maintenance.
Why Self-Host a Password Manager?
Before diving into specific tools, it's worth asking the question: why go through the trouble of self-hosting at all?
Control Over Your Data
When you use a cloud password manager, even one with strong encryption, you're trusting that provider's infrastructure, employees, and security posture. A self-hosted vault never touches infrastructure you don't control. No third-party server ever sees your encrypted blob, your metadata, or your IP address (beyond what your own VPS reveals).
No Subscription Lock-In
Cloud password managers charge recurring fees. Self-hosted options are typically free software. You pay for the infrastructure, which can be cheap on a low-end VPS or free on a Raspberry Pi at home.
Compliance and Auditing
Enterprises and security-conscious teams often need to audit exactly who accesses the vault server, where logs are stored, and how backups are handled. Self-hosting gives you full visibility and control over your security posture. This is critical for SOC 2, ISO 27001, or internal compliance requirements.
Resilience Against Provider Shutdown
Password managers get acquired, change pricing, or shut down. If your vault depends on a company's servers, you're at their mercy. Self-hosting means your vault is available as long as your server is running.
The Cost: Maintenance
Self-hosting isn't free labor. You're responsible for:
- OS and dependency updates: your server needs patching
- Database backups: if your server dies, your vault dies
- TLS certificate renewal: Let's Encrypt automates this, but it still needs configuration
- Monitoring and uptime: if the service goes down, you can't access passwords
- Security hardening: your server is now an attack surface
For some, this is a reasonable trade-off. For others, it's a dealbreaker.
Methodology you can verify
Three rules for this comparison:
- The cryptography we describe is public. VaultKeepR's core is MIT-licensed on GitHub, so you can verify every claim we make about it instead of trusting us.
- Competitor claims link to their own docs. Vaultwarden's requirements come from the Vaultwarden repository, and pass's model from passwordstore.org. Where we could not verify something, we say so rather than guessing.
What it actually costs to self-host
The software is free in every family. What varies is the line item you don't see: your operations.
Running Vaultwarden honestly means a host bill, a TLS certificate, a backup that you test by restoring, updates when they ship, and the risk that you are worse at operations than a company whose whole job is operations. Most self-hosters accept that trade, and the community around Vaultwarden makes it easier. But it is a trade. Guides that call self-hosting "free" while leaving this out are describing a part-time job without naming it.
The decentralized family prices the trade differently: your encrypted vault rides a network, and the dependency moves from a server's uptime to that network's reachability.
Top Open-Source Self-Hosted Password Managers in 2026
Bitwarden (Self-Hosted)
Bitwarden is the most popular open-source password manager, and its self-hosted option is mature and well-documented.
How it works: Bitwarden's self-hosted deployment uses Docker containers running the same server code that powers Bitwarden Cloud. You pull the official images, set up a database (MSSQL), configure a reverse proxy with TLS, and you're running your own Bitwarden instance.
Pros:
- Public source code for the server and the clients
- Rich feature set: TOTP, secure notes, passkeys, attachments, organizations
- All major clients: web, desktop, mobile, browser extensions, CLI
- Active community and commercial backing
Cons:
- Heavy deployment: Requires Docker and MSSQL, which is more than a single user needs
- Ongoing maintenance: Bitwarden releases frequent updates; you must apply them manually or script the process
- Complex backup: MSSQL databases aren't trivial to back up and restore
Best for: Organizations or advanced users who need the full Bitwarden ecosystem behind their own firewall.
Vaultwarden
Vaultwarden (formerly bitwarden_rs) is an unofficial, lightweight reimplementation of the Bitwarden server API in Rust. It's compatible with all official Bitwarden clients.
How it works: Vaultwarden runs as a single binary (or Docker container) with SQLite as the backend. You point the Bitwarden clients at your Vaultwarden server URL, and everything works as if you were using Bitwarden Cloud.
Pros:
- Lightweight: Runs as a small single binary, a practical fit for a Raspberry Pi or a low-end VPS
- Single binary: Docker or standalone, no heavy dependencies
- Full API compatibility: Works with all official Bitwarden clients
- Active maintenance: Community-driven, with frequent updates
- Built-in admin panel: Manage users, disable signups, configure SMTP
Cons:
- Not official: Vaultwarden is not made by Bitwarden, and this guide does not cite an audit of its server code
- Sync delay for new features: Must wait for Vaultwarden to implement any new Bitwarden server features
- Single point of failure: SQLite isn't designed for multi-node replication or high availability
- All the same maintenance: You still need TLS, backups, OS updates, and monitoring
Best for: Individual users and small teams who love the Bitwarden ecosystem but want a lighter server footprint.
Passbolt
Passbolt is an open-source password manager designed specifically for teams. It uses OpenPGP for end-to-end encryption and has a strong focus on collaboration.
How it works: Passbolt runs as a PHP application behind a web server (nginx + PHP-FPM). Each user has a GPG key pair; passwords are encrypted with the recipient's public key before being stored on the server.
Pros:
- Purpose-built for teams: Granular permissions, folders, sharing, resource groups
- Browser extension only: No native desktop app (reduces attack surface)
- Stable API: Well-documented REST API, integration-friendly
- Audit logging: Built-in support for tracking who accessed what
Cons:
- Team-first, individual-second: Overkill for single users; the GPG key model adds complexity
- PHP stack: Requires a full LEMP stack (Linux, nginx, MySQL, PHP), more moving parts than Docker
- Mobile apps required: Browser extension doesn't work on mobile; you need the mobile app separately
- Smaller ecosystem: Fewer integrations compared to Bitwarden
Best for: Teams that need shared vaults with granular access controls and audit trails.
KeePass
KeePass is one of the longest-running password managers. It stores passwords in a local .kdbx file that you sync however you like.
How it works: There's no server. KeePass writes to a local encrypted database file. You sync it via Dropbox, Syncthing, Nextcloud, USB drive, or any method you choose. KeePassXC (the cross-platform fork) is the recommended variant for most users.
Pros:
- No server at all: Zero infrastructure, zero maintenance, zero attack surface
- Mature format: The
.kdbxfile is read by several independent apps - No internet required: Works entirely offline
- Maximum flexibility: Pair with any sync mechanism you prefer
- Plugin ecosystem: Two-factor TOTP, WebDAV sync, auto-type, browser integration
Cons:
- No built-in sync: You must roll your own sync solution (and handle conflicts manually)
- No real-time collaboration: Two people can't edit the vault simultaneously without risking conflicts
- Mobile support is fragmented: Multiple third-party apps with varying quality (Strongbox on iOS, Keepass2Android on Android)
- Dated UI: KeePass's native interface hasn't aged well; KeePassXC is significantly better but still not as polished as modern alternatives
- No browser auto-fill by default: Requires a plugin and often a separate browser extension
Best for: Privacy purists who want zero infrastructure dependency and are comfortable managing their own sync.
VaultKeepR: The Decentralized Alternative
VaultKeepR takes a different approach from self-hosting: it stores your encrypted vault on IPFS, a decentralized content-addressed network. There's no server for you to maintain, no Docker stack to update, and no database to back up.
How it works: Your vault is encrypted client-side with XChaCha20-Poly1305 and Argon2id. The encrypted blob is published to IPFS and pinned by multiple nodes. Your key is derived on the device from your master password and your Secret Key. No email is requested at sign-up or for recovery.
Pros:
- No self-hosting required: No server, no Docker, no TLS, no backups to run
- Zero-knowledge by design: Encryption happens on the device, in the extension or the app
- Not stored in a company database: The encrypted vault lives on IPFS; its availability depends on pinning, not on one server
- No account: No email is requested at sign-up or for recovery
- Shamir Secret Sharing: Recovery without trusting a company (Premium feature)
Cons:
- No multi-account sharing: VaultKeepR has no multi-account sharing feature today
- Newer ecosystem: Fewer integrations than Bitwarden, and no third-party audit yet
- Newer model: Recovery depends on your own Shamir fragments; plan them before you need them
- Self-custody responsibility: If you lose your master password, your Secret Key and your recovery shares, no one can help you
What VaultKeepR does not do:
A comparison from the vendor is only worth reading if the limits are in it:
- Recovery is on you. Lose the master password and the recovery fragments and no support ticket can restore the vault. That is what zero-knowledge means; it is a feature with a cost attached.
- No family sharing. VaultKeepR has no family sharing feature today. If you need one shared vault for a household, VaultKeepR is not the tool for it yet.
- No command line client. There is no official CLI. VaultKeepR ships as iOS and Android apps and a browser extension. If you work from the terminal, pass or KeePassXC fit that workflow better.
- Young documentation. The public documentation is recent and less complete than the guides of the larger projects in this space. Check whether the guide you need exists before you choose.
- No affiliate links. VaultKeepR does not use affiliate links in its content.
Best for: Users who want the privacy of self-hosting without the operational burden.
Comparison Table
| Feature | Bitwarden (Self-Hosted) | Vaultwarden | Passbolt | KeePass (+XC) | VaultKeepR |
|---|---|---|---|---|---|
| Encryption | AES-256-CBC + PBKDF2/Argon2id | Same as Bitwarden | OpenPGP (RSA/Ed25519 + AES) | AES-256 / ChaCha20 + Argon2 | XChaCha20-Poly1305 + Argon2id |
| Authentication | Email + master password | Same as Bitwarden | GPG key + passphrase | Master password + key file | Master password + Secret Key (derived on device) |
| Ease of setup | Moderate Complex (Docker + MSSQL) | Yes Easy (single Docker container) | Moderate Moderate (LEMP stack) | Yes Trivial (local app) | Yes No server setup (extension, iOS, Android) |
| Maintenance burden | High (updates, DB, TLS) | Medium (updates, TLS) | Medium (updates, DB, TLS) | None | None |
| Sync mechanism | Your server (MSSQL) | Your server (SQLite) | Your server (MySQL) | Your choice (manual) | IPFS (automatic) |
| Team sharing | Yes Yes | Yes Yes | Yes Yes (best-in-class) | No No | No No multi-account sharing today |
| Mobile apps | Yes Official | Yes Official Bitwarden apps | Yes Dedicated apps | Moderate Third-party | Yes iOS and Android apps |
| Browser auto-fill | Yes Extension | Yes Extension | Yes Extension | Moderate Via plugin | Yes Extension |
| Offline access | Yes Cached locally | Yes Cached locally | Limited | Yes Full offline | Yes Cached locally |
| Cost (infra) | Varies (VPS) | Varies (VPS) | Varies (VPS) | $0 (+ sync service) | Free tier (see pricing) |
| Audit history | Yes Public source code | Not cited in this guide | Not cited in this guide | Yes Public source code | No third-party audit yet |
| Self-custody | Yes Full | Yes Full | Yes Full | Yes Full | Yes Full |
Real prices, side by side
| Software | Infrastructure | Total | |
|---|---|---|---|
| Vaultwarden | Free | Hosting cost depends on your provider, or hardware you own | Provider cost + your time |
| pass | Free | None mandatory | Free + your git habits |
| KeePassXC | Free | None mandatory | Free + your sync solution |
| VaultKeepR | Free for all security features | None mandatory | Premium at 2.49 euros per month or 14.99 euros per year, adds cloud backup, TOTP, Shamir recovery and premium support |
Vaultwarden's software is free under AGPL-3.0, per its repository. Hosting is your cost. Compare your provider's own pricing page before you decide. We did not measure your local costs, and neither should any guide. VaultKeepR's prices come from its own pricing page: Premium is 2.49 euros per month or 14.99 euros per year.
Security Considerations for Self-Hosting
Self-hosting a password manager shifts the attack surface from a provider's servers to your own infrastructure. Before you pick a server, settle these points:
1. Your Server Is Now a Target
A publicly accessible password manager server is a high-value target. Attackers scan for exposed Bitwarden, Vaultwarden, and Passbolt instances. You must:
- Use a reverse proxy (nginx, Caddy, Traefik) with TLS termination
- Enable rate limiting and fail2ban to prevent brute-force attacks on the login endpoint
- Disable registration after creating your account (or use an invite system)
- Keep everything patched: your OS, Docker, and the password manager itself
2. Backup Strategy Is Critical
If your server dies without a recent backup, you lose all your passwords. A proper backup strategy includes:
- Automated, encrypted backups of the database (SQLite or MSSQL dump)
- Off-site copies: a single server failure takes out both production and backup
- Tested restore procedures: a backup you can't restore is worthless
- Backup of the encryption config: some tools (like Passbolt's GPG keys) need their configuration files restored too
3. TLS Certificate Management
Self-hosted password managers require HTTPS. Let's Encrypt makes this free, but you must automate renewal. Most reverse proxies (Caddy, Traefik) handle this automatically. If you're using nginx, certbot can manage it, but you need to set up monitoring for renewal failures.
4. Physical Security
If you're self-hosting at home:
- Your home network is now part of your trust boundary
- A compromised IoT device could lead to lateral movement
- Consider running the password manager in a separate VLAN or DMZ
- Use a VPN (WireGuard, Tailscale) instead of exposing the service directly to the internet
5. The Human Factor
Self-hosting means you are responsible for availability. No support team, no SLA, no automatic failover. If you're traveling and your server goes down, you may be locked out of your passwords until you get back.
Why VaultKeepR's IPFS Approach Eliminates the Need for Self-Hosting
Self-hosting solves the problem of "I don't trust a third party with my vault." But it introduces a new set of problems: maintenance, uptime, backup management, and attack surface.
VaultKeepR addresses the same problem, no third party holding your data, without requiring you to run infrastructure.
How It Works
- Your vault is encrypted before it leaves your device using XChaCha20-Poly1305 and Argon2id
- The encrypted blob is published to IPFS, a peer-to-peer, content-addressed network
- Your encrypted data is pinned by multiple nodes, and you can run your own IPFS node if you want extra redundancy
- Your key is derived on the device from your master password and Secret Key. No secret is sent to the server in clear text
- To access your vault, the app retrieves and decrypts your blob from IPFS
The Benefits Over Self-Hosting
| Concern | Traditional Self-Hosting | VaultKeepR |
|---|---|---|
| Server maintenance | OS updates, Docker updates, DB maintenance | Zero |
| Backups | You must script and test | Redundancy via IPFS pinning |
| TLS certificates | Must configure and renew | Not needed for the vault blob (the marketing site is still served over HTTPS) |
| Attack surface | Public-facing web server | No server; IPFS CIDs are opaque |
| Uptime | You monitor and respond to outages | Depends on IPFS pinning and gateways |
| Geographic availability | Single region (unless you build multi-region) | Global (any IPFS gateway can serve the data) |
| Cost | VPS + domain + time | Security features free. Premium adds cloud backup, TOTP, Shamir recovery and premium support |
You can read more about this architecture in our deep dives on decentralized password storage and what zero-knowledge encryption means.
Frequently Asked Questions
Is self-hosting a password manager more secure than using a cloud provider?
Not inherently. Self-hosting eliminates the risk of a provider breach compromising your vault's availability, but it introduces your own operational risks: unpatched software, exposed ports, and backup failures. If you're diligent about security updates, monitoring, and backups, self-hosting can be more secure. If you're not, a well-run cloud provider may be safer. For a single user without ops time, a decentralized model like VaultKeepR removes the server to attack, though it depends on IPFS pinning.
Can I use Vaultwarden with the official Bitwarden apps?
Yes. Vaultwarden implements the Bitwarden server API, so you can point any official Bitwarden client (mobile, desktop, browser extension, CLI) at your Vaultwarden instance by changing the server URL.
What happens if my self-hosted server goes down?
You lose access to your passwords until the server comes back up, unless you have local cached copies. Bitwarden and Vaultwarden clients cache your vault locally, so you can still view and use existing passwords. However, you can't sync new passwords, and if you clear your cache or log in on a new device while the server is down, you're locked out.
How much does a self-hosted password manager cost?
The software is free in every family covered here. What you pay for is infrastructure: a host, plus your time for updates and backups. VaultKeepR has a free tier for all security features, and Premium at 2.49 euros per month or 14.99 euros per year.
Does VaultKeepR require me to run an IPFS node?
No. You do not need to run an IPFS node to use VaultKeepR. If you want extra redundancy, you can run your own IPFS node and pin your own CIDs, but it is optional.
How does VaultKeepR compare to Bitwarden self-hosted?
Bitwarden self-hosted gives you full control but requires significant maintenance. VaultKeepR removes the server to maintain, at the cost of depending on IPFS pinning and gateways. For a detailed feature comparison, see our Bitwarden vs VaultKeepR page, the Vaultwarden comparison, and the KeePass comparison.
Which option is best for a non-technical user?
If you don't want to manage servers, don't use self-hosted Bitwarden, Vaultwarden, or Passbolt. KeePass is simple but requires you to manage your own sync, which can confuse less technical users. For non-technical users who want strong privacy, VaultKeepR fits: there is no server to set up, and it runs as a browser extension, on iOS and on Android.
The Bottom Line
The best self-hosted password manager depends on your priorities:
- Bitwarden (self-hosted): mature, with public source code, best for organizations with dedicated ops teams
- Vaultwarden: lightweight, compatible with Bitwarden clients, suited to solo operators and small teams who want minimal overhead
- Passbolt: purpose-built for teams, with a GPG-based encryption model
- KeePass / KeePassXC: zero infrastructure, maximum flexibility, suited to privacy purists comfortable with manual sync
- VaultKeepR: zero-knowledge encryption with no server to run, powered by IPFS and on-device key derivation
If you value privacy and control but don't want to become a part-time sysadmin, VaultKeepR's decentralized approach is one practical path. Neither VaultKeepR nor any tool in this list protects a vault from a weak master password or a compromised device.
Ready to take back control of your passwords? VaultKeepR is free to use with no server setup required. Create a vault and start storing your secrets. Passkeys are stored inside the vault.
Keep Reading
- What Is Zero-Knowledge Encryption?
- Decentralized Password Storage Explained
- VaultKeepR vs Bitwarden: Full Comparison
- VaultKeepR vs Vaultwarden: Full Comparison
- VaultKeepR vs KeePass: Full Comparison
Try VaultKeepR free: no email, no account, at vaultkeepr.xyz.

