# Is the database deleted after closing the browser with the extension?

**URL:** <https://community.bitwarden.com/t/is-the-database-deleted-after-closing-the-browser-with-the-extension/70194>\
**Category:** Password Manager\
**Tags:** app:browser, server:default-cloud\
**Created:** [July 23, 2024, 2:16pm UTC](https://community.bitwarden.com/t/is-the-database-deleted-after-closing-the-browser-with-the-extension/70194 "2024-07-23T14:16:04Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![grb](https://sea1.discourse-cdn.com/flex001/user_avatar/community.bitwarden.com/grb/32/22038_2.png) [@grb](https://community.bitwarden.com/u/grb)\
**Post date:** [July 23, 2024, 3:19pm UTC](https://community.bitwarden.com/t/is-the-database-deleted-after-closing-the-browser-with-the-extension/70194/2 "2024-07-23T15:19:57Z")

</div>

@Loneqd Welcome to the forum!

All client apps (browser extensions, Desktop app, etc.) work on the same design principle. While the app/extension is open and unlocked, the decrypted vault contents are stored in volatile memory. After the app/extension is _locked_ (but open), or if the app or browser is closed, then the decrypted data are purged from the device memory. For as long as the app/extension remains _logged in_ (even if it is _locked_ or closed), a copy of the encrypted vault contents is kept in persistent storage (e.g., saved on the hard drive) of your device; this copy is sometimes called the vault “cache” — every client app instance has its own vault cache, so there can be multiple copies of the cache stored on the same device. When you _log out_ of an app or extension, then the corresponding cache is purged, meaning that it no longer contains any of the encrypted vault data that was previously stored there.

> [@Loneqd](#):
>
> if all the cards are played and someone else gets hold of the database, they can decrypt it.

I don’t know where you get that idea, but the whole point of vault encryption is that encryption is not possible unless an attacker knows (or can guess) the master password. As long as your master password is sufficiently strong to be uncrackable, your encrypted vault cache will remain an inscrutable blob of gibberish to anybody who has acquired a copy of it.

---

_[View the full topic](https://community.bitwarden.com/t/is-the-database-deleted-after-closing-the-browser-with-the-extension/70194)._
