# Brave not deleting cookies on exit

**URL:** <https://community.brave.app/t/brave-not-deleting-cookies-on-exit/509417>\
**Category:** Desktop Support\
**Tags:** macos\
**Created:** [October 8, 2023, 11:12pm UTC](https://community.brave.app/t/brave-not-deleting-cookies-on-exit/509417 "2023-10-08T23:12:30Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fellwalker57](https://avatars.discourse-cdn.com/v4/letter/f/d07c76/32.png) [@Fellwalker57](https://community.brave.app/u/Fellwalker57)\
**Post date:** [October 8, 2023, 11:12pm UTC](https://community.brave.app/t/brave-not-deleting-cookies-on-exit/509417/1 "2023-10-08T23:12:30Z")

</div>

**Description of the issue:**  
**How can this issue be reproduced?**

1. I have "Settings \> Privacy and security \> Cookies and other site data \> Sites that clear cookies when you close them " set to include, for example, [wellsfargo.com](http://wellsfargo.com)
2. After visiting that then close it, exit Brave, then re-open Brave, the cookie is still there
3. In fact, I’ve noticed all cookies are retained between closing and re-opening Brave.

**Expected result:**  
Brave used to delete every cookie except the ones listed under “Settings \> Privacy and security \> Cookies and other site data \> Sites that can always use cookies” but not any more  
**Brave Version( check `About Brave`):**  
[Version 1.58.137 Chromium: 117.0.5938.153 (Official Build) (arm64)](https://brave.com/latest/)  
**Additional Information:**  
mac M2 Mini running Ventura 13.6

---

<div class="post-metadata">

**Author:** ![Saoiray](https://sea1.discourse-cdn.com/brave/user_avatar/community.brave.app/saoiray/32/212354_2.png) [@Saoiray](https://community.brave.app/u/Saoiray)\
**Post date:** [October 8, 2023, 11:38pm UTC](https://community.brave.app/t/brave-not-deleting-cookies-on-exit/509417/2 "2023-10-08T23:38:55Z")

</div>

@Fellwalker57 are you leaving any tabs open? Do you have Brave set to run in the background?

![image](https://global.discourse-cdn.com/brave/original/3X/5/9/59c7182ecc670a2246f628e1ef14283d51b61ea6.png)

![image](https://global.discourse-cdn.com/brave/original/3X/0/b/0b78b4e53164e67a645cef63786216d34a9e783c.png)

Part of where people kind of confuse things is that closing the browser does not necessarily mean exiting the browser. Such as when I added Twitter to the list, it kept me logged in even when I closed everything. But if I exited Brave, such as you see the option I had on the screeenshot above, it would clear cookies.

---

<div class="post-metadata">

**Author:** ![Fellwalker57](https://avatars.discourse-cdn.com/v4/letter/f/d07c76/32.png) [@Fellwalker57](https://community.brave.app/u/Fellwalker57)\
**Post date:** [October 9, 2023, 12:45am UTC](https://community.brave.app/t/brave-not-deleting-cookies-on-exit/509417/3 "2023-10-09T00:45:44Z")

</div>

Tabs closed, browser exited, not running in the background – problem still happens.

---

<div class="post-metadata">

**Author:** ![Saoiray](https://sea1.discourse-cdn.com/brave/user_avatar/community.brave.app/saoiray/32/212354_2.png) [@Saoiray](https://community.brave.app/u/Saoiray)\
**Post date:** [October 9, 2023, 12:54am UTC](https://community.brave.app/t/brave-not-deleting-cookies-on-exit/509417/4 "2023-10-09T00:54:15Z")

</div>

Ok. I know this has been discussed before in different ways. I’ll tag @Mattches in on it so he can try to take another look.

---

<div class="post-metadata">

**Author:** ![Mattches](https://sea1.discourse-cdn.com/brave/user_avatar/community.brave.app/mattches/32/25189_2.png) [@Mattches](https://community.brave.app/u/Mattches)\
**Post date:** [October 10, 2023, 4:56pm UTC](https://community.brave.app/t/brave-not-deleting-cookies-on-exit/509417/5 "2023-10-10T16:56:32Z")

</div>

@Fellwalker57,  
To be clear, since you’re on macOS, are you _quitting_ the application, or just _closing_ the application via clicking the `x` on the top-left of the window?

---

<div class="post-metadata">

**Author:** ![Fellwalker57](https://avatars.discourse-cdn.com/v4/letter/f/d07c76/32.png) [@Fellwalker57](https://community.brave.app/u/Fellwalker57)\
**Post date:** [October 10, 2023, 6:46pm UTC](https://community.brave.app/t/brave-not-deleting-cookies-on-exit/509417/6 "2023-10-10T18:46:49Z")

</div>

Generally I use Cmd Q on the keyboard or Brave \> Quit Brave with the mouse.

---

<div class="post-metadata">

**Author:** ![Fellwalker57](https://avatars.discourse-cdn.com/v4/letter/f/d07c76/32.png) [@Fellwalker57](https://community.brave.app/u/Fellwalker57)\
**Post date:** [October 10, 2023, 8:49pm UTC](https://community.brave.app/t/brave-not-deleting-cookies-on-exit/509417/7 "2023-10-10T20:49:01Z")

</div>

I think I found the problem. “Settings \> Privacy and security \> Cookies and other site data \> Clear cookies and site data when you close all windows” was not checked. Checking this appears to do the trick – the cookies I want remain after closing Brave and the cookies I don’t want go away.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/brave/original/3X/1/8/182067f3480d1a5e7aea5ae3131b116ca1ef7918.png) [@system](https://community.brave.app/u/system)\
**Post date:** [November 9, 2023, 8:49pm UTC](https://community.brave.app/t/brave-not-deleting-cookies-on-exit/509417/8 "2023-11-09T20:49:09Z")

</div>

Closed on November 9, 2023, 8:49pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
