Where Does KeePassXC Store Config and Vaults?
KeePassXC keeps settings in keepassxc.ini in the OS standard config folder. Vaults are .kdbx files stored wherever you save them.
Last updated
The keepassxc.ini file holds UI prefs, security defaults, browser integration and recent file history. Each user has their own copy.
Your passwords live in .kdbx vault files at paths you choose. Back up the .kdbx files plus any key files separately from the ini.
Where KeePassXC stores this, by platform
C:\Users\<user>\AppData\Roaming\KeePassXC\keepassxc.ini
Config on Windows. <user> is the Windows login name. Close KeePassXC before copying it to another machine.
/Users/<user>/Library/Application Support/keepassxc/keepassxc.ini
Config on macOS. <user> is the macOS username. Browser native messaging files live nearby and may need re linkage after a move.
/home/<user>/.config/keepassxc/keepassxc.ini
Config on Linux. <user> is the Linux username. Flatpak and Snap builds may layer extra sandbox paths over this location.
<vault-path>.kdbx
User chosen vault path on all supported OSes. <vault-path> is the full folder plus file name you picked at database creation. Store it in a backed up folder and sync it with your preferred file sync tool.
Frequently asked questions
How do I migrate KeePassXC to a new PC?
Copy your .kdbx vault files and any key files first, then copy keepassxc.ini while the app is closed. Reconnect browser integration after the move.
Is my password data in keepassxc.ini?
No. The ini holds settings and recent file paths only. Vault contents stay encrypted inside the .kdbx file protected by your password and key file.
Notice an outdated path? Let us know.