KeePassXC Browser Extension Not Connecting
Quick answer
Usually the wrong browser is enabled in KeePassXC, the database is locked, a stale connection exists in the extension, or a sandboxed install (Flatpak, Snap, AppImage) blocks native messaging. Re-select the browser, unlock, and reconnect.
Most likely fix: Enable and match your browser in KeePassXC
How to fix it
Try these in order — the most common fix is first.
1. Enable and match your browser in KeePassXC
- Open KeePassXC > Tools > Settings > Browser Integration
- Tick Enable browser integration
- Tick the browser you use; for a Chromium fork, try the Google Chrome or Chromium option that matches
- Restart the browser
Did this fix it?2. Reset the connection in the extension
- Unlock the database in KeePassXC
- Open the extension settings > Connected Databases
- Remove the old connection
- Click Connect and approve the new key in KeePassXC
Did this fix it?3. Check how it was installed
- Use a regular (non-AppImage, non-Flatpak, non-snapshot) browser and KeePassXC where possible
- On Debian-based systems, make sure the full KeePassXC package that includes browser integration is installed
- For Flatpak and Snap, see the dedicated guide
Did this fix it?
Symptoms
The extension icon shows disconnected, 'Key exchange was not successful', or the console shows 'Native messaging host not found'.
Why it happens
- Browser not enabled (or the wrong variant selected) in KeePassXC's browser integration settings
- Database is locked or KeePassXC is not running
- Stale saved connection in the extension
- Flatpak, Snap or AppImage install of the browser or KeePassXC
- Native messaging component missing from the Linux package (for example keepassxc-full on Debian)
- Browser run as a different user
This guide also covers
- keepassxc browser extension not connecting
- keepassxc-browser key exchange not successful
- keepassxc native messaging host not found
- keepassxc browser not working
Still not working?
If KeePassXC keeps failing, you're not alone. See every KeePassXC problem users report or the alternatives people switch to.
Have an app idea? Our small team builds any software: web and mobile apps, games, desktop, AI tools. Price agreed together.
Talk to usThe same problem in other apps
All integrations, automations & extensions guides →
Bitwarden Autofill Not Working (Bitwarden)
1Password Autofill Not Working (1Password)
Proton Pass Autofill Not Working (Proton Pass)
Dashlane Autofill Not Working (Dashlane)
Keeper Autofill Not Working (Keeper)
Other KeePassXC errors
- KeePassXC Browser Integration Not Working in Flatpak or Snap
- KeePassXC Auto-Type Not Working on Wayland (Linux)
- KeePassXC Auto-Type Not Working on Mac
- How to Sync KeePassXC Between Devices
- KeePassXC Sync Conflict and Conflicted Copy
- KeePassXC Invalid Credentials: Database Won't Open with Key File or YubiKey
- KeePassXC Mobile App for Android and iPhone
- KeePassXC Quick Unlock (Touch ID, Windows Hello) Not Working